Struct nex_socket::tls::socket::AsyncTlsAcceptor
source · pub struct AsyncTlsAcceptor { /* private fields */ }Expand description
Async TLS acceptor.
A wrapper around a rustls::ServerConfig
Implementations§
Trait Implementations§
source§impl Clone for AsyncTlsAcceptor
impl Clone for AsyncTlsAcceptor
source§fn clone(&self) -> AsyncTlsAcceptor
fn clone(&self) -> AsyncTlsAcceptor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl From<Arc<ServerConfig>> for AsyncTlsAcceptor
impl From<Arc<ServerConfig>> for AsyncTlsAcceptor
source§fn from(inner: Arc<ServerConfig>) -> AsyncTlsAcceptor
fn from(inner: Arc<ServerConfig>) -> AsyncTlsAcceptor
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for AsyncTlsAcceptor
impl Send for AsyncTlsAcceptor
impl Sync for AsyncTlsAcceptor
impl Unpin for AsyncTlsAcceptor
impl !UnwindSafe for AsyncTlsAcceptor
Blanket Implementations§
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