Structureswift-nio 2.81.0NIOCore
Metadata
Any metadata associated with an AddressedEnvelope
struct Metadata
Any metadata associated with an AddressedEnvelope
struct Metadata
import NIOCore
The core abstractions that make up SwiftNIO.
struct AddressedEnvelope<DataType>
A data structure for processing addressed datagrams, such as those used by UDP.
init(remoteAddress: SocketAddress, data: DataType)
init(remoteAddress: SocketAddress, data: DataType, metadata: Metadata?)
var data: DataType
var description: String { get }
var metadata: Metadata?
Any metadata associated with this AddressedEnvelope
var remoteAddress: SocketAddress
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 Sendable
init(ecnState: NIOExplicitCongestionNotificationState)
init(ecnState: NIOExplicitCongestionNotificationState, packetInfo: NIOPacketInfo?)
var ecnState: NIOExplicitCongestionNotificationState
Details of any congestion state.
var packetInfo: NIOPacketInfo?
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.