pub enum Transition {
Configure,
Activate,
Deactivate,
Cleanup,
Shutdown,
}Expand description
ROS2-style lifecycle transitions (requests).
These are the user-invoked transitions. All “ON_*_SUCCESS/FAILURE/ERROR”
transitions are modeled via finish(intermediate, via, CallbackResult).
Variants§
Implementations§
Source§impl Transition
Internal, compact IDs used for error payloads.
impl Transition
Internal, compact IDs used for error payloads.
These are not the ROS lifecycle_msgs/msg/Transition IDs.
The wrapper layer performs ROS ID mapping.
Trait Implementations§
Source§impl Clone for Transition
impl Clone for Transition
Source§fn clone(&self) -> Transition
fn clone(&self) -> Transition
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 Transition
impl Debug for Transition
Source§impl PartialEq for Transition
impl PartialEq for Transition
impl Copy for Transition
impl Eq for Transition
impl StructuralPartialEq for Transition
Auto Trait Implementations§
impl Freeze for Transition
impl RefUnwindSafe for Transition
impl Send for Transition
impl Sync for Transition
impl Unpin for Transition
impl UnwindSafe for Transition
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