pub enum EncryptionSetting {
PreferOff,
On,
Required,
Strict,
}Expand description
Encryption level requested by the client during the TDS pre-login.
Variants§
PreferOff
Don’t encrypt if the server allows it.
On
Encrypt the connection after pre-login.
Required
Require encryption after pre-login (semantically identical to On).
Strict
Encrypt the entire stream including pre-login (TDS 8.0).
Trait Implementations§
Source§impl Clone for EncryptionSetting
impl Clone for EncryptionSetting
Source§fn clone(&self) -> EncryptionSetting
fn clone(&self) -> EncryptionSetting
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EncryptionSetting
Source§impl Debug for EncryptionSetting
impl Debug for EncryptionSetting
Source§impl PartialEq for EncryptionSetting
impl PartialEq for EncryptionSetting
impl StructuralPartialEq for EncryptionSetting
Auto Trait Implementations§
impl Freeze for EncryptionSetting
impl RefUnwindSafe for EncryptionSetting
impl Send for EncryptionSetting
impl Sync for EncryptionSetting
impl Unpin for EncryptionSetting
impl UnsafeUnpin for EncryptionSetting
impl UnwindSafe for EncryptionSetting
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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