pub enum RetryableSource {
Daemon,
Classifier,
}Expand description
Where a retryable judgement came from (04 §6.3 audit requirement):
the daemon’s own declaration, or the Pointlock classifier’s fallback.
Recorded so a classifier’s conservative guess is never mistaken for a
substrate fact.
Variants§
Daemon
The daemon declared retryability (ErrorInfo.retryable).
Classifier
The Pointlock-side classifier assigned retryability as a fallback.
Trait Implementations§
Source§impl Clone for RetryableSource
impl Clone for RetryableSource
Source§fn clone(&self) -> RetryableSource
fn clone(&self) -> RetryableSource
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 RetryableSource
Source§impl Debug for RetryableSource
impl Debug for RetryableSource
Source§impl<'de> Deserialize<'de> for RetryableSource
impl<'de> Deserialize<'de> for RetryableSource
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 RetryableSource
Source§impl Hash for RetryableSource
impl Hash for RetryableSource
Source§impl JsonSchema for RetryableSource
impl JsonSchema for RetryableSource
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 RetryableSource
impl Ord for RetryableSource
Source§fn cmp(&self, other: &RetryableSource) -> Ordering
fn cmp(&self, other: &RetryableSource) -> 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 RetryableSource
impl PartialEq for RetryableSource
Source§impl PartialOrd for RetryableSource
impl PartialOrd for RetryableSource
Source§impl Serialize for RetryableSource
impl Serialize for RetryableSource
impl StructuralPartialEq for RetryableSource
Auto Trait Implementations§
impl Freeze for RetryableSource
impl RefUnwindSafe for RetryableSource
impl Send for RetryableSource
impl Sync for RetryableSource
impl Unpin for RetryableSource
impl UnsafeUnpin for RetryableSource
impl UnwindSafe for RetryableSource
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