Enum teaclave_types::TaskStatus
source · [−]pub enum TaskStatus {
Created,
DataAssigned,
Approved,
Staged,
Running,
Finished,
Canceled,
Failed,
}
Variants
Created
DataAssigned
Approved
Staged
Running
Finished
Canceled
Failed
Trait Implementations
sourceimpl Clone for TaskStatus
impl Clone for TaskStatus
sourcefn clone(&self) -> TaskStatus
fn clone(&self) -> TaskStatus
Returns a copy of the value. Read more
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TaskStatus
impl Debug for TaskStatus
sourceimpl Default for TaskStatus
impl Default for TaskStatus
sourceimpl<'de> Deserialize<'de> for TaskStatus
impl<'de> Deserialize<'de> for TaskStatus
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<Approve> for TaskStatus
impl From<Approve> for TaskStatus
sourcefn from(_tag: Approve) -> TaskStatus
fn from(_tag: Approve) -> TaskStatus
Converts to this type from the input type.
sourceimpl From<Assign> for TaskStatus
impl From<Assign> for TaskStatus
sourcefn from(_tag: Assign) -> TaskStatus
fn from(_tag: Assign) -> TaskStatus
Converts to this type from the input type.
sourceimpl From<Create> for TaskStatus
impl From<Create> for TaskStatus
sourcefn from(_tag: Create) -> TaskStatus
fn from(_tag: Create) -> TaskStatus
Converts to this type from the input type.
sourceimpl From<Done> for TaskStatus
impl From<Done> for TaskStatus
sourcefn from(_tag: Done) -> TaskStatus
fn from(_tag: Done) -> TaskStatus
Converts to this type from the input type.
sourceimpl From<Finish> for TaskStatus
impl From<Finish> for TaskStatus
sourcefn from(_tag: Finish) -> TaskStatus
fn from(_tag: Finish) -> TaskStatus
Converts to this type from the input type.
sourceimpl From<Run> for TaskStatus
impl From<Run> for TaskStatus
sourcefn from(_tag: Run) -> TaskStatus
fn from(_tag: Run) -> TaskStatus
Converts to this type from the input type.
sourceimpl From<Stage> for TaskStatus
impl From<Stage> for TaskStatus
sourcefn from(_tag: Stage) -> TaskStatus
fn from(_tag: Stage) -> TaskStatus
Converts to this type from the input type.
sourceimpl PartialEq<TaskStatus> for TaskStatus
impl PartialEq<TaskStatus> for TaskStatus
sourcefn eq(&self, other: &TaskStatus) -> bool
fn eq(&self, other: &TaskStatus) -> bool
sourceimpl Serialize for TaskStatus
impl Serialize for TaskStatus
impl StructuralPartialEq for TaskStatus
Auto Trait Implementations
impl RefUnwindSafe for TaskStatus
impl Send for TaskStatus
impl Sync for TaskStatus
impl Unpin for TaskStatus
impl UnwindSafe for TaskStatus
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more