Trait InetAddressExtManual

Source
pub trait InetAddressExtManual: IsA<InetAddress> + 'static {
    // Provided method
    fn to_bytes(&self) -> Option<InetAddressBytes<'_>> { ... }
}

Provided Methods§

Source

fn to_bytes(&self) -> Option<InetAddressBytes<'_>>

Returns None in case the address has a native size different than 4 and 16.

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§