pub struct ArcSessionStore<T: SessionStore>(pub Arc<T>);Tuple Fields§
§0: Arc<T>Trait Implementations§
Source§impl<T: Clone + SessionStore> Clone for ArcSessionStore<T>
impl<T: Clone + SessionStore> Clone for ArcSessionStore<T>
Source§fn clone(&self) -> ArcSessionStore<T>
fn clone(&self) -> ArcSessionStore<T>
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 moreSource§impl<T: Debug + SessionStore> Debug for ArcSessionStore<T>
impl<T: Debug + SessionStore> Debug for ArcSessionStore<T>
Source§impl<T> SessionStore for ArcSessionStore<T>where
T: SessionStore,
impl<T> SessionStore for ArcSessionStore<T>where
T: SessionStore,
Source§fn load_session<'life0, 'async_trait>(
&'life0 self,
cookie_value: String,
) -> Pin<Box<dyn Future<Output = Result<Option<Session>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn load_session<'life0, 'async_trait>(
&'life0 self,
cookie_value: String,
) -> Pin<Box<dyn Future<Output = Result<Option<Session>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get a session from the storage backend. Read more
Source§fn store_session<'life0, 'async_trait>(
&'life0 self,
session: Session,
) -> Pin<Box<dyn Future<Output = Result<Option<String>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn store_session<'life0, 'async_trait>(
&'life0 self,
session: Session,
) -> Pin<Box<dyn Future<Output = Result<Option<String>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Store a session on the storage backend. Read more
Auto Trait Implementations§
impl<T> Freeze for ArcSessionStore<T>
impl<T> RefUnwindSafe for ArcSessionStore<T>where
T: RefUnwindSafe,
impl<T> Send for ArcSessionStore<T>
impl<T> Sync for ArcSessionStore<T>
impl<T> Unpin for ArcSessionStore<T>
impl<T> UnwindSafe for ArcSessionStore<T>where
T: RefUnwindSafe,
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