pub struct CookieSession { /* private fields */ }Implementations§
Source§impl CookieSession
impl CookieSession
Source§impl CookieSession
impl CookieSession
pub fn new() -> Self
pub fn create_new_session(&mut self) -> SessionId
pub fn get_session_data(&self, id: SessionId) -> Option<Data>
Trait Implementations§
Source§impl Clone for CookieSession
impl Clone for CookieSession
Source§fn clone(&self) -> CookieSession
fn clone(&self) -> CookieSession
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CookieSession
impl RefUnwindSafe for CookieSession
impl Send for CookieSession
impl Sync for CookieSession
impl Unpin for CookieSession
impl UnwindSafe for CookieSession
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