Struct trillium_sessions::MemoryStore [−][src]
pub struct MemoryStore { /* fields omitted */ }
Expand description
in-memory session store
Because there is no external persistance, this session store is ephemeral and will be cleared on server restart.
DO NOT USE THIS IN A PRODUCTION DEPLOYMENT.
Implementations
Create a new instance of MemoryStore
Performs session cleanup. This should be run on an intermittent basis if this store is run for long enough that memory accumulation is a concern
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for MemoryStore
impl Send for MemoryStore
impl Sync for MemoryStore
impl Unpin for MemoryStore
impl !UnwindSafe for MemoryStore
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V