pub struct FlowOutcome<T> {
pub value: Option<T>,
pub stopped_at: Option<String>,
pub stopped_answer: Option<Answer>,
pub trace: Vec<Step>,
}Expand description
Completed application result or uncertainty stop, with a trace.
Fields§
§value: Option<T>Present for completion, even if T itself is an application Option::None.
stopped_at: Option<String>Operator that stopped the flow, if any.
stopped_answer: Option<Answer>Full answer responsible for a stop.
trace: Vec<Step>Every flow request attempt, including failures before provider dispatch.
Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for FlowOutcome<T>
impl<T: Clone> Clone for FlowOutcome<T>
Auto Trait Implementations§
impl<T> Freeze for FlowOutcome<T>
impl<T> RefUnwindSafe for FlowOutcome<T>where
Option<T>: RefUnwindSafe,
impl<T> Send for FlowOutcome<T>
impl<T> Sync for FlowOutcome<T>
impl<T> Unpin for FlowOutcome<T>
impl<T> UnsafeUnpin for FlowOutcome<T>where
Option<T>: UnsafeUnpin,
impl<T> UnwindSafe for FlowOutcome<T>where
Option<T>: 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