Struct rustls::internal::msgs::persist::ClientSessionKey [−][src]
pub struct ClientSessionKey { /* fields omitted */ }
Expand description
Keys for session resumption and tickets.
Matching value is a ClientSessionValue
.
Implementations
impl ClientSessionKey
[src]
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]
impl Codec for ClientSessionKey
[src]fn read(_r: &mut Reader<'_>) -> Option<ClientSessionKey>
[src]
fn read(_r: &mut Reader<'_>) -> Option<ClientSessionKey>
[src]Decode yourself by fiddling with the Reader
.
Return Some if it worked, None if not. Read more
fn get_encoding(&self) -> Vec<u8>
[src]
fn get_encoding(&self) -> Vec<u8>
[src]Convenience function to get the results of encode()
.