Struct wgctrl_sys::wg_peer_flags [−][src]
#[repr(C)]pub struct wg_peer_flags(pub u32);
Methods
impl wg_peer_flags
[src]
impl wg_peer_flags
pub const WGPEER_REMOVE_ME: wg_peer_flags
WGPEER_REMOVE_ME: wg_peer_flags = wg_peer_flags(1)
impl wg_peer_flags
[src]
impl wg_peer_flags
pub const WGPEER_REPLACE_ALLOWEDIPS: wg_peer_flags
WGPEER_REPLACE_ALLOWEDIPS: wg_peer_flags = wg_peer_flags(2)
impl wg_peer_flags
[src]
impl wg_peer_flags
pub const WGPEER_HAS_PUBLIC_KEY: wg_peer_flags
WGPEER_HAS_PUBLIC_KEY: wg_peer_flags = wg_peer_flags(4)
impl wg_peer_flags
[src]
impl wg_peer_flags
pub const WGPEER_HAS_PRESHARED_KEY: wg_peer_flags
WGPEER_HAS_PRESHARED_KEY: wg_peer_flags = wg_peer_flags(8)
impl wg_peer_flags
[src]
impl wg_peer_flags
pub const WGPEER_HAS_PERSISTENT_KEEPALIVE_INTERVAL: wg_peer_flags
WGPEER_HAS_PERSISTENT_KEEPALIVE_INTERVAL: wg_peer_flags = wg_peer_flags(16)
Trait Implementations
impl BitOr<wg_peer_flags> for wg_peer_flags
[src]
impl BitOr<wg_peer_flags> for wg_peer_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_peer_flags
[src]
impl BitOrAssign for wg_peer_flags
fn bitor_assign(&mut self, rhs: wg_peer_flags)
[src]
fn bitor_assign(&mut self, rhs: wg_peer_flags)
Performs the |=
operation.
impl BitAnd<wg_peer_flags> for wg_peer_flags
[src]
impl BitAnd<wg_peer_flags> for wg_peer_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_peer_flags
[src]
impl BitAndAssign for wg_peer_flags
fn bitand_assign(&mut self, rhs: wg_peer_flags)
[src]
fn bitand_assign(&mut self, rhs: wg_peer_flags)
Performs the &=
operation.
impl Debug for wg_peer_flags
[src]
impl Debug for wg_peer_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_peer_flags
[src]
impl Copy for wg_peer_flags
impl Clone for wg_peer_flags
[src]
impl Clone for wg_peer_flags
fn clone(&self) -> wg_peer_flags
[src]
fn clone(&self) -> wg_peer_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_peer_flags
[src]
impl PartialEq for wg_peer_flags
fn eq(&self, other: &wg_peer_flags) -> bool
[src]
fn eq(&self, other: &wg_peer_flags) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &wg_peer_flags) -> bool
[src]
fn ne(&self, other: &wg_peer_flags) -> bool
This method tests for !=
.
impl Eq for wg_peer_flags
[src]
impl Eq for wg_peer_flags
impl Hash for wg_peer_flags
[src]
impl Hash for wg_peer_flags
Auto Trait Implementations
impl Send for wg_peer_flags
impl Send for wg_peer_flags
impl Sync for wg_peer_flags
impl Sync for wg_peer_flags