#[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§impl TryFrom<u16> for RouteMirroringInfo
impl TryFrom<u16> for RouteMirroringInfo
Source§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
const NAME: &'static str = "RouteMirroringInfo"
type Primitive = u16
type Error = TryFromPrimitiveError<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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more