pub struct TlsAcceptor { /* private fields */ }Available on crate feature
tls only.Expand description
Type to intercept Tls incoming connections.
Implementations§
Source§impl TlsAcceptor
impl TlsAcceptor
Sourcepub fn new(config: ServerConfig) -> TlsAcceptor
pub fn new(config: ServerConfig) -> TlsAcceptor
Creates a new Tls interceptor from a built ServerConfig.
Trait Implementations§
Source§impl Clone for TlsAcceptor
impl Clone for TlsAcceptor
Source§fn clone(&self) -> TlsAcceptor
fn clone(&self) -> TlsAcceptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for TlsAcceptor
impl !UnwindSafe for TlsAcceptor
impl Freeze for TlsAcceptor
impl Send for TlsAcceptor
impl Sync for TlsAcceptor
impl Unpin for TlsAcceptor
impl UnsafeUnpin 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