Struct rtnetlink::ErrorMessage [−][src]
pub struct ErrorMessage { pub code: i32, pub header: NetlinkHeader, }
Fields
code: i32
header: NetlinkHeader
Trait Implementations
impl Debug for ErrorMessage
[src]
impl Debug for ErrorMessage
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 Clone for ErrorMessage
[src]
impl Clone for ErrorMessage
fn clone(&self) -> ErrorMessage
[src]
fn clone(&self) -> ErrorMessage
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
impl PartialEq for ErrorMessage
[src]
impl PartialEq for ErrorMessage
fn eq(&self, other: &ErrorMessage) -> bool
[src]
fn eq(&self, other: &ErrorMessage) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ErrorMessage) -> bool
[src]
fn ne(&self, other: &ErrorMessage) -> bool
This method tests for !=
.
impl Eq for ErrorMessage
[src]
impl Eq for ErrorMessage
impl Emitable for ErrorMessage
[src]
impl Emitable for ErrorMessage
fn buffer_len(&self) -> usize
[src]
fn buffer_len(&self) -> usize
Return the length of the serialized data.
fn emit(&self, buffer: &mut [u8])
[src]
fn emit(&self, buffer: &mut [u8])
Serialize this types and write the serialized data into the given buffer. Read more
impl<'buffer, T: AsRef<[u8]> + 'buffer> Parseable<ErrorMessage> for ErrorBuffer<&'buffer T>
[src]
impl<'buffer, T: AsRef<[u8]> + 'buffer> Parseable<ErrorMessage> for ErrorBuffer<&'buffer T>
fn parse(&self) -> Result<ErrorMessage>
[src]
fn parse(&self) -> Result<ErrorMessage>
Deserialize the current type.
Auto Trait Implementations
impl Send for ErrorMessage
impl Send for ErrorMessage
impl Sync for ErrorMessage
impl Sync for ErrorMessage