Enum bgp_models::bgp::error::BgpErrorCodeParsingError
source · pub enum BgpErrorCodeParsingError {
UnknownCode(u8),
UnknownSubcode(u8),
DeprecatedCode(u8),
DeprecatedSubcode(u8),
}Expand description
Error for parsing BGP error code
Variants§
Trait Implementations§
source§impl Clone for BgpErrorCodeParsingError
impl Clone for BgpErrorCodeParsingError
source§fn clone(&self) -> BgpErrorCodeParsingError
fn clone(&self) -> BgpErrorCodeParsingError
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 BgpErrorCodeParsingError
impl Debug for BgpErrorCodeParsingError
source§impl Display for BgpErrorCodeParsingError
impl Display for BgpErrorCodeParsingError
source§impl Error for BgpErrorCodeParsingError
impl Error for BgpErrorCodeParsingError
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<BgpErrorCodeParsingError> for BgpErrorCodeParsingError
impl PartialEq<BgpErrorCodeParsingError> for BgpErrorCodeParsingError
source§fn eq(&self, other: &BgpErrorCodeParsingError) -> bool
fn eq(&self, other: &BgpErrorCodeParsingError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.