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
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
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
)