pub enum TurnState {
Preparing,
Streaming,
ProcessingTools,
Checkpointed,
Interrupted,
}Expand description
Explicit lifecycle state of one model/tool turn.
Variants§
Preparing
The immutable request has not been built.
Streaming
The provider stream is active.
ProcessingTools
Complete tool declarations are being processed.
Checkpointed
A durable checkpoint has been committed.
Interrupted
The turn ended before a safe checkpoint.
Trait Implementations§
impl Copy for TurnState
impl Eq for TurnState
impl StructuralPartialEq for TurnState
Auto Trait Implementations§
impl Freeze for TurnState
impl RefUnwindSafe for TurnState
impl Send for TurnState
impl Sync for TurnState
impl Unpin for TurnState
impl UnsafeUnpin for TurnState
impl UnwindSafe for TurnState
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