Enum git_transport::client::http::options::SslVersion
source · pub enum SslVersion {
Default,
TlsV1,
SslV2,
SslV3,
TlsV1_0,
TlsV1_1,
TlsV1_2,
TlsV1_3,
}
Available on crate features
blocking-client
and http-client
only.Expand description
Available SSL version numbers.
Variants§
Default
The implementation default, which is unknown to this layer of abstraction.
TlsV1
SslV2
SslV3
TlsV1_0
TlsV1_1
TlsV1_2
TlsV1_3
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 Ord for SslVersion
impl Ord for SslVersion
source§fn cmp(&self, other: &SslVersion) -> Ordering
fn cmp(&self, other: &SslVersion) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
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 ==
.source§impl PartialOrd<SslVersion> for SslVersion
impl PartialOrd<SslVersion> for SslVersion
source§fn partial_cmp(&self, other: &SslVersion) -> Option<Ordering>
fn partial_cmp(&self, other: &SslVersion) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more