pub trait SocketIpExt: Ip {
const LOOPBACK_ADDRESS_AS_SOCKET_IP_ADDR: SocketIpAddr<Self::Addr> = _;
}
Expand description
Extension trait for Ip
providing socket-specific functionality.
Provided Associated Constants§
Sourceconst LOOPBACK_ADDRESS_AS_SOCKET_IP_ADDR: SocketIpAddr<Self::Addr> = _
const LOOPBACK_ADDRESS_AS_SOCKET_IP_ADDR: SocketIpAddr<Self::Addr> = _
Self::LOOPBACK_ADDRESS
, but wrapped in the SocketIpAddr
type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.