Enum linux_raw_sys::netlink::nlmsgerr_attrs
source · #[repr(u32)]#[non_exhaustive]pub enum nlmsgerr_attrs {
NLMSGERR_ATTR_UNUSED,
NLMSGERR_ATTR_MSG,
NLMSGERR_ATTR_OFFS,
NLMSGERR_ATTR_COOKIE,
NLMSGERR_ATTR_POLICY,
NLMSGERR_ATTR_MISS_TYPE,
NLMSGERR_ATTR_MISS_NEST,
__NLMSGERR_ATTR_MAX,
}
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
NLMSGERR_ATTR_MSG
NLMSGERR_ATTR_OFFS
NLMSGERR_ATTR_COOKIE
NLMSGERR_ATTR_POLICY
NLMSGERR_ATTR_MISS_TYPE
NLMSGERR_ATTR_MISS_NEST
__NLMSGERR_ATTR_MAX
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<nlmsgerr_attrs> for nlmsgerr_attrs
impl PartialEq<nlmsgerr_attrs> 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 StructuralEq for nlmsgerr_attrs
impl StructuralPartialEq for nlmsgerr_attrs
Auto Trait Implementations§
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