pub struct Policy {
pub missing_data: Outcome,
pub cert_not_covered: Outcome,
pub cert_has_no_scts: Outcome,
}Expand description
Controls the error behavior of this crate.
Fields§
§missing_data: OutcomeWhat to do if upki filter data is missing
cert_not_covered: OutcomeWhat to do if upki filter data does not cover a certificate
A certificate can be not covered by the crlite filter if:
- the data is out of date, perhaps because it has not been fetched recently.
- the data does not cover the certificate, because the backend processing does not cover it (at the time of writing, this is the case for some certifcates).
cert_has_no_scts: OutcomeWhat to do if certificate was not logged in CT
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Policy
impl !UnwindSafe for Policy
impl Freeze for Policy
impl Send for Policy
impl Sync for Policy
impl Unpin for Policy
impl UnsafeUnpin for Policy
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