pub enum WireguardCmd {
GetDevice,
SetDevice,
}Variants§
Trait Implementations§
Source§impl Clone for WireguardCmd
impl Clone for WireguardCmd
Source§fn clone(&self) -> WireguardCmd
fn clone(&self) -> WireguardCmd
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WireguardCmd
impl Debug for WireguardCmd
Source§impl From<WireguardCmd> for u8
impl From<WireguardCmd> for u8
Source§fn from(cmd: WireguardCmd) -> Self
fn from(cmd: WireguardCmd) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WireguardCmd
impl PartialEq for WireguardCmd
Source§impl TryFrom<u8> for WireguardCmd
impl TryFrom<u8> for WireguardCmd
impl Copy for WireguardCmd
impl Eq for WireguardCmd
impl StructuralPartialEq for WireguardCmd
Auto Trait Implementations§
impl Freeze for WireguardCmd
impl RefUnwindSafe for WireguardCmd
impl Send for WireguardCmd
impl Sync for WireguardCmd
impl Unpin for WireguardCmd
impl UnwindSafe for WireguardCmd
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