Struct wgctrl_sys::wg_device_flags [−][src]
#[repr(C)]pub struct wg_device_flags(pub u32);
Methods
impl wg_device_flags
[src]
impl wg_device_flags
pub const WGDEVICE_REPLACE_PEERS: wg_device_flags
WGDEVICE_REPLACE_PEERS: wg_device_flags = wg_device_flags(1)
impl wg_device_flags
[src]
impl wg_device_flags
pub const WGDEVICE_HAS_PRIVATE_KEY: wg_device_flags
WGDEVICE_HAS_PRIVATE_KEY: wg_device_flags = wg_device_flags(2)
impl wg_device_flags
[src]
impl wg_device_flags
pub const WGDEVICE_HAS_PUBLIC_KEY: wg_device_flags
WGDEVICE_HAS_PUBLIC_KEY: wg_device_flags = wg_device_flags(4)
impl wg_device_flags
[src]
impl wg_device_flags
pub const WGDEVICE_HAS_LISTEN_PORT: wg_device_flags
WGDEVICE_HAS_LISTEN_PORT: wg_device_flags = wg_device_flags(8)
impl wg_device_flags
[src]
impl wg_device_flags
pub const WGDEVICE_HAS_FWMARK: wg_device_flags
WGDEVICE_HAS_FWMARK: wg_device_flags = wg_device_flags(16)
Trait Implementations
impl BitOr<wg_device_flags> for wg_device_flags
[src]
impl BitOr<wg_device_flags> for wg_device_flags
type Output = Self
The resulting type after applying the |
operator.
fn bitor(self, other: Self) -> Self
[src]
fn bitor(self, other: Self) -> Self
Performs the |
operation.
impl BitOrAssign for wg_device_flags
[src]
impl BitOrAssign for wg_device_flags
fn bitor_assign(&mut self, rhs: wg_device_flags)
[src]
fn bitor_assign(&mut self, rhs: wg_device_flags)
Performs the |=
operation.
impl BitAnd<wg_device_flags> for wg_device_flags
[src]
impl BitAnd<wg_device_flags> for wg_device_flags
type Output = Self
The resulting type after applying the &
operator.
fn bitand(self, other: Self) -> Self
[src]
fn bitand(self, other: Self) -> Self
Performs the &
operation.
impl BitAndAssign for wg_device_flags
[src]
impl BitAndAssign for wg_device_flags
fn bitand_assign(&mut self, rhs: wg_device_flags)
[src]
fn bitand_assign(&mut self, rhs: wg_device_flags)
Performs the &=
operation.
impl Debug for wg_device_flags
[src]
impl Debug for wg_device_flags
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for wg_device_flags
[src]
impl Copy for wg_device_flags
impl Clone for wg_device_flags
[src]
impl Clone for wg_device_flags
fn clone(&self) -> wg_device_flags
[src]
fn clone(&self) -> wg_device_flags
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for wg_device_flags
[src]
impl PartialEq for wg_device_flags
fn eq(&self, other: &wg_device_flags) -> bool
[src]
fn eq(&self, other: &wg_device_flags) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &wg_device_flags) -> bool
[src]
fn ne(&self, other: &wg_device_flags) -> bool
This method tests for !=
.
impl Eq for wg_device_flags
[src]
impl Eq for wg_device_flags
impl Hash for wg_device_flags
[src]
impl Hash for wg_device_flags
Auto Trait Implementations
impl Send for wg_device_flags
impl Send for wg_device_flags
impl Sync for wg_device_flags
impl Sync for wg_device_flags