Struct sessions_core::Config
source · [−]pub struct Config<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 Config<S, G, V> where
G: RefUnwindSafe,
S: RefUnwindSafe,
V: RefUnwindSafe,
impl<S, G, V> Send for Config<S, G, V> where
G: Send,
S: Send,
V: Send,
impl<S, G, V> Sync for Config<S, G, V> where
G: Sync,
S: Sync,
V: Sync,
impl<S, G, V> Unpin for Config<S, G, V> where
G: Unpin,
S: Unpin,
V: Unpin,
impl<S, G, V> UnwindSafe for Config<S, G, V> where
G: UnwindSafe,
S: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more