Trait salvo_core::conn::IntoConfigStream
source · pub trait IntoConfigStream<C> {
type Stream: Stream<Item = C> + Send + 'static;
// Required method
fn into_stream(self) -> Self::Stream;
}
Expand description
A type that can convert into tls config stream.
Required Associated Types§
Required Methods§
sourcefn into_stream(self) -> Self::Stream
fn into_stream(self) -> Self::Stream
Consume itself and return tls config stream.
Implementors§
source§impl IntoConfigStream<NativeTlsConfig> for NativeTlsConfig
Available on crate feature native-tls
only.
impl IntoConfigStream<NativeTlsConfig> for NativeTlsConfig
Available on crate feature
native-tls
only.type Stream = Once<Ready<NativeTlsConfig>>
source§impl IntoConfigStream<OpensslConfig> for OpensslConfig
Available on crate feature openssl
only.
impl IntoConfigStream<OpensslConfig> for OpensslConfig
Available on crate feature
openssl
only.type Stream = Once<Ready<OpensslConfig>>
source§impl IntoConfigStream<RustlsConfig> for RustlsConfig
Available on crate feature rustls
only.
impl IntoConfigStream<RustlsConfig> for RustlsConfig
Available on crate feature
rustls
only.type Stream = Once<Ready<RustlsConfig>>
source§impl<T> IntoConfigStream<Identity> for T
Available on crate feature native-tls
only.
impl<T> IntoConfigStream<Identity> for T
Available on crate feature
native-tls
only.source§impl<T> IntoConfigStream<NativeTlsConfig> for T
Available on crate feature native-tls
only.
impl<T> IntoConfigStream<NativeTlsConfig> for T
Available on crate feature
native-tls
only.source§impl<T> IntoConfigStream<OpensslConfig> for T
Available on crate feature openssl
only.
impl<T> IntoConfigStream<OpensslConfig> for T
Available on crate feature
openssl
only.source§impl<T> IntoConfigStream<SslAcceptorBuilder> for T
Available on crate feature openssl
only.
impl<T> IntoConfigStream<SslAcceptorBuilder> for T
Available on crate feature
openssl
only.source§impl<T> IntoConfigStream<ServerConfig> for T
Available on crate feature quinn
only.
impl<T> IntoConfigStream<ServerConfig> for T
Available on crate feature
quinn
only.source§impl<T> IntoConfigStream<RustlsConfig> for T
Available on crate feature rustls
only.
impl<T> IntoConfigStream<RustlsConfig> for T
Available on crate feature
rustls
only.source§impl<T> IntoConfigStream<ServerConfig> for T
Available on crate feature rustls
only.
impl<T> IntoConfigStream<ServerConfig> for T
Available on crate feature
rustls
only.