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