Enum salvo_core::conn::acme::ChallengeType
source · #[non_exhaustive]pub enum ChallengeType {
Http01,
TlsAlpn01,
}
Available on crate feature
acme
only.Expand description
Challenge type
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future 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§
source§impl Clone for ChallengeType
impl Clone for ChallengeType
source§fn clone(&self) -> ChallengeType
fn clone(&self) -> ChallengeType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ChallengeType
impl Debug for ChallengeType
source§impl Display for ChallengeType
impl Display for ChallengeType
source§impl PartialEq for ChallengeType
impl PartialEq for ChallengeType
source§fn eq(&self, other: &ChallengeType) -> bool
fn eq(&self, other: &ChallengeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ChallengeType
impl Eq for ChallengeType
impl StructuralPartialEq for ChallengeType
Auto Trait Implementations§
impl Freeze for ChallengeType
impl RefUnwindSafe for ChallengeType
impl Send for ChallengeType
impl Sync for ChallengeType
impl Unpin for ChallengeType
impl UnwindSafe for ChallengeType
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.