pub struct Outcome {
pub seed: u64,
pub crashes: u32,
/* private fields */
}Expand description
The final results of one seed.
Fields§
§seed: u64§crashes: u32Process crashes during the run.
Implementations§
Source§impl Outcome
impl Outcome
Sourcepub fn call<T: DeserializeOwned>(
&self,
call_id: &str,
) -> Option<Result<T, String>>
pub fn call<T: DeserializeOwned>( &self, call_id: &str, ) -> Option<Result<T, String>>
The answer to object call call_id: the decoded value when the
handler succeeded, the error message otherwise.
Sourcepub fn calls(&self) -> impl Iterator<Item = (&str, &CallReply)>
pub fn calls(&self) -> impl Iterator<Item = (&str, &CallReply)>
Every answered object call, by call ID.
Sourcepub fn receipt(&self, event_id: &str) -> Option<&str>
pub fn receipt(&self, event_id: &str) -> Option<&str>
The workflow ID of the run a debounced or batched event joined.
Sourcepub fn receipts(&self) -> impl Iterator<Item = (&str, &str)>
pub fn receipts(&self) -> impl Iterator<Item = (&str, &str)>
Every acknowledged event and the run it joined, by event ID.
Sourcepub fn stream(&self, id: &str, name: &str) -> Option<&[Value]>
pub fn stream(&self, id: &str, name: &str) -> Option<&[Value]>
The chunks readers of stream name of id saw, in order (bytes as
a JSON array of numbers), if a Setup::read_stream read it.
Sourcepub fn stream_end(&self, id: &str, name: &str) -> Option<&str>
pub fn stream_end(&self, id: &str, name: &str) -> Option<&str>
How stream name of id ended for its readers (ok, failed, the
run’s status).
Trait Implementations§
Auto Trait Implementations§
impl Forget for Outcome
impl Freeze for Outcome
impl Move 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