pub enum ArpNewError {
HwAddr(ArpHwAddrError),
ProtoAddr(ArpProtoAddrError),
}Expand description
Error while creating a new crate::ArpPacket.
Variants§
HwAddr(ArpHwAddrError)
Error in the given hardware addresses.
ProtoAddr(ArpProtoAddrError)
Error in the given protocol addresses.
Trait Implementations§
Source§impl Clone for ArpNewError
impl Clone for ArpNewError
Source§fn clone(&self) -> ArpNewError
fn clone(&self) -> ArpNewError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArpNewError
impl Debug for ArpNewError
Source§impl Display for ArpNewError
impl Display for ArpNewError
impl Eq for ArpNewError
Source§impl Error for ArpNewError
impl Error for ArpNewError
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 Hash for ArpNewError
impl Hash for ArpNewError
Source§impl PartialEq for ArpNewError
impl PartialEq for ArpNewError
impl StructuralPartialEq for ArpNewError
Auto Trait Implementations§
impl Freeze for ArpNewError
impl RefUnwindSafe for ArpNewError
impl Send for ArpNewError
impl Sync for ArpNewError
impl Unpin for ArpNewError
impl UnsafeUnpin for ArpNewError
impl UnwindSafe for ArpNewError
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