pub enum OpenError<E> {
Store(E),
UnsupportedVersion(u8),
}Expand description
Error from opening a queue over a store.
Variants§
Store(E)
The backend store failed.
UnsupportedVersion(u8)
The store was written by an unsupported on-disk format version.
Trait Implementations§
Source§impl<E: StdError + 'static> Error for OpenError<E>
impl<E: StdError + 'static> Error for OpenError<E>
Source§fn source(&self) -> Option<&(dyn StdError + 'static)>
fn source(&self) -> Option<&(dyn StdError + '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<E> Freeze for OpenError<E>where
E: Freeze,
impl<E> RefUnwindSafe for OpenError<E>where
E: RefUnwindSafe,
impl<E> Send for OpenError<E>where
E: Send,
impl<E> Sync for OpenError<E>where
E: Sync,
impl<E> Unpin for OpenError<E>where
E: Unpin,
impl<E> UnsafeUnpin for OpenError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for OpenError<E>where
E: UnwindSafe,
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