#[repr(u8)]pub enum OperationalState {
Stopped = 0,
Running = 1,
Paused = 2,
Error = 3,
Seekingcharger = 64,
Charging = 65,
Docked = 66,
Emptyingdustbin = 67,
Cleaningmop = 68,
Fillingwatertank = 69,
Updatingmaps = 70,
}Variants§
Stopped = 0
The device is stopped
Running = 1
The device is operating
Paused = 2
The device is paused during an operation
Error = 3
The device is in an error state
Seekingcharger = 64
The device is en route to the charging dock
Charging = 65
The device is charging
Docked = 66
The device is on the dock, not charging
Emptyingdustbin = 67
The device is automatically emptying its own dust bin, such as to a dock
Cleaningmop = 68
The device is automatically cleaning its own mopping device, such as on a dock
Fillingwatertank = 69
The device is automatically filling its own clean water tank for use when mopping, such as from a dock
Updatingmaps = 70
The device is processing acquired data to update its maps
Implementations§
Trait Implementations§
Source§impl Clone for OperationalState
impl Clone for OperationalState
Source§fn clone(&self) -> OperationalState
fn clone(&self) -> OperationalState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OperationalState
impl Debug for OperationalState
Source§impl<'de> Deserialize<'de> for OperationalState
impl<'de> Deserialize<'de> for OperationalState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<OperationalState> for u8
impl From<OperationalState> for u8
Source§fn from(val: OperationalState) -> Self
fn from(val: OperationalState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OperationalState
impl PartialEq for OperationalState
Source§impl Serialize for OperationalState
impl Serialize for OperationalState
impl Copy for OperationalState
impl Eq for OperationalState
impl StructuralPartialEq for OperationalState
Auto Trait Implementations§
impl Freeze for OperationalState
impl RefUnwindSafe for OperationalState
impl Send for OperationalState
impl Sync for OperationalState
impl Unpin for OperationalState
impl UnwindSafe for OperationalState
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