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§impl PartialOrd for SslVersion
impl PartialOrd 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)