pub enum StreamMode {
Values,
Updates,
Messages,
Debug,
Custom,
}Expand description
Controls what is yielded during graph streaming.
Variants§
Values
Yield full state after each node executes.
Updates
Yield only the delta (state before merge vs after, keyed by node name).
Messages
Yield only AI messages from the state (useful for chat UIs).
Debug
Yield detailed debug information including node timing.
Custom
Yield custom events emitted via StreamWriter.
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 · 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 PartialEq for StreamMode
impl PartialEq for StreamMode
impl Copy for StreamMode
impl Eq for StreamMode
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.