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 more