pub enum TransactionResult<T> {
Commit(T),
Rollback(T),
}
Expand description
Result of a transaction helper closure.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for TransactionResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for TransactionResult<T>where
T: RefUnwindSafe,
impl<T> Send for TransactionResult<T>where
T: Send,
impl<T> Sync for TransactionResult<T>where
T: Sync,
impl<T> Unpin for TransactionResult<T>where
T: Unpin,
impl<T> UnwindSafe for TransactionResult<T>where
T: UnwindSafe,
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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