pub struct AcmeClient { /* private fields */ }Implementations§
Source§impl AcmeClient
impl AcmeClient
pub fn new(config: AcmeConfig) -> Self
pub async fn obtain_certificate( &mut self, domains: &[String], ) -> Result<(String, String), Box<dyn Error + Send + Sync>>
pub fn get_challenge_content(&self, _token: &str) -> Option<String>
pub async fn request_certificate( &mut self, domains: &[String], ) -> Result<(String, String), Box<dyn Error + Send + Sync>>
pub fn get_challenge_path(&self, token: &str) -> PathBuf
pub fn is_enabled(&self) -> bool
Trait Implementations§
Source§impl Clone for AcmeClient
impl Clone for AcmeClient
Source§fn clone(&self) -> AcmeClient
fn clone(&self) -> AcmeClient
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 Freeze for AcmeClient
impl RefUnwindSafe for AcmeClient
impl Send for AcmeClient
impl Sync for AcmeClient
impl Unpin for AcmeClient
impl UnwindSafe for AcmeClient
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