pub enum BgpCapabilityParsingError {
Unassigned(u8),
DeprecatedCode(u8),
ReservedCode(u8),
ReservedExperimentalCode(u8),
}Expand description
BGP capability parsing error
Variants§
Trait Implementations§
source§impl Clone for BgpCapabilityParsingError
impl Clone for BgpCapabilityParsingError
source§fn clone(&self) -> BgpCapabilityParsingError
fn clone(&self) -> BgpCapabilityParsingError
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 BgpCapabilityParsingError
impl Debug for BgpCapabilityParsingError
source§impl Display for BgpCapabilityParsingError
impl Display for BgpCapabilityParsingError
source§impl Error for BgpCapabilityParsingError
impl Error for BgpCapabilityParsingError
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<BgpCapabilityParsingError> for BgpCapabilityParsingError
impl PartialEq<BgpCapabilityParsingError> for BgpCapabilityParsingError
source§fn eq(&self, other: &BgpCapabilityParsingError) -> bool
fn eq(&self, other: &BgpCapabilityParsingError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.