pub struct InMemoryAttachmentStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AttachmentStore for InMemoryAttachmentStore
impl AttachmentStore for InMemoryAttachmentStore
fn put( &self, bytes: Vec<u8>, meta: AttachmentCreateMeta, ) -> Result<AttachmentRef, AttachmentStoreError>
fn get( &self, id: &AttachmentId, ) -> Result<StoredAttachment, AttachmentStoreError>
Source§impl Default for InMemoryAttachmentStore
impl Default for InMemoryAttachmentStore
Source§fn default() -> InMemoryAttachmentStore
fn default() -> InMemoryAttachmentStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for InMemoryAttachmentStore
impl RefUnwindSafe for InMemoryAttachmentStore
impl Send for InMemoryAttachmentStore
impl Sync for InMemoryAttachmentStore
impl Unpin for InMemoryAttachmentStore
impl UnsafeUnpin for InMemoryAttachmentStore
impl UnwindSafe for InMemoryAttachmentStore
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