pub enum Afi {
Ipv4 = 1,
Ipv6 = 2,
}Expand description
Address Family Identifier (AFI) for interface IP addresses
Variants§
Trait Implementations§
impl Copy for Afi
impl Eq for Afi
impl StructuralPartialEq for Afi
Auto Trait Implementations§
impl Freeze for Afi
impl RefUnwindSafe for Afi
impl Send for Afi
impl Sync for Afi
impl Unpin for Afi
impl UnsafeUnpin for Afi
impl UnwindSafe for Afi
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