Trait gio::prelude::InetAddressExtManual[][src]

pub trait InetAddressExtManual {
    fn to_bytes(&self) -> Option<InetAddressBytes<'_>>;
}

Required methods

Gets the raw binary address data from self.

Returns

a pointer to an internal array of the bytes in self, which should not be modified, stored, or freed. The size of this array can be gotten with InetAddressExt::native_size().

Implementors