Skip to main content

BoringServerConfigExt

Trait BoringServerConfigExt 

pub trait BoringServerConfigExt: Sized {
    // Required methods
    fn with_cert_issuer(self, data: ServerCertIssuerData) -> Self;
    fn set_cert_issuer(&mut self, data: ServerCertIssuerData) -> &mut Self;
}
Available on crate feature boring only.
Expand description

Boring specific tls setters.

Required Methods§

fn with_cert_issuer(self, data: ServerCertIssuerData) -> Self

Issue server certs on the fly (from a CA or a custom [DynamicCertIssuer]), with optional in-memory caching.

fn set_cert_issuer(&mut self, data: ServerCertIssuerData) -> &mut Self

Issue server certs on the fly (from a CA or a custom [DynamicCertIssuer]), with optional in-memory caching.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§