pub enum SqliteContention {
Busy,
Locked,
}Expand description
Lock-contention reason reported by SQLite.
Variants§
Busy
Another connection currently owns the database write lock.
Locked
A shared-cache table lock prevents the operation from proceeding.
Trait Implementations§
Source§impl Clone for SqliteContention
impl Clone for SqliteContention
Source§fn clone(&self) -> SqliteContention
fn clone(&self) -> SqliteContention
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 SqliteContention
Source§impl Debug for SqliteContention
impl Debug for SqliteContention
impl Eq for SqliteContention
Source§impl PartialEq for SqliteContention
impl PartialEq for SqliteContention
impl StructuralPartialEq for SqliteContention
Auto Trait Implementations§
impl Freeze for SqliteContention
impl RefUnwindSafe for SqliteContention
impl Send for SqliteContention
impl Sync for SqliteContention
impl Unpin for SqliteContention
impl UnsafeUnpin for SqliteContention
impl UnwindSafe for SqliteContention
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