pub struct FileAttachmentStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AttachmentStore for FileAttachmentStore
impl AttachmentStore for FileAttachmentStore
fn persistence(&self) -> AttachmentStorePersistence
fn put<'life0, 'async_trait>(
&'life0 self,
bytes: Vec<u8>,
meta: AttachmentCreateMeta,
) -> Pin<Box<dyn Future<Output = Result<AttachmentRef, AttachmentStoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 AttachmentId,
) -> Pin<Box<dyn Future<Output = Result<StoredAttachment, AttachmentStoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn pending_manifest_commit_ids(&self) -> Vec<AttachmentId>
fn pending_manifest_commit_ids(&self) -> Vec<AttachmentId>
Attachment refs written by this store that still need their
write-ahead manifest rows stamped by the next runtime commit. Read more
Source§fn mark_manifest_committed(&self, _ids: &[AttachmentId])
fn mark_manifest_committed(&self, _ids: &[AttachmentId])
Clear attachment refs that were stamped committed by a successful
runtime commit.
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