Enum bgpkit_parser::parser::bmp::error::ParserBmpError
source · pub enum ParserBmpError {
InvalidOpenBmpHeader,
UnsupportedOpenBmpMessage,
CorruptedBmpMessage,
TruncatedBmpMessage,
}
Variants§
Trait Implementations§
source§impl Clone for ParserBmpError
impl Clone for ParserBmpError
source§fn clone(&self) -> ParserBmpError
fn clone(&self) -> ParserBmpError
Returns a copy of the value. Read more
1.0.0 · 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 ParserBmpError
impl Debug for ParserBmpError
source§impl Display for ParserBmpError
impl Display for ParserBmpError
source§impl Error for ParserBmpError
impl Error for ParserBmpError
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 From<Error> for ParserBmpError
impl From<Error> for ParserBmpError
source§impl From<ParserError> for ParserBmpError
impl From<ParserError> for ParserBmpError
source§fn from(_: ParserError) -> Self
fn from(_: ParserError) -> Self
Converts to this type from the input type.
source§impl From<TryFromPrimitiveError<BmpMsgType>> for ParserBmpError
impl From<TryFromPrimitiveError<BmpMsgType>> for ParserBmpError
source§fn from(_: TryFromPrimitiveError<BmpMsgType>) -> Self
fn from(_: TryFromPrimitiveError<BmpMsgType>) -> Self
Converts to this type from the input type.
source§impl From<TryFromPrimitiveError<BmpPeerType>> for ParserBmpError
impl From<TryFromPrimitiveError<BmpPeerType>> for ParserBmpError
source§fn from(_: TryFromPrimitiveError<BmpPeerType>) -> Self
fn from(_: TryFromPrimitiveError<BmpPeerType>) -> Self
Converts to this type from the input type.
source§impl From<TryFromPrimitiveError<InitiationTlvType>> for ParserBmpError
impl From<TryFromPrimitiveError<InitiationTlvType>> for ParserBmpError
source§fn from(_: TryFromPrimitiveError<InitiationTlvType>) -> Self
fn from(_: TryFromPrimitiveError<InitiationTlvType>) -> Self
Converts to this type from the input type.
source§impl From<TryFromPrimitiveError<RouteMirroringInfo>> for ParserBmpError
impl From<TryFromPrimitiveError<RouteMirroringInfo>> for ParserBmpError
source§fn from(_: TryFromPrimitiveError<RouteMirroringInfo>) -> Self
fn from(_: TryFromPrimitiveError<RouteMirroringInfo>) -> Self
Converts to this type from the input type.
source§impl From<TryFromPrimitiveError<TerminationTlvType>> for ParserBmpError
impl From<TryFromPrimitiveError<TerminationTlvType>> for ParserBmpError
source§fn from(_: TryFromPrimitiveError<TerminationTlvType>) -> Self
fn from(_: TryFromPrimitiveError<TerminationTlvType>) -> Self
Converts to this type from the input type.
source§impl PartialEq for ParserBmpError
impl PartialEq for ParserBmpError
source§fn eq(&self, other: &ParserBmpError) -> bool
fn eq(&self, other: &ParserBmpError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ParserBmpError
impl Eq for ParserBmpError
impl StructuralPartialEq for ParserBmpError
Auto Trait Implementations§
impl RefUnwindSafe for ParserBmpError
impl Send for ParserBmpError
impl Sync for ParserBmpError
impl Unpin for ParserBmpError
impl UnwindSafe for ParserBmpError
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.