Struct gix_transport::client::http::options::SslVersionRangeInclusive
source · pub struct SslVersionRangeInclusive {
pub min: SslVersion,
pub max: SslVersion,
}
Available on crate features
blocking-client
and http-client
only.Expand description
The desired range of acceptable SSL versions, or the single version to allow if both are set to the same value.
Fields§
§min: SslVersion
The smallest allowed ssl version to use.
max: SslVersion
The highest allowed ssl version to use.
Implementations§
source§impl SslVersionRangeInclusive
impl SslVersionRangeInclusive
sourcepub fn min_max(&self) -> (SslVersion, SslVersion)
pub fn min_max(&self) -> (SslVersion, SslVersion)
Return min
and max
fields in the right order so min
is smaller or equal to max
.
Trait Implementations§
source§impl Clone for SslVersionRangeInclusive
impl Clone for SslVersionRangeInclusive
source§fn clone(&self) -> SslVersionRangeInclusive
fn clone(&self) -> SslVersionRangeInclusive
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 SslVersionRangeInclusive
impl Debug for SslVersionRangeInclusive
source§impl PartialEq for SslVersionRangeInclusive
impl PartialEq for SslVersionRangeInclusive
source§fn eq(&self, other: &SslVersionRangeInclusive) -> bool
fn eq(&self, other: &SslVersionRangeInclusive) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SslVersionRangeInclusive
impl Eq for SslVersionRangeInclusive
impl StructuralPartialEq for SslVersionRangeInclusive
Auto Trait Implementations§
impl Freeze for SslVersionRangeInclusive
impl RefUnwindSafe for SslVersionRangeInclusive
impl Send for SslVersionRangeInclusive
impl Sync for SslVersionRangeInclusive
impl Unpin for SslVersionRangeInclusive
impl UnwindSafe for SslVersionRangeInclusive
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