pub enum ProofMode {
Off,
Allow,
Require,
}Expand description
How strictly a worker treats the proof header.
Variants§
Off
Install no gate at all — zero per-request cost.
Allow
Verify and record but never deny. A rollout lever.
Require
Reject a request whose proof does not verify.
Trait Implementations§
impl Copy for ProofMode
impl Eq for ProofMode
impl StructuralPartialEq for ProofMode
Auto Trait Implementations§
impl Freeze for ProofMode
impl RefUnwindSafe for ProofMode
impl Send for ProofMode
impl Sync for ProofMode
impl Unpin for ProofMode
impl UnsafeUnpin for ProofMode
impl UnwindSafe for ProofMode
Blanket Implementations§
impl<T> Allocation for T
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