pub enum AlgorithmState {
Ready,
Running,
Complete,
Error(String),
}
Expand description
Algorithm execution state
Variants§
Ready
Algorithm is ready to start
Running
Algorithm is actively executing
Complete
Algorithm has completed successfully
Error(String)
Algorithm encountered an error
Trait Implementations§
Source§impl Clone for AlgorithmState
impl Clone for AlgorithmState
Source§fn clone(&self) -> AlgorithmState
fn clone(&self) -> AlgorithmState
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 AlgorithmState
impl Debug for AlgorithmState
Source§impl Default for AlgorithmState
impl Default for AlgorithmState
Source§fn default() -> AlgorithmState
fn default() -> AlgorithmState
Returns the “default value” for a type. Read more
Source§impl PartialEq for AlgorithmState
impl PartialEq for AlgorithmState
impl StructuralPartialEq for AlgorithmState
Auto Trait Implementations§
impl Freeze for AlgorithmState
impl RefUnwindSafe for AlgorithmState
impl Send for AlgorithmState
impl Sync for AlgorithmState
impl Unpin for AlgorithmState
impl UnwindSafe for AlgorithmState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more