pub struct FlowEntry {Show 16 fields
pub handle: String,
pub goal: String,
pub status: Arc<Mutex<FlowRunStatus>>,
pub output: Arc<Mutex<String>>,
pub cancel: CancellationToken,
pub stream_tx: Sender<FlowEvent>,
pub messages: Arc<Mutex<Vec<Message>>>,
pub iteration: Arc<AtomicU64>,
pub child_run_id: FlowRunId,
pub model: String,
pub started_at: DateTime<Utc>,
pub compact_lock: Arc<Mutex<()>>,
pub interjection_tx: Sender<Injection>,
pub pending_injections: Arc<Mutex<Vec<Injection>>>,
pub injection_notify: Arc<Notify>,
pub frame_tx: Sender<StreamFrame>,
}Fields§
§handle: String§goal: String§status: Arc<Mutex<FlowRunStatus>>§output: Arc<Mutex<String>>§cancel: CancellationToken§stream_tx: Sender<FlowEvent>§messages: Arc<Mutex<Vec<Message>>>§iteration: Arc<AtomicU64>§child_run_id: FlowRunId§model: String§started_at: DateTime<Utc>§compact_lock: Arc<Mutex<()>>§interjection_tx: Sender<Injection>§pending_injections: Arc<Mutex<Vec<Injection>>>§injection_notify: Arc<Notify>§frame_tx: Sender<StreamFrame>Trait Implementations§
Source§impl Watchable for FlowEntry
impl Watchable for FlowEntry
fn watch_output( self: Arc<Self>, pattern: String, cancel: CancellationToken, ) -> Pin<Box<dyn Future<Output = WatchResult> + Send>>
Auto Trait Implementations§
impl !RefUnwindSafe for FlowEntry
impl !UnwindSafe for FlowEntry
impl Freeze for FlowEntry
impl Send for FlowEntry
impl Sync for FlowEntry
impl Unpin for FlowEntry
impl UnsafeUnpin for FlowEntry
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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.