Enum netplan_types::TunnelMode
source · pub enum TunnelMode {
Sit,
Gre,
Ip6gre,
Ipip,
Ipip6,
Ip6ip6,
Vti,
Vti6,
Wireguard,
Gretap,
Ip6gretap,
Isatap,
}Expand description
Defines the tunnel mode. Valid options are sit, gre, ip6gre, ipip, ipip6, ip6ip6, vti, vti6 and wireguard. Additionally, the networkd backend also supports gretap and ip6gretap modes. In addition, the NetworkManager backend supports isatap tunnels.
Variants§
Trait Implementations§
source§impl Clone for TunnelMode
impl Clone for TunnelMode
source§fn clone(&self) -> TunnelMode
fn clone(&self) -> TunnelMode
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 moresource§impl Debug for TunnelMode
impl Debug for TunnelMode
source§impl<'de> Deserialize<'de> for TunnelMode
impl<'de> Deserialize<'de> for TunnelMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<TunnelMode> for TunnelMode
impl PartialEq<TunnelMode> for TunnelMode
source§fn eq(&self, other: &TunnelMode) -> bool
fn eq(&self, other: &TunnelMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for TunnelMode
impl Serialize for TunnelMode
impl Eq for TunnelMode
impl StructuralEq for TunnelMode
impl StructuralPartialEq for TunnelMode
Auto Trait Implementations§
impl RefUnwindSafe for TunnelMode
impl Send for TunnelMode
impl Sync for TunnelMode
impl Unpin for TunnelMode
impl UnwindSafe for TunnelMode
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