pub enum StreamMode {
Values,
Updates,
Checkpoints,
Tasks,
Debug,
Messages,
Custom,
}Expand description
Streaming mode for graph execution.
Different streaming modes provide different levels of granularity for observing graph execution.
Variants§
Values
Stream the full state after each step
Updates
Stream only the updates (deltas) to state
Checkpoints
Stream checkpoint information after each step
Tasks
Stream task execution details
Debug
Stream detailed debug information
Messages
Stream messages (useful for chat applications)
Custom
Custom streaming mode
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 Default for StreamMode
impl Default for StreamMode
Source§impl<'de> Deserialize<'de> for StreamMode
impl<'de> Deserialize<'de> for StreamMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StreamMode
impl PartialEq for StreamMode
Source§impl Serialize for StreamMode
impl Serialize 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