pub enum HouseState {
Offline,
Degraded(usize),
Online,
}Variants§
Implementations§
Source§impl HouseState
impl HouseState
pub fn is_degraded(&self) -> Option<usize>
Trait Implementations§
Source§impl Clone for HouseState
impl Clone for HouseState
Source§impl Debug for HouseState
impl Debug for HouseState
Source§impl Display for HouseState
impl Display for HouseState
Source§impl PartialEq for HouseState
impl PartialEq for HouseState
impl StructuralPartialEq for HouseState
Auto Trait Implementations§
impl Freeze for HouseState
impl RefUnwindSafe for HouseState
impl Send for HouseState
impl Sync for HouseState
impl Unpin for HouseState
impl UnsafeUnpin for HouseState
impl UnwindSafe for HouseState
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