pub enum PacketError {
TooShort,
ExceedsMtu,
MissingTransportId,
InvalidHeaderType,
InvalidHopCount(u8),
}Variants§
TooShort
ExceedsMtu
MissingTransportId
InvalidHeaderType
InvalidHopCount(u8)
Hop counts at or above PATHFINDER_M are invalid on received wire packets.
Trait Implementations§
Source§impl Debug for PacketError
impl Debug for PacketError
Auto Trait Implementations§
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