pub struct TlsServerConfig { /* private fields */ }Expand description
Implementations§
Source§impl TlsServerConfig
impl TlsServerConfig
Sourcepub fn with_certs_and_key(
chain: Vec<CertificateDer<'static>>,
rustls_key_der: PrivateKeyDer<'static>,
) -> Result<Self, TlsError>
pub fn with_certs_and_key( chain: Vec<CertificateDer<'static>>, rustls_key_der: PrivateKeyDer<'static>, ) -> Result<Self, TlsError>
Construct new with cert chain and key
Trait Implementations§
Source§impl Clone for TlsServerConfig
impl Clone for TlsServerConfig
Source§impl Debug for TlsServerConfig
impl Debug for TlsServerConfig
Source§impl TryFrom<TlsServerConfig> for ServerConfig
impl TryFrom<TlsServerConfig> for ServerConfig
Auto Trait Implementations§
impl Freeze for TlsServerConfig
impl RefUnwindSafe for TlsServerConfig
impl Send for TlsServerConfig
impl Sync for TlsServerConfig
impl Unpin for TlsServerConfig
impl UnsafeUnpin for TlsServerConfig
impl UnwindSafe for TlsServerConfig
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