Enums

The following enums are available globally.

  • The return type for the tipAccept function.

    See more

    Declaration

    Swift

    public enum TipAcceptResult
  • The return type for the tipTransmit functions.

    See more

    Declaration

    Swift

    public enum TransferResult: CustomStringConvertible, CustomDebugStringConvertible
  • A general purpose return value. Possible values are:

    • error(message: String)
    • success()
    See more

    Declaration

    Swift

    public enum Result<T>
  • Return values of the waitForSelect function.

    See more

    Declaration

    Swift

    public enum SelectResult
  • A Swift wrapper for sockaddr.

    This wrapper was described on the blog from Marco Masser

    See more

    Declaration

    Swift

    public enum SocketAddress