pub struct NoRoute;
Expand description
The error thrown by router if there is no matching route, it is always accompanied by a NotFound response.
Trait Implementations§
Source§impl Error for NoRoute
impl Error for NoRoute
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
impl Eq for NoRoute
impl StructuralPartialEq for NoRoute
Auto Trait Implementations§
impl Freeze for NoRoute
impl RefUnwindSafe for NoRoute
impl Send for NoRoute
impl Sync for NoRoute
impl Unpin for NoRoute
impl UnwindSafe for NoRoute
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