pub struct OrbitClientSessionStorage { /* private fields */ }Trait Implementations§
Source§impl ClientSessionStore for OrbitClientSessionStorage
impl ClientSessionStore for OrbitClientSessionStorage
Source§fn set_kx_hint(&self, key: ClientSessionKey<'static>, group: NamedGroup)
fn set_kx_hint(&self, key: ClientSessionKey<'static>, group: NamedGroup)
Remember what
NamedGroup the given server chose.Source§fn kx_hint(&self, key: &ClientSessionKey<'_>) -> Option<NamedGroup>
fn kx_hint(&self, key: &ClientSessionKey<'_>) -> Option<NamedGroup>
Source§fn set_tls12_session(&self, key: ClientSessionKey<'static>, value: Tls12Session)
fn set_tls12_session(&self, key: ClientSessionKey<'static>, value: Tls12Session)
Remember a TLS1.2 session, allowing resumption of this connection in the future. Read more
Source§fn tls12_session(&self, key: &ClientSessionKey<'_>) -> Option<Tls12Session>
fn tls12_session(&self, key: &ClientSessionKey<'_>) -> Option<Tls12Session>
Get the most recently saved TLS1.2 session for
key provided to set_tls12_session.Source§fn remove_tls12_session(&self, key: &ClientSessionKey<'static>)
fn remove_tls12_session(&self, key: &ClientSessionKey<'static>)
Remove and forget any saved TLS1.2 session for
key.Source§fn insert_tls13_ticket(
&self,
key: ClientSessionKey<'static>,
value: Tls13Session,
)
fn insert_tls13_ticket( &self, key: ClientSessionKey<'static>, value: Tls13Session, )
Remember a TLS1.3 ticket, allowing resumption of this connection in the future. Read more
Source§fn take_tls13_ticket(
&self,
key: &ClientSessionKey<'static>,
) -> Option<Tls13Session>
fn take_tls13_ticket( &self, key: &ClientSessionKey<'static>, ) -> Option<Tls13Session>
Return a TLS1.3 ticket previously provided to
insert_tls13_ticket(). Read moreAuto Trait Implementations§
impl !RefUnwindSafe for OrbitClientSessionStorage
impl !UnwindSafe for OrbitClientSessionStorage
impl Freeze for OrbitClientSessionStorage
impl Send for OrbitClientSessionStorage
impl Sync for OrbitClientSessionStorage
impl Unpin for OrbitClientSessionStorage
impl UnsafeUnpin for OrbitClientSessionStorage
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