#[repr(u32)]pub enum mysql_ssl_mode {
SSL_MODE_DISABLED = 1,
SSL_MODE_PREFERRED = 2,
SSL_MODE_REQUIRED = 3,
SSL_MODE_VERIFY_CA = 4,
SSL_MODE_VERIFY_IDENTITY = 5,
}
Variants§
SSL_MODE_DISABLED = 1
SSL_MODE_PREFERRED = 2
SSL_MODE_REQUIRED = 3
SSL_MODE_VERIFY_CA = 4
SSL_MODE_VERIFY_IDENTITY = 5
Trait Implementations§
Source§impl Clone for mysql_ssl_mode
impl Clone for mysql_ssl_mode
Source§fn clone(&self) -> mysql_ssl_mode
fn clone(&self) -> mysql_ssl_mode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for mysql_ssl_mode
impl Debug for mysql_ssl_mode
Source§impl Hash for mysql_ssl_mode
impl Hash for mysql_ssl_mode
Source§impl PartialEq for mysql_ssl_mode
impl PartialEq for mysql_ssl_mode
impl Copy for mysql_ssl_mode
impl Eq for mysql_ssl_mode
impl StructuralPartialEq for mysql_ssl_mode
Auto Trait Implementations§
impl Freeze for mysql_ssl_mode
impl RefUnwindSafe for mysql_ssl_mode
impl Send for mysql_ssl_mode
impl Sync for mysql_ssl_mode
impl Unpin for mysql_ssl_mode
impl UnwindSafe for mysql_ssl_mode
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