pub struct IpAddrWithMask {
pub addr: IpAddr,
pub mask: u8,
}Fields§
§addr: IpAddr§mask: u8Implementations§
Trait Implementations§
Source§impl Clone for IpAddrWithMask
impl Clone for IpAddrWithMask
Source§fn clone(&self) -> IpAddrWithMask
fn clone(&self) -> IpAddrWithMask
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IpAddrWithMask
impl Debug for IpAddrWithMask
Source§impl From<IpAddr> for IpAddrWithMask
impl From<IpAddr> for IpAddrWithMask
Source§impl From<Ipv4Addr> for IpAddrWithMask
impl From<Ipv4Addr> for IpAddrWithMask
Source§impl From<Ipv6Addr> for IpAddrWithMask
impl From<Ipv6Addr> for IpAddrWithMask
Source§impl FromStr for IpAddrWithMask
impl FromStr for IpAddrWithMask
Source§impl IntoBitPath for IpAddrWithMask
impl IntoBitPath for IpAddrWithMask
type Output = IpAddrWithMaskBitPath
fn into_bit_path(self) -> Self::Output
Source§impl PartialEq for IpAddrWithMask
impl PartialEq for IpAddrWithMask
impl Copy for IpAddrWithMask
impl Eq for IpAddrWithMask
impl StructuralPartialEq for IpAddrWithMask
Auto Trait Implementations§
impl Freeze for IpAddrWithMask
impl RefUnwindSafe for IpAddrWithMask
impl Send for IpAddrWithMask
impl Sync for IpAddrWithMask
impl Unpin for IpAddrWithMask
impl UnwindSafe for IpAddrWithMask
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