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