pub struct AutoCert { /* private fields */ }
Available on crate features
server
and acme
only.Expand description
ACME configuration
Implementations
sourceimpl AutoCert
impl AutoCert
sourcepub fn builder() -> AutoCertBuilder
pub fn builder() -> AutoCertBuilder
Create an ACME configuration builder.
sourcepub fn http_01_endpoint(&self) -> Http01Endpoint
pub fn http_01_endpoint(&self) -> Http01Endpoint
Create an endpoint for HTTP-01 challenge
Reference: https://letsencrypt.org/docs/challenge-types/#http-01-challenge
Panics
Panic if current challenge type is not ChallengeType::Http01
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AutoCert
impl Send for AutoCert
impl Sync for AutoCert
impl Unpin for AutoCert
impl !UnwindSafe for AutoCert
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more