Trait SystemInfo

Source
pub trait SystemInfo {
    // Required methods
    fn new() -> Box<Self>
       where Self: Sized;
    fn update(&mut self) -> String;
}
Expand description

A chat system info updater

Required Methods§

Source

fn new() -> Box<Self>
where Self: Sized,

creates a new instance

Source

fn update(&mut self) -> String

updates a system info:

Implementors§