pub struct DefaultNotFoundService;Expand description
Unconfigurable service which returns HTTP 404s with no body.
Trait Implementations§
Source§impl Clone for DefaultNotFoundService
impl Clone for DefaultNotFoundService
Source§fn clone(&self) -> DefaultNotFoundService
fn clone(&self) -> DefaultNotFoundService
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 DefaultNotFoundService
impl Debug for DefaultNotFoundService
Source§impl Default for DefaultNotFoundService
impl Default for DefaultNotFoundService
Source§fn default() -> DefaultNotFoundService
fn default() -> DefaultNotFoundService
Returns the “default value” for a type. Read more
Source§impl<T> Service<T> for DefaultNotFoundService
impl<T> Service<T> for DefaultNotFoundService
impl Copy for DefaultNotFoundService
Auto Trait Implementations§
impl Freeze for DefaultNotFoundService
impl RefUnwindSafe for DefaultNotFoundService
impl Send for DefaultNotFoundService
impl Sync for DefaultNotFoundService
impl Unpin for DefaultNotFoundService
impl UnwindSafe for DefaultNotFoundService
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