Enum linux_raw_sys::netlink::nlmsgerr_attrs
source · #[non_exhaustive]#[repr(u32)]pub enum nlmsgerr_attrs {
NLMSGERR_ATTR_UNUSED = 0,
NLMSGERR_ATTR_MSG = 1,
NLMSGERR_ATTR_OFFS = 2,
NLMSGERR_ATTR_COOKIE = 3,
NLMSGERR_ATTR_POLICY = 4,
NLMSGERR_ATTR_MISS_TYPE = 5,
NLMSGERR_ATTR_MISS_NEST = 6,
__NLMSGERR_ATTR_MAX = 7,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NLMSGERR_ATTR_UNUSED = 0
NLMSGERR_ATTR_MSG = 1
NLMSGERR_ATTR_OFFS = 2
NLMSGERR_ATTR_COOKIE = 3
NLMSGERR_ATTR_POLICY = 4
NLMSGERR_ATTR_MISS_TYPE = 5
NLMSGERR_ATTR_MISS_NEST = 6
__NLMSGERR_ATTR_MAX = 7
Implementations§
source§impl nlmsgerr_attrs
impl nlmsgerr_attrs
pub const NLMSGERR_ATTR_MAX: nlmsgerr_attrs = nlmsgerr_attrs::NLMSGERR_ATTR_MISS_NEST
Trait Implementations§
source§impl Clone for nlmsgerr_attrs
impl Clone for nlmsgerr_attrs
source§fn clone(&self) -> nlmsgerr_attrs
fn clone(&self) -> nlmsgerr_attrs
Returns a copy 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 nlmsgerr_attrs
impl Debug for nlmsgerr_attrs
source§impl Hash for nlmsgerr_attrs
impl Hash for nlmsgerr_attrs
source§impl PartialEq for nlmsgerr_attrs
impl PartialEq for nlmsgerr_attrs
source§fn eq(&self, other: &nlmsgerr_attrs) -> bool
fn eq(&self, other: &nlmsgerr_attrs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for nlmsgerr_attrs
impl Eq for nlmsgerr_attrs
impl StructuralPartialEq for nlmsgerr_attrs
Auto Trait Implementations§
impl Freeze for nlmsgerr_attrs
impl RefUnwindSafe for nlmsgerr_attrs
impl Send for nlmsgerr_attrs
impl Sync for nlmsgerr_attrs
impl Unpin for nlmsgerr_attrs
impl UnwindSafe for nlmsgerr_attrs
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