pub struct V4Address {
pub address: [u8; 4],
pub prefix: u8,
pub gateway: [u8; 4],
}Expand description
PROP_IPV4_ADDRESS: what the interface holds.
Fields§
§address: [u8; 4]§prefix: u8§gateway: [u8; 4]All-zero when there is no default route.
Implementations§
Trait Implementations§
impl Copy for V4Address
impl Eq for V4Address
impl StructuralPartialEq for V4Address
Auto Trait Implementations§
impl Freeze for V4Address
impl RefUnwindSafe for V4Address
impl Send for V4Address
impl Sync for V4Address
impl Unpin for V4Address
impl UnwindSafe for V4Address
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)