#[non_exhaustive]#[repr(u32)]pub enum ovpn_mode {
OVPN_MODE_P2P = 0,
OVPN_MODE_MP = 1,
}
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.
Trait Implementations§
impl Copy for ovpn_mode
impl Eq for ovpn_mode
impl StructuralPartialEq for ovpn_mode
Auto Trait Implementations§
impl Freeze for ovpn_mode
impl RefUnwindSafe for ovpn_mode
impl Send for ovpn_mode
impl Sync for ovpn_mode
impl Unpin for ovpn_mode
impl UnwindSafe for ovpn_mode
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