pub enum PacketError {
TooShort,
ExceedsMtu,
MissingTransportId,
InvalidHeaderType,
ZeroLengthData,
InvalidHopCount(u8),
}Variants§
TooShort
ExceedsMtu
MissingTransportId
InvalidHeaderType
ZeroLengthData
InvalidHopCount(u8)
Hop counts at or above PATHFINDER_M are malformed, as upstream
Packet.unpack (Packet.py:250) rejects them before the transport
hop limiter is consulted; the receiving interface counts a protocol
violation (Transport.py:2008).
Trait Implementations§
Source§impl Debug for PacketError
impl Debug for PacketError
Auto Trait Implementations§
impl Forget for PacketError
impl Freeze for PacketError
impl RefUnwindSafe for PacketError
impl Send for PacketError
impl Sync for PacketError
impl Unpin for PacketError
impl UnsafeUnpin for PacketError
impl UnwindSafe for PacketError
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