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
Sit
Gre
Ip6gre
Ipip
Ipip6
Ip6ip6
Vti
Vti6
Wireguard
Gretap
Ip6gretap
Isatap
Trait Implementations
sourceimpl Clone for TunnelMode
impl Clone for TunnelMode
sourcefn clone(&self) -> TunnelMode
fn clone(&self) -> TunnelMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TunnelMode
impl Debug for TunnelMode
sourceimpl<'de> Deserialize<'de> for TunnelMode
impl<'de> Deserialize<'de> for TunnelMode
sourcefn 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
sourceimpl PartialEq<TunnelMode> for TunnelMode
impl PartialEq<TunnelMode> for TunnelMode
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more