Struct hyper_staticfile::vfs::TokioFileOpener
source · pub struct TokioFileOpener {
pub root: PathBuf,
}
Expand description
Filesystem implementation that uses tokio::fs
.
Fields§
§root: PathBuf
The virtual root directory to use when opening files.
The path may be absolute or relative.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TokioFileOpener
impl Send for TokioFileOpener
impl Sync for TokioFileOpener
impl Unpin for TokioFileOpener
impl UnwindSafe for TokioFileOpener
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