pub enum ArpPacketBuildError {
MissingHardwareType,
MissingProtocolType,
MissingOperation,
MissingAddresses,
AddressLengthMismatch,
AddressLengthTooLarge,
BufferTooShort {
required: usize,
available: usize,
},
}Expand description
Failure while validating an ARP builder request.
Variants§
MissingHardwareType
No hardware type was supplied.
MissingProtocolType
No protocol type was supplied.
MissingOperation
No operation was supplied.
MissingAddresses
The four address inputs were not supplied together.
AddressLengthMismatch
Sender and target address sizes differ for one address category.
AddressLengthTooLarge
A hardware or protocol address exceeds RFC 826’s one-octet length field.
BufferTooShort
The caller buffer cannot hold the complete RFC 826 packet.
Trait Implementations§
Source§impl Clone for ArpPacketBuildError
impl Clone for ArpPacketBuildError
impl Copy for ArpPacketBuildError
Source§impl Debug for ArpPacketBuildError
impl Debug for ArpPacketBuildError
Source§impl Display for ArpPacketBuildError
impl Display for ArpPacketBuildError
impl Eq for ArpPacketBuildError
Source§impl PartialEq for ArpPacketBuildError
impl PartialEq for ArpPacketBuildError
impl StructuralPartialEq for ArpPacketBuildError
Auto Trait Implementations§
impl Freeze for ArpPacketBuildError
impl RefUnwindSafe for ArpPacketBuildError
impl Send for ArpPacketBuildError
impl Sync for ArpPacketBuildError
impl Unpin for ArpPacketBuildError
impl UnsafeUnpin for ArpPacketBuildError
impl UnwindSafe for ArpPacketBuildError
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