pub struct PendingCancelRequest {
pub goal_id: GoalId,
pub sequence_number: i64,
pub current_status: GoalStatus,
}Expand description
Phase 122.3.c.6.d — information about a peeked cancel-goal
request. Returned by
ActionServerCore::try_recv_cancel_request.
Fields§
§goal_id: GoalIdThe goal_id named in the cancel request.
sequence_number: i64Service sequence number — pass back to
ActionServerCore::send_cancel_reply.
current_status: GoalStatusSnapshot of the goal’s current status at peek time
(GoalStatus::Unknown if no matching active goal).
Auto Trait Implementations§
impl Freeze for PendingCancelRequest
impl RefUnwindSafe for PendingCancelRequest
impl Send for PendingCancelRequest
impl Sync for PendingCancelRequest
impl Unpin for PendingCancelRequest
impl UnsafeUnpin for PendingCancelRequest
impl UnwindSafe for PendingCancelRequest
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