pub struct KaniHarness {
pub id: String,
pub obligation: String,
pub property: Option<String>,
pub bound: Option<u32>,
pub strategy: Option<KaniStrategy>,
pub solver: Option<String>,
pub harness: Option<String>,
pub actually_verified: Option<bool>,
}Expand description
A Kani bounded model checking harness definition.
Corresponds to Phase 6 (Verify) of the pipeline.
Fields§
§id: String§obligation: String§property: Option<String>§bound: Option<u32>§strategy: Option<KaniStrategy>§solver: Option<String>§harness: Option<String>§actually_verified: Option<bool>GH-1595: When true, the harness has been verified by a green
cargo kani run in CI (e.g. apr-cookbook kani-gate). Lifts the
D3 strategy weight to 1.0 for non-exhaustive strategies because
the runtime witness supplants the static-readiness signal.
Trait Implementations§
Source§impl Clone for KaniHarness
impl Clone for KaniHarness
Source§fn clone(&self) -> KaniHarness
fn clone(&self) -> KaniHarness
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KaniHarness
impl Debug for KaniHarness
Source§impl Default for KaniHarness
impl Default for KaniHarness
Source§fn default() -> KaniHarness
fn default() -> KaniHarness
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KaniHarness
impl<'de> Deserialize<'de> for KaniHarness
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for KaniHarness
impl RefUnwindSafe for KaniHarness
impl Send for KaniHarness
impl Sync for KaniHarness
impl Unpin for KaniHarness
impl UnsafeUnpin for KaniHarness
impl UnwindSafe for KaniHarness
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