Struct pgwire::TlsConfig [−][src]
pub struct TlsConfig {
pub context: SslContext,
pub mode: TlsMode,
}
Expand description
Configures a server’s TLS encryption and authentication.
Fields
context: SslContext
The SSL context used to manage incoming TLS negotiations.
mode: TlsMode
The TLS mode.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TlsConfig
impl UnwindSafe for TlsConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more