pub struct FileSessionStore {
pub path: String,
}Fields§
§path: StringTrait Implementations§
Source§impl SessionStore for FileSessionStore
impl SessionStore for FileSessionStore
fn on_save_session<'life0, 'async_trait>(
&'life0 self,
data: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn on_load_session<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<u8>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for FileSessionStore
impl RefUnwindSafe for FileSessionStore
impl Send for FileSessionStore
impl Sync for FileSessionStore
impl Unpin for FileSessionStore
impl UnwindSafe for FileSessionStore
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