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 Freeze for StyleController
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