pub struct CpuTempApp {
pub title: String,
pub cpu_name: String,
pub data: Result<TemperatureData>,
pub errors: Vec<String>,
pub running: bool,
}Fields§
§title: String§cpu_name: String§data: Result<TemperatureData>§errors: Vec<String>§running: boolImplementations§
Source§impl CpuTempApp
impl CpuTempApp
pub fn run_ui(&mut self) -> Result<()>
pub fn run_with_data_receiver( &mut self, rx: Receiver<TemperatureMessage>, ) -> Result<()>
Trait Implementations§
Source§impl Debug for CpuTempApp
impl Debug for CpuTempApp
Auto Trait Implementations§
impl Freeze for CpuTempApp
impl RefUnwindSafe for CpuTempApp
impl Send for CpuTempApp
impl Sync for CpuTempApp
impl Unpin for CpuTempApp
impl UnsafeUnpin for CpuTempApp
impl UnwindSafe for CpuTempApp
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> 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 more