pub enum StreamMode {
Values,
Updates,
Messages,
Custom,
Debug,
Tools,
Checkpoints,
Tasks,
Multi(Vec<StreamMode>),
}Expand description
Stream mode for graph execution
Variants§
Values
Output complete state after each superstep
Updates
Output updates from each node
Messages
Output LLM token streams
Custom
Output custom events from nodes
Debug
Output all debug events
Tools
Output tool execution lifecycle events
Checkpoints
Output checkpoint save events
Tasks
Output detailed task events
Multi(Vec<StreamMode>)
Combine multiple stream modes
Trait Implementations§
Source§impl Clone for StreamMode
impl Clone for StreamMode
Source§fn clone(&self) -> StreamMode
fn clone(&self) -> StreamMode
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 StreamMode
impl Debug for StreamMode
Source§impl Default for StreamMode
impl Default for StreamMode
Source§fn default() -> StreamMode
fn default() -> StreamMode
Returns the “default value” for a type. Read more
impl Eq for StreamMode
Source§impl PartialEq for StreamMode
impl PartialEq for StreamMode
Source§fn eq(&self, other: &StreamMode) -> bool
fn eq(&self, other: &StreamMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StreamMode
Auto Trait Implementations§
impl Freeze for StreamMode
impl RefUnwindSafe for StreamMode
impl Send for StreamMode
impl Sync for StreamMode
impl Unpin for StreamMode
impl UnsafeUnpin for StreamMode
impl UnwindSafe for StreamMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.