#[non_exhaustive]pub enum OperationEventType {
Requested,
Planned,
Authorized,
Started,
Progressed,
Succeeded,
Failed,
Cancelled,
Verified,
}Expand description
Canonical operation lifecycle event type.
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.
Requested
Intent was accepted before target resolution.
Planned
A concrete plan was produced.
Authorized
Product policy authorized the exact operation and target.
Started
External execution began and may now affect target state.
Progressed
Bounded execution progress was observed.
Succeeded
Execution completed successfully, independent of verification.
Failed
Execution failed.
Cancelled
Execution was cancelled.
Verified
Runtime state was independently verified or found inconclusive.
Trait Implementations§
Source§impl Clone for OperationEventType
impl Clone for OperationEventType
Source§fn clone(&self) -> OperationEventType
fn clone(&self) -> OperationEventType
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 moreSource§impl Debug for OperationEventType
impl Debug for OperationEventType
Source§impl<'de> Deserialize<'de> for OperationEventType
impl<'de> Deserialize<'de> for OperationEventType
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 OperationEventType
impl Hash for OperationEventType
Source§impl JsonSchema for OperationEventType
impl JsonSchema for OperationEventType
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 Ord for OperationEventType
impl Ord for OperationEventType
Source§fn cmp(&self, other: &OperationEventType) -> Ordering
fn cmp(&self, other: &OperationEventType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OperationEventType
impl PartialEq for OperationEventType
Source§fn eq(&self, other: &OperationEventType) -> bool
fn eq(&self, other: &OperationEventType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OperationEventType
impl PartialOrd for OperationEventType
Source§impl Serialize for OperationEventType
impl Serialize for OperationEventType
impl Copy for OperationEventType
impl Eq for OperationEventType
impl StructuralPartialEq for OperationEventType
Auto Trait Implementations§
impl Freeze for OperationEventType
impl RefUnwindSafe for OperationEventType
impl Send for OperationEventType
impl Sync for OperationEventType
impl Unpin for OperationEventType
impl UnsafeUnpin for OperationEventType
impl UnwindSafe for OperationEventType
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.