Enum linux_raw_sys::netlink::_bindgen_ty_55
source · #[repr(u32)]
#[non_exhaustive]
pub enum _bindgen_ty_55 {
Show 13 variants
RTN_UNSPEC,
RTN_UNICAST,
RTN_LOCAL,
RTN_BROADCAST,
RTN_ANYCAST,
RTN_MULTICAST,
RTN_BLACKHOLE,
RTN_UNREACHABLE,
RTN_PROHIBIT,
RTN_THROW,
RTN_NAT,
RTN_XRESOLVE,
__RTN_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.
RTN_UNSPEC
RTN_UNICAST
RTN_LOCAL
RTN_BROADCAST
RTN_ANYCAST
RTN_MULTICAST
RTN_BLACKHOLE
RTN_UNREACHABLE
RTN_PROHIBIT
RTN_THROW
RTN_NAT
RTN_XRESOLVE
__RTN_MAX
Trait Implementations§
source§impl Clone for _bindgen_ty_55
impl Clone for _bindgen_ty_55
source§fn clone(&self) -> _bindgen_ty_55
fn clone(&self) -> _bindgen_ty_55
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