pub enum LockStoreError {
LockTimeout,
BackingStoreError(Box<dyn Error + Send + Sync>),
}
Expand description
Error related to the locking API of the store.
Variants§
LockTimeout
Spent too long waiting for a database lock.
BackingStoreError(Box<dyn Error + Send + Sync>)
Trait Implementations§
source§impl Debug for LockStoreError
impl Debug for LockStoreError
source§impl Display for LockStoreError
impl Display for LockStoreError
source§impl Error for LockStoreError
impl Error for LockStoreError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for LockStoreError
impl !RefUnwindSafe for LockStoreError
impl Send for LockStoreError
impl Sync for LockStoreError
impl Unpin for LockStoreError
impl !UnwindSafe for LockStoreError
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