pub struct NetlinkFlags(/* private fields */);Expand description
Represent the flags field in a netlink packet header.
Implementations§
Source§impl NetlinkFlags
impl NetlinkFlags
Sourcepub fn set_request(&mut self) -> &mut Self
pub fn set_request(&mut self) -> &mut Self
Set the NLM_F_REQUEST flag
Sourcepub fn has_request(self) -> bool
pub fn has_request(self) -> bool
Check if the NLM_F_REQUEST flag is set
Sourcepub fn set_multipart(&mut self) -> &mut Self
pub fn set_multipart(&mut self) -> &mut Self
Set the NLM_F_MULTIPART flag
Sourcepub fn has_multipart(self) -> bool
pub fn has_multipart(self) -> bool
Check if the NLM_F_MULTIPART flag is set
Sourcepub fn set_dump_intr(&mut self) -> &mut Self
pub fn set_dump_intr(&mut self) -> &mut Self
Set the NLM_F_DUMP_INTR flag
Sourcepub fn has_dump_intr(self) -> bool
pub fn has_dump_intr(self) -> bool
Check if the NLM_F_DUMP_INTR flag is set
Sourcepub fn set_dump_filterd(&mut self) -> &mut Self
pub fn set_dump_filterd(&mut self) -> &mut Self
Set the NLM_F_DUMP_FILTERED flag
Sourcepub fn has_dump_filterd(self) -> bool
pub fn has_dump_filterd(self) -> bool
Check if the NLM_F_DUMP_FILTERED flag is set
Sourcepub fn set_atomic(&mut self) -> &mut Self
pub fn set_atomic(&mut self) -> &mut Self
Set the NLM_F_ATOMIC flag
Sourcepub fn has_atomic(self) -> bool
pub fn has_atomic(self) -> bool
Check if the NLM_F_ATOMIC flag is set
Sourcepub fn set_replace(&mut self) -> &mut Self
pub fn set_replace(&mut self) -> &mut Self
Set the NLM_F_REPLACE flag
Sourcepub fn has_replace(self) -> bool
pub fn has_replace(self) -> bool
Check if the NLM_F_REPLACE flag is set
Sourcepub fn set_create(&mut self) -> &mut Self
pub fn set_create(&mut self) -> &mut Self
Set the NLM_F_CREATE flag
Sourcepub fn has_create(self) -> bool
pub fn has_create(self) -> bool
Check if the NLM_F_CREATE flag is set
Sourcepub fn set_append(&mut self) -> &mut Self
pub fn set_append(&mut self) -> &mut Self
Set the NLM_F_APPEND flag
Sourcepub fn has_append(self) -> bool
pub fn has_append(self) -> bool
Check if the NLM_F_APPEND flag is set
Sourcepub fn set_nonrec(&mut self) -> &mut Self
pub fn set_nonrec(&mut self) -> &mut Self
Set the NLM_F_NONREC flag
Sourcepub fn has_nonrec(self) -> bool
pub fn has_nonrec(self) -> bool
Check if the NLM_F_NONREC flag is set
Sourcepub fn set_ack_tvls(&mut self) -> &mut Self
pub fn set_ack_tvls(&mut self) -> &mut Self
Set the NLM_F_ACK_TLVS flag
Sourcepub fn has_ack_tvls(self) -> bool
pub fn has_ack_tvls(self) -> bool
Check if the NLM_F_ACK_TLVS flag is set
Sourcepub fn set_capped(&mut self) -> &mut Self
pub fn set_capped(&mut self) -> &mut Self
Set the NLM_F_CAPPED flag
Sourcepub fn has_capped(self) -> bool
pub fn has_capped(self) -> bool
Check if the NLM_F_CAPPED flag is set
Trait Implementations§
Source§impl Clone for NetlinkFlags
impl Clone for NetlinkFlags
Source§fn clone(&self) -> NetlinkFlags
fn clone(&self) -> NetlinkFlags
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more