Struct hyper_boring_imp::SessionCache
source · pub struct SessionCache { /* private fields */ }Implementations§
source§impl SessionCache
impl SessionCache
pub fn with_capacity(per_key_session_capacity: usize) -> SessionCache
pub fn insert(&mut self, key: SessionKey, session: SslSession)
pub fn get(&mut self, key: &SessionKey) -> Option<SslSession>
pub fn remove(&mut self, session: &SslSessionRef)
Auto Trait Implementations§
impl Freeze for SessionCache
impl RefUnwindSafe for SessionCache
impl Send for SessionCache
impl Sync for SessionCache
impl Unpin for SessionCache
impl UnwindSafe for SessionCache
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