pub enum Gate {
Worth,
Ungated,
}Expand description
Whether to enforce the worth test.
Gate::Ungated says the caller wants the sieve whatever its economics —
soundness is a property of the quotient construction and must hold on every
pattern that harvests one, not only on the ones the cost policy admits. The
differential oracles and the calibration mint need it; production callers do
not.
Variants§
Worth
Build only if the arming inequality says the sieve pays for itself.
Ungated
Build whenever a quotient exists, regardless of the economics.
Trait Implementations§
impl Copy for Gate
impl Eq for Gate
impl StructuralPartialEq for Gate
Auto Trait Implementations§
impl Freeze for Gate
impl RefUnwindSafe for Gate
impl Send for Gate
impl Sync for Gate
impl Unpin for Gate
impl UnsafeUnpin for Gate
impl UnwindSafe for Gate
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