Enum fastly_shared::SslVersion
source · #[repr(u32)]
pub enum SslVersion {
TLS1,
TLS1_1,
TLS1_2,
TLS1_3,
}
Expand description
Constants for defining minimum/maximum TLS versions for connecting to backends.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for SslVersion
impl Clone for SslVersion
source§fn clone(&self) -> SslVersion
fn clone(&self) -> SslVersion
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 SslVersion
impl Debug for SslVersion
source§impl PartialEq<SslVersion> for SslVersion
impl PartialEq<SslVersion> for SslVersion
source§fn eq(&self, other: &SslVersion) -> bool
fn eq(&self, other: &SslVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.