Enum mlmd::metadata::ExecutionState
source · [−]pub enum ExecutionState {
Unknown,
New,
Running,
Complete,
Failed,
Cached,
Canceled,
}
Expand description
Execution state.
The state transitions are New -> Running -> Complete | Cached | Failed | Canceled
.
Variants
Unknown
Unknown state (default).
New
The execution is created but not started yet.
Running
The execution is running.
Complete
The execution complete.
Failed
The execution failed.
Cached
The execution is skipped due to cached results.
Canceled
The execution is skipped due to precondition not met.
It is different from Cached
in that a Canceled
execution will not have any event associated with it.
It is different from Failed
in that there is no
unexpected error happened and it is regarded as a normal state.
Trait Implementations
sourceimpl Clone for ExecutionState
impl Clone for ExecutionState
sourcefn clone(&self) -> ExecutionState
fn clone(&self) -> ExecutionState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ExecutionState
impl Debug for ExecutionState
sourceimpl Default for ExecutionState
impl Default for ExecutionState
sourceimpl Hash for ExecutionState
impl Hash for ExecutionState
sourceimpl PartialEq<ExecutionState> for ExecutionState
impl PartialEq<ExecutionState> for ExecutionState
impl Copy for ExecutionState
impl Eq for ExecutionState
impl StructuralEq for ExecutionState
impl StructuralPartialEq for ExecutionState
Auto Trait Implementations
impl RefUnwindSafe for ExecutionState
impl Send for ExecutionState
impl Sync for ExecutionState
impl Unpin for ExecutionState
impl UnwindSafe for ExecutionState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more