[][src]Struct rustls::internal::msgs::persist::ClientSessionKey

pub struct ClientSessionKey { /* fields omitted */ }

Keys for session resumption and tickets. Matching value is a ClientSessionValue.

Methods

impl ClientSessionKey[src]

pub fn session_for_dns_name(dns_name: DNSNameRef) -> ClientSessionKey[src]

pub fn hint_for_dns_name(dns_name: DNSNameRef) -> ClientSessionKey[src]

Trait Implementations

impl Codec for ClientSessionKey[src]

fn get_encoding(&self) -> Vec<u8>[src]

Convenience function to get the results of encode().

fn read_bytes(bytes: &[u8]) -> Option<Self>[src]

Read one of these from the front of bytes and return it. Read more

impl Debug for ClientSessionKey[src]

Auto Trait Implementations

impl Unpin for ClientSessionKey

impl Sync for ClientSessionKey

impl Send for ClientSessionKey

impl UnwindSafe for ClientSessionKey

impl RefUnwindSafe for ClientSessionKey

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]