Struct poem::listener::RustlsConfig
source · [−]pub struct RustlsConfig { /* private fields */ }
This is supported on crate feature
rustls
only.Expand description
Rustls Config.
Implementations
Sets the trust anchor for optional client authentication.
Sets the trust anchor for required client authentication.
Trait Implementations
impl<T> IntoTlsConfigStream<RustlsConfig> for T where
T: Stream<Item = RustlsConfig> + Send + 'static,
impl<T> IntoTlsConfigStream<RustlsConfig> for T where
T: Stream<Item = RustlsConfig> + Send + 'static,
type Stream = Self
type Stream = Self
Represents a tls config stream.
Consume itself and return tls config stream.
type Stream = Once<Ready<RustlsConfig>>
type Stream = Once<Ready<RustlsConfig>>
Represents a tls config stream.
Consume itself and return tls config stream.
Auto Trait Implementations
impl RefUnwindSafe for RustlsConfig
impl Send for RustlsConfig
impl Sync for RustlsConfig
impl Unpin for RustlsConfig
impl UnwindSafe for RustlsConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more