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_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_MAX
Implementations§
source§impl nlmsgerr_attrs
impl nlmsgerr_attrs
pub const NLMSGERR_ATTR_MAX: nlmsgerr_attrs = nlmsgerr_attrs::NLMSGERR_ATTR_POLICY
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 more