Enum tiberius::EncryptionLevel
source · #[repr(u8)]
pub enum EncryptionLevel {
Off,
On,
NotSupported,
Required,
}
Expand description
The configured encryption level specifying if encryption is required
Variants§
Off
Only use encryption for the login procedure
On
Encrypt everything if possible
NotSupported
Do not encrypt anything
Required
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<EncryptionLevel> for EncryptionLevel
impl PartialEq<EncryptionLevel> for EncryptionLevel
source§fn eq(&self, other: &EncryptionLevel) -> bool
fn eq(&self, other: &EncryptionLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.