Enum rtnetlink::RtnlMessage [−][src]
pub enum RtnlMessage { Done, Error(ErrorMessage), Ack(AckMessage), Noop, Overrun(Vec<u8>), NewLink(LinkMessage), DelLink(LinkMessage), GetLink(LinkMessage), SetLink(LinkMessage), NewAddress(AddressMessage), DelAddress(AddressMessage), GetAddress(AddressMessage), Other(Vec<u8>), }
Variants
Done
Error(ErrorMessage)
Ack(AckMessage)
Noop
Overrun(Vec<u8>)
NewLink(LinkMessage)
DelLink(LinkMessage)
GetLink(LinkMessage)
SetLink(LinkMessage)
NewAddress(AddressMessage)
DelAddress(AddressMessage)
GetAddress(AddressMessage)
Other(Vec<u8>)
Methods
impl RtnlMessage
[src]
impl RtnlMessage
pub fn is_done(&self) -> bool
[src]
pub fn is_done(&self) -> bool
pub fn is_noop(&self) -> bool
[src]
pub fn is_noop(&self) -> bool
pub fn is_overrun(&self) -> bool
[src]
pub fn is_overrun(&self) -> bool
pub fn is_error(&self) -> bool
[src]
pub fn is_error(&self) -> bool
pub fn is_ack(&self) -> bool
[src]
pub fn is_ack(&self) -> bool
pub fn is_new_link(&self) -> bool
[src]
pub fn is_new_link(&self) -> bool
pub fn is_del_link(&self) -> bool
[src]
pub fn is_del_link(&self) -> bool
pub fn is_get_link(&self) -> bool
[src]
pub fn is_get_link(&self) -> bool
pub fn is_set_link(&self) -> bool
[src]
pub fn is_set_link(&self) -> bool
pub fn is_new_address(&self) -> bool
[src]
pub fn is_new_address(&self) -> bool
pub fn is_del_address(&self) -> bool
[src]
pub fn is_del_address(&self) -> bool
pub fn is_get_address(&self) -> bool
[src]
pub fn is_get_address(&self) -> bool
Trait Implementations
impl From<RtnlMessage> for NetlinkMessage
[src]
impl From<RtnlMessage> for NetlinkMessage
fn from(message: RtnlMessage) -> Self
[src]
fn from(message: RtnlMessage) -> Self
Performs the conversion.
impl Debug for RtnlMessage
[src]
impl Debug for RtnlMessage
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for RtnlMessage
[src]
impl PartialEq for RtnlMessage
fn eq(&self, other: &RtnlMessage) -> bool
[src]
fn eq(&self, other: &RtnlMessage) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &RtnlMessage) -> bool
[src]
fn ne(&self, other: &RtnlMessage) -> bool
This method tests for !=
.
impl Eq for RtnlMessage
[src]
impl Eq for RtnlMessage
impl Clone for RtnlMessage
[src]
impl Clone for RtnlMessage
fn clone(&self) -> RtnlMessage
[src]
fn clone(&self) -> RtnlMessage
Returns 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)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for RtnlMessage
impl Send for RtnlMessage
impl Sync for RtnlMessage
impl Sync for RtnlMessage