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