Enum paho_mqtt::ssl_options::SslVersion
source · [−]#[repr(u32)]
pub enum SslVersion {
Default,
Tls_1_0,
Tls_1_1,
Tls_1_2,
}
Expand description
The SSL/TLS versions that can be requested.
Variants
Default
The default library SSL/TLS version
Tls_1_0
TLS version 1.0
Tls_1_1
TLS version 1.1
Tls_1_2
TLS version 1.2
Trait Implementations
sourceimpl Clone for SslVersion
impl Clone for SslVersion
sourcefn clone(&self) -> SslVersion
fn clone(&self) -> SslVersion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SslVersion
impl Debug for SslVersion
sourceimpl PartialEq<SslVersion> for SslVersion
impl PartialEq<SslVersion> for SslVersion
impl Copy for SslVersion
impl StructuralPartialEq for SslVersion
Auto Trait Implementations
impl RefUnwindSafe for SslVersion
impl Send for SslVersion
impl Sync for SslVersion
impl Unpin for SslVersion
impl UnwindSafe for SslVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more