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.
Auto Trait Implementations§
impl !RefUnwindSafe for ClientSessionValue
impl Send for ClientSessionValue
impl Sync for ClientSessionValue
impl Unpin for ClientSessionValue
impl !UnwindSafe for ClientSessionValue
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