#[non_exhaustive]pub enum TransactionErrorKind {
AlreadyActive,
NotActive,
RollbackOnly,
InvalidSavepoint,
TimedOut,
Cancelled,
ResourceLimit,
Conflict,
StoragePoisoned,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AlreadyActive
NotActive
RollbackOnly
InvalidSavepoint
TimedOut
Cancelled
ResourceLimit
Conflict
StoragePoisoned
Trait Implementations§
Source§impl Clone for TransactionErrorKind
impl Clone for TransactionErrorKind
impl Copy for TransactionErrorKind
Source§impl Debug for TransactionErrorKind
impl Debug for TransactionErrorKind
Source§impl Display for TransactionErrorKind
impl Display for TransactionErrorKind
impl Eq for TransactionErrorKind
Source§impl PartialEq for TransactionErrorKind
impl PartialEq for TransactionErrorKind
impl StructuralPartialEq for TransactionErrorKind
Auto Trait Implementations§
impl Freeze for TransactionErrorKind
impl RefUnwindSafe for TransactionErrorKind
impl Send for TransactionErrorKind
impl Sync for TransactionErrorKind
impl Unpin for TransactionErrorKind
impl UnsafeUnpin for TransactionErrorKind
impl UnwindSafe for TransactionErrorKind
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