[−][src]Struct netlink_packet_audit::ErrorMessage
Fields
code: i32
header: Vec<u8>
Implementations
impl ErrorMessage
[src]
pub fn to_io(&self) -> Error
[src]
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 Clone for ErrorMessage
[src]
fn clone(&self) -> ErrorMessage
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ErrorMessage
[src]
impl Display for ErrorMessage
[src]
impl Emitable for ErrorMessage
[src]
impl Eq for ErrorMessage
[src]
impl<'buffer, T> Parseable<ErrorBuffer<&'buffer T>> for ErrorMessage where
T: 'buffer + AsRef<[u8]>,
[src]
T: 'buffer + AsRef<[u8]>,
fn parse(buf: &ErrorBuffer<&'buffer T>) -> Result<ErrorMessage, DecodeError>
[src]
impl PartialEq<ErrorMessage> for ErrorMessage
[src]
fn eq(&self, other: &ErrorMessage) -> bool
[src]
fn ne(&self, other: &ErrorMessage) -> bool
[src]
impl StructuralEq for ErrorMessage
[src]
impl StructuralPartialEq for ErrorMessage
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Emitable for T where
T: Nla,
[src]
T: Nla,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,