Enum tiberius::EncryptionLevel
source · #[repr(u8)]pub enum EncryptionLevel {
Off = 0,
On = 1,
NotSupported = 2,
Required = 3,
}
Expand description
The configured encryption level specifying if encryption is required
Variants§
Off = 0
Only use encryption for the login procedure
On = 1
Encrypt everything if possible
NotSupported = 2
Do not encrypt anything
Required = 3
Encrypt everything and fail if not possible
Trait Implementations§
source§impl Clone for EncryptionLevel
impl Clone for EncryptionLevel
source§fn clone(&self) -> EncryptionLevel
fn clone(&self) -> EncryptionLevel
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 EncryptionLevel
impl Debug for EncryptionLevel
source§impl PartialEq for EncryptionLevel
impl PartialEq for EncryptionLevel
source§impl TryFrom<u32> for EncryptionLevel
impl TryFrom<u32> for EncryptionLevel
source§impl TryFrom<u8> for EncryptionLevel
impl TryFrom<u8> 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§
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)