Struct rtnetlink::LinkFlags[][src]

pub struct LinkFlags(pub u32);

Methods

impl LinkFlags
[src]

Set the IFF_UP flag

Unset the IFF_UP flag

Check if the IFF_UP flag is set

Set the IFF_RUNNING flag

Unset the IFF_RUNNING flag

Check if the IFF_RUNNING flag is set

Set the IFF_LOWER_UP flag

Unset the IFF_LOWER_UP flag

Check if the IFF_LOWER_UP flag is set

Set the IFF_DORMANT flag

Unset the IFF_DORMANT flag

Check if the IFF_DORMANT flag is set

Set the IFF_BROADCAST flag

Unset the IFF_BROADCAST flag

Check if the IFF_BROADCAST flag is set

Set the IFF_MULTICAST flag

Unset the IFF_MULTICAST flag

Check if the IFF_MULTICAST flag is set

Set the IFF_ALLMULTI flag

Unset the IFF_ALLMULTI flag

Check if the IFF_ALLMULTI flag is set

Set the IFF_DEBUG flag

Unset the IFF_DEBUG flag

Check if the IFF_DEBUG flag is set

Set the IFF_LOOPBACK flag

Unset the IFF_LOOPBACK flag

Check if the IFF_LOOPBACK flag is set

Set the IFF_POINTOPOINT flag

Unset the IFF_POINTOPOINT flag

Check if the IFF_POINTOPOINT flag is set

Set the IFF_NOARP flag

Unset the IFF_NOARP flag

Check if the IFF_NOARP flag is set

Set the IFF_PROMISC flag

Unset the IFF_PROMISCUOUS flag

Check if the IFF_PROMISC flag is set

Set the IFF_MASTER flag

Unset the IFF_MASTER flag

Check if the IFF_MASTER flag is set

Set the IFF_SLAVE flag

Unset the IFF_SLAVE flag

Check if the IFF_SLAVE flag is set

Set the IFF_PORTSEL flag

Unset the IFF_PORTSEL flag

Check if the IFF_PORTSEL flag is set

Set the IFF_AUTOMEDIA flag

Unset the IFF_AUTOMEDIA flag

Check if the IFF_AUTOMEDIA flag is set

Trait Implementations

impl Debug for LinkFlags
[src]

Formats the value using the given formatter. Read more

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

impl Clone for LinkFlags
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for LinkFlags
[src]

impl Hash for LinkFlags
[src]

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

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

impl From<u32> for LinkFlags
[src]

Performs the conversion.

impl<'a> From<&'a LinkFlags> for u32
[src]

Performs the conversion.

impl From<LinkFlags> for u32
[src]

Performs the conversion.

impl Default for LinkFlags
[src]

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

Auto Trait Implementations

impl Send for LinkFlags

impl Sync for LinkFlags