pub enum ClientSessionValue {
Tls13(Tls13ClientSessionValue),
Tls12(Tls12ClientSessionValue),
}
Variants
Tls13(Tls13ClientSessionValue)
Tls12(Tls12ClientSessionValue)
Implementations
sourceimpl ClientSessionValue
impl ClientSessionValue
pub fn read(
reader: &mut Reader<'_>,
suite: CipherSuite,
supported: &[SupportedCipherSuite]
) -> Option<Self>
Trait Implementations
sourceimpl Debug for ClientSessionValue
impl Debug for ClientSessionValue
sourceimpl From<Tls12ClientSessionValue> for ClientSessionValue
impl From<Tls12ClientSessionValue> for ClientSessionValue
sourcefn from(v: Tls12ClientSessionValue) -> Self
fn from(v: Tls12ClientSessionValue) -> Self
Performs the conversion.
sourceimpl From<Tls13ClientSessionValue> for ClientSessionValue
impl From<Tls13ClientSessionValue> for ClientSessionValue
sourcefn from(v: Tls13ClientSessionValue) -> Self
fn from(v: Tls13ClientSessionValue) -> Self
Performs the conversion.
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
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