Enum bgpkit_parser::parser::bmp::messages::RouteMirroringInfo
source · #[repr(u16)]pub enum RouteMirroringInfo {
ErroredPdu = 0,
MessageLost = 1,
}
Variants§
Trait Implementations§
source§impl Clone for RouteMirroringInfo
impl Clone for RouteMirroringInfo
source§fn clone(&self) -> RouteMirroringInfo
fn clone(&self) -> RouteMirroringInfo
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 RouteMirroringInfo
impl Debug for RouteMirroringInfo
source§impl From<RouteMirroringInfo> for u16
impl From<RouteMirroringInfo> for u16
source§fn from(enum_value: RouteMirroringInfo) -> Self
fn from(enum_value: RouteMirroringInfo) -> Self
Converts to this type from the input type.
source§impl PartialEq for RouteMirroringInfo
impl PartialEq for RouteMirroringInfo
source§fn eq(&self, other: &RouteMirroringInfo) -> bool
fn eq(&self, other: &RouteMirroringInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u16> for RouteMirroringInfo
impl TryFrom<u16> for RouteMirroringInfo
§type Error = TryFromPrimitiveError<RouteMirroringInfo>
type Error = TryFromPrimitiveError<RouteMirroringInfo>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for RouteMirroringInfo
impl TryFromPrimitive for RouteMirroringInfo
type Primitive = u16
type Error = TryFromPrimitiveError<RouteMirroringInfo>
const NAME: &'static str = "RouteMirroringInfo"
fn try_from_primitive( number: Self::Primitive ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for RouteMirroringInfo
impl StructuralPartialEq for RouteMirroringInfo
Auto Trait Implementations§
impl Freeze for RouteMirroringInfo
impl RefUnwindSafe for RouteMirroringInfo
impl Send for RouteMirroringInfo
impl Sync for RouteMirroringInfo
impl Unpin for RouteMirroringInfo
impl UnwindSafe for RouteMirroringInfo
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