#[non_exhaustive]pub enum InvalidTransactionState {
NoActiveSqlTransaction,
InFailedSqlTransaction,
IdleInTransactionSessionTimeout,
}
Available on crate feature
postgres
only.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.
Implementations§
Trait Implementations§
Source§impl Clone for InvalidTransactionState
impl Clone for InvalidTransactionState
Source§fn clone(&self) -> InvalidTransactionState
fn clone(&self) -> InvalidTransactionState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InvalidTransactionState
impl Debug for InvalidTransactionState
Source§impl FromStr for InvalidTransactionState
impl FromStr for InvalidTransactionState
Source§impl Hash for InvalidTransactionState
impl Hash for InvalidTransactionState
Source§impl PartialEq for InvalidTransactionState
impl PartialEq for InvalidTransactionState
impl Eq for InvalidTransactionState
impl StructuralPartialEq for InvalidTransactionState
Auto Trait Implementations§
impl Freeze for InvalidTransactionState
impl RefUnwindSafe for InvalidTransactionState
impl Send for InvalidTransactionState
impl Sync for InvalidTransactionState
impl Unpin for InvalidTransactionState
impl UnwindSafe for InvalidTransactionState
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