Enum mysqlclient_sys::mysql_ssl_mode
source · #[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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)