pub struct ThrottleActive {
pub sw_power_cap: Option<bool>,
pub sw_thermal: Option<bool>,
pub hw_thermal: Option<bool>,
pub hw_power_brake: Option<bool>,
}Expand description
2026-09-26: Throttle reasons asserted at the instant of capture.
The pre-run check (super::policy::precheck) reads these; the post-run
check reads the counters’ delta.
Fields§
§sw_power_cap: Option<bool>§sw_thermal: Option<bool>§hw_thermal: Option<bool>§hw_power_brake: Option<bool>Implementations§
Source§impl ThrottleActive
impl ThrottleActive
Sourcepub fn thermal(&self) -> Option<bool>
pub fn thermal(&self) -> Option<bool>
2026-09-26: True when SW thermal, HW thermal or the HW power brake is
asserted. None when none of the three was reported, so the caller can
tell “not throttling” from “no idea”.
SW power cap is excluded: a power-limited part accrues it in normal
running (16,130 s on the cool box’s counter in
fixtures/gb10_performance.txt), so it says nothing about a thermal fault.
Trait Implementations§
Source§impl Clone for ThrottleActive
impl Clone for ThrottleActive
Source§fn clone(&self) -> ThrottleActive
fn clone(&self) -> ThrottleActive
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ThrottleActive
impl Debug for ThrottleActive
Source§impl Default for ThrottleActive
impl Default for ThrottleActive
Source§fn default() -> ThrottleActive
fn default() -> ThrottleActive
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThrottleActive
impl<'de> Deserialize<'de> for ThrottleActive
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ThrottleActive
impl PartialEq for ThrottleActive
Source§impl Serialize for ThrottleActive
impl Serialize for ThrottleActive
impl StructuralPartialEq for ThrottleActive
Auto Trait Implementations§
impl Freeze for ThrottleActive
impl RefUnwindSafe for ThrottleActive
impl Send for ThrottleActive
impl Sync for ThrottleActive
impl Unpin for ThrottleActive
impl UnwindSafe for ThrottleActive
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.