pub enum TransactionBoundary {
Begin,
Commit,
Rollback,
Savepoint,
}Expand description
Transaction boundary metadata.
Variants§
Begin
Begin boundary.
Commit
Commit boundary.
Rollback
Rollback boundary.
Savepoint
Savepoint boundary.
Trait Implementations§
Source§impl Clone for TransactionBoundary
impl Clone for TransactionBoundary
Source§fn clone(&self) -> TransactionBoundary
fn clone(&self) -> TransactionBoundary
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 moreSource§impl Debug for TransactionBoundary
impl Debug for TransactionBoundary
Source§impl Default for TransactionBoundary
impl Default for TransactionBoundary
Source§fn default() -> TransactionBoundary
fn default() -> TransactionBoundary
Returns the “default value” for a type. Read more
Source§impl Hash for TransactionBoundary
impl Hash for TransactionBoundary
Source§impl Ord for TransactionBoundary
impl Ord for TransactionBoundary
Source§fn cmp(&self, other: &TransactionBoundary) -> Ordering
fn cmp(&self, other: &TransactionBoundary) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TransactionBoundary
impl PartialEq for TransactionBoundary
Source§fn eq(&self, other: &TransactionBoundary) -> bool
fn eq(&self, other: &TransactionBoundary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TransactionBoundary
impl PartialOrd for TransactionBoundary
impl Copy for TransactionBoundary
impl Eq for TransactionBoundary
impl StructuralPartialEq for TransactionBoundary
Auto Trait Implementations§
impl Freeze for TransactionBoundary
impl RefUnwindSafe for TransactionBoundary
impl Send for TransactionBoundary
impl Sync for TransactionBoundary
impl Unpin for TransactionBoundary
impl UnsafeUnpin for TransactionBoundary
impl UnwindSafe for TransactionBoundary
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