#[non_exhaustive]pub enum TaskStatus {
Running,
Idle,
Waiting,
Done,
Stopped,
Failed,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Running
Idle
Alive with nothing to do: a persistent team member between messages.
Waiting
Running, and waiting on the host to answer a question.
Done
Stopped
Failed
Implementations§
Trait Implementations§
Source§impl Clone for TaskStatus
impl Clone for TaskStatus
impl Copy for TaskStatus
Source§impl Debug for TaskStatus
impl Debug for TaskStatus
impl Eq for TaskStatus
Source§impl JsonSchema for TaskStatus
impl JsonSchema for TaskStatus
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for TaskStatus
impl PartialEq for TaskStatus
Source§impl Serialize for TaskStatus
impl Serialize for TaskStatus
impl StructuralPartialEq for TaskStatus
Auto Trait Implementations§
impl Forget for TaskStatus
impl Freeze for TaskStatus
impl Move for TaskStatus
impl RefUnwindSafe for TaskStatus
impl Send for TaskStatus
impl Sync for TaskStatus
impl Unpin for TaskStatus
impl UnsafeUnpin for TaskStatus
impl UnwindSafe for TaskStatus
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