#[repr(u32)]pub enum NetlinkAttrType {
Show 16 variants
Invalid = 0,
Flag = 1,
U8 = 2,
U16 = 3,
U32 = 4,
U64 = 5,
S8 = 6,
S16 = 7,
S32 = 8,
S64 = 9,
Binary = 10,
String = 11,
NulString = 12,
Nested = 13,
NestedArray = 14,
Bitfield32 = 15,
}
Variants§
Invalid = 0
Flag = 1
U8 = 2
U16 = 3
U32 = 4
U64 = 5
S8 = 6
S16 = 7
S32 = 8
S64 = 9
Binary = 10
String = 11
NulString = 12
Nested = 13
NestedArray = 14
Bitfield32 = 15
Trait Implementations§
Source§impl Clone for NetlinkAttrType
impl Clone for NetlinkAttrType
Source§fn clone(&self) -> NetlinkAttrType
fn clone(&self) -> NetlinkAttrType
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 NetlinkAttrType
impl Debug for NetlinkAttrType
Source§impl Hash for NetlinkAttrType
impl Hash for NetlinkAttrType
Source§impl PartialEq for NetlinkAttrType
impl PartialEq for NetlinkAttrType
impl Copy for NetlinkAttrType
impl Eq for NetlinkAttrType
impl StructuralPartialEq for NetlinkAttrType
Auto Trait Implementations§
impl Freeze for NetlinkAttrType
impl RefUnwindSafe for NetlinkAttrType
impl Send for NetlinkAttrType
impl Sync for NetlinkAttrType
impl Unpin for NetlinkAttrType
impl UnwindSafe for NetlinkAttrType
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