pub enum Refusal {
Unavailable(&'static str),
Tampered(&'static str),
}Expand description
A validation refusal and the trust decision it requires. The diagnostic is attached where the refusal originates, so adding a reason cannot leave a downstream classifier incomplete.
Variants§
The trusted input was unavailable for this runner.
Tampered(&'static str)
The trusted input contradicted its authenticated binding.
Trait Implementations§
impl Copy for Refusal
impl Eq for Refusal
impl StructuralPartialEq for Refusal
Auto Trait Implementations§
impl Freeze for Refusal
impl RefUnwindSafe for Refusal
impl Send for Refusal
impl Sync for Refusal
impl Unpin for Refusal
impl UnsafeUnpin for Refusal
impl UnwindSafe for Refusal
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