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§
Source§impl<T: Clone + Clone> Clone for EffectiveKnob<T>
impl<T: Clone + Clone> Clone for EffectiveKnob<T>
Source§fn clone(&self) -> EffectiveKnob<T>
fn clone(&self) -> EffectiveKnob<T>
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<T: PartialEq + Clone> StructuralPartialEq for EffectiveKnob<T>
Auto Trait Implementations§
impl<T> Freeze for EffectiveKnob<T>where
T: Freeze,
impl<T> RefUnwindSafe for EffectiveKnob<T>where
T: RefUnwindSafe,
impl<T> Send for EffectiveKnob<T>where
T: Send,
impl<T> Sync for EffectiveKnob<T>where
T: Sync,
impl<T> Unpin for EffectiveKnob<T>where
T: Unpin,
impl<T> UnsafeUnpin for EffectiveKnob<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for EffectiveKnob<T>where
T: UnwindSafe,
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