#[repr(u16)]pub enum AFI {
IPV4 = 1,
IPV6 = 2,
}
Expand description
Represents an Address Family Idenfitier. Currently only IPv4 and IPv6 are supported.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AFI
impl RefUnwindSafe for AFI
impl Send for AFI
impl Sync for AFI
impl Unpin 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