Struct rustls::client::handy::NoClientSessionStorage
source · pub(super) struct NoClientSessionStorage;
Expand description
An implementer of ClientSessionStore
which does nothing.
Trait Implementations§
source§impl ClientSessionStore for NoClientSessionStorage
impl ClientSessionStore for NoClientSessionStorage
source§fn set_kx_hint(&self, _: &ServerName, _: NamedGroup)
fn set_kx_hint(&self, _: &ServerName, _: NamedGroup)
Remember what
NamedGroup
the given server chose.source§fn kx_hint(&self, _: &ServerName) -> Option<NamedGroup>
fn kx_hint(&self, _: &ServerName) -> Option<NamedGroup>
This should return the value most recently passed to
set_kx_hint
for the given server_name
. Read moresource§fn set_tls12_session(&self, _: &ServerName, _: Tls12ClientSessionValue)
fn set_tls12_session(&self, _: &ServerName, _: Tls12ClientSessionValue)
Remember a TLS1.2 session. Read more
source§fn tls12_session(&self, _: &ServerName) -> Option<Tls12ClientSessionValue>
fn tls12_session(&self, _: &ServerName) -> Option<Tls12ClientSessionValue>
Get the most recently saved TLS1.2 session for
server_name
provided to set_tls12_session
.source§fn remove_tls12_session(&self, _: &ServerName)
fn remove_tls12_session(&self, _: &ServerName)
Remove and forget any saved TLS1.2 session for
server_name
.source§fn insert_tls13_ticket(&self, _: &ServerName, _: Tls13ClientSessionValue)
fn insert_tls13_ticket(&self, _: &ServerName, _: Tls13ClientSessionValue)
Remember a TLS1.3 ticket that might be retrieved later from
take_tls13_ticket
, allowing
resumption of this session. Read moresource§fn take_tls13_ticket(&self, _: &ServerName) -> Option<Tls13ClientSessionValue>
fn take_tls13_ticket(&self, _: &ServerName) -> Option<Tls13ClientSessionValue>
Return a TLS1.3 ticket previously provided to
add_tls13_ticket
. Read moreAuto Trait Implementations§
impl Freeze for NoClientSessionStorage
impl RefUnwindSafe for NoClientSessionStorage
impl Send for NoClientSessionStorage
impl Sync for NoClientSessionStorage
impl Unpin for NoClientSessionStorage
impl UnwindSafe for NoClientSessionStorage
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