pub enum OperationalState {
Off,
Booting,
Ready,
ExecutingTask,
Navigating,
Manipulating,
Charging,
Paused,
Error,
EmergencyStopped,
ShuttingDown,
Recovering,
}Expand description
Current operational state of the robot.
Variants§
Off
Powered off
Booting
Booting up
Ready
Ready and waiting
ExecutingTask
Executing a task
Navigating to destination
Manipulating
Performing manipulation
Charging
Charging
Paused
Paused
Error
In error state
EmergencyStopped
Emergency stopped
ShuttingDown
Shutting down
Recovering
In recovery mode
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 Default for OperationalState
impl Default for OperationalState
Source§fn default() -> OperationalState
fn default() -> OperationalState
Returns the “default value” for a type. Read more
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 Hash for OperationalState
impl Hash for OperationalState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.