Struct wgctrl_sys::wg_device_flags[][src]

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

Methods

impl wg_device_flags
[src]

WGDEVICE_REPLACE_PEERS: wg_device_flags = wg_device_flags(1)

impl wg_device_flags
[src]

WGDEVICE_HAS_PRIVATE_KEY: wg_device_flags = wg_device_flags(2)

impl wg_device_flags
[src]

WGDEVICE_HAS_PUBLIC_KEY: wg_device_flags = wg_device_flags(4)

impl wg_device_flags
[src]

WGDEVICE_HAS_LISTEN_PORT: wg_device_flags = wg_device_flags(8)

impl wg_device_flags
[src]

WGDEVICE_HAS_FWMARK: wg_device_flags = wg_device_flags(16)

Trait Implementations

impl BitOr<wg_device_flags> for wg_device_flags
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl BitOrAssign for wg_device_flags
[src]

Performs the |= operation.

impl BitAnd<wg_device_flags> for wg_device_flags
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl BitAndAssign for wg_device_flags
[src]

Performs the &= operation.

impl Debug for wg_device_flags
[src]

Formats the value using the given formatter. Read more

impl Copy for wg_device_flags
[src]

impl Clone for wg_device_flags
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for wg_device_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_device_flags
[src]

impl Hash for wg_device_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