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