pub struct FerrixData {Show 30 fields
pub is_polkit: bool,
pub proc_data: LoadState<Processors>,
pub selected_proc: usize,
pub prev_proc_stat: LoadState<Stat>,
pub curr_proc_stat: LoadState<Stat>,
pub cpu_usage_chart: LineChart,
pub show_cpus_chart: HashSet<usize>,
pub show_chart_elements: usize,
pub show_charts_legend: bool,
pub cpu_freq: LoadState<CpuFreq>,
pub cpu_vulnerabilities: LoadState<Vulnerabilities>,
pub ram_data: LoadState<RAM>,
pub swap_data: LoadState<Swaps>,
pub show_mem_chart: HashSet<usize>,
pub show_ram_chart: bool,
pub ram_usage_chart: LineChart,
pub storages: LoadState<Mounts>,
pub networks: LoadState<Networks>,
pub dmi_data: LoadState<DMIData>,
pub bat_data: LoadState<BatInfo>,
pub drm_data: LoadState<Video>,
pub osrel_data: LoadState<OsRelease>,
pub kernel_data: LoadState<Kernel>,
pub kmods_data: LoadState<KModules>,
pub users_list: LoadState<Users>,
pub groups_list: LoadState<Groups>,
pub sysd_services_list: LoadState<SystemdServices>,
pub boot_time: LoadState<BootTimestamps>,
pub installed_pkgs_list: LoadState<InstalledPackages>,
pub system: LoadState<System>,
}Fields§
§is_polkit: bool§proc_data: LoadState<Processors>§selected_proc: usize§prev_proc_stat: LoadState<Stat>§curr_proc_stat: LoadState<Stat>§cpu_usage_chart: LineChart§show_cpus_chart: HashSet<usize>§show_chart_elements: usize§show_charts_legend: bool§cpu_freq: LoadState<CpuFreq>§cpu_vulnerabilities: LoadState<Vulnerabilities>§ram_data: LoadState<RAM>§swap_data: LoadState<Swaps>§show_mem_chart: HashSet<usize>§show_ram_chart: bool§ram_usage_chart: LineChart§storages: LoadState<Mounts>§networks: LoadState<Networks>§dmi_data: LoadState<DMIData>§bat_data: LoadState<BatInfo>§drm_data: LoadState<Video>§osrel_data: LoadState<OsRelease>§kernel_data: LoadState<Kernel>§kmods_data: LoadState<KModules>§users_list: LoadState<Users>§groups_list: LoadState<Groups>§sysd_services_list: LoadState<SystemdServices>§boot_time: LoadState<BootTimestamps>§installed_pkgs_list: LoadState<InstalledPackages>§system: LoadState<System>Implementations§
Source§impl FerrixData
impl FerrixData
pub fn new(settings: &FXSettings) -> Self
Trait Implementations§
Source§impl Debug for FerrixData
impl Debug for FerrixData
Auto Trait Implementations§
impl Freeze for FerrixData
impl RefUnwindSafe for FerrixData
impl Send for FerrixData
impl Sync for FerrixData
impl Unpin for FerrixData
impl UnsafeUnpin for FerrixData
impl UnwindSafe for FerrixData
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
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<State, Message> IntoBoot<State, Message> for State
impl<State, Message> IntoBoot<State, Message> for State
Source§fn into_boot(self) -> (State, Task<Message>)
fn into_boot(self) -> (State, Task<Message>)
Turns some type into the initial state of some
Application.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().