Enum linux_raw_sys::netlink::rtnetlink_groups
source · [−]#[repr(u32)]
#[non_exhaustive]
pub enum rtnetlink_groups {
Show 35 variants
RTNLGRP_NONE,
RTNLGRP_LINK,
RTNLGRP_NOTIFY,
RTNLGRP_NEIGH,
RTNLGRP_TC,
RTNLGRP_IPV4_IFADDR,
RTNLGRP_IPV4_MROUTE,
RTNLGRP_IPV4_ROUTE,
RTNLGRP_IPV4_RULE,
RTNLGRP_IPV6_IFADDR,
RTNLGRP_IPV6_MROUTE,
RTNLGRP_IPV6_ROUTE,
RTNLGRP_IPV6_IFINFO,
RTNLGRP_DECnet_IFADDR,
RTNLGRP_NOP2,
RTNLGRP_DECnet_ROUTE,
RTNLGRP_DECnet_RULE,
RTNLGRP_NOP4,
RTNLGRP_IPV6_PREFIX,
RTNLGRP_IPV6_RULE,
RTNLGRP_ND_USEROPT,
RTNLGRP_PHONET_IFADDR,
RTNLGRP_PHONET_ROUTE,
RTNLGRP_DCB,
RTNLGRP_IPV4_NETCONF,
RTNLGRP_IPV6_NETCONF,
RTNLGRP_MDB,
RTNLGRP_MPLS_ROUTE,
RTNLGRP_NSID,
RTNLGRP_MPLS_NETCONF,
RTNLGRP_IPV4_MROUTE_R,
RTNLGRP_IPV6_MROUTE_R,
RTNLGRP_NEXTHOP,
RTNLGRP_BRVLAN,
__RTNLGRP_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.
RTNLGRP_NONE
RTNLGRP_LINK
RTNLGRP_NOTIFY
RTNLGRP_NEIGH
RTNLGRP_TC
RTNLGRP_IPV4_IFADDR
RTNLGRP_IPV4_MROUTE
RTNLGRP_IPV4_ROUTE
RTNLGRP_IPV4_RULE
RTNLGRP_IPV6_IFADDR
RTNLGRP_IPV6_MROUTE
RTNLGRP_IPV6_ROUTE
RTNLGRP_IPV6_IFINFO
RTNLGRP_DECnet_IFADDR
RTNLGRP_NOP2
RTNLGRP_DECnet_ROUTE
RTNLGRP_DECnet_RULE
RTNLGRP_NOP4
RTNLGRP_IPV6_PREFIX
RTNLGRP_IPV6_RULE
RTNLGRP_ND_USEROPT
RTNLGRP_PHONET_IFADDR
RTNLGRP_PHONET_ROUTE
RTNLGRP_DCB
RTNLGRP_IPV4_NETCONF
RTNLGRP_IPV6_NETCONF
RTNLGRP_MDB
RTNLGRP_MPLS_ROUTE
RTNLGRP_NSID
RTNLGRP_MPLS_NETCONF
RTNLGRP_IPV4_MROUTE_R
RTNLGRP_IPV6_MROUTE_R
RTNLGRP_NEXTHOP
RTNLGRP_BRVLAN
__RTNLGRP_MAX
Trait Implementations
sourceimpl Clone for rtnetlink_groups
impl Clone for rtnetlink_groups
sourcefn clone(&self) -> rtnetlink_groups
fn clone(&self) -> rtnetlink_groups
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 rtnetlink_groups
impl Debug for rtnetlink_groups
sourceimpl Hash for rtnetlink_groups
impl Hash for rtnetlink_groups
sourceimpl PartialEq<rtnetlink_groups> for rtnetlink_groups
impl PartialEq<rtnetlink_groups> for rtnetlink_groups
impl Copy for rtnetlink_groups
impl Eq for rtnetlink_groups
impl StructuralEq for rtnetlink_groups
impl StructuralPartialEq for rtnetlink_groups
Auto Trait Implementations
impl RefUnwindSafe for rtnetlink_groups
impl Send for rtnetlink_groups
impl Sync for rtnetlink_groups
impl Unpin for rtnetlink_groups
impl UnwindSafe for rtnetlink_groups
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