pub struct ViolationInfo {
pub invariant_name: String,
pub tick: u64,
pub description: String,
}Expand description
Lightweight violation info for diagnosis (avoids coupling to vortex-check).
Fields§
§invariant_name: StringName of the invariant that was violated.
tick: u64Simulation tick when the violation was detected.
description: StringHuman-readable description.
Trait Implementations§
Source§impl Clone for ViolationInfo
impl Clone for ViolationInfo
Source§fn clone(&self) -> ViolationInfo
fn clone(&self) -> ViolationInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ViolationInfo
impl RefUnwindSafe for ViolationInfo
impl Send for ViolationInfo
impl Sync for ViolationInfo
impl Unpin for ViolationInfo
impl UnsafeUnpin for ViolationInfo
impl UnwindSafe for ViolationInfo
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