pub enum Outcome {
Pass,
Fail,
Warn,
Aborted,
}Expand description
Whether the run succeeded, aborted cleanly (e.g. detected Byzantine misbehavior), or errored.
Variants§
Pass
Protocol completed and produced output matching (if specified) the vector’s expected bytes.
Fail
Protocol completed but the output didn’t match the expected
bytes (only possible when expected_signature_hex was set).
Warn
Protocol completed but a non-conformance was observed that the
vector’s conformance level downgrades from an error to a warning
(e.g. a should_pass vector whose output mismatched). Recorded
in the report; does not gate the candidate.
Aborted
Protocol aborted cleanly — the scheme detected the configured Byzantine behavior and signaled misbehavior. Counts as a pass for Byzantine-detection vectors.
Implementations§
Trait Implementations§
impl Copy for Outcome
impl Eq for Outcome
impl StructuralPartialEq for Outcome
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