pub struct ManagedCommandReceipt { /* private fields */ }Expand description
Receipt for a target-set transaction accepted by the driver queue.
Implementations§
Source§impl ManagedCommandReceipt
impl ManagedCommandReceipt
Sourcepub fn blocking_wait(
self,
) -> Result<ManagedCommandAcknowledgement, ManagedCommandApplyError>
pub fn blocking_wait( self, ) -> Result<ManagedCommandAcknowledgement, ManagedCommandApplyError>
Block until the target-set transaction is applied or rejected.
This is for synchronous callers such as crate::managed::BlockingManagedClient. It
must not be called from an asynchronous runtime; use the Future
implementation there instead.
Trait Implementations§
Source§impl Future for ManagedCommandReceipt
impl Future for ManagedCommandReceipt
Source§type Output = Result<ManagedCommandAcknowledgement, ManagedCommandApplyError>
type Output = Result<ManagedCommandAcknowledgement, ManagedCommandApplyError>
The type of value produced on completion.
Auto Trait Implementations§
impl !RefUnwindSafe for ManagedCommandReceipt
impl !UnwindSafe for ManagedCommandReceipt
impl Freeze for ManagedCommandReceipt
impl Send for ManagedCommandReceipt
impl Sync for ManagedCommandReceipt
impl Unpin for ManagedCommandReceipt
impl UnsafeUnpin for ManagedCommandReceipt
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