pub enum Af {
Inet,
Inet6,
UnrecognizedConst(c_uchar),
}
Expand description
Internet address families
Variants§
Implementations§
Trait Implementations§
Source§impl Ord for Af
impl Ord for Af
Source§impl PartialOrd for Af
impl PartialOrd for Af
Source§impl Size for Af
impl Size for Af
Source§fn unpadded_size(&self) -> usize
fn unpadded_size(&self) -> usize
Size of the unpadded data structure. This will usually
only be unaligned for variable length types like
strings or byte buffers.
Source§fn padded_size(&self) -> usize
fn padded_size(&self) -> usize
Get the size of of the payload and align it to
the required netlink byte alignment.
impl Copy for Af
impl Eq for Af
impl StructuralPartialEq for Af
Auto Trait Implementations§
impl Freeze for Af
impl RefUnwindSafe for Af
impl Send for Af
impl Sync for Af
impl Unpin for Af
impl UnwindSafe for Af
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