Enum acme_lib::DirectoryUrl
source · pub enum DirectoryUrl<'a> {
LetsEncrypt,
LetsEncryptStaging,
Other(&'a str),
}
Expand description
Enumeration of known ACME API directories.
Variants§
LetsEncrypt
The main Let’s Encrypt directory. Not appropriate for testing and dev.
LetsEncryptStaging
The staging Let’s Encrypt directory. Use for testing and dev. Doesn’t issue “valid” certificates. The root signing certificate is not supposed to be in any trust chains.
Other(&'a str)
Provide an arbitrary director URL to connect to.
Trait Implementations§
source§impl<'a> Clone for DirectoryUrl<'a>
impl<'a> Clone for DirectoryUrl<'a>
source§fn clone(&self) -> DirectoryUrl<'a>
fn clone(&self) -> DirectoryUrl<'a>
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 moreAuto Trait Implementations§
impl<'a> RefUnwindSafe for DirectoryUrl<'a>
impl<'a> Send for DirectoryUrl<'a>
impl<'a> Sync for DirectoryUrl<'a>
impl<'a> Unpin for DirectoryUrl<'a>
impl<'a> UnwindSafe for DirectoryUrl<'a>
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