pub struct ReaperConfig {
pub scan_interval: Duration,
}Expand description
Configuration for the session reaper.
Fields§
§scan_interval: DurationHow often to scan for expired sessions.
Trait Implementations§
Source§impl Clone for ReaperConfig
impl Clone for ReaperConfig
Source§fn clone(&self) -> ReaperConfig
fn clone(&self) -> ReaperConfig
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 ReaperConfig
impl Debug for ReaperConfig
Auto Trait Implementations§
impl Freeze for ReaperConfig
impl RefUnwindSafe for ReaperConfig
impl Send for ReaperConfig
impl Sync for ReaperConfig
impl Unpin for ReaperConfig
impl UnsafeUnpin for ReaperConfig
impl UnwindSafe for ReaperConfig
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