pub enum GoalStatus {
Accepted,
Executing,
Canceling,
Succeeded,
Failed,
Canceled,
Rejected,
}Expand description
Current execution status of a goal (polled by the client, updated by the server).
Variants§
Accepted
Accepted by the server; not yet executing.
Executing
Currently executing.
Canceling
Cancel requested; server is processing the cancellation.
Succeeded
Execution completed successfully.
Failed
Execution failed.
Canceled
Execution was canceled.
Rejected
Goal was rejected by the server before execution began.
Implementations§
Source§impl GoalStatus
impl GoalStatus
Sourcepub fn is_terminal(self) -> bool
pub fn is_terminal(self) -> bool
Returns true if this status is a terminal state (no further transitions possible).
Trait Implementations§
Source§impl Clone for GoalStatus
impl Clone for GoalStatus
Source§fn clone(&self) -> GoalStatus
fn clone(&self) -> GoalStatus
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 GoalStatus
impl Debug for GoalStatus
Source§impl PartialEq for GoalStatus
impl PartialEq for GoalStatus
impl Copy for GoalStatus
impl Eq for GoalStatus
impl StructuralPartialEq for GoalStatus
Auto Trait Implementations§
impl Freeze for GoalStatus
impl RefUnwindSafe for GoalStatus
impl Send for GoalStatus
impl Sync for GoalStatus
impl Unpin for GoalStatus
impl UnsafeUnpin for GoalStatus
impl UnwindSafe for GoalStatus
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