pub enum WgdeviceFlags {
ReplacePeers = 1,
}Available on crate feature
wireguard only.Expand description
Flags - defines an integer enumeration, with values for each entry occupying a bit, starting from bit 0, (e.g. 1, 2, 4, 8)
Variants§
ReplacePeers = 1
Implementations§
Source§impl WgdeviceFlags
impl WgdeviceFlags
pub fn from_value(value: u64) -> Option<Self>
Trait Implementations§
Source§impl Clone for WgdeviceFlags
impl Clone for WgdeviceFlags
Source§fn clone(&self) -> WgdeviceFlags
fn clone(&self) -> WgdeviceFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WgdeviceFlags
Auto Trait Implementations§
impl Freeze for WgdeviceFlags
impl RefUnwindSafe for WgdeviceFlags
impl Send for WgdeviceFlags
impl Sync for WgdeviceFlags
impl Unpin for WgdeviceFlags
impl UnsafeUnpin for WgdeviceFlags
impl UnwindSafe for WgdeviceFlags
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