Trait gio::prelude::InetAddressExtManual
source · pub trait InetAddressExtManual {
// Required method
fn to_bytes(&self) -> Option<InetAddressBytes<'_>>;
}
Required Methods§
sourcefn to_bytes(&self) -> Option<InetAddressBytes<'_>>
fn to_bytes(&self) -> Option<InetAddressBytes<'_>>
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()
.