#[non_exhaustive]pub enum RobotOutputState {
Unknown,
Stopped,
}Expand description
What the controller can establish about the final output state.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown
No successful final stop has been established, or stopping failed. Also used while running, including immediately after command acceptance.
Stopped
The final driver stop_all returned success. This is not sensor feedback
or a claim of mechanical standstill, and excludes external driver writes.
Trait Implementations§
Source§impl Clone for RobotOutputState
impl Clone for RobotOutputState
impl Copy for RobotOutputState
Source§impl Debug for RobotOutputState
impl Debug for RobotOutputState
impl Eq for RobotOutputState
Source§impl PartialEq for RobotOutputState
impl PartialEq for RobotOutputState
impl StructuralPartialEq for RobotOutputState
Auto Trait Implementations§
impl Forget for RobotOutputState
impl Freeze for RobotOutputState
impl Move for RobotOutputState
impl RefUnwindSafe for RobotOutputState
impl Send for RobotOutputState
impl Sync for RobotOutputState
impl Unpin for RobotOutputState
impl UnsafeUnpin for RobotOutputState
impl UnwindSafe for RobotOutputState
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