pub struct SupportedProtocolVersion {
pub version: ProtocolVersion,
is_private: (),
}
Expand description
A TLS protocl version supported by rustls.
All possible instances of this class are provided by the library in
the ALL_VERSIONS
array, as well as individually as TLS12
and TLS13
.
Fields§
§version: ProtocolVersion
The TLS enumeration naming this version.
is_private: ()
Trait Implementations§
source§impl Debug for SupportedProtocolVersion
impl Debug for SupportedProtocolVersion
source§impl PartialEq for SupportedProtocolVersion
impl PartialEq for SupportedProtocolVersion
impl StructuralPartialEq for SupportedProtocolVersion
Auto Trait Implementations§
impl Freeze for SupportedProtocolVersion
impl RefUnwindSafe for SupportedProtocolVersion
impl Send for SupportedProtocolVersion
impl Sync for SupportedProtocolVersion
impl Unpin for SupportedProtocolVersion
impl UnwindSafe for SupportedProtocolVersion
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
§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting [
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.