pub enum NlError {
Msg(String),
NoAck,
BadSeq,
BadPid,
}Expand description
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
Implementations
Trait Implementations
sourceimpl Error for NlError
impl Error for NlError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourceimpl From<NlError> for ConnectError
impl From<NlError> for ConnectError
sourceimpl From<NlError> for GetDeviceError
impl From<NlError> for GetDeviceError
sourceimpl From<NlError> for LinkDeviceError
impl From<NlError> for LinkDeviceError
sourceimpl From<NlError> for ListDevicesError
impl From<NlError> for ListDevicesError
sourceimpl From<NlError> for SetDeviceError
impl From<NlError> for SetDeviceError
sourceimpl From<NlError> for ParseDeviceError
impl From<NlError> for ParseDeviceError
Auto Trait Implementations
impl RefUnwindSafe for NlError
impl Send for NlError
impl Sync for NlError
impl Unpin for NlError
impl UnwindSafe for NlError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more