pub enum Encapsulation {
IpsecTransport,
IpsecTunnel,
IpIp,
Gre,
Wireguard,
Openvpn,
L2tp,
Pptp,
}Expand description
ipsec-transport- IPsec - Transport *ipsec-tunnel- IPsec - Tunnel *ip-ip- IP-in-IP *gre- GRE *wireguard- WireGuard *openvpn- OpenVPN *l2tp- L2TP *pptp- PPTP
Variants§
Trait Implementations§
Source§impl Clone for Encapsulation
impl Clone for Encapsulation
Source§fn clone(&self) -> Encapsulation
fn clone(&self) -> Encapsulation
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 Encapsulation
impl Debug for Encapsulation
Source§impl Default for Encapsulation
impl Default for Encapsulation
Source§fn default() -> Encapsulation
fn default() -> Encapsulation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Encapsulation
impl<'de> Deserialize<'de> for Encapsulation
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 Hash for Encapsulation
impl Hash for Encapsulation
Source§impl Ord for Encapsulation
impl Ord for Encapsulation
Source§fn cmp(&self, other: &Encapsulation) -> Ordering
fn cmp(&self, other: &Encapsulation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Encapsulation
impl PartialEq for Encapsulation
Source§impl PartialOrd for Encapsulation
impl PartialOrd for Encapsulation
Source§impl Serialize for Encapsulation
impl Serialize for Encapsulation
impl Copy for Encapsulation
impl Eq for Encapsulation
impl StructuralPartialEq for Encapsulation
Auto Trait Implementations§
impl Freeze for Encapsulation
impl RefUnwindSafe for Encapsulation
impl Send for Encapsulation
impl Sync for Encapsulation
impl Unpin for Encapsulation
impl UnwindSafe for Encapsulation
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