pub enum ChallengeOutcome {
Approved,
Pending {
status_message: String,
remaining_tries: u8,
remaining_time_secs: u32,
next_state: ChallengeState,
},
Denied(String),
}Expand description
Outcome returned by ChallengeHandler::verify.
Variants§
Approved
Challenge passed — proceed to issue the certificate.
Pending
Challenge requires another round (e.g. email: code was sent, awaiting submission).
The CA returns this with updated state; the client submits another CHALLENGE request with the next parameters.
Fields
§
next_state: ChallengeStateUpdated challenge state to store for the next round.
Denied(String)
Challenge failed — reject the request with this reason.
Auto Trait Implementations§
impl Freeze for ChallengeOutcome
impl RefUnwindSafe for ChallengeOutcome
impl Send for ChallengeOutcome
impl Sync for ChallengeOutcome
impl Unpin for ChallengeOutcome
impl UnwindSafe for ChallengeOutcome
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