netstack3_base::socket

Trait SocketIpExt

Source
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§

Source

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.

Implementors§

Source§

impl<I: Ip> SocketIpExt for I