pub struct GraphEvent<S> {
pub node: String,
pub state: S,
}Expand description
An event yielded during graph streaming.
Fields§
§node: StringThe node that just executed.
state: SThe state snapshot (full state for Values mode, post-node state for Updates).
Trait Implementations§
Source§impl<S: Clone> Clone for GraphEvent<S>
impl<S: Clone> Clone for GraphEvent<S>
Source§fn clone(&self) -> GraphEvent<S>
fn clone(&self) -> GraphEvent<S>
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 moreAuto Trait Implementations§
impl<S> Freeze for GraphEvent<S>where
S: Freeze,
impl<S> RefUnwindSafe for GraphEvent<S>where
S: RefUnwindSafe,
impl<S> Send for GraphEvent<S>where
S: Send,
impl<S> Sync for GraphEvent<S>where
S: Sync,
impl<S> Unpin for GraphEvent<S>where
S: Unpin,
impl<S> UnsafeUnpin for GraphEvent<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for GraphEvent<S>where
S: UnwindSafe,
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