pub enum MySQLSslMode {
Disable,
Required,
VerifyCa,
VerifyIdentity,
}Expand description
MySQL TLS policy: the ssl value of host-style dbCredentials (default
Disable).
ssl = true means Required, false means Disable.
Variants§
Disable
No TLS.
Required
Require TLS without verifying the certificate (required).
VerifyCa
Require TLS and verify the server certificate (verify-ca).
VerifyIdentity
Also verify the host name (verify-identity).
Trait Implementations§
Source§impl Clone for MySQLSslMode
impl Clone for MySQLSslMode
impl Copy for MySQLSslMode
Source§impl Debug for MySQLSslMode
impl Debug for MySQLSslMode
Source§impl Default for MySQLSslMode
impl Default for MySQLSslMode
impl Eq for MySQLSslMode
Source§impl PartialEq for MySQLSslMode
impl PartialEq for MySQLSslMode
impl StructuralPartialEq for MySQLSslMode
Auto Trait Implementations§
impl Freeze for MySQLSslMode
impl RefUnwindSafe for MySQLSslMode
impl Send for MySQLSslMode
impl Sync for MySQLSslMode
impl Unpin for MySQLSslMode
impl UnsafeUnpin for MySQLSslMode
impl UnwindSafe for MySQLSslMode
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