pub enum Outcome {
Allowed,
TreatAsRevoked,
Error(Error),
}Expand description
For a given item in a Policy, controls what the outcome is.
Variants§
Allowed
It’s not an error.
TreatAsRevoked
The certificate is treated as revoked.
Error(Error)
The given error is returned.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Outcome
impl !UnwindSafe for Outcome
impl Freeze for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
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