pub enum CertificateSource {
Acme,
Local,
}Expand description
Where a zone’s certificate is issued.
Variants§
Acme
A public authority, over ACME DNS-01. See crate::acme.
Local
This machine’s own authority, kept in the data directory. See
crate::local.
Implementations§
Source§impl CertificateSource
impl CertificateSource
Sourcepub fn as_str(self) -> &'static str
pub fn as_str(self) -> &'static str
The spelling a caller passes on a command line or writes in a config file.
Sourcepub fn refusal_for(self, zone: &str) -> Option<String>
pub fn refusal_for(self, zone: &str) -> Option<String>
Why zone cannot be served from this source, or None if it can.
One sentence per direction, both naming the source the zone does take, because a refusal that does not say what to pass instead makes the reader guess.
Trait Implementations§
Source§impl Clone for CertificateSource
impl Clone for CertificateSource
Source§fn clone(&self) -> CertificateSource
fn clone(&self) -> CertificateSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CertificateSource
impl Debug for CertificateSource
Source§impl PartialEq for CertificateSource
impl PartialEq for CertificateSource
Source§fn eq(&self, other: &CertificateSource) -> bool
fn eq(&self, other: &CertificateSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CertificateSource
impl Eq for CertificateSource
impl StructuralPartialEq for CertificateSource
Auto Trait Implementations§
impl Freeze for CertificateSource
impl RefUnwindSafe for CertificateSource
impl Send for CertificateSource
impl Sync for CertificateSource
impl Unpin for CertificateSource
impl UnsafeUnpin for CertificateSource
impl UnwindSafe for CertificateSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
§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.