Struct wgctrl_sys::wg_peer_flags[][src]

#[repr(C)]
pub struct wg_peer_flags(pub u32);

Methods

impl wg_peer_flags
[src]

WGPEER_REMOVE_ME: wg_peer_flags = wg_peer_flags(1)

impl wg_peer_flags
[src]

WGPEER_REPLACE_ALLOWEDIPS: wg_peer_flags = wg_peer_flags(2)

impl wg_peer_flags
[src]

WGPEER_HAS_PUBLIC_KEY: wg_peer_flags = wg_peer_flags(4)

impl wg_peer_flags
[src]

WGPEER_HAS_PRESHARED_KEY: wg_peer_flags = wg_peer_flags(8)

impl wg_peer_flags
[src]

WGPEER_HAS_PERSISTENT_KEEPALIVE_INTERVAL: wg_peer_flags = wg_peer_flags(16)

Trait Implementations

impl BitOr<wg_peer_flags> for wg_peer_flags
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl BitOrAssign for wg_peer_flags
[src]

Performs the |= operation.

impl BitAnd<wg_peer_flags> for wg_peer_flags
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl BitAndAssign for wg_peer_flags
[src]

Performs the &= operation.

impl Debug for wg_peer_flags
[src]

Formats the value using the given formatter. Read more

impl Copy for wg_peer_flags
[src]

impl Clone for wg_peer_flags
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for wg_peer_flags
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for wg_peer_flags
[src]

impl Hash for wg_peer_flags
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations