pub enum TransactionIsolationLevel {
ReadUncommitted,
ReadCommitted,
RepeatableRead,
Serializable,
}
Expand description
Indicates ANSI transaction isolation level
Variants§
Trait Implementations§
source§impl Clone for TransactionIsolationLevel
impl Clone for TransactionIsolationLevel
source§fn clone(&self) -> TransactionIsolationLevel
fn clone(&self) -> TransactionIsolationLevel
Returns a copy 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 TransactionIsolationLevel
impl Debug for TransactionIsolationLevel
source§impl Hash for TransactionIsolationLevel
impl Hash for TransactionIsolationLevel
source§impl PartialEq<TransactionIsolationLevel> for TransactionIsolationLevel
impl PartialEq<TransactionIsolationLevel> for TransactionIsolationLevel
source§fn eq(&self, other: &TransactionIsolationLevel) -> bool
fn eq(&self, other: &TransactionIsolationLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TransactionIsolationLevel
impl StructuralEq for TransactionIsolationLevel
impl StructuralPartialEq for TransactionIsolationLevel
Auto Trait Implementations§
impl RefUnwindSafe for TransactionIsolationLevel
impl Send for TransactionIsolationLevel
impl Sync for TransactionIsolationLevel
impl Unpin for TransactionIsolationLevel
impl UnwindSafe for TransactionIsolationLevel
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.