Struct rtnetlink::NetlinkFlags[][src]

pub struct NetlinkFlags(_);

Represent the flags field in a netlink packet header.

Methods

impl NetlinkFlags
[src]

Create a new empty flags field (no flag is set)

Set the NLM_F_REQUEST flag

Check if the NLM_F_REQUEST flag is set

Set the NLM_MULTIPART flag

Check if the NLM_MULTIPART flag is set

Set the NLM_F_ACK flag

Check if the NLM_F_ACK flag is set

Set the NLM_F_ECHO flag

Check if the NLM_F_ECHO flag is set

Set the NLM_F_DUMP_INTR flag

Check if the NLM_F_DUMP_INTR flag is set

Set the NLM_F_DUMP_FILTERED flag

Check if the NLM_F_DUMP_FILTERED flag is set

Set the NLM_F_ROOT flag

Check if the NLM_F_ROOT flag is set

Set the NLM_F_MATCH flag

Check if the NLM_F_MATCH flag is set

Set the NLM_F_ATOMIC flag

Check if the NLM_F_ATOMIC flag is set

Set the NLM_F_DUMP flag

Check if the NLM_F_DUMP flag is set

Set the NLM_F_REPLACE flag

Check if the NLM_F_REPLACE flag is set

Set the NLM_F_EXCL flag

Check if the NLM_F_EXCL flag is set

Set the NLM_F_CREATE flag

Check if the NLM_F_CREATE flag is set

Set the NLM_F_APPEND flag

Check if the NLM_F_APPEND flag is set

Set the NLM_F_NONREC flag

Check if the NLM_F_NONREC flag is set

Set the NLM_F_ACK_TLVS flag

Check if the NLM_F_ACK_TLVS flag is set

Set the NLM_F_CAPPED flag

Check if the NLM_F_CAPPED flag is set

Trait Implementations

impl Debug for NetlinkFlags
[src]

Formats the value using the given formatter. Read more

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

impl Clone for NetlinkFlags
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for NetlinkFlags
[src]

impl Hash for NetlinkFlags
[src]

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

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

impl From<u16> for NetlinkFlags
[src]

Performs the conversion.

impl<'a> Into<u16> for &'a NetlinkFlags
[src]

Performs the conversion.

impl Into<u16> for NetlinkFlags
[src]

Performs the conversion.

impl Default for NetlinkFlags
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations