pub struct SimulateReport { /* private fields */ }Expand description
Concrete sampled traces and independently checked violation evidence.
Implementations§
Source§impl SimulateReport
impl SimulateReport
Sourcepub const fn exit_code(&self) -> u8
pub const fn exit_code(&self) -> u8
Profile-specific exit status; sampling without an error exits zero.
Sourcepub fn exit_code_for(&self, convention: ExitConvention) -> u8
pub fn exit_code_for(&self, convention: ExitConvention) -> u8
Process status under an explicit convention, independently of value semantics. Refusals, resource stops and internal errors keep their status.
Sourcepub fn to_json_with_exit_convention(&self, convention: ExitConvention) -> Value
pub fn to_json_with_exit_convention(&self, convention: ExitConvention) -> Value
Versioned report with an explicitly selected process-status convention. The simulation remains non-exhaustive under either convention.
Sourcepub fn render_human(&self) -> String
pub fn render_human(&self) -> String
Human-readable sampling summary that never claims a proof.
Trait Implementations§
Auto Trait Implementations§
impl Forget for SimulateReport
impl Freeze for SimulateReport
impl Move for SimulateReport
impl RefUnwindSafe for SimulateReport
impl Send for SimulateReport
impl Sync for SimulateReport
impl Unpin for SimulateReport
impl UnsafeUnpin for SimulateReport
impl UnwindSafe for SimulateReport
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