pub trait AttachmentStore: Send + Sync {
// Required methods
fn put(
&self,
bytes: Vec<u8>,
meta: AttachmentCreateMeta,
) -> Result<AttachmentRef, AttachmentStoreError>;
fn get(
&self,
id: &AttachmentId,
) -> Result<StoredAttachment, AttachmentStoreError>;
}