pub enum WorkGraphPublicErrorClass {
NotFound,
Conflict,
InvalidTransition,
InvalidArguments,
CapabilityUnavailable,
StoreError,
}Expand description
Machine-owned public error classification surfaced to REST/RPC callers.
Re-exported from the canonical WorkGraphLifecycleMachine DSL: the machine
is the sole authority for the variant->class POLICY (see
WorkGraphMachine::public_error_class). Surfaces mirror the emitted class.
Machine-owned public error classification surfaced to REST/RPC callers. The
machine is the sole authority for the many-to-one grouping of internal error
kinds into this public vocabulary (see the ClassifyWorkGraphPublicError
transitions). Shells mirror the emitted class; they do not decide it.
Variants§
Trait Implementations§
Source§impl Clone for WorkGraphPublicErrorClass
impl Clone for WorkGraphPublicErrorClass
Source§fn clone(&self) -> WorkGraphPublicErrorClass
fn clone(&self) -> WorkGraphPublicErrorClass
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 WorkGraphPublicErrorClass
Source§impl Debug for WorkGraphPublicErrorClass
impl Debug for WorkGraphPublicErrorClass
Source§impl Default for WorkGraphPublicErrorClass
impl Default for WorkGraphPublicErrorClass
Source§fn default() -> WorkGraphPublicErrorClass
fn default() -> WorkGraphPublicErrorClass
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkGraphPublicErrorClass
impl<'de> Deserialize<'de> for WorkGraphPublicErrorClass
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<WorkGraphPublicErrorClass, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<WorkGraphPublicErrorClass, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WorkGraphPublicErrorClass
Source§impl Hash for WorkGraphPublicErrorClass
impl Hash for WorkGraphPublicErrorClass
Source§impl Ord for WorkGraphPublicErrorClass
impl Ord for WorkGraphPublicErrorClass
Source§fn cmp(&self, other: &WorkGraphPublicErrorClass) -> Ordering
fn cmp(&self, other: &WorkGraphPublicErrorClass) -> 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 WorkGraphPublicErrorClass
impl PartialEq for WorkGraphPublicErrorClass
Source§fn eq(&self, other: &WorkGraphPublicErrorClass) -> bool
fn eq(&self, other: &WorkGraphPublicErrorClass) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WorkGraphPublicErrorClass
impl PartialOrd for WorkGraphPublicErrorClass
Source§impl Serialize for WorkGraphPublicErrorClass
impl Serialize for WorkGraphPublicErrorClass
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for WorkGraphPublicErrorClass
Auto Trait Implementations§
impl Freeze for WorkGraphPublicErrorClass
impl RefUnwindSafe for WorkGraphPublicErrorClass
impl Send for WorkGraphPublicErrorClass
impl Sync for WorkGraphPublicErrorClass
impl Unpin for WorkGraphPublicErrorClass
impl UnsafeUnpin for WorkGraphPublicErrorClass
impl UnwindSafe for WorkGraphPublicErrorClass
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.