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)>
Returns 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
§impl<T> CompatExt for T
impl<T> CompatExt for T
Source§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
Source§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>