Struct rust_web_server::app::controller::not_found::NotFoundController
source · 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 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