pub struct TrailingSlash;
Expand description
The error thrown by router if a request was redirected by adding or removing a trailing slash.
Trait Implementations§
Source§impl Debug for TrailingSlash
impl Debug for TrailingSlash
Source§impl Display for TrailingSlash
impl Display for TrailingSlash
Source§impl Error for TrailingSlash
impl Error for TrailingSlash
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
Source§impl PartialEq for TrailingSlash
impl PartialEq for TrailingSlash
impl Eq for TrailingSlash
impl StructuralPartialEq for TrailingSlash
Auto Trait Implementations§
impl Freeze for TrailingSlash
impl RefUnwindSafe for TrailingSlash
impl Send for TrailingSlash
impl Sync for TrailingSlash
impl Unpin for TrailingSlash
impl UnwindSafe for TrailingSlash
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