pub struct DefaultFallbackHandler;
Expand description
The default fallback handler.
It returns 404 response regardless request information.
Trait Implementations§
Source§impl Clone for DefaultFallbackHandler
impl Clone for DefaultFallbackHandler
Source§fn clone(&self) -> DefaultFallbackHandler
fn clone(&self) -> DefaultFallbackHandler
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 DefaultFallbackHandler
impl Debug for DefaultFallbackHandler
Source§impl FallbackHandler for DefaultFallbackHandler
impl FallbackHandler for DefaultFallbackHandler
fn execute(&self, _: &HttpRequest) -> HttpResponse
Auto Trait Implementations§
impl Freeze for DefaultFallbackHandler
impl RefUnwindSafe for DefaultFallbackHandler
impl Send for DefaultFallbackHandler
impl Sync for DefaultFallbackHandler
impl Unpin for DefaultFallbackHandler
impl UnwindSafe for DefaultFallbackHandler
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