[][src]Enum neli::err::NlError

pub enum NlError {
    Msg(String),
    NoAck,
    BadSeq,
    BadPid,
}

Netlink protocol error

Variants

Msg(String)

Type indicating a message from a converted error

NoAck

No ack was received when NlmF::Ack was specified in the request

BadSeq

The sequence number for the response did not match the request

BadPid

Incorrect PID socket identifier in received message

Methods

impl NlError[src]

pub fn new(s: &str) -> Self[src]

Create new error from &str

Trait Implementations

impl From<Error> for NlError[src]

impl From<SerError> for NlError[src]

impl From<DeError> for NlError[src]

impl Display for NlError[src]

Netlink protocol error

impl Debug for NlError[src]

impl Error for NlError[src]

Auto Trait Implementations

impl Send for NlError

impl Unpin for NlError

impl Sync for NlError

impl RefUnwindSafe for NlError

impl UnwindSafe for NlError

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]