pub struct LocalFsStore { /* private fields */ }Expand description
Stores blobs as files under a root directory.
Implementations§
Trait Implementations§
Source§impl BlobStore for LocalFsStore
impl BlobStore for LocalFsStore
fn put<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
key: &'life1 str,
bytes: &'life2 [u8],
) -> Pin<Box<dyn Future<Output = Result<(), StorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, StorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for LocalFsStore
impl RefUnwindSafe for LocalFsStore
impl Send for LocalFsStore
impl Sync for LocalFsStore
impl Unpin for LocalFsStore
impl UnsafeUnpin for LocalFsStore
impl UnwindSafe for LocalFsStore
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