Enum netlink_packet_route::link::InfoVxlan
source · #[non_exhaustive]pub enum InfoVxlan {
Show 32 variants
Id(u32),
Group(Ipv4Addr),
Group6(Ipv6Addr),
Link(u32),
Local(Ipv4Addr),
Local6(Ipv6Addr),
Tos(u8),
Ttl(u8),
Label(u32),
Learning(bool),
Ageing(u32),
Limit(u32),
PortRange((u16, u16)),
Proxy(bool),
Rsc(bool),
L2Miss(bool),
L3Miss(bool),
CollectMetadata(bool),
Port(u16),
UDPCsum(bool),
UDPZeroCsumTX(bool),
UDPZeroCsumRX(bool),
RemCsumTX(bool),
RemCsumRX(bool),
Gbp(bool),
Gpe(bool),
RemCsumNoPartial(bool),
TtlInherit(bool),
Df(u8),
Vnifilter(bool),
Localbypass(bool),
Other(DefaultNla),
}
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.
Id(u32)
Group(Ipv4Addr)
Group6(Ipv6Addr)
Link(u32)
Local(Ipv4Addr)
Local6(Ipv6Addr)
Tos(u8)
Ttl(u8)
Label(u32)
Learning(bool)
Ageing(u32)
Limit(u32)
PortRange((u16, u16))
Proxy(bool)
Rsc(bool)
L2Miss(bool)
L3Miss(bool)
CollectMetadata(bool)
Port(u16)
UDPCsum(bool)
UDPZeroCsumTX(bool)
UDPZeroCsumRX(bool)
RemCsumTX(bool)
RemCsumRX(bool)
Gbp(bool)
Gpe(bool)
RemCsumNoPartial(bool)
TtlInherit(bool)
Df(u8)
Vnifilter(bool)
Localbypass(bool)
Other(DefaultNla)
Trait Implementations§
impl Eq for InfoVxlan
impl StructuralPartialEq for InfoVxlan
Auto Trait Implementations§
impl Freeze for InfoVxlan
impl RefUnwindSafe for InfoVxlan
impl Send for InfoVxlan
impl Sync for InfoVxlan
impl Unpin for InfoVxlan
impl UnwindSafe for InfoVxlan
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)