pub enum AddrRange {
Any,
NoAddrs,
AddrSet([IPAddr; 8]),
Addr(IPAddr),
Subnet(IPAddr, usize),
}
Variants§
Implementations§
Trait Implementations§
impl Copy for AddrRange
impl StructuralPartialEq for AddrRange
Auto Trait Implementations§
impl Freeze for AddrRange
impl RefUnwindSafe for AddrRange
impl Send for AddrRange
impl Sync for AddrRange
impl Unpin for AddrRange
impl UnwindSafe for AddrRange
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