pub struct DeviceState {
pub init_completed: bool,
pub response_ok_count: usize,
pub response_err_count: usize,
}Expand description
Состояние устройства
Fields§
§init_completed: boolИнициализация завершена
response_ok_count: usizeКоличество успешных ответов
response_err_count: usizeКоличество ошибочных ответов
Auto Trait Implementations§
impl Freeze for DeviceState
impl RefUnwindSafe for DeviceState
impl Send for DeviceState
impl Sync for DeviceState
impl Unpin for DeviceState
impl UnsafeUnpin for DeviceState
impl UnwindSafe for DeviceState
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