Struct netlink_sys::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 ErrorMessagefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for ErrorMessage[src]
impl Clone for ErrorMessagefn clone(&self) -> ErrorMessage[src]
fn clone(&self) -> ErrorMessageReturns 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 ErrorMessagefn eq(&self, other: &ErrorMessage) -> bool[src]
fn eq(&self, other: &ErrorMessage) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for ErrorMessage[src]
impl Eq for ErrorMessageimpl Emitable for ErrorMessage[src]
impl Emitable for ErrorMessagefn buffer_len(&self) -> usize[src]
fn buffer_len(&self) -> usizeReturn 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 ErrorMessageimpl Sync for ErrorMessage
impl Sync for ErrorMessage