pub enum TickStatus {
Failure,
Success,
Running,
}Expand description
Result of a single node tick.
Variants§
Failure
The node finished unsuccessfully.
Success
The node finished successfully.
Running
The node is still in progress.
Implementations§
Source§impl TickStatus
impl TickStatus
Sourcepub fn is_terminal(&self) -> bool
pub fn is_terminal(&self) -> bool
Returns true if the status is terminal.
Trait Implementations§
Source§impl Clone for TickStatus
impl Clone for TickStatus
Source§fn clone(&self) -> TickStatus
fn clone(&self) -> TickStatus
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 TickStatus
impl Debug for TickStatus
Source§impl From<TickStatus> for TaskStatus
impl From<TickStatus> for TaskStatus
Source§fn from(value: TickStatus) -> Self
fn from(value: TickStatus) -> Self
Converts to this type from the input type.
Source§impl Ord for TickStatus
impl Ord for TickStatus
Source§fn cmp(&self, other: &TickStatus) -> Ordering
fn cmp(&self, other: &TickStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TickStatus
impl PartialEq for TickStatus
Source§impl PartialOrd for TickStatus
impl PartialOrd for TickStatus
Source§impl TryFrom<TaskStatus> for TickStatus
impl TryFrom<TaskStatus> for TickStatus
impl Copy for TickStatus
impl Eq for TickStatus
impl StructuralPartialEq for TickStatus
Auto Trait Implementations§
impl Freeze for TickStatus
impl RefUnwindSafe for TickStatus
impl Send for TickStatus
impl Sync for TickStatus
impl Unpin for TickStatus
impl UnsafeUnpin for TickStatus
impl UnwindSafe for TickStatus
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