pub struct Options {
pub check_arguments: bool,
pub check_result: bool,
pub fall_back: bool,
}Expand description
What the dispatcher checks and how forgiving it is.
Fields§
§check_arguments: boolCheck arguments against the signature before running anything.
check_result: boolCheck the result against the signature before returning it.
fall_back: boolOn an environmental failure, try the next proof.
Off by default: silently succeeding somewhere else hides the fact that an environment is broken. A proof returning the wrong answer never falls back regardless of this.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Options
impl Freeze for Options
impl Move for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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