pub enum RouteRegistryError {
Duplicate {
method: Method,
path: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for RouteRegistryError
impl Clone for RouteRegistryError
Source§fn clone(&self) -> RouteRegistryError
fn clone(&self) -> RouteRegistryError
Returns a duplicate 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 RouteRegistryError
impl Debug for RouteRegistryError
Source§impl Display for RouteRegistryError
impl Display for RouteRegistryError
Source§impl Error for RouteRegistryError
impl Error for RouteRegistryError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 for RouteRegistryError
impl PartialEq for RouteRegistryError
impl Eq for RouteRegistryError
impl StructuralPartialEq for RouteRegistryError
Auto Trait Implementations§
impl Freeze for RouteRegistryError
impl RefUnwindSafe for RouteRegistryError
impl Send for RouteRegistryError
impl Sync for RouteRegistryError
impl Unpin for RouteRegistryError
impl UnsafeUnpin for RouteRegistryError
impl UnwindSafe for RouteRegistryError
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