pub enum SqlIsolationEffect {
Existing(SqlIsolation),
Open(Option<SqlIsolation>),
Closed,
Unknown,
}Expand description
Effect of a submitted SQL batch on a tracked executor’s transaction.
Variants§
Existing(SqlIsolation)
Set the isolation of an inherited open transaction.
Open(Option<SqlIsolation>)
The batch leaves an explicit transaction open.
Closed
The batch finishes the transaction.
Unknown
The batch’s transaction effects are uncertain.
Trait Implementations§
Source§impl Clone for SqlIsolationEffect
impl Clone for SqlIsolationEffect
Source§fn clone(&self) -> SqlIsolationEffect
fn clone(&self) -> SqlIsolationEffect
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SqlIsolationEffect
Source§impl Debug for SqlIsolationEffect
impl Debug for SqlIsolationEffect
impl Eq for SqlIsolationEffect
Source§impl PartialEq for SqlIsolationEffect
impl PartialEq for SqlIsolationEffect
impl StructuralPartialEq for SqlIsolationEffect
Auto Trait Implementations§
impl Forget for SqlIsolationEffect
impl Freeze for SqlIsolationEffect
impl Move for SqlIsolationEffect
impl RefUnwindSafe for SqlIsolationEffect
impl Send for SqlIsolationEffect
impl Sync for SqlIsolationEffect
impl Unpin for SqlIsolationEffect
impl UnsafeUnpin for SqlIsolationEffect
impl UnwindSafe for SqlIsolationEffect
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more