pub enum RuntimeWorkDisposition {
AdmitAll,
CoalesceVisibleDeferBackground,
DeferBackgroundDropBestEffort,
ReadmitAfterHysteresis,
FailFastStrictGuarantee,
}Expand description
Work disposition allowed by the current runtime mode.
Variants§
AdmitAll
Admit all work normally.
CoalesceVisibleDeferBackground
Preserve strict work; coalesce visible work and slow background work.
DeferBackgroundDropBestEffort
Preserve strict work; defer background work and drop best-effort work.
ReadmitAfterHysteresis
Re-admit deferred work after the hysteresis window closed.
FailFastStrictGuarantee
Stop optimistic degradation because a strict guarantee failed.
Implementations§
Trait Implementations§
Source§impl Clone for RuntimeWorkDisposition
impl Clone for RuntimeWorkDisposition
impl Copy for RuntimeWorkDisposition
Source§impl Debug for RuntimeWorkDisposition
impl Debug for RuntimeWorkDisposition
impl Eq for RuntimeWorkDisposition
Source§impl PartialEq for RuntimeWorkDisposition
impl PartialEq for RuntimeWorkDisposition
impl StructuralPartialEq for RuntimeWorkDisposition
Auto Trait Implementations§
impl Freeze for RuntimeWorkDisposition
impl RefUnwindSafe for RuntimeWorkDisposition
impl Send for RuntimeWorkDisposition
impl Sync for RuntimeWorkDisposition
impl Unpin for RuntimeWorkDisposition
impl UnsafeUnpin for RuntimeWorkDisposition
impl UnwindSafe for RuntimeWorkDisposition
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