Struct SharedStore
Source pub struct SharedStore<S: DocumentStore> { }
Expand description
Wrapper to make a DocumentStore shareable across threads
Wrap a store for shared access
Source§Available on crate feature std only.
Performs copy-assignment from
source.
Read moreSource§Available on crate feature std only.
Save the current document to persistent storage
Read more
Check if a document is stored
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from
self to
dest.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.