pub struct NetlinkFlags(_);
Expand description

Represent the flags field in a netlink packet header.

Implementations§

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_F_MULTIPART flag

Check if the NLM_F_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§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.