pub struct MemoryObjectStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Debug for MemoryObjectStore
impl Debug for MemoryObjectStore
Source§impl Default for MemoryObjectStore
impl Default for MemoryObjectStore
Source§fn default() -> MemoryObjectStore
fn default() -> MemoryObjectStore
Returns the “default value” for a type. Read more
Source§impl ObjectStore for MemoryObjectStore
impl ObjectStore for MemoryObjectStore
fn put<'life0, 'async_trait>(
&'life0 self,
object: PutObject,
) -> Pin<Box<dyn Future<Output = Result<ObjectMetadata, ObjectStoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 ObjectKey,
) -> Pin<Box<dyn Future<Output = Result<Option<StoredObject>, ObjectStoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 ObjectKey,
) -> Pin<Box<dyn Future<Output = Result<bool, ObjectStoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl !Freeze for MemoryObjectStore
impl !RefUnwindSafe for MemoryObjectStore
impl Send for MemoryObjectStore
impl Sync for MemoryObjectStore
impl Unpin for MemoryObjectStore
impl UnsafeUnpin for MemoryObjectStore
impl UnwindSafe for MemoryObjectStore
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