Struct static_web_server::tls::TlsAcceptor
source · pub struct TlsAcceptor { /* private fields */ }
Available on crate feature
http2
only.Expand description
Type to intercept Tls incoming connections.
Implementations§
source§impl TlsAcceptor
impl TlsAcceptor
sourcepub fn new(config: ServerConfig, incoming: AddrIncoming) -> TlsAcceptor
pub fn new(config: ServerConfig, incoming: AddrIncoming) -> TlsAcceptor
Creates a new Tls interceptor.
Trait Implementations§
source§impl Accept for TlsAcceptor
impl Accept for TlsAcceptor
Auto Trait Implementations§
impl !Freeze for TlsAcceptor
impl !RefUnwindSafe for TlsAcceptor
impl Send for TlsAcceptor
impl Sync for TlsAcceptor
impl Unpin for TlsAcceptor
impl !UnwindSafe for TlsAcceptor
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