pub struct MaintenanceConfig {
pub sweep_interval: Duration,
pub max_sweep_per_shard: usize,
}Fields§
§sweep_interval: Duration§max_sweep_per_shard: usizeTrait Implementations§
Source§impl Clone for MaintenanceConfig
impl Clone for MaintenanceConfig
Source§fn clone(&self) -> MaintenanceConfig
fn clone(&self) -> MaintenanceConfig
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 MaintenanceConfig
impl Debug for MaintenanceConfig
Auto Trait Implementations§
impl Freeze for MaintenanceConfig
impl RefUnwindSafe for MaintenanceConfig
impl Send for MaintenanceConfig
impl Sync for MaintenanceConfig
impl Unpin for MaintenanceConfig
impl UnsafeUnpin for MaintenanceConfig
impl UnwindSafe for MaintenanceConfig
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