#[non_exhaustive]pub enum VpnType {
WireGuard,
}Expand description
VPN connection type.
Identifies the VPN protocol/technology used for the connection. Currently only WireGuard is supported.
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.
WireGuard
WireGuard - modern, high-performance VPN protocol.
Trait Implementations§
impl Eq for VpnType
impl StructuralPartialEq for VpnType
Auto Trait Implementations§
impl Freeze for VpnType
impl RefUnwindSafe for VpnType
impl Send for VpnType
impl Sync for VpnType
impl Unpin for VpnType
impl UnsafeUnpin for VpnType
impl UnwindSafe for VpnType
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