Enum rustls::client::hs::ClientSessionValue
source · enum ClientSessionValue {
Tls13(Tls13ClientSessionValue),
Tls12(Tls12ClientSessionValue),
}
Variants§
Tls13(Tls13ClientSessionValue)
Tls12(Tls12ClientSessionValue)
Implementations§
source§impl ClientSessionValue
impl ClientSessionValue
fn common(&self) -> &ClientSessionCommon
fn tls13(&self) -> Option<&Tls13ClientSessionValue>
Methods from Deref<Target = ClientSessionCommon>§
pub(crate) fn server_cert_chain(&self) -> &[Certificate]
pub(crate) fn secret(&self) -> &[u8] ⓘ
pub(crate) fn ticket(&self) -> &[u8] ⓘ
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClientSessionValue
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