pub enum RunStepStreamEvent {
ThreadRunStepCreated(RunStepObject),
ThreadRunStepInProgress(RunStepObject),
ThreadRunStepDelta(RunStepDeltaObject),
ThreadRunStepCompleted(RunStepObject),
ThreadRunStepFailed(RunStepObject),
ThreadRunStepCancelled(RunStepObject),
ThreadRunStepExpired(RunStepObject),
}
Variants§
ThreadRunStepCreated(RunStepObject)
Occurs when a run step is created.
ThreadRunStepInProgress(RunStepObject)
Occurs when a run step
moves to an in_progress
state.
ThreadRunStepDelta(RunStepDeltaObject)
Occurs when parts of a run step are being streamed.
ThreadRunStepCompleted(RunStepObject)
Occurs when a run step is completed.
ThreadRunStepFailed(RunStepObject)
Occurs when a run step fails.
ThreadRunStepCancelled(RunStepObject)
Occurs when a run step is cancelled.
ThreadRunStepExpired(RunStepObject)
Occurs when a run step expires.
Trait Implementations§
Source§impl Clone for RunStepStreamEvent
impl Clone for RunStepStreamEvent
Source§fn clone(&self) -> RunStepStreamEvent
fn clone(&self) -> RunStepStreamEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for RunStepStreamEvent
impl RefUnwindSafe for RunStepStreamEvent
impl Send for RunStepStreamEvent
impl Sync for RunStepStreamEvent
impl Unpin for RunStepStreamEvent
impl UnwindSafe for RunStepStreamEvent
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