pub struct EffectiveCalcPolicy {
pub trigger: CalcTrigger,
pub error_mode: ErrorMode,
pub cycle_mode: CycleMode,
pub budget: CalcLimits,
pub priority: i16,
pub debounce_ms: u32,
}Expand description
Fully inherited calculation policy for one cell.
Fields§
§trigger: CalcTriggerEffective trigger mode.
error_mode: ErrorModeEffective multi-root error behavior.
cycle_mode: CycleModeEffective cycle behavior.
budget: CalcLimitsEffective request budget before hard host clamping.
priority: i16Effective scheduler priority. Larger values run first.
debounce_ms: u32Effective automatic-work debounce in milliseconds.
Implementations§
Source§impl EffectiveCalcPolicy
impl EffectiveCalcPolicy
Sourcepub fn digest(self) -> PolicyDigest
pub fn digest(self) -> PolicyDigest
Returns a deterministic digest of every effective field.
Trait Implementations§
Source§impl Clone for EffectiveCalcPolicy
impl Clone for EffectiveCalcPolicy
Source§fn clone(&self) -> EffectiveCalcPolicy
fn clone(&self) -> EffectiveCalcPolicy
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 moreimpl Copy for EffectiveCalcPolicy
Source§impl Debug for EffectiveCalcPolicy
impl Debug for EffectiveCalcPolicy
Source§impl Default for EffectiveCalcPolicy
impl Default for EffectiveCalcPolicy
impl Eq for EffectiveCalcPolicy
Source§impl PartialEq for EffectiveCalcPolicy
impl PartialEq for EffectiveCalcPolicy
impl StructuralPartialEq for EffectiveCalcPolicy
Auto Trait Implementations§
impl Freeze for EffectiveCalcPolicy
impl RefUnwindSafe for EffectiveCalcPolicy
impl Send for EffectiveCalcPolicy
impl Sync for EffectiveCalcPolicy
impl Unpin for EffectiveCalcPolicy
impl UnsafeUnpin for EffectiveCalcPolicy
impl UnwindSafe for EffectiveCalcPolicy
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