pub struct StaticFiles { /* private fields */ }Implementations§
Trait Implementations§
Source§impl View for StaticFiles
impl View for StaticFiles
fn re_path(&self) -> Regex
fn methods(&self) -> Vec<Method>
fn call<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
req: &'life1 mut HttpRequest,
ctx: &'life2 mut Context,
) -> Pin<Box<dyn Future<Output = Result<HttpResonse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for StaticFiles
impl RefUnwindSafe for StaticFiles
impl Send for StaticFiles
impl Sync for StaticFiles
impl Unpin for StaticFiles
impl UnsafeUnpin for StaticFiles
impl UnwindSafe for StaticFiles
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