pub struct NotFoundController;
Implementations§
Source§impl NotFoundController
impl NotFoundController
pub const NOT_FOUND_FILEPATH: &'static str = "404.html"
pub fn is_matching_request(_request: &Request) -> bool
pub fn process_request(_request: &Request, response: Response) -> Response
Trait Implementations§
Source§impl Controller for NotFoundController
impl Controller for NotFoundController
fn is_matching(_request: &Request, _connection: &ConnectionInfo) -> bool
fn process( _request: &Request, response: Response, _connection: &ConnectionInfo, ) -> Response
Auto Trait Implementations§
impl Freeze for NotFoundController
impl RefUnwindSafe for NotFoundController
impl Send for NotFoundController
impl Sync for NotFoundController
impl Unpin for NotFoundController
impl UnwindSafe for NotFoundController
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