Struct actix_http::TlsAcceptorConfig
source · pub struct TlsAcceptorConfig { /* private fields */ }
Available on crate features
openssl
or rustls-0_20
or rustls-0_21
or rustls-0_22
only.Expand description
Configuration options used when accepting TLS connection.
Implementations§
source§impl TlsAcceptorConfig
impl TlsAcceptorConfig
sourcepub fn handshake_timeout(self, dur: Duration) -> Self
pub fn handshake_timeout(self, dur: Duration) -> Self
Set TLS handshake timeout duration.
Trait Implementations§
source§impl Debug for TlsAcceptorConfig
impl Debug for TlsAcceptorConfig
source§impl Default for TlsAcceptorConfig
impl Default for TlsAcceptorConfig
source§fn default() -> TlsAcceptorConfig
fn default() -> TlsAcceptorConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TlsAcceptorConfig
impl Send for TlsAcceptorConfig
impl Sync for TlsAcceptorConfig
impl Unpin for TlsAcceptorConfig
impl UnwindSafe for TlsAcceptorConfig
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