pub enum VpnKind {
Wireguard,
OpenVpn,
Tun,
Tap,
Other,
}Expand description
Subtype of a VPN (Medium::Vpn) link.
Variants§
Wireguard
WireGuard tunnel.
OpenVpn
OpenVPN tunnel.
Tun
Generic point-to-point tunnel.
Tap
L2 tunnel (some VPNs create a tap device).
Other
Unrecognised VPN type.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VpnKind
impl<'de> Deserialize<'de> for VpnKind
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
impl Copy for VpnKind
impl Eq for VpnKind
impl StructuralPartialEq for VpnKind
Auto Trait Implementations§
impl Freeze for VpnKind
impl RefUnwindSafe for VpnKind
impl Send for VpnKind
impl Sync for VpnKind
impl Unpin for VpnKind
impl UnsafeUnpin for VpnKind
impl UnwindSafe for VpnKind
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