pub struct ManagedStopReceipt { /* private fields */ }Expand description
Receipt resolving once stop is durably observed or the task is terminal.
Resolves from authoritative status as soon as stop_requested is true or
the lifecycle is Completed, Failed, or Abandoned. It need not wait for
graceful cleanup after stop observation.
Trait Implementations§
Source§impl Future for ManagedStopReceipt
impl Future for ManagedStopReceipt
Auto Trait Implementations§
impl !RefUnwindSafe for ManagedStopReceipt
impl !Sync for ManagedStopReceipt
impl !UnwindSafe for ManagedStopReceipt
impl Freeze for ManagedStopReceipt
impl Send for ManagedStopReceipt
impl Unpin for ManagedStopReceipt
impl UnsafeUnpin for ManagedStopReceipt
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