pub struct MemoryBlobStore { /* private fields */ }Implementations§
Source§impl InMemoryBlobStore
impl InMemoryBlobStore
pub fn new() -> InMemoryBlobStore
Trait Implementations§
Source§impl BlobStore for InMemoryBlobStore
impl BlobStore for InMemoryBlobStore
fn put<'life0, 'async_trait>(
&'life0 self,
attachment_id: String,
payload: MultimodalPayload,
) -> Pin<Box<dyn Future<Output = Result<AttachmentRef, BlobStoreError>> + Send + 'async_trait>>where
'life0: 'async_trait,
InMemoryBlobStore: 'async_trait,
fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
descriptor: &'life1 BlobDescriptor,
) -> Pin<Box<dyn Future<Output = Result<MultimodalPayload, BlobStoreError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
InMemoryBlobStore: 'async_trait,
Source§impl Clone for InMemoryBlobStore
impl Clone for InMemoryBlobStore
Source§fn clone(&self) -> InMemoryBlobStore
fn clone(&self) -> InMemoryBlobStore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InMemoryBlobStore
impl Debug for InMemoryBlobStore
Source§impl Default for InMemoryBlobStore
impl Default for InMemoryBlobStore
Source§fn default() -> InMemoryBlobStore
fn default() -> InMemoryBlobStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InMemoryBlobStore
impl !RefUnwindSafe for InMemoryBlobStore
impl Send for InMemoryBlobStore
impl Sync for InMemoryBlobStore
impl Unpin for InMemoryBlobStore
impl UnsafeUnpin for InMemoryBlobStore
impl !UnwindSafe for InMemoryBlobStore
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