Struct netlink_packet_route::ErrorMessage [−][src]
Fields
code: i32
header: Vec<u8, Global>
Implementations
According to netlink(7)
the NLMSG_ERROR
return Negative errno or 0 for acknowledgements.
convert into std::io::Error
using the absolute value from errno code
Trait Implementations
impl<'buffer, T> Parseable<ErrorBuffer<&'buffer T>> for ErrorMessage where
T: 'buffer + AsRef<[u8]>,
impl<'buffer, T> Parseable<ErrorBuffer<&'buffer T>> for ErrorMessage where
T: 'buffer + AsRef<[u8]>,
Deserialize the current type.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ErrorMessage
impl Send for ErrorMessage
impl Sync for ErrorMessage
impl Unpin for ErrorMessage
impl UnwindSafe for ErrorMessage
Blanket Implementations
Mutably borrows from an owned value. Read more