pub enum PostgresTransactionType {
ReadUncommitted,
ReadCommitted,
RepeatableRead,
Serializable,
}Expand description
PostgreSQL transaction isolation levels
Variants§
ReadUncommitted
READ UNCOMMITTED isolation level
ReadCommitted
READ COMMITTED isolation level (PostgreSQL default)
RepeatableRead
REPEATABLE READ isolation level
Serializable
SERIALIZABLE isolation level
Trait Implementations§
Source§impl Clone for PostgresTransactionType
impl Clone for PostgresTransactionType
impl Copy for PostgresTransactionType
Source§impl Debug for PostgresTransactionType
impl Debug for PostgresTransactionType
Source§impl Default for PostgresTransactionType
impl Default for PostgresTransactionType
Source§impl Display for PostgresTransactionType
impl Display for PostgresTransactionType
impl Eq for PostgresTransactionType
Source§impl From<PostgresTransactionType> for TransactionConfig
impl From<PostgresTransactionType> for TransactionConfig
Source§fn from(tx_type: PostgresTransactionType) -> Self
fn from(tx_type: PostgresTransactionType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PostgresTransactionType
impl PartialEq for PostgresTransactionType
impl StructuralPartialEq for PostgresTransactionType
Auto Trait Implementations§
impl Freeze for PostgresTransactionType
impl RefUnwindSafe for PostgresTransactionType
impl Send for PostgresTransactionType
impl Sync for PostgresTransactionType
impl Unpin for PostgresTransactionType
impl UnsafeUnpin for PostgresTransactionType
impl UnwindSafe for PostgresTransactionType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<Mk> MarkerAggValidFor<()> for Mk
impl<Scope> ScopeSatisfies<Nil, ()> for Scope
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more