AddressedEnvelope

    A data structure for processing addressed datagrams, such as those used by UDP.

    AddressedEnvelope.swift:20
    struct AddressedEnvelope<DataType>

    The AddressedEnvelope is used extensively on DatagramChannels in order to keep track of source or destination address metadata: that is, where some data came from or where it is going.

    See also

    Citizens in NIOCore

    Conformances

    Types

    Type members

    Instance members

    Citizens in NIOCore

    where DataType:Hashable

    Conformances

    • protocol Hashable

      A type that can be hashed into a Hasher to produce an integer hash value.

    Citizens in NIOCore

    where DataType:Equatable

    Conformances

    Type features

    Citizens in NIOCore

    where DataType:Sendable

    Conformances

    • protocol Sendable

      A type whose values can safely be passed across concurrency domains by copying.