pub struct SystemMonitor {
pub view: ViewType,
pub suggestion: bool,
pub verbose: bool,
pub left: Vec<String>,
pub right: Vec<String>,
/* private fields */
}Fields§
§view: ViewType§suggestion: bool§verbose: bool§left: Vec<String>§right: Vec<String>Implementations§
Source§impl SystemMonitor
impl SystemMonitor
pub fn new(view: ViewType, suggestion: bool) -> Self
pub fn new_with_verbose(view: ViewType, suggestion: bool, verbose: bool) -> Self
pub fn update(&mut self)
pub fn format_system_info(&mut self, report: &SystemReport)
pub fn run_blocking(&mut self)
Auto Trait Implementations§
impl Freeze for SystemMonitor
impl RefUnwindSafe for SystemMonitor
impl Send for SystemMonitor
impl Sync for SystemMonitor
impl Unpin for SystemMonitor
impl UnsafeUnpin for SystemMonitor
impl UnwindSafe for SystemMonitor
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