pub struct RealFileSystem;Implementations§
Trait Implementations§
Source§impl Clone for RealFileSystem
impl Clone for RealFileSystem
Source§fn clone(&self) -> RealFileSystem
fn clone(&self) -> RealFileSystem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RealFileSystem
impl Debug for RealFileSystem
Source§impl FileSystem for RealFileSystem
impl FileSystem for RealFileSystem
fn list_directory(&self, path: &Path) -> Result<Vec<EntryMetadata>>
fn get_metadata(&self, path: &Path) -> Result<EntryMetadata>
fn copy_file(&self, from: &Path, to: &Path) -> Result<()>
fn create_directory(&self, path: &Path) -> Result<()>
fn exists(&self, path: &Path) -> Result<bool>
fn set_modified_time(&self, path: &Path, time: SystemTime) -> Result<()>
Auto Trait Implementations§
impl Freeze for RealFileSystem
impl RefUnwindSafe for RealFileSystem
impl Send for RealFileSystem
impl Sync for RealFileSystem
impl Unpin for RealFileSystem
impl UnsafeUnpin for RealFileSystem
impl UnwindSafe for RealFileSystem
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