pub enum StoreContention {
DatabaseBusy,
DatabaseLocked,
}Expand description
Typed transient contention returned by a persistent backend.
Variants§
DatabaseBusy
Another SQLite connection owns the database write lock.
DatabaseLocked
A shared-cache SQLite table lock blocks the operation.
Trait Implementations§
Source§impl Clone for StoreContention
impl Clone for StoreContention
Source§fn clone(&self) -> StoreContention
fn clone(&self) -> StoreContention
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 moreimpl Copy for StoreContention
Source§impl Debug for StoreContention
impl Debug for StoreContention
Source§impl Display for StoreContention
impl Display for StoreContention
impl Eq for StoreContention
Source§impl PartialEq for StoreContention
impl PartialEq for StoreContention
impl StructuralPartialEq for StoreContention
Auto Trait Implementations§
impl Freeze for StoreContention
impl RefUnwindSafe for StoreContention
impl Send for StoreContention
impl Sync for StoreContention
impl Unpin for StoreContention
impl UnsafeUnpin for StoreContention
impl UnwindSafe for StoreContention
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