pub enum ImageJobStatus {
Queued,
Running,
Succeeded,
Failed,
Cancelled,
Interrupted,
}Expand description
Durable lifecycle state for one asynchronous image operation.
Variants§
Queued
Accepted and waiting for bounded worker capacity.
Running
Claimed by a worker; provider completion may be ambiguous after a crash.
Succeeded
Completed with a verified response.
Failed
Completed with a structured bridge error.
Cancelled
Cancelled before or during execution.
Interrupted
Process stopped while a paid provider call may have been in flight.
Implementations§
Trait Implementations§
Source§impl Clone for ImageJobStatus
impl Clone for ImageJobStatus
Source§fn clone(&self) -> ImageJobStatus
fn clone(&self) -> ImageJobStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ImageJobStatus
Source§impl Debug for ImageJobStatus
impl Debug for ImageJobStatus
Source§impl<'de> Deserialize<'de> for ImageJobStatus
impl<'de> Deserialize<'de> for ImageJobStatus
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
impl Eq for ImageJobStatus
Source§impl JsonSchema for ImageJobStatus
impl JsonSchema for ImageJobStatus
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 ImageJobStatus
impl PartialEq for ImageJobStatus
Source§impl Serialize for ImageJobStatus
impl Serialize for ImageJobStatus
impl StructuralPartialEq for ImageJobStatus
Auto Trait Implementations§
impl Freeze for ImageJobStatus
impl RefUnwindSafe for ImageJobStatus
impl Send for ImageJobStatus
impl Sync for ImageJobStatus
impl Unpin for ImageJobStatus
impl UnsafeUnpin for ImageJobStatus
impl UnwindSafe for ImageJobStatus
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