pub enum WaitOutcome {
Terminal(TerminalRecord),
TimedOut {
attached: bool,
},
}Expand description
The current attach’s outcome, or a bounded timeout — see
attach::WaitOutcome, which this re-exports as the return type of
Tasks::wait and Tasks::wait_message.
The current attach’s outcome, or a bounded timeout — see
attach::WaitOutcome, which this re-exports as the return type of
Tasks::wait and Tasks::wait_message.
The current attach’s outcome, or a bounded timeout — see
attach::WaitOutcome, which this re-exports as the return type of
Tasks::wait and Tasks::wait_message.
What a bounded wait produced: the settled payload, or a timeout with
enough said about it to retry sensibly.
Variants§
Terminal(TerminalRecord)
The terminal payload, with its exact JSON and typed fields side by
side. For wait_for_message, this is the correlated reply or
terminal-tagged payload message_payload_for_dispatch resolved.
TimedOut
The bounded wait elapsed; attached reports whether a live executor
held the lock at that moment.