Trait DistributedSessionStoreRuntime
Source pub trait DistributedSessionStoreRuntime:
Send
+ Sync
+ 'static {
// Required methods
fn issue(
&self,
record: BrowserSessionRecord,
) -> Result<(), RuntimeBrowserError>;
fn session(
&self,
session_id: &str,
) -> Result<Option<BrowserSessionRecord>, RuntimeBrowserError>;
fn delete(&self, session_id: &str) -> Result<(), RuntimeBrowserError>;
fn revoke(
&self,
session_id: &str,
now: BrowserInstant,
) -> Result<(), RuntimeBrowserError>;
fn touch_active_session(
&self,
session_id: &str,
idle_timeout: Duration,
now: BrowserInstant,
) -> Result<Option<String>, RuntimeBrowserError>;
fn is_shared_backend(&self) -> bool;
// Provided method
fn supports_live_shared_state(&self) -> bool { ... }
}