pub enum PersistentQueueError {
Io(Error),
Database(Error),
Serialize(Error),
}Variants§
Trait Implementations§
Source§impl Debug for PersistentQueueError
impl Debug for PersistentQueueError
Source§impl Display for PersistentQueueError
impl Display for PersistentQueueError
Source§impl Error for PersistentQueueError
impl Error for PersistentQueueError
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()
Source§impl From<CommitError> for PersistentQueueError
impl From<CommitError> for PersistentQueueError
Source§fn from(e: CommitError) -> Self
fn from(e: CommitError) -> Self
Converts to this type from the input type.
Source§impl From<DatabaseError> for PersistentQueueError
impl From<DatabaseError> for PersistentQueueError
Source§fn from(e: DatabaseError) -> Self
fn from(e: DatabaseError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for PersistentQueueError
impl From<Error> for PersistentQueueError
Source§impl From<Error> for PersistentQueueError
impl From<Error> for PersistentQueueError
Source§impl From<Error> for PersistentQueueError
impl From<Error> for PersistentQueueError
Source§impl From<StorageError> for PersistentQueueError
impl From<StorageError> for PersistentQueueError
Source§fn from(e: StorageError) -> Self
fn from(e: StorageError) -> Self
Converts to this type from the input type.
Source§impl From<TableError> for PersistentQueueError
impl From<TableError> for PersistentQueueError
Source§fn from(e: TableError) -> Self
fn from(e: TableError) -> Self
Converts to this type from the input type.
Source§impl From<TransactionError> for PersistentQueueError
impl From<TransactionError> for PersistentQueueError
Source§fn from(e: TransactionError) -> Self
fn from(e: TransactionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for PersistentQueueError
impl !UnwindSafe for PersistentQueueError
impl Freeze for PersistentQueueError
impl Send for PersistentQueueError
impl Sync for PersistentQueueError
impl Unpin for PersistentQueueError
impl UnsafeUnpin for PersistentQueueError
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