#[non_exhaustive]pub struct Verify {
pub sampled_points: u32,
pub unproven_points: u32,
pub tripwire: bool,
pub termination: bool,
}Expand description
Checks on every application beyond the ones that always run (result width, host veto).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.sampled_points: u32Evaluate both sides at this many seeded points for every application (0 = off).
unproven_points: u32… and at this many for rules linked without a proof (0 = off).
tripwire: boolReject an application whose sides have incompatible facts.
termination: boolReject an application that does not decrease the ground termination order.
Implementations§
Source§impl Verify
impl Verify
Sourcepub fn with_sampled_points(self, value: u32) -> Self
pub fn with_sampled_points(self, value: u32) -> Self
Sets sampled_points.
Sourcepub fn with_unproven_points(self, value: u32) -> Self
pub fn with_unproven_points(self, value: u32) -> Self
Sets unproven_points.
Sourcepub fn with_tripwire(self, value: bool) -> Self
pub fn with_tripwire(self, value: bool) -> Self
Sets tripwire.
Sourcepub fn with_termination(self, value: bool) -> Self
pub fn with_termination(self, value: bool) -> Self
Sets termination.
Trait Implementations§
impl Copy for Verify
impl Eq for Verify
impl StructuralPartialEq for Verify
Auto Trait Implementations§
impl Freeze for Verify
impl RefUnwindSafe for Verify
impl Send for Verify
impl Sync for Verify
impl Unpin for Verify
impl UnsafeUnpin for Verify
impl UnwindSafe for Verify
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