pub struct SqliteAttachmentStore { /* private fields */ }Expand description
Keeps the content of attached files in the database, in a table apart from the records.
Implementations§
Source§impl SqliteAttachmentStore
impl SqliteAttachmentStore
Sourcepub fn new(connection: Rc<Connection>) -> Result<Self, ModelError>
pub fn new(connection: Rc<Connection>) -> Result<Self, ModelError>
A store on this connection, creating where it keeps things if needed.
Trait Implementations§
Source§impl AttachmentStore for SqliteAttachmentStore
impl AttachmentStore for SqliteAttachmentStore
Source§impl Clone for SqliteAttachmentStore
impl Clone for SqliteAttachmentStore
Source§fn clone(&self) -> SqliteAttachmentStore
fn clone(&self) -> SqliteAttachmentStore
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for SqliteAttachmentStore
impl !Send for SqliteAttachmentStore
impl !Sync for SqliteAttachmentStore
impl !UnwindSafe for SqliteAttachmentStore
impl Freeze for SqliteAttachmentStore
impl Unpin for SqliteAttachmentStore
impl UnsafeUnpin for SqliteAttachmentStore
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