Structs

The following structs are available globally.

  • CError is an error thrown by a C system call. It may be from a typical -1 return code that sets errno, from a getaddrinfo call or directly from an errno.

    See more

    Declaration

    Swift

    public struct CError: Swift.Error
  • Event represents an event file descriptor as described in eventfd(2).

    See more

    Declaration

    Swift

    public struct Event: FileDescriptor
  • MessageError is a String-based error that can be created with additional contextual key-value pairs.

    See more

    Declaration

    Swift

    public struct MessageError: Swift.Error
  • SignalSet is a set of signals.

    See more

    Declaration

    Swift

    public struct SignalSet
  • Timer is a file descriptor associated with a timer. See timerfd_create(2) for details.

    See more

    Declaration

    Swift

    public struct Timer: FileDescriptor