Enum iroh_dns_server::http::CertMode
source · pub enum CertMode {
Manual,
LetsEncrypt,
SelfSigned,
}
Expand description
The mode how SSL certificates should be created.
Variants§
Manual
Certs are loaded from a the cert_cache
path
LetsEncrypt
ACME with LetsEncrypt servers
SelfSigned
Create self-signed certificates and store them in the cert_cache
path
Trait Implementations§
source§impl<'de> Deserialize<'de> for CertMode
impl<'de> Deserialize<'de> for CertMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for CertMode
impl PartialEq for CertMode
impl Eq for CertMode
impl StructuralPartialEq for CertMode
Auto Trait Implementations§
impl Freeze for CertMode
impl RefUnwindSafe for CertMode
impl Send for CertMode
impl Sync for CertMode
impl Unpin for CertMode
impl UnwindSafe for CertMode
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more