Struct flechasdb::asyncdb::io::LocalFileSystem
source · pub struct LocalFileSystem { /* private fields */ }Expand description
Asynchronous local file system.
Implementations§
Trait Implementations§
source§impl FileSystem for LocalFileSystem
impl FileSystem for LocalFileSystem
§type HashedFileIn = LocalHashedFileIn
type HashedFileIn = LocalHashedFileIn
File whose contents can be verified with the hash.
source§fn open_hashed_file<'life0, 'async_trait>(
&'life0 self,
path: impl 'async_trait + Into<String> + Send
) -> Pin<Box<dyn Future<Output = Result<Self::HashedFileIn, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn open_hashed_file<'life0, 'async_trait>( &'life0 self, path: impl 'async_trait + Into<String> + Send ) -> Pin<Box<dyn Future<Output = Result<Self::HashedFileIn, Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Opens a file whose contents can be verified with the hash.
source§fn open_compressed_hashed_file<'life0, 'async_trait>(
&'life0 self,
path: impl 'async_trait + Into<String> + Send
) -> Pin<Box<dyn Future<Output = Result<CompressedHashedFileIn<Self::HashedFileIn>, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn open_compressed_hashed_file<'life0, 'async_trait>( &'life0 self, path: impl 'async_trait + Into<String> + Send ) -> Pin<Box<dyn Future<Output = Result<CompressedHashedFileIn<Self::HashedFileIn>, Error>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,
Opens a compressed file whose contents can be verified with the hash.
Auto Trait Implementations§
impl RefUnwindSafe for LocalFileSystem
impl Send for LocalFileSystem
impl Sync for LocalFileSystem
impl Unpin 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