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 / development.
LetsEncryptStaging
The staging Let’s Encrypt directory.
Use for testing and development. 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 duplicate 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> Freeze for DirectoryUrl<'a>
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