#[non_exhaustive]pub enum RouteIp6Tunnel {
Unspecified,
Id(u64),
Destination(Ipv6Addr),
Source(Ipv6Addr),
Hoplimit(u8),
Tc(u8),
Flags(RouteIp6TunnelFlags),
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.
Unspecified
Id(u64)
Destination(Ipv6Addr)
Source(Ipv6Addr)
Hoplimit(u8)
Tc(u8)
Flags(RouteIp6TunnelFlags)
Other(DefaultNla)
Trait Implementations§
Source§impl Clone for RouteIp6Tunnel
impl Clone for RouteIp6Tunnel
Source§fn clone(&self) -> RouteIp6Tunnel
fn clone(&self) -> RouteIp6Tunnel
Returns a duplicate 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 moreSource§impl Debug for RouteIp6Tunnel
impl Debug for RouteIp6Tunnel
Source§impl Default for RouteIp6Tunnel
impl Default for RouteIp6Tunnel
Source§fn default() -> RouteIp6Tunnel
fn default() -> RouteIp6Tunnel
Returns the “default value” for a type. Read more
Source§impl Display for RouteIp6Tunnel
impl Display for RouteIp6Tunnel
Source§impl Nla for RouteIp6Tunnel
impl Nla for RouteIp6Tunnel
Source§impl PartialEq for RouteIp6Tunnel
impl PartialEq for RouteIp6Tunnel
impl Eq for RouteIp6Tunnel
impl StructuralPartialEq for RouteIp6Tunnel
Auto Trait Implementations§
impl Freeze for RouteIp6Tunnel
impl RefUnwindSafe for RouteIp6Tunnel
impl Send for RouteIp6Tunnel
impl Sync for RouteIp6Tunnel
impl Unpin for RouteIp6Tunnel
impl UnwindSafe for RouteIp6Tunnel
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