pub struct CacheGcProperties {
pub max_elements: usize,
pub max_lifetime: Duration,
pub sleep: Duration,
}
Fields§
§max_elements: usize
§max_lifetime: Duration
§sleep: Duration
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GcProperties
impl RefUnwindSafe for GcProperties
impl Send for GcProperties
impl Sync for GcProperties
impl Unpin for GcProperties
impl UnwindSafe for GcProperties
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