pub enum TransactionManagerError {
TransactionIdError(TransactionIdError),
TooOld(TransactionId, TransactionId),
InTheFuture(TransactionId, TransactionId, usize),
NotInProgress(TransactionId, TransactionStatus),
}Variants§
TransactionIdError(TransactionIdError)
TooOld(TransactionId, TransactionId)
InTheFuture(TransactionId, TransactionId, usize)
NotInProgress(TransactionId, TransactionStatus)
Trait Implementations§
Source§impl Debug for TransactionManagerError
impl Debug for TransactionManagerError
Source§impl Display for TransactionManagerError
impl Display for TransactionManagerError
Source§impl Error for TransactionManagerError
impl Error for TransactionManagerError
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<TransactionIdError> for TransactionManagerError
impl From<TransactionIdError> for TransactionManagerError
Source§fn from(source: TransactionIdError) -> Self
fn from(source: TransactionIdError) -> Self
Converts to this type from the input type.
Source§impl From<TransactionManagerError> for VisibleRowManagerError
impl From<TransactionManagerError> for VisibleRowManagerError
Source§fn from(source: TransactionManagerError) -> Self
fn from(source: TransactionManagerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TransactionManagerError
impl RefUnwindSafe for TransactionManagerError
impl Send for TransactionManagerError
impl Sync for TransactionManagerError
impl Unpin for TransactionManagerError
impl UnwindSafe for TransactionManagerError
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