pub struct CleanupConfig {
pub max_token_age_ns: u64,
pub orphan_timeout_ns: u64,
pub interval_ms: u64,
}Expand description
Cleanup configuration
Fields§
§max_token_age_ns: u64Maximum age of completed/failed tokens before removal (nanos)
orphan_timeout_ns: u64Timeout for active tokens — if active longer than this, consider orphaned (nanos)
interval_ms: u64Cleanup interval (how often the background task runs)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CleanupConfig
impl RefUnwindSafe for CleanupConfig
impl Send for CleanupConfig
impl Sync for CleanupConfig
impl Unpin for CleanupConfig
impl UnsafeUnpin for CleanupConfig
impl UnwindSafe for CleanupConfig
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