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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".