pub struct TransactionEndObserver { /* private fields */ }Expand description
Sole named observer for one accepted explicit commit or abort.
Implementations§
Source§impl TransactionEndObserver
impl TransactionEndObserver
Sourcepub fn wait(self) -> Result<TransactionEndOutcome, TransactionEndObserverError>
pub fn wait(self) -> Result<TransactionEndOutcome, TransactionEndObserverError>
Blocks on the same bounded terminal cell used by Future::poll.
Trait Implementations§
Source§impl Debug for TransactionEndObserver
impl Debug for TransactionEndObserver
Source§impl Future for TransactionEndObserver
impl Future for TransactionEndObserver
Source§type Output = Result<TransactionEndOutcome, TransactionEndObserverError>
type Output = Result<TransactionEndOutcome, TransactionEndObserverError>
The type of value produced on completion.
Auto Trait Implementations§
impl !RefUnwindSafe for TransactionEndObserver
impl !UnwindSafe for TransactionEndObserver
impl Freeze for TransactionEndObserver
impl Send for TransactionEndObserver
impl Sync for TransactionEndObserver
impl Unpin for TransactionEndObserver
impl UnsafeUnpin for TransactionEndObserver
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<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more