pub struct IncludeDirFilesystem { /* private fields */ }Expand description
A include_dir based filesystem implement
Implementations§
Source§impl IncludeDirFilesystem
impl IncludeDirFilesystem
Sourcepub fn new(dir: Dir<'static>) -> Self
pub fn new(dir: Dir<'static>) -> Self
create IncludeDirFilesystem from a Dir
Trait Implementations§
Source§impl Clone for IncludeDirFilesystem
impl Clone for IncludeDirFilesystem
Source§fn clone(&self) -> IncludeDirFilesystem
fn clone(&self) -> IncludeDirFilesystem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IncludeDirFilesystem
impl Debug for IncludeDirFilesystem
Source§impl Filesystem for IncludeDirFilesystem
impl Filesystem for IncludeDirFilesystem
type File = IncludeDirFile
type OpenFile<'a> = impl Future<Output = Result<<IncludeDirFilesystem as Filesystem>::File, Error>> + Send + Sync + 'a where Self: 'a
type IsDir<'a> = impl Future<Output = Result<bool, Error>> + Send + Sync + 'a where Self: 'a
type Metadata<'a> = impl Future<Output = Result<Metadata, Error>> + Send + Sync + 'a where Self: 'a
Auto Trait Implementations§
impl Freeze for IncludeDirFilesystem
impl RefUnwindSafe for IncludeDirFilesystem
impl Send for IncludeDirFilesystem
impl Sync for IncludeDirFilesystem
impl Unpin for IncludeDirFilesystem
impl UnwindSafe for IncludeDirFilesystem
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