pub enum ChallengeType {
Http01,
TlsAlpn01,
}
Available on crate features
server
and acme
only.Expand description
Challenge type
Variants
Http01
HTTP-01 challenge
Reference: https://letsencrypt.org/docs/challenge-types/#http-01-challenge
TlsAlpn01
TLS-ALPN-01
Reference: https://letsencrypt.org/docs/challenge-types/#tls-alpn-01
Trait Implementations
sourceimpl Clone for ChallengeType
impl Clone for ChallengeType
sourcefn clone(&self) -> ChallengeType
fn clone(&self) -> ChallengeType
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ChallengeType
impl Debug for ChallengeType
sourceimpl Display for ChallengeType
impl Display for ChallengeType
sourceimpl PartialEq<ChallengeType> for ChallengeType
impl PartialEq<ChallengeType> for ChallengeType
sourcefn eq(&self, other: &ChallengeType) -> bool
fn eq(&self, other: &ChallengeType) -> bool
impl Copy for ChallengeType
impl Eq for ChallengeType
impl StructuralEq for ChallengeType
impl StructuralPartialEq for ChallengeType
Auto Trait Implementations
impl RefUnwindSafe for ChallengeType
impl Send for ChallengeType
impl Sync for ChallengeType
impl Unpin for ChallengeType
impl UnwindSafe for ChallengeType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.