pub struct Prefix4 {
pub addr: Ipv4Addr,
pub prefixlen: u8,
}Fields§
§addr: Ipv4Addr§prefixlen: u8Implementations§
Trait Implementations§
impl Eq for Prefix4
Auto Trait Implementations§
impl Freeze for Prefix4
impl RefUnwindSafe for Prefix4
impl Send for Prefix4
impl Sync for Prefix4
impl Unpin for Prefix4
impl UnsafeUnpin for Prefix4
impl UnwindSafe for Prefix4
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more