Struct axum_server::tls_rustls::RustlsAcceptor [−][src]
pub struct RustlsAcceptor<A = DefaultAcceptor> { /* fields omitted */ }This is supported on crate feature
tls-rustls only.Expand description
Tls acceptor using rustls.
Implementations
Create a new rustls acceptor.
Overwrite inner acceptor.
Trait Implementations
impl<A, I, S> Accept<I, S> for RustlsAcceptor<A> where
A: Accept<I, S>,
A::Stream: AsyncRead + AsyncWrite + Unpin,
impl<A, I, S> Accept<I, S> for RustlsAcceptor<A> where
A: Accept<I, S>,
A::Stream: AsyncRead + AsyncWrite + Unpin,
type Future = RustlsAcceptorFuture<A::Future, A::Stream, A::Service>
type Future = RustlsAcceptorFuture<A::Future, A::Stream, A::Service>
Future return value.
Auto Trait Implementations
impl<A = DefaultAcceptor> !RefUnwindSafe for RustlsAcceptor<A>
impl<A> Send for RustlsAcceptor<A> where
A: Send,
impl<A> Sync for RustlsAcceptor<A> where
A: Sync,
impl<A> Unpin for RustlsAcceptor<A> where
A: Unpin,
impl<A = DefaultAcceptor> !UnwindSafe for RustlsAcceptor<A>
Blanket Implementations
Mutably borrows from an owned value. Read more
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