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
sourceimpl nlmsgerr_attrs
impl nlmsgerr_attrs
pub const NLMSGERR_ATTR_MAX: nlmsgerr_attrs
Trait Implementations
sourceimpl Clone for nlmsgerr_attrs
impl Clone for nlmsgerr_attrs
sourcefn clone(&self) -> nlmsgerr_attrs
fn clone(&self) -> nlmsgerr_attrs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for nlmsgerr_attrs
impl Debug for nlmsgerr_attrs
sourceimpl Hash for nlmsgerr_attrs
impl Hash for nlmsgerr_attrs
sourceimpl PartialEq<nlmsgerr_attrs> for nlmsgerr_attrs
impl PartialEq<nlmsgerr_attrs> for nlmsgerr_attrs
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more