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
Source§fn clone(&self) -> PostgresTransactionType
fn clone(&self) -> PostgresTransactionType
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 PostgresTransactionType
impl Debug for PostgresTransactionType
Source§impl Default for PostgresTransactionType
impl Default for PostgresTransactionType
Source§fn default() -> PostgresTransactionType
fn default() -> PostgresTransactionType
Returns the “default value” for a type. Read more
Source§impl Display for PostgresTransactionType
impl Display for PostgresTransactionType
Source§impl PartialEq for PostgresTransactionType
impl PartialEq for PostgresTransactionType
impl Copy for PostgresTransactionType
impl Eq 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 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<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