pub enum RunRecoveryState {
Interrupted {
turn_id: TurnId,
reason: String,
},
Cancelled,
}Expand description
Provider-run state required for restart diagnostics.
Variants§
Interrupted
Provider streaming was interrupted before durable terminal output.
Cancelled
The run was explicitly cancelled.
Trait Implementations§
Source§impl Clone for RunRecoveryState
impl Clone for RunRecoveryState
Source§fn clone(&self) -> RunRecoveryState
fn clone(&self) -> RunRecoveryState
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 RunRecoveryState
impl Debug for RunRecoveryState
impl Eq for RunRecoveryState
Source§impl PartialEq for RunRecoveryState
impl PartialEq for RunRecoveryState
impl StructuralPartialEq for RunRecoveryState
Auto Trait Implementations§
impl Freeze for RunRecoveryState
impl RefUnwindSafe for RunRecoveryState
impl Send for RunRecoveryState
impl Sync for RunRecoveryState
impl Unpin for RunRecoveryState
impl UnsafeUnpin for RunRecoveryState
impl UnwindSafe for RunRecoveryState
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