pub struct Files { /* private fields */ }Expand description
A static surface, ready to answer.
Built once, when the router is: the root is resolved and the surface’s own metadata is kept, so answering a request costs one path check and one read at most.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Files
impl RefUnwindSafe for Files
impl Send for Files
impl Sync for Files
impl Unpin for Files
impl UnsafeUnpin for Files
impl UnwindSafe for Files
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