pub struct InMemoryConfig {
pub max_events_per_session: usize,
pub max_sessions: usize,
}
Expand description
Configuration for in-memory session storage
Fields§
§max_events_per_session: usize
Maximum events to keep per session (for memory management)
max_sessions: usize
Maximum sessions to keep (for memory management)
Trait Implementations§
Source§impl Clone for InMemoryConfig
impl Clone for InMemoryConfig
Source§fn clone(&self) -> InMemoryConfig
fn clone(&self) -> InMemoryConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 InMemoryConfig
impl Debug for InMemoryConfig
Auto Trait Implementations§
impl Freeze for InMemoryConfig
impl RefUnwindSafe for InMemoryConfig
impl Send for InMemoryConfig
impl Sync for InMemoryConfig
impl Unpin for InMemoryConfig
impl UnwindSafe for InMemoryConfig
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