Struct rustls::SupportedProtocolVersion
source · [−]pub struct SupportedProtocolVersion {
pub version: ProtocolVersion,
/* private fields */
}Expand description
A TLS protocol 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: ProtocolVersionThe TLS enumeration naming this version.
Trait Implementations
sourceimpl Debug for SupportedProtocolVersion
impl Debug for SupportedProtocolVersion
sourceimpl PartialEq<SupportedProtocolVersion> for SupportedProtocolVersion
impl PartialEq<SupportedProtocolVersion> for SupportedProtocolVersion
sourcefn eq(&self, other: &SupportedProtocolVersion) -> bool
fn eq(&self, other: &SupportedProtocolVersion) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SupportedProtocolVersion) -> bool
fn ne(&self, other: &SupportedProtocolVersion) -> bool
This method tests for !=.
impl StructuralPartialEq for SupportedProtocolVersion
Auto Trait Implementations
impl RefUnwindSafe for SupportedProtocolVersion
impl Send for SupportedProtocolVersion
impl Sync for SupportedProtocolVersion
impl Unpin for SupportedProtocolVersion
impl UnwindSafe for SupportedProtocolVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more