Enum linux_raw_sys::netlink::rtnetlink_groups

source ·
#[non_exhaustive]
#[repr(u32)]
pub enum rtnetlink_groups {
Show 38 variants RTNLGRP_NONE = 0, RTNLGRP_LINK = 1, RTNLGRP_NOTIFY = 2, RTNLGRP_NEIGH = 3, RTNLGRP_TC = 4, RTNLGRP_IPV4_IFADDR = 5, RTNLGRP_IPV4_MROUTE = 6, RTNLGRP_IPV4_ROUTE = 7, RTNLGRP_IPV4_RULE = 8, RTNLGRP_IPV6_IFADDR = 9, RTNLGRP_IPV6_MROUTE = 10, RTNLGRP_IPV6_ROUTE = 11, RTNLGRP_IPV6_IFINFO = 12, RTNLGRP_DECnet_IFADDR = 13, RTNLGRP_NOP2 = 14, RTNLGRP_DECnet_ROUTE = 15, RTNLGRP_DECnet_RULE = 16, RTNLGRP_NOP4 = 17, RTNLGRP_IPV6_PREFIX = 18, RTNLGRP_IPV6_RULE = 19, RTNLGRP_ND_USEROPT = 20, RTNLGRP_PHONET_IFADDR = 21, RTNLGRP_PHONET_ROUTE = 22, RTNLGRP_DCB = 23, RTNLGRP_IPV4_NETCONF = 24, RTNLGRP_IPV6_NETCONF = 25, RTNLGRP_MDB = 26, RTNLGRP_MPLS_ROUTE = 27, RTNLGRP_NSID = 28, RTNLGRP_MPLS_NETCONF = 29, RTNLGRP_IPV4_MROUTE_R = 30, RTNLGRP_IPV6_MROUTE_R = 31, RTNLGRP_NEXTHOP = 32, RTNLGRP_BRVLAN = 33, RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, __RTNLGRP_MAX = 37,
}

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 = 0

§

RTNLGRP_NOTIFY = 2

§

RTNLGRP_NEIGH = 3

§

RTNLGRP_TC = 4

§

RTNLGRP_IPV4_IFADDR = 5

§

RTNLGRP_IPV4_MROUTE = 6

§

RTNLGRP_IPV4_ROUTE = 7

§

RTNLGRP_IPV4_RULE = 8

§

RTNLGRP_IPV6_IFADDR = 9

§

RTNLGRP_IPV6_MROUTE = 10

§

RTNLGRP_IPV6_ROUTE = 11

§

RTNLGRP_IPV6_IFINFO = 12

§

RTNLGRP_DECnet_IFADDR = 13

§

RTNLGRP_NOP2 = 14

§

RTNLGRP_DECnet_ROUTE = 15

§

RTNLGRP_DECnet_RULE = 16

§

RTNLGRP_NOP4 = 17

§

RTNLGRP_IPV6_PREFIX = 18

§

RTNLGRP_IPV6_RULE = 19

§

RTNLGRP_ND_USEROPT = 20

§

RTNLGRP_PHONET_IFADDR = 21

§

RTNLGRP_PHONET_ROUTE = 22

§

RTNLGRP_DCB = 23

§

RTNLGRP_IPV4_NETCONF = 24

§

RTNLGRP_IPV6_NETCONF = 25

§

RTNLGRP_MDB = 26

§

RTNLGRP_MPLS_ROUTE = 27

§

RTNLGRP_NSID = 28

§

RTNLGRP_MPLS_NETCONF = 29

§

RTNLGRP_IPV4_MROUTE_R = 30

§

RTNLGRP_IPV6_MROUTE_R = 31

§

RTNLGRP_NEXTHOP = 32

§

RTNLGRP_BRVLAN = 33

§

RTNLGRP_MCTP_IFADDR = 34

§

RTNLGRP_TUNNEL = 35

§

RTNLGRP_STATS = 36

§

__RTNLGRP_MAX = 37

Trait Implementations§

source§

fn clone(&self) -> rtnetlink_groups

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

fn eq(&self, other: &rtnetlink_groups) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.