pub struct NativeTlsConfig { /* private fields */ }Available on crate features
server and native-tls only.Expand description
Native TLS Config.
Implementations§
Trait Implementations§
Source§impl Default for NativeTlsConfig
impl Default for NativeTlsConfig
Source§impl IntoTlsConfigStream<NativeTlsConfig> for NativeTlsConfig
impl IntoTlsConfigStream<NativeTlsConfig> for NativeTlsConfig
Source§type Stream = Once<Ready<NativeTlsConfig>>
type Stream = Once<Ready<NativeTlsConfig>>
Available on crate features
rustls or native-tls or openssl-tls only.Represents a tls config stream.
Source§fn into_stream(self) -> IoResult<Self::Stream>
fn into_stream(self) -> IoResult<Self::Stream>
Available on crate features
rustls or native-tls or openssl-tls only.Consume itself and return tls config stream.
Source§impl<T> IntoTlsConfigStream<NativeTlsConfig> for T
impl<T> IntoTlsConfigStream<NativeTlsConfig> for T
Auto Trait Implementations§
impl Freeze for NativeTlsConfig
impl RefUnwindSafe for NativeTlsConfig
impl Send for NativeTlsConfig
impl Sync for NativeTlsConfig
impl Unpin for NativeTlsConfig
impl UnwindSafe for NativeTlsConfig
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
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> TowerCompatExt for T
impl<T> TowerCompatExt for T
Source§fn compat<ResBody, Err, Fut>(self) -> TowerCompatEndpoint<Self>where
ResBody: Body + Send + Sync + 'static,
ResBody::Data: Into<Bytes> + Send + 'static,
ResBody::Error: StdError + Send + Sync + 'static,
Err: Into<Error>,
Self: Service<Request<BoxBody<Bytes, Error>>, Response = Response<ResBody>, Error = Err, Future = Fut> + Clone + Send + Sync + Sized + 'static,
Fut: Future<Output = Result<Response<ResBody>, Err>> + Send + 'static,
fn compat<ResBody, Err, Fut>(self) -> TowerCompatEndpoint<Self>where
ResBody: Body + Send + Sync + 'static,
ResBody::Data: Into<Bytes> + Send + 'static,
ResBody::Error: StdError + Send + Sync + 'static,
Err: Into<Error>,
Self: Service<Request<BoxBody<Bytes, Error>>, Response = Response<ResBody>, Error = Err, Future = Fut> + Clone + Send + Sync + Sized + 'static,
Fut: Future<Output = Result<Response<ResBody>, Err>> + Send + 'static,
Available on crate feature
tower-compat only.Converts a tower service to a poem endpoint.