pub struct Outcome {
pub text: String,
pub status: String,
pub stopped_by: String,
pub attempts: usize,
pub turns: usize,
pub result: RunResult,
}Expand description
What a Loop::run reports. status reuses the shipped vocabulary.
Fields§
§text: String§status: Stringdone | incomplete | pending | error.
stopped_by: StringNamed whenever status != "done" — never a silent stop.
attempts: usize§turns: usize§result: RunResultTrait Implementations§
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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