Struct sessions_core::Store
source · pub struct Store<S, G, V> {
pub storage: S,
pub generate: G,
pub verify: V,
}
Expand description
Sessions Config
Fields§
§storage: S
Current Storage
generate: G
Generates session id
verify: V
Verifes session id
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<S, G, V> RefUnwindSafe for Store<S, G, V>where G: RefUnwindSafe, S: RefUnwindSafe, V: RefUnwindSafe,
impl<S, G, V> Send for Store<S, G, V>where G: Send, S: Send, V: Send,
impl<S, G, V> Sync for Store<S, G, V>where G: Sync, S: Sync, V: Sync,
impl<S, G, V> Unpin for Store<S, G, V>where G: Unpin, S: Unpin, V: Unpin,
impl<S, G, V> UnwindSafe for Store<S, G, V>where G: UnwindSafe, S: UnwindSafe, V: UnwindSafe,
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