pub struct OnDemandTlsConfig {
pub ask: Option<String>,
pub rate_limit: Option<u32>,
}Expand description
On-demand TLS configuration for automatic certificate issuance at handshake time.
Fields§
§ask: Option<String>Optional URL to query to decide whether a domain is allowed.
A GET request is made to {ask}?domain={sni}; 200 OK means allowed.
rate_limit: Option<u32>Maximum number of certificates to issue per minute.
Trait Implementations§
Source§impl Clone for OnDemandTlsConfig
impl Clone for OnDemandTlsConfig
Source§fn clone(&self) -> OnDemandTlsConfig
fn clone(&self) -> OnDemandTlsConfig
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 moreSource§impl Debug for OnDemandTlsConfig
impl Debug for OnDemandTlsConfig
Auto Trait Implementations§
impl Freeze for OnDemandTlsConfig
impl RefUnwindSafe for OnDemandTlsConfig
impl Send for OnDemandTlsConfig
impl Sync for OnDemandTlsConfig
impl Unpin for OnDemandTlsConfig
impl UnsafeUnpin for OnDemandTlsConfig
impl UnwindSafe for OnDemandTlsConfig
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