pub enum ClientSessionValue {
Tls13(Tls13ClientSessionValue),
Tls12(Tls12ClientSessionValue),
}
Variants§
Tls13(Tls13ClientSessionValue)
Tls12(Tls12ClientSessionValue)
Implementations§
source§impl ClientSessionValue
impl ClientSessionValue
pub fn read( reader: &mut Reader<'_>, suite: CipherSuite, supported: &[SupportedCipherSuite] ) -> Option<Self>
Trait Implementations§
source§impl Debug for ClientSessionValue
impl Debug for ClientSessionValue
source§impl From<Tls12ClientSessionValue> for ClientSessionValue
impl From<Tls12ClientSessionValue> for ClientSessionValue
source§fn from(v: Tls12ClientSessionValue) -> Self
fn from(v: Tls12ClientSessionValue) -> Self
Converts to this type from the input type.
source§impl From<Tls13ClientSessionValue> for ClientSessionValue
impl From<Tls13ClientSessionValue> for ClientSessionValue
source§fn from(v: Tls13ClientSessionValue) -> Self
fn from(v: Tls13ClientSessionValue) -> Self
Converts to this type from the input type.