pub struct LiveSessionTableConfig {
pub capacity: usize,
pub idle_ttl: Duration,
}Expand description
Capacity and expiry policy for live browser sessions.
Fields§
§capacity: usizeMaximum number of browser-owned live surfaces retained at once.
idle_ttl: DurationMaximum idle duration before an opaque browser session is evicted.
Trait Implementations§
Source§impl Clone for LiveSessionTableConfig
impl Clone for LiveSessionTableConfig
Source§fn clone(&self) -> LiveSessionTableConfig
fn clone(&self) -> LiveSessionTableConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LiveSessionTableConfig
impl Debug for LiveSessionTableConfig
Auto Trait Implementations§
impl Freeze for LiveSessionTableConfig
impl RefUnwindSafe for LiveSessionTableConfig
impl Send for LiveSessionTableConfig
impl Sync for LiveSessionTableConfig
impl Unpin for LiveSessionTableConfig
impl UnsafeUnpin for LiveSessionTableConfig
impl UnwindSafe for LiveSessionTableConfig
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