pub struct FileSystemStorage { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Storage for FileSystemStorage
impl Storage for FileSystemStorage
fn get<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
crate_name: &'life1 str,
crate_version: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, StorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn put<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 mut self,
crate_name: &'life1 str,
crate_version: &'life2 str,
data: &'life3 [u8],
) -> Pin<Box<dyn Future<Output = Result<(), StorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Auto Trait Implementations§
impl Freeze for FileSystemStorage
impl RefUnwindSafe for FileSystemStorage
impl Send for FileSystemStorage
impl Sync for FileSystemStorage
impl Unpin for FileSystemStorage
impl UnwindSafe for FileSystemStorage
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