pub struct GraphOutput<S: State, O: FromState<S> = S> {
pub value: S,
pub output: O,
pub interrupts: Vec<InterruptInfo>,
pub metadata: GraphOutputMetadata,
}Expand description
Output from graph execution
Contains the final output (extracted via FromState), any interrupts,
and execution metadata.
Fields§
§value: SFinal state value
output: OOutput value extracted from state via FromState
interrupts: Vec<InterruptInfo>Interrupt information if execution was interrupted
metadata: GraphOutputMetadataExecution metadata
Trait Implementations§
Auto Trait Implementations§
impl<S, O> Freeze for GraphOutput<S, O>
impl<S, O> RefUnwindSafe for GraphOutput<S, O>where
S: RefUnwindSafe,
O: RefUnwindSafe,
impl<S, O> Send for GraphOutput<S, O>
impl<S, O> Sync for GraphOutput<S, O>
impl<S, O> Unpin for GraphOutput<S, O>
impl<S, O> UnsafeUnpin for GraphOutput<S, O>where
S: UnsafeUnpin,
O: UnsafeUnpin,
impl<S, O> UnwindSafe for GraphOutput<S, O>where
S: UnwindSafe,
O: 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