Enum gix_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 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 PartialOrd for SslVersion
impl PartialOrd 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 moreimpl 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