pub enum ArpError {
NotEnoughBytesForAddrLengths {
provided_size: usize,
expected_size: usize,
},
NotEnoughBytesForAddrs {
provided_size: usize,
expected_size: usize,
},
}Variants§
Trait Implementations§
Source§impl ErrorCompat for ArpError
impl ErrorCompat for ArpError
Source§fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to
Error::source. Read moreSource§impl From<ArpError> for NetpackError
impl From<ArpError> for NetpackError
impl Eq for ArpError
impl StructuralPartialEq for ArpError
Auto Trait Implementations§
impl Freeze for ArpError
impl RefUnwindSafe for ArpError
impl Send for ArpError
impl Sync for ArpError
impl Unpin for ArpError
impl UnwindSafe for ArpError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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