pub struct WaitObservation {
pub background_work: Option<ApiBackgroundWork>,
pub pending_elicitations: Vec<ElicitationRequest>,
pub lifecycle: Option<ViewerLifecycleCategory>,
pub launch_failed: bool,
pub launch_error: Option<String>,
pub execution: MaterializedExecutionState,
pub active_turn: Option<MaterializedTurn>,
pub last_turn_outcome: Option<MaterializedTurnOutcome>,
pub queued: usize,
pub capacity_retry: Option<CapacityRetry>,
pub start_status: Option<StartStatus>,
}Expand description
Everything one pass of the wait loop knows about a session.
Fields§
§background_work: Option<ApiBackgroundWork>§pending_elicitations: Vec<ElicitationRequest>§lifecycle: Option<ViewerLifecycleCategory>§launch_failed: boolA recorded launch failure names this session.
launch_error: Option<String>Why the launch failed, when a reason was recorded.
execution: MaterializedExecutionState§active_turn: Option<MaterializedTurn>§last_turn_outcome: Option<MaterializedTurnOutcome>§queued: usize§capacity_retry: Option<CapacityRetry>§start_status: Option<StartStatus>Trait Implementations§
Source§impl Clone for WaitObservation
impl Clone for WaitObservation
Source§fn clone(&self) -> WaitObservation
fn clone(&self) -> WaitObservation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WaitObservation
impl Debug for WaitObservation
Source§impl Default for WaitObservation
impl Default for WaitObservation
Source§fn default() -> WaitObservation
fn default() -> WaitObservation
Returns the “default value” for a type. Read more
Source§impl PartialEq for WaitObservation
impl PartialEq for WaitObservation
impl StructuralPartialEq for WaitObservation
Auto Trait Implementations§
impl Freeze for WaitObservation
impl RefUnwindSafe for WaitObservation
impl Send for WaitObservation
impl Sync for WaitObservation
impl Unpin for WaitObservation
impl UnsafeUnpin for WaitObservation
impl UnwindSafe for WaitObservation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreSource§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.