pub struct FileAttachmentStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AttachmentStore for FileAttachmentStore
impl AttachmentStore for FileAttachmentStore
fn put( &self, bytes: Vec<u8>, meta: AttachmentCreateMeta, ) -> Result<AttachmentRef, AttachmentStoreError>
fn get( &self, id: &AttachmentId, ) -> Result<StoredAttachment, AttachmentStoreError>
Auto Trait Implementations§
impl !Freeze for FileAttachmentStore
impl RefUnwindSafe for FileAttachmentStore
impl Send for FileAttachmentStore
impl Sync for FileAttachmentStore
impl Unpin for FileAttachmentStore
impl UnsafeUnpin for FileAttachmentStore
impl UnwindSafe for FileAttachmentStore
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