pub struct LocalFileSystem;Trait Implementations§
Source§impl Clone for LocalFileSystem
impl Clone for LocalFileSystem
Source§fn clone(&self) -> LocalFileSystem
fn clone(&self) -> LocalFileSystem
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 LocalFileSystem
impl Debug for LocalFileSystem
Source§impl Default for LocalFileSystem
impl Default for LocalFileSystem
Source§fn default() -> LocalFileSystem
fn default() -> LocalFileSystem
Returns the “default value” for a type. Read more
Source§impl FileSystem for LocalFileSystem
impl FileSystem for LocalFileSystem
fn create_dir<'life0, 'async_trait, P>( &'life0 self, path: P, ) -> Pin<Box<dyn Future<Output = FileSystemResult<()>> + Send + 'async_trait>>
fn create_dir_all<'life0, 'async_trait, P>( &'life0 self, path: P, ) -> Pin<Box<dyn Future<Output = FileSystemResult<()>> + Send + 'async_trait>>
fn read<'life0, 'async_trait, P>( &'life0 self, path: P, ) -> Pin<Box<dyn Future<Output = FileSystemResult<Vec<u8>>> + Send + 'async_trait>>
fn read_to_string<'life0, 'async_trait, P>( &'life0 self, path: P, ) -> Pin<Box<dyn Future<Output = FileSystemResult<String>> + Send + 'async_trait>>
fn write<'life0, 'async_trait, P, C>( &'life0 self, path: P, contents: C, ) -> Pin<Box<dyn Future<Output = FileSystemResult<()>> + Send + 'async_trait>>
fn append<'life0, 'async_trait, P, C>( &'life0 self, path: P, contents: C, ) -> Pin<Box<dyn Future<Output = FileSystemResult<()>> + Send + 'async_trait>>
fn copy<'life0, 'async_trait, P1, P2>( &'life0 self, from: P1, to: P2, ) -> Pin<Box<dyn Future<Output = FileSystemResult<()>> + Send + 'async_trait>>
fn set_mode<'life0, 'async_trait, P>( &'life0 self, path: P, mode: u32, ) -> Pin<Box<dyn Future<Output = FileSystemResult<()>> + Send + 'async_trait>>
fn exists<'life0, 'async_trait, P>( &'life0 self, path: P, ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
Auto Trait Implementations§
impl Freeze for LocalFileSystem
impl RefUnwindSafe for LocalFileSystem
impl Send for LocalFileSystem
impl Sync for LocalFileSystem
impl Unpin for LocalFileSystem
impl UnsafeUnpin for LocalFileSystem
impl UnwindSafe for LocalFileSystem
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