pub struct TuiRenderState {
pub cpu: Option<DeviceRenderState>,
pub gpus: Vec<DeviceRenderState>,
pub memory: MemoryRenderState,
pub data_flow: DataFlowRenderState,
pub kernels: Vec<KernelRenderState>,
pub pressure: PressureLevel,
pub stress_active: bool,
pub paused: bool,
pub focused_section: usize,
pub error: Option<String>,
}Expand description
Complete TUI render state
Fields§
§cpu: Option<DeviceRenderState>CPU device metrics
gpus: Vec<DeviceRenderState>GPU device metrics
memory: MemoryRenderStateMemory metrics
data_flow: DataFlowRenderStateData flow metrics
kernels: Vec<KernelRenderState>Active kernels
pressure: PressureLevelCurrent pressure level
stress_active: boolStress test active
paused: boolPaused
focused_section: usizeCurrent focus
error: Option<String>Error message (if any)
Trait Implementations§
Source§impl Clone for TuiRenderState
impl Clone for TuiRenderState
Source§fn clone(&self) -> TuiRenderState
fn clone(&self) -> TuiRenderState
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 TuiRenderState
impl Debug for TuiRenderState
Auto Trait Implementations§
impl Freeze for TuiRenderState
impl RefUnwindSafe for TuiRenderState
impl Send for TuiRenderState
impl Sync for TuiRenderState
impl Unpin for TuiRenderState
impl UnsafeUnpin for TuiRenderState
impl UnwindSafe for TuiRenderState
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