pub struct ExecStream {
pub events: DynThreadEventStream,
pub completion: DynExecCompletion,
}Expand description
Ergonomic container for the streaming surface; produced by stream_exec (implemented in D2).
events yields parsed ThreadEvent values as soon as each JSONL line arrives from the CLI.
completion resolves once the Codex process exits and is the place to surface --output-last-message
and --output-schema paths after streaming finishes.
Fields§
§events: DynThreadEventStream§completion: DynExecCompletionAuto Trait Implementations§
impl Freeze for ExecStream
impl !RefUnwindSafe for ExecStream
impl Send for ExecStream
impl !Sync for ExecStream
impl Unpin for ExecStream
impl UnsafeUnpin for ExecStream
impl !UnwindSafe for ExecStream
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