pub struct EffectiveKnob<T: Clone> {
pub configured: Option<T>,
pub startup_measured: Option<T>,
pub ongoing_measured: Option<T>,
pub effective: T,
pub reason: EffectiveReason,
}Expand description
One inspectable knob with layered sources.
Fields§
§configured: Option<T>Operator-configured value, if any.
startup_measured: Option<T>Startup measurement, if any.
ongoing_measured: Option<T>Ongoing measurement, if any.
effective: TValue currently in force.
reason: EffectiveReasonWhy effective was chosen.
Trait Implementations§
impl<T: PartialEq + Clone> StructuralPartialEq for EffectiveKnob<T>
Auto Trait Implementations§
impl<T> Freeze for EffectiveKnob<T>
impl<T> RefUnwindSafe for EffectiveKnob<T>
impl<T> Send for EffectiveKnob<T>
impl<T> Sync for EffectiveKnob<T>
impl<T> Unpin for EffectiveKnob<T>
impl<T> UnsafeUnpin for EffectiveKnob<T>
impl<T> UnwindSafe for EffectiveKnob<T>
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