Struct netlink_sys::rtnl::LinkFlags [−][src]
pub struct LinkFlags(pub u32);
Methods
impl LinkFlags[src]
impl LinkFlagspub fn new() -> Self[src]
pub fn new() -> Selfpub fn set_up(&mut self)[src]
pub fn set_up(&mut self)Set the IFF_UP flag
pub fn is_up(self) -> bool[src]
pub fn is_up(self) -> boolCheck if the IFF_UP flag is set
pub fn set_running(&mut self)[src]
pub fn set_running(&mut self)Set the IFF_RUNNING flag
pub fn is_running(self) -> bool[src]
pub fn is_running(self) -> boolCheck if the IFF_RUNNING flag is set
pub fn set_lower_up(&mut self)[src]
pub fn set_lower_up(&mut self)Set the IFF_LOWER_UP flag
pub fn is_lower_up(self) -> bool[src]
pub fn is_lower_up(self) -> boolCheck if the IFF_LOWER_UP flag is set
pub fn set_dormant(&mut self)[src]
pub fn set_dormant(&mut self)Set the IFF_DORMANT flag
pub fn is_dormant(self) -> bool[src]
pub fn is_dormant(self) -> boolCheck if the IFF_DORMANT flag is set
pub fn set_broadcast(&mut self)[src]
pub fn set_broadcast(&mut self)Set the IFF_BROADCAST flag
pub fn is_broadcast(self) -> bool[src]
pub fn is_broadcast(self) -> boolCheck if the IFF_BROADCAST flag is set
pub fn set_multicast(&mut self)[src]
pub fn set_multicast(&mut self)Set the IFF_MULTICAST flag
pub fn is_multicast(self) -> bool[src]
pub fn is_multicast(self) -> boolCheck if the IFF_MULTICAST flag is set
pub fn set_allmulti(&mut self)[src]
pub fn set_allmulti(&mut self)Set the IFF_ALLMULTI flag
pub fn is_allmulti(self) -> bool[src]
pub fn is_allmulti(self) -> boolCheck if the IFF_ALLMULTI flag is set
pub fn set_debug(&mut self)[src]
pub fn set_debug(&mut self)Set the IFF_DEBUG flag
pub fn is_debug(self) -> bool[src]
pub fn is_debug(self) -> boolCheck if the IFF_DEBUG flag is set
pub fn set_loopback(&mut self)[src]
pub fn set_loopback(&mut self)Set the IFF_LOOPBACK flag
pub fn is_loopback(self) -> bool[src]
pub fn is_loopback(self) -> boolCheck if the IFF_LOOPBACK flag is set
pub fn set_point_to_point(&mut self)[src]
pub fn set_point_to_point(&mut self)Set the IFF_POINTOPOINT flag
pub fn is_point_to_point(self) -> bool[src]
pub fn is_point_to_point(self) -> boolCheck if the IFF_POINTOPOINT flag is set
pub fn set_no_arp(&mut self)[src]
pub fn set_no_arp(&mut self)Set the IFF_NOARP flag
pub fn is_no_arp(self) -> bool[src]
pub fn is_no_arp(self) -> boolCheck if the IFF_NOARP flag is set
pub fn set_promiscuous(&mut self)[src]
pub fn set_promiscuous(&mut self)Set the IFF_PROMISC flag
pub fn is_promiscuous(self) -> bool[src]
pub fn is_promiscuous(self) -> boolCheck if the IFF_PROMISC flag is set
pub fn set_master(&mut self)[src]
pub fn set_master(&mut self)Set the IFF_MASTER flag
pub fn is_master(self) -> bool[src]
pub fn is_master(self) -> boolCheck if the IFF_MASTER flag is set
pub fn set_slave(&mut self)[src]
pub fn set_slave(&mut self)Set the IFF_SLAVE flag
pub fn is_slave(self) -> bool[src]
pub fn is_slave(self) -> boolCheck if the IFF_SLAVE flag is set
pub fn set_port_select(&mut self)[src]
pub fn set_port_select(&mut self)Set the IFF_PORTSEL flag
pub fn is_port_select(self) -> bool[src]
pub fn is_port_select(self) -> boolCheck if the IFF_PORTSEL flag is set
pub fn set_auto_media_type(&mut self)[src]
pub fn set_auto_media_type(&mut self)Set the IFF_AUTOMEDIA flag
pub fn is_auto_media_type(self) -> bool[src]
pub fn is_auto_media_type(self) -> boolCheck if the IFF_AUTOMEDIA flag is set
Trait Implementations
impl Debug for LinkFlags[src]
impl Debug for LinkFlagsfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for LinkFlags[src]
impl PartialEq for LinkFlagsfn eq(&self, other: &LinkFlags) -> bool[src]
fn eq(&self, other: &LinkFlags) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &LinkFlags) -> bool[src]
fn ne(&self, other: &LinkFlags) -> boolThis method tests for !=.
impl Eq for LinkFlags[src]
impl Eq for LinkFlagsimpl Clone for LinkFlags[src]
impl Clone for LinkFlagsfn clone(&self) -> LinkFlags[src]
fn clone(&self) -> LinkFlagsReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Copy for LinkFlags[src]
impl Copy for LinkFlagsimpl Hash for LinkFlags[src]
impl Hash for LinkFlagsfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl From<u32> for LinkFlags[src]
impl From<u32> for LinkFlagsimpl<'a> From<&'a LinkFlags> for u32[src]
impl<'a> From<&'a LinkFlags> for u32impl From<LinkFlags> for u32[src]
impl From<LinkFlags> for u32impl Default for LinkFlags[src]
impl Default for LinkFlags