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