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.