pub struct StdFs;
Expand description
Use std::fs
to read any files from disk.
This is the default file system implementation.
Trait Implementations§
source§impl Fs for StdFs
impl Fs for StdFs
source§fn is_file(&self, path: &Path) -> bool
fn is_file(&self, path: &Path) -> bool
Returns
true
if the path exists on disk and is pointing at a regular file.source§fn is_dir(&self, path: &Path) -> bool
fn is_dir(&self, path: &Path) -> bool
Returns
true
if the path exists on disk and is pointing at a directory.Auto Trait Implementations§
impl Freeze for StdFs
impl RefUnwindSafe for StdFs
impl Send for StdFs
impl Sync for StdFs
impl Unpin for StdFs
impl UnwindSafe for StdFs
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