[−][src]Struct neli::err::Nlmsgerr
Struct representing netlink packets containing errors
Fields
error: c_int
Error code
nlmsg: NlmsghdrErr<T>
Packet header for request that failed
Trait Implementations
impl<T: Debug> Debug for Nlmsgerr<T>
[src]
impl<T> Display for Nlmsgerr<T>
[src]
impl<T> Error for Nlmsgerr<T> where
T: Debug,
[src]
T: Debug,
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Nlmsgerr<NlTypeWrapper>> for NlError
[src]
pub fn from(e: Nlmsgerr<NlTypeWrapper>) -> Self
[src]
impl<T> Nl for Nlmsgerr<T> where
T: NlType,
[src]
T: NlType,
pub fn serialize(&self, mem: SerBuffer<'_>) -> Result<(), SerError>
[src]
pub fn deserialize(mem: DeBuffer<'_>) -> Result<Self, DeError>
[src]
pub fn size(&self) -> usize
[src]
pub fn type_size() -> Option<usize>
[src]
pub fn type_asize() -> Option<usize>
[src]
pub fn asize(&self) -> usize
[src]
pub fn pad(&self, mem: SerBuffer<'_>) -> Result<(), SerError>
[src]
impl<T: PartialEq> PartialEq<Nlmsgerr<T>> for Nlmsgerr<T>
[src]
pub fn eq(&self, other: &Nlmsgerr<T>) -> bool
[src]
pub fn ne(&self, other: &Nlmsgerr<T>) -> bool
[src]
impl<T> StructuralPartialEq for Nlmsgerr<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Nlmsgerr<T> where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<T> Send for Nlmsgerr<T> where
T: Send,
[src]
T: Send,
impl<T> Sync for Nlmsgerr<T> where
T: Sync,
[src]
T: Sync,
impl<T> Unpin for Nlmsgerr<T> where
T: Unpin,
[src]
T: Unpin,
impl<T> UnwindSafe for Nlmsgerr<T> where
T: UnwindSafe,
[src]
T: UnwindSafe,
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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>,