pub enum Status {
Success,
Failure,
Running,
}Expand description
A run’s lifecycle status: still running, or a terminal outcome.
The one status vocabulary a behavior speaks on the value plane — the value
an interpreter writes to a run’s status key, and the value the ROS 2 action
plane maps to GoalStatus.
Variants§
Success
The behavior finished cleanly.
Failure
The behavior finished in failure (also what a halted run reports — a halted run did not reach its goal).
Running
The behavior is still running; tick it again.
Trait Implementations§
Source§impl AroraType for Status
impl AroraType for Status
Source§fn arora_type_id() -> Uuid
fn arora_type_id() -> Uuid
The id this type is known by: the id its
arora_type carries, and the
id a field of this type is referenced by.Source§fn arora_type() -> Type
fn arora_type() -> Type
This type’s own definition. Nested user-defined types are named by id in
the field type references; their definitions are obtained from the
registry filled by
register_types.Source§fn register_types(registry: &mut TypeRegistry)
fn register_types(registry: &mut TypeRegistry)
Insert this type and every type it transitively depends on into
registry. Idempotent, and safe for types reachable from themselves.impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.