Struct below_view::ViewState [−][src]
pub struct ViewState { pub time_elapsed: Duration, pub lowest_time_elapsed: Duration, pub timestamp: SystemTime, pub system: Rc<RefCell<SystemModel>>, pub cgroup: Rc<RefCell<CgroupModel>>, pub process: Rc<RefCell<ProcessModel>>, pub network: Rc<RefCell<NetworkModel>>, pub main_view_state: MainViewState, pub mode: ViewMode, pub event_controllers: Rc<RefCell<HashMap<Event, Controllers>>>, pub cmd_controllers: Rc<RefCell<HashMap<&'static str, Controllers>>>, }
Fields
time_elapsed: Duration
lowest_time_elapsed: Duration
Keep track of the lowest seen time_elapsed
so that view can highlight abnormal
elapsed times. Below will never go faster than the requested interval rate but
can certainly go higher (b/c of a loaded system or other delays).
timestamp: SystemTime
system: Rc<RefCell<SystemModel>>
cgroup: Rc<RefCell<CgroupModel>>
process: Rc<RefCell<ProcessModel>>
network: Rc<RefCell<NetworkModel>>
main_view_state: MainViewState
mode: ViewMode
event_controllers: Rc<RefCell<HashMap<Event, Controllers>>>
cmd_controllers: Rc<RefCell<HashMap<&'static str, Controllers>>>
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ViewState
impl !UnwindSafe for ViewState