Enum erspan::ErspanError
source · pub enum ErspanError {
UnknownPacket,
InvalidIpV4Packet,
InvalidTransportProtocol,
PacketTooShort,
InvalidGrePacketType,
GreWithRoutingNotImplemented,
NumbersParsingError,
}
Variants§
UnknownPacket
Represents an empty source. For example, an empty text file being given
as input to count_words()
.
InvalidIpV4Packet
InvalidTransportProtocol
PacketTooShort
InvalidGrePacketType
GreWithRoutingNotImplemented
NumbersParsingError
Trait Implementations§
source§impl Debug for ErspanError
impl Debug for ErspanError
source§impl Display for ErspanError
impl Display for ErspanError
source§impl Error for ErspanError
impl Error for ErspanError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PartialEq for ErspanError
impl PartialEq for ErspanError
source§fn eq(&self, other: &ErspanError) -> bool
fn eq(&self, other: &ErspanError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ErspanError
Auto Trait Implementations§
impl RefUnwindSafe for ErspanError
impl Send for ErspanError
impl Sync for ErspanError
impl Unpin for ErspanError
impl UnwindSafe for ErspanError
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