Struct actix_web::server::RustlsAcceptor
source · pub struct RustlsAcceptor<T> { /* private fields */ }Expand description
Support SSL connections via rustls package
rust-tls feature enables RustlsAcceptor type
Implementations
sourceimpl<T: AsyncRead + AsyncWrite> RustlsAcceptor<T>
impl<T: AsyncRead + AsyncWrite> RustlsAcceptor<T>
sourcepub fn with_flags(config: ServerConfig, flags: ServerFlags) -> RustlsAcceptor<T>
pub fn with_flags(config: ServerConfig, flags: ServerFlags) -> RustlsAcceptor<T>
Create RustlsAcceptor with custom server flags.
Auto Trait Implementations
impl<T> !RefUnwindSafe for RustlsAcceptor<T>
impl<T> Send for RustlsAcceptor<T>where
T: Send,
impl<T> Sync for RustlsAcceptor<T>where
T: Sync,
impl<T> Unpin for RustlsAcceptor<T>where
T: Unpin,
impl<T> !UnwindSafe for RustlsAcceptor<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more