pub enum Degradation {
DiskSlow {
durable_lag: Duration,
commit_floor: Duration,
},
DiskLow {
free_bytes: u64,
floor_bytes: u64,
},
MemoryTight {
queued_runs: u32,
},
CpuSaturated {
schedule_delay: Duration,
},
}Expand description
A resource that is the bottleneck, carrying the readings that decided it.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for Degradation
impl Clone for Degradation
impl Copy for Degradation
Source§impl Debug for Degradation
impl Debug for Degradation
impl Eq for Degradation
Source§impl PartialEq for Degradation
impl PartialEq for Degradation
impl StructuralPartialEq for Degradation
Auto Trait Implementations§
impl Freeze for Degradation
impl RefUnwindSafe for Degradation
impl Send for Degradation
impl Sync for Degradation
impl Unpin for Degradation
impl UnsafeUnpin for Degradation
impl UnwindSafe for Degradation
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