Enum linux_raw_sys::netlink::_bindgen_ty_60

source ·
#[non_exhaustive]
#[repr(u32)]
pub enum _bindgen_ty_60 {
Show 72 variants RTM_BASE = 16, RTM_DELLINK = 17, RTM_GETLINK = 18, RTM_SETLINK = 19, RTM_NEWADDR = 20, RTM_DELADDR = 21, RTM_GETADDR = 22, RTM_NEWROUTE = 24, RTM_DELROUTE = 25, RTM_GETROUTE = 26, RTM_NEWNEIGH = 28, RTM_DELNEIGH = 29, RTM_GETNEIGH = 30, RTM_NEWRULE = 32, RTM_DELRULE = 33, RTM_GETRULE = 34, RTM_NEWQDISC = 36, RTM_DELQDISC = 37, RTM_GETQDISC = 38, RTM_NEWTCLASS = 40, RTM_DELTCLASS = 41, RTM_GETTCLASS = 42, RTM_NEWTFILTER = 44, RTM_DELTFILTER = 45, RTM_GETTFILTER = 46, RTM_NEWACTION = 48, RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, RTM_GETMULTICAST = 58, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, RTM_SETNEIGHTBL = 67, RTM_NEWNDUSEROPT = 68, RTM_NEWADDRLABEL = 72, RTM_DELADDRLABEL = 73, RTM_GETADDRLABEL = 74, RTM_GETDCB = 78, RTM_SETDCB = 79, RTM_NEWNETCONF = 80, RTM_DELNETCONF = 81, RTM_GETNETCONF = 82, RTM_NEWMDB = 84, RTM_DELMDB = 85, RTM_GETMDB = 86, RTM_NEWNSID = 88, RTM_DELNSID = 89, RTM_GETNSID = 90, RTM_NEWSTATS = 92, RTM_GETSTATS = 94, RTM_SETSTATS = 95, RTM_NEWCACHEREPORT = 96, RTM_NEWCHAIN = 100, RTM_DELCHAIN = 101, RTM_GETCHAIN = 102, RTM_NEWNEXTHOP = 104, RTM_DELNEXTHOP = 105, RTM_GETNEXTHOP = 106, RTM_NEWLINKPROP = 108, RTM_DELLINKPROP = 109, RTM_GETLINKPROP = 110, RTM_NEWVLAN = 112, RTM_DELVLAN = 113, RTM_GETVLAN = 114, RTM_NEWNEXTHOPBUCKET = 116, RTM_DELNEXTHOPBUCKET = 117, RTM_GETNEXTHOPBUCKET = 118, RTM_NEWTUNNEL = 120, RTM_DELTUNNEL = 121, RTM_GETTUNNEL = 122, __RTM_MAX = 123,
}

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.
§

RTM_BASE = 16

§

RTM_NEWADDR = 20

§

RTM_DELADDR = 21

§

RTM_GETADDR = 22

§

RTM_NEWROUTE = 24

§

RTM_DELROUTE = 25

§

RTM_GETROUTE = 26

§

RTM_NEWNEIGH = 28

§

RTM_DELNEIGH = 29

§

RTM_GETNEIGH = 30

§

RTM_NEWRULE = 32

§

RTM_DELRULE = 33

§

RTM_GETRULE = 34

§

RTM_NEWQDISC = 36

§

RTM_DELQDISC = 37

§

RTM_GETQDISC = 38

§

RTM_NEWTCLASS = 40

§

RTM_DELTCLASS = 41

§

RTM_GETTCLASS = 42

§

RTM_NEWTFILTER = 44

§

RTM_DELTFILTER = 45

§

RTM_GETTFILTER = 46

§

RTM_NEWACTION = 48

§

RTM_DELACTION = 49

§

RTM_GETACTION = 50

§

RTM_NEWPREFIX = 52

§

RTM_GETMULTICAST = 58

§

RTM_GETANYCAST = 62

§

RTM_NEWNEIGHTBL = 64

§

RTM_GETNEIGHTBL = 66

§

RTM_SETNEIGHTBL = 67

§

RTM_NEWNDUSEROPT = 68

§

RTM_NEWADDRLABEL = 72

§

RTM_DELADDRLABEL = 73

§

RTM_GETADDRLABEL = 74

§

RTM_GETDCB = 78

§

RTM_SETDCB = 79

§

RTM_NEWNETCONF = 80

§

RTM_DELNETCONF = 81

§

RTM_GETNETCONF = 82

§

RTM_NEWMDB = 84

§

RTM_DELMDB = 85

§

RTM_GETMDB = 86

§

RTM_NEWNSID = 88

§

RTM_DELNSID = 89

§

RTM_GETNSID = 90

§

RTM_NEWSTATS = 92

§

RTM_GETSTATS = 94

§

RTM_SETSTATS = 95

§

RTM_NEWCACHEREPORT = 96

§

RTM_NEWCHAIN = 100

§

RTM_DELCHAIN = 101

§

RTM_GETCHAIN = 102

§

RTM_NEWNEXTHOP = 104

§

RTM_DELNEXTHOP = 105

§

RTM_GETNEXTHOP = 106

§

RTM_NEWLINKPROP = 108

§

RTM_DELLINKPROP = 109

§

RTM_GETLINKPROP = 110

§

RTM_NEWVLAN = 112

§

RTM_DELVLAN = 113

§

RTM_GETVLAN = 114

§

RTM_NEWNEXTHOPBUCKET = 116

§

RTM_DELNEXTHOPBUCKET = 117

§

RTM_GETNEXTHOPBUCKET = 118

§

RTM_NEWTUNNEL = 120

§

RTM_DELTUNNEL = 121

§

RTM_GETTUNNEL = 122

§

__RTM_MAX = 123

Trait Implementations§

source§

impl Clone for _bindgen_ty_60

source§

fn clone(&self) -> _bindgen_ty_60

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§

impl Debug for _bindgen_ty_60

source§

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

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

impl Hash for _bindgen_ty_60

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§

impl PartialEq for _bindgen_ty_60

source§

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

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

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for _bindgen_ty_60

source§

impl Eq for _bindgen_ty_60

source§

impl StructuralPartialEq for _bindgen_ty_60

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: Clone,

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> 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>,

source§

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>,

source§

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.