Struct netlink_sys::NetlinkFlags [−][src]
pub struct NetlinkFlags(_);
Represent the flags field in a netlink packet header.
Methods
impl NetlinkFlags[src]
impl NetlinkFlagspub fn new() -> Self[src]
pub fn new() -> SelfCreate a new empty flags field (no flag is set)
pub fn set_request(&mut self) -> &mut Self[src]
pub fn set_request(&mut self) -> &mut SelfSet the NLM_F_REQUEST flag
pub fn has_request(self) -> bool[src]
pub fn has_request(self) -> boolCheck if the NLM_F_REQUEST flag is set
pub fn set_multipart(&mut self) -> &mut Self[src]
pub fn set_multipart(&mut self) -> &mut SelfSet the NLM_MULTIPART flag
pub fn has_multipart(self) -> bool[src]
pub fn has_multipart(self) -> boolCheck if the NLM_MULTIPART flag is set
pub fn set_ack(&mut self) -> &mut Self[src]
pub fn set_ack(&mut self) -> &mut SelfSet the NLM_F_ACK flag
pub fn has_ack(self) -> bool[src]
pub fn has_ack(self) -> boolCheck if the NLM_F_ACK flag is set
pub fn set_echo(&mut self) -> &mut Self[src]
pub fn set_echo(&mut self) -> &mut SelfSet the NLM_F_ECHO flag
pub fn has_echo(self) -> bool[src]
pub fn has_echo(self) -> boolCheck if the NLM_F_ECHO flag is set
pub fn set_dump_intr(&mut self) -> &mut Self[src]
pub fn set_dump_intr(&mut self) -> &mut SelfSet the NLM_F_DUMP_INTR flag
pub fn has_dump_intr(self) -> bool[src]
pub fn has_dump_intr(self) -> boolCheck if the NLM_F_DUMP_INTR flag is set
pub fn set_dump_filterd(&mut self) -> &mut Self[src]
pub fn set_dump_filterd(&mut self) -> &mut SelfSet the NLM_F_DUMP_FILTERED flag
pub fn has_dump_filterd(self) -> bool[src]
pub fn has_dump_filterd(self) -> boolCheck if the NLM_F_DUMP_FILTERED flag is set
pub fn set_root(&mut self) -> &mut Self[src]
pub fn set_root(&mut self) -> &mut SelfSet the NLM_F_ROOT flag
pub fn has_root(self) -> bool[src]
pub fn has_root(self) -> boolCheck if the NLM_F_ROOT flag is set
pub fn set_match(&mut self) -> &mut Self[src]
pub fn set_match(&mut self) -> &mut SelfSet the NLM_F_MATCH flag
pub fn has_match(self) -> bool[src]
pub fn has_match(self) -> boolCheck if the NLM_F_MATCH flag is set
pub fn set_atomic(&mut self) -> &mut Self[src]
pub fn set_atomic(&mut self) -> &mut SelfSet the NLM_F_ATOMIC flag
pub fn has_atomic(self) -> bool[src]
pub fn has_atomic(self) -> boolCheck if the NLM_F_ATOMIC flag is set
pub fn set_dump(&mut self) -> &mut Self[src]
pub fn set_dump(&mut self) -> &mut SelfSet the NLM_F_DUMP flag
pub fn has_dump(self) -> bool[src]
pub fn has_dump(self) -> boolCheck if the NLM_F_DUMP flag is set
pub fn set_replace(&mut self) -> &mut Self[src]
pub fn set_replace(&mut self) -> &mut SelfSet the NLM_F_REPLACE flag
pub fn has_replace(self) -> bool[src]
pub fn has_replace(self) -> boolCheck if the NLM_F_REPLACE flag is set
pub fn set_excl(&mut self) -> &mut Self[src]
pub fn set_excl(&mut self) -> &mut SelfSet the NLM_F_EXCL flag
pub fn has_excl(self) -> bool[src]
pub fn has_excl(self) -> boolCheck if the NLM_F_EXCL flag is set
pub fn set_create(&mut self) -> &mut Self[src]
pub fn set_create(&mut self) -> &mut SelfSet the NLM_F_CREATE flag
pub fn has_create(self) -> bool[src]
pub fn has_create(self) -> boolCheck if the NLM_F_CREATE flag is set
pub fn set_append(&mut self) -> &mut Self[src]
pub fn set_append(&mut self) -> &mut SelfSet the NLM_F_APPEND flag
pub fn has_append(self) -> bool[src]
pub fn has_append(self) -> boolCheck if the NLM_F_APPEND flag is set
pub fn set_nonrec(&mut self) -> &mut Self[src]
pub fn set_nonrec(&mut self) -> &mut SelfSet the NLM_F_NONREC flag
pub fn has_nonrec(self) -> bool[src]
pub fn has_nonrec(self) -> boolCheck if the NLM_F_NONREC flag is set
pub fn set_ack_tvls(&mut self) -> &mut Self[src]
pub fn set_ack_tvls(&mut self) -> &mut SelfSet the NLM_F_ACK_TLVS flag
pub fn has_ack_tvls(self) -> bool[src]
pub fn has_ack_tvls(self) -> boolCheck if the NLM_F_ACK_TLVS flag is set
pub fn set_capped(&mut self) -> &mut Self[src]
pub fn set_capped(&mut self) -> &mut SelfSet the NLM_F_CAPPED flag
pub fn has_capped(self) -> bool[src]
pub fn has_capped(self) -> boolCheck if the NLM_F_CAPPED flag is set
Trait Implementations
impl Debug for NetlinkFlags[src]
impl Debug for NetlinkFlagsfn 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 NetlinkFlags[src]
impl PartialEq for NetlinkFlagsfn eq(&self, other: &NetlinkFlags) -> bool[src]
fn eq(&self, other: &NetlinkFlags) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &NetlinkFlags) -> bool[src]
fn ne(&self, other: &NetlinkFlags) -> boolThis method tests for !=.
impl Eq for NetlinkFlags[src]
impl Eq for NetlinkFlagsimpl Clone for NetlinkFlags[src]
impl Clone for NetlinkFlagsfn clone(&self) -> NetlinkFlags[src]
fn clone(&self) -> NetlinkFlagsReturns 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 NetlinkFlags[src]
impl Copy for NetlinkFlagsimpl Hash for NetlinkFlags[src]
impl Hash for NetlinkFlagsfn 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<u16> for NetlinkFlags[src]
impl From<u16> for NetlinkFlagsimpl<'a> Into<u16> for &'a NetlinkFlags[src]
impl<'a> Into<u16> for &'a NetlinkFlagsimpl Into<u16> for NetlinkFlags[src]
impl Into<u16> for NetlinkFlagsimpl Default for NetlinkFlags[src]
impl Default for NetlinkFlagsAuto Trait Implementations
impl Send for NetlinkFlags
impl Send for NetlinkFlagsimpl Sync for NetlinkFlags
impl Sync for NetlinkFlags