#[non_exhaustive]pub enum InfoGre6 {
Show 16 variants
IFlags(GreIOFlags),
OFlags(GreIOFlags),
IKey(u32),
OKey(u32),
Local(Ipv6Addr),
Remote(Ipv6Addr),
Ttl(u8),
EncapLimit(u8),
FlowLabel(u32),
EncapType(GreEncapType),
EncapFlags(GreEncapFlags),
SourcePort(u16),
DestinationPort(u16),
CollectMetadata,
FwMask(u32),
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.
IFlags(GreIOFlags)
OFlags(GreIOFlags)
IKey(u32)
OKey(u32)
Local(Ipv6Addr)
Remote(Ipv6Addr)
Ttl(u8)
EncapLimit(u8)
FlowLabel(u32)
EncapType(GreEncapType)
EncapFlags(GreEncapFlags)
SourcePort(u16)
DestinationPort(u16)
CollectMetadata
FwMask(u32)
Other(DefaultNla)
Trait Implementations§
impl Eq for InfoGre6
impl StructuralPartialEq for InfoGre6
Auto Trait Implementations§
impl Freeze for InfoGre6
impl RefUnwindSafe for InfoGre6
impl Send for InfoGre6
impl Sync for InfoGre6
impl Unpin for InfoGre6
impl UnwindSafe for InfoGre6
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