pub enum GenetlinkError {
ProtocolError(Error<RawGenlMessage>),
DecodeError(DecodeError),
NetlinkError(Error),
AttributeNotFound(String),
NoMessageReceived,
}Expand description
Error type of genetlink
Variants§
ProtocolError(Error<RawGenlMessage>)
DecodeError(DecodeError)
NetlinkError(Error)
AttributeNotFound(String)
NoMessageReceived
Trait Implementations§
Source§impl Debug for GenetlinkError
impl Debug for GenetlinkError
Source§impl Display for GenetlinkError
impl Display for GenetlinkError
Source§impl Error for GenetlinkError
impl Error for GenetlinkError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<DecodeError> for GenetlinkError
impl From<DecodeError> for GenetlinkError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<Error<RawGenlMessage>> for GenetlinkError
impl From<Error<RawGenlMessage>> for GenetlinkError
Source§fn from(source: Error<RawGenlMessage>) -> Self
fn from(source: Error<RawGenlMessage>) -> Self
Converts to this type from the input type.
Source§impl From<ErrorMessage> for GenetlinkError
impl From<ErrorMessage> for GenetlinkError
Source§fn from(err_msg: ErrorMessage) -> Self
fn from(err_msg: ErrorMessage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GenetlinkError
impl !RefUnwindSafe for GenetlinkError
impl Send for GenetlinkError
impl Sync for GenetlinkError
impl Unpin for GenetlinkError
impl !UnwindSafe for GenetlinkError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more