pub enum AwaitResponse {
AnyCompleted,
WaitingExternalProgress {
waiting_input: bool,
waiting_run_proposal: bool,
},
ExecuteRun(NotificationHandle),
CancelSignalReceived,
}Variants§
AnyCompleted
Any of the futures in the tree completed.
This doesn’t mean the future is fully completed! Instead, it means a subtree of the future tree is ready to be completed using take_notification.
WaitingExternalProgress
There isn’t enough information to make progress. The SDK should call do_progress again after any of notify_input/notify_input_closed/propose_run_completion are called.
ExecuteRun(NotificationHandle)
The SDK should execute a pending run
CancelSignalReceived
Returned only when ImplicitCancellationOption::Enabled.
Trait Implementations§
Source§impl Debug for AwaitResponse
impl Debug for AwaitResponse
impl Eq for AwaitResponse
Source§impl PartialEq for AwaitResponse
impl PartialEq for AwaitResponse
impl StructuralPartialEq for AwaitResponse
Auto Trait Implementations§
impl Freeze for AwaitResponse
impl RefUnwindSafe for AwaitResponse
impl Send for AwaitResponse
impl Sync for AwaitResponse
impl Unpin for AwaitResponse
impl UnsafeUnpin for AwaitResponse
impl UnwindSafe for AwaitResponse
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more