Struct rust_web_server::app::controller::index::IndexController
source · pub struct IndexController;
Implementations§
source§impl IndexController
impl IndexController
pub const INDEX_FILEPATH: &'static str = "index.html"
pub fn is_matching_request(request: &Request) -> bool
pub fn process_request(_request: &Request, response: Response) -> Response
Trait Implementations§
source§impl Controller for IndexController
impl Controller for IndexController
fn is_matching(request: &Request, _connection: &ConnectionInfo) -> bool
fn process( _request: &Request, response: Response, _connection: &ConnectionInfo ) -> Response
Auto Trait Implementations§
impl RefUnwindSafe for IndexController
impl Send for IndexController
impl Sync for IndexController
impl Unpin for IndexController
impl UnwindSafe for IndexController
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