pub struct UnrecognizedRoutingTypeError {
pub routing_type: u8,
}Expand description
Error returned by RoutingType::try_from().
Fields§
§routing_type: u8The unrecognized routing type value.
Trait Implementations§
source§impl Clone for UnrecognizedRoutingTypeError
impl Clone for UnrecognizedRoutingTypeError
source§fn clone(&self) -> UnrecognizedRoutingTypeError
fn clone(&self) -> UnrecognizedRoutingTypeError
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 UnrecognizedRoutingTypeError
impl Debug for UnrecognizedRoutingTypeError
source§impl Error for UnrecognizedRoutingTypeError
impl Error for UnrecognizedRoutingTypeError
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 Hash for UnrecognizedRoutingTypeError
impl Hash for UnrecognizedRoutingTypeError
source§impl Ord for UnrecognizedRoutingTypeError
impl Ord for UnrecognizedRoutingTypeError
source§fn cmp(&self, other: &UnrecognizedRoutingTypeError) -> Ordering
fn cmp(&self, other: &UnrecognizedRoutingTypeError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for UnrecognizedRoutingTypeError
impl PartialEq for UnrecognizedRoutingTypeError
source§fn eq(&self, other: &UnrecognizedRoutingTypeError) -> bool
fn eq(&self, other: &UnrecognizedRoutingTypeError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for UnrecognizedRoutingTypeError
impl PartialOrd for UnrecognizedRoutingTypeError
source§fn partial_cmp(&self, other: &UnrecognizedRoutingTypeError) -> Option<Ordering>
fn partial_cmp(&self, other: &UnrecognizedRoutingTypeError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for UnrecognizedRoutingTypeError
impl Eq for UnrecognizedRoutingTypeError
impl StructuralEq for UnrecognizedRoutingTypeError
impl StructuralPartialEq for UnrecognizedRoutingTypeError
Auto Trait Implementations§
impl RefUnwindSafe for UnrecognizedRoutingTypeError
impl Send for UnrecognizedRoutingTypeError
impl Sync for UnrecognizedRoutingTypeError
impl Unpin for UnrecognizedRoutingTypeError
impl UnwindSafe for UnrecognizedRoutingTypeError
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