Enum tiberius::EncryptionLevel
[−]
[src]
#[repr(u8)]pub enum EncryptionLevel { Off, On, NotSupported, Required, }
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
impl Copy for EncryptionLevel
[src]
impl Clone for EncryptionLevel
[src]
fn clone(&self) -> EncryptionLevel
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for EncryptionLevel
[src]
impl PartialEq for EncryptionLevel
[src]
fn eq(&self, __arg_0: &EncryptionLevel) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.