Enum souk::shared::task::task_result::TaskResultKind
source · pub enum TaskResultKind {
Done,
DoneDryRun,
Error,
Cancelled,
None,
}
Variants§
Done
Task completed successfully.
DoneDryRun
Task completed successfully, with an DryRun as result
Error
Task failed. See [ResponseType.error] for more details.
Cancelled
Task got cancelled (most likely by user).
None
Trait Implementations§
source§impl Clone for TaskResultKind
impl Clone for TaskResultKind
source§fn clone(&self) -> TaskResultKind
fn clone(&self) -> TaskResultKind
Returns a copy 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 TaskResultKind
impl Debug for TaskResultKind
source§impl Default for TaskResultKind
impl Default for TaskResultKind
source§fn default() -> TaskResultKind
fn default() -> TaskResultKind
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TaskResultKind
impl<'de> Deserialize<'de> for TaskResultKind
source§fn 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
source§impl Hash for TaskResultKind
impl Hash for TaskResultKind
source§impl PartialEq<TaskResultKind> for TaskResultKind
impl PartialEq<TaskResultKind> for TaskResultKind
source§fn eq(&self, other: &TaskResultKind) -> bool
fn eq(&self, other: &TaskResultKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TaskResultKind
impl Serialize for TaskResultKind
source§impl Type for TaskResultKind
impl Type for TaskResultKind
impl Eq for TaskResultKind
impl StructuralEq for TaskResultKind
impl StructuralPartialEq for TaskResultKind
Auto Trait Implementations§
impl RefUnwindSafe for TaskResultKind
impl Send for TaskResultKind
impl Sync for TaskResultKind
impl Unpin for TaskResultKind
impl UnwindSafe for TaskResultKind
Blanket Implementations§
§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de> + ?Sized,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de> + ?Sized,
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
§impl<T> DynamicType for Twhere
T: Type + ?Sized,
impl<T> DynamicType for Twhere
T: Type + ?Sized,
§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.