pub struct IpPrefix {
pub address: IpAddr,
pub prefix_len: u32,
}Expand description
Encoded as (iayu): address family, address bytes, prefix length.
Fields§
§address: IpAddr§prefix_len: u32Trait Implementations§
impl Copy for IpPrefix
Auto Trait Implementations§
impl Freeze for IpPrefix
impl RefUnwindSafe for IpPrefix
impl Send for IpPrefix
impl Sync for IpPrefix
impl Unpin for IpPrefix
impl UnsafeUnpin for IpPrefix
impl UnwindSafe for IpPrefix
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