Enum fastly_shared::SslVersion
source · #[repr(u32)]pub enum SslVersion {
TLS1 = 0,
TLS1_1 = 1,
TLS1_2 = 2,
TLS1_3 = 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 for SslVersion
impl PartialEq 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 ==
.source§impl TryFrom<u32> for SslVersion
impl TryFrom<u32> for SslVersion
impl Copy for SslVersion
impl Eq for SslVersion
impl StructuralPartialEq for SslVersion
Auto Trait Implementations§
impl Freeze for SslVersion
impl RefUnwindSafe for SslVersion
impl Send for SslVersion
impl Sync for SslVersion
impl Unpin for SslVersion
impl UnwindSafe for SslVersion
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more