#[repr(u8)]pub enum EncryptionLevel {
Off = 0,
On = 1,
NotSupported = 2,
Required = 3,
ClientCertAuth = 128,
}Expand description
Encryption level for connection.
Variants§
Off = 0
Encryption is off.
On = 1
Encryption is on.
NotSupported = 2
Encryption is not supported.
Required = 3
Encryption is required.
ClientCertAuth = 128
Client certificate authentication (TDS 8.0+).
Implementations§
Trait Implementations§
Source§impl Clone for EncryptionLevel
impl Clone for EncryptionLevel
Source§fn clone(&self) -> EncryptionLevel
fn clone(&self) -> EncryptionLevel
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EncryptionLevel
impl Debug for EncryptionLevel
Source§impl Default for EncryptionLevel
impl Default for EncryptionLevel
Source§fn default() -> EncryptionLevel
fn default() -> EncryptionLevel
Returns the “default value” for a type. Read more
Source§impl PartialEq for EncryptionLevel
impl PartialEq for EncryptionLevel
impl Copy for EncryptionLevel
impl Eq for EncryptionLevel
impl StructuralPartialEq for EncryptionLevel
Auto Trait Implementations§
impl Freeze for EncryptionLevel
impl RefUnwindSafe for EncryptionLevel
impl Send for EncryptionLevel
impl Sync for EncryptionLevel
impl Unpin for EncryptionLevel
impl UnwindSafe for EncryptionLevel
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)