pub struct GcConfig {
pub max_completed_age: Duration,
pub max_expired_age: Duration,
pub max_retained: usize,
pub gc_interval_secs: u64,
}Fields§
§max_completed_age: Duration§max_expired_age: Duration§max_retained: usize§gc_interval_secs: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for GcConfig
impl RefUnwindSafe for GcConfig
impl Send for GcConfig
impl Sync for GcConfig
impl Unpin for GcConfig
impl UnsafeUnpin for GcConfig
impl UnwindSafe for GcConfig
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