Trait netstack3_base::socket::SocketMapAddrSpec

source ·
pub trait SocketMapAddrSpec {
    type LocalIdentifier: Copy + Clone + Debug + Send + Sync + Hash + Eq + Into<NonZeroU16>;
    type RemoteIdentifier: Copy + Clone + Debug + Send + Sync + Hash + Eq;
}
Expand description

Specification for the identifiers in an AddrVec.

This is a convenience trait for bundling together the local and remote identifiers for a protocol.

Required Associated Types§

source

type LocalIdentifier: Copy + Clone + Debug + Send + Sync + Hash + Eq + Into<NonZeroU16>

The local identifier portion of a socket address.

source

type RemoteIdentifier: Copy + Clone + Debug + Send + Sync + Hash + Eq

The remote identifier portion of a socket address.

Implementors§