#[non_exhaustive]pub struct MbaBudget {
pub steps: u64,
pub evidence: bool,
}Expand description
What a solver may spend on one question. Solvers treat it as a hint; the engine enforces its own budget on calls.
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.steps: u64A work bound in the solver’s own units.
evidence: boolWhether answers should carry the solver’s own evidence (default true). A caller that
proves every answer itself asks without, and a solver may then skip checking an answer
it built exactly (answering Claim::Unverified); the engine does so when backend
certificates are not trusted.
Implementations§
Trait Implementations§
impl Copy for MbaBudget
impl Eq for MbaBudget
impl StructuralPartialEq for MbaBudget
Auto Trait Implementations§
impl Freeze for MbaBudget
impl RefUnwindSafe for MbaBudget
impl Send for MbaBudget
impl Sync for MbaBudget
impl Unpin for MbaBudget
impl UnsafeUnpin for MbaBudget
impl UnwindSafe for MbaBudget
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