Structureswift-nio 2.81.0NIOPosix->NIOCore
ProtocolSubtype
Defines a protocol subtype.
struct ProtocolSubtype
Defines a protocol subtype.
struct ProtocolSubtype
import NIOCore
The core abstractions that make up SwiftNIO.
import NIOPosix
enum NIOBSDSocket
static var mptcp: Self? { get }
The protocol subtype for MPTCP.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
protocol Sendable
init(_ protocol: NIOIPProtocol)
Construct a protocol subtype from an IP protocol.
init(rawValue: RawValue)
Construct a protocol subtype from its underlying value.
static let `default`: NIOBSDSocket.ProtocolSubtype
Refers to the “default” protocol subtype for a given socket type.
var rawValue: RawValue
The underlying value of the protocol subtype.
typealias RawValue = CInt
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)