Enum pgwire::TlsMode [−][src]
pub enum TlsMode {
Require,
VerifyUser,
}
Expand description
Specifies how strictly to enforce TLS encryption and authentication.
Variants
Require
Clients must negotiate TLS encryption.
VerifyUser
Clients must negotiate TLS encryption and supply a certificate whose Common Name (CN) field matches the user name they connect as.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TlsMode
impl UnwindSafe for TlsMode
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