pub struct HostTelemetrySpec {
pub kind: HostTelemetryKind,
pub interval: u64,
pub msm_id: Option<u32>,
pub lowmem: Option<u32>,
}Expand description
Host-telemetry scheduling spec parsed from a CRONLINE.
Fields§
§kind: HostTelemetryKind§interval: u64Interval between runs (0 = one-shot).
msm_id: Option<u32>Controller-assigned measurement id (from -A).
buddyinfo’s official applet hardcodes 9001 so this is optional;
rptaddrs is invoked as -A 9104 ....
lowmem: Option<u32>buddyinfo’s lowmem threshold (KB) — recorded but not acted on.
Trait Implementations§
Source§impl Clone for HostTelemetrySpec
impl Clone for HostTelemetrySpec
Source§fn clone(&self) -> HostTelemetrySpec
fn clone(&self) -> HostTelemetrySpec
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 moreSource§impl Debug for HostTelemetrySpec
impl Debug for HostTelemetrySpec
Source§impl<'de> Deserialize<'de> for HostTelemetrySpec
impl<'de> Deserialize<'de> for HostTelemetrySpec
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
Auto Trait Implementations§
impl Freeze for HostTelemetrySpec
impl RefUnwindSafe for HostTelemetrySpec
impl Send for HostTelemetrySpec
impl Sync for HostTelemetrySpec
impl Unpin for HostTelemetrySpec
impl UnsafeUnpin for HostTelemetrySpec
impl UnwindSafe for HostTelemetrySpec
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