#[non_exhaustive]pub enum RunReportError {
Show 13 variants
Blank {
field: &'static str,
},
TextTooLong {
field: &'static str,
limit: usize,
},
TooMany {
field: &'static str,
actual: usize,
limit: usize,
},
InvalidTimeRange,
InvalidAccounting {
reason: &'static str,
},
InvalidStepOrder,
DuplicateStepIdentity,
RunAuthorityMismatch,
InvalidFingerprint,
InvalidOutcome {
status: OutcomeStatus,
reason: &'static str,
},
UnsupportedSchema(String),
IncompatibleStatusStop {
status: RunStatus,
code: RunStopCode,
},
InconsistentSteps {
status: RunStatus,
code: RunStopCode,
reason: &'static str,
},
}Expand description
Validation errors for typed run reports.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Blank
A required field was blank.
TextTooLong
A bounded string exceeded its limit.
TooMany
A collection exceeded its retention ceiling.
InvalidTimeRange
Completion predates the recorded start.
InvalidAccounting
A resource accounting record mixed metered and unmetered semantics.
InvalidStepOrder
A step ordinal was duplicated or out of order.
DuplicateStepIdentity
Two executable steps declared the same host-visible identity.
RunAuthorityMismatch
A mutable host view no longer matched the immutable authority captured for this run before execution.
InvalidFingerprint
An outcome fingerprint was malformed or duplicated.
InvalidOutcome
An outcome projection contradicted the existing outcome contract.
Fields
status: OutcomeStatusExisting verifier disposition being projected.
UnsupportedSchema(String)
The run schema was not the supported version.
IncompatibleStatusStop
The overall status contradicted the typed stop classification.
Fields
code: RunStopCodeStop classification supplied with that state.
InconsistentSteps
Step-level states contradicted the aggregate run state.
Trait Implementations§
Source§impl Clone for RunReportError
impl Clone for RunReportError
Source§fn clone(&self) -> RunReportError
fn clone(&self) -> RunReportError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RunReportError
impl Debug for RunReportError
Source§impl Display for RunReportError
impl Display for RunReportError
impl Eq for RunReportError
Source§impl Error for RunReportError
impl Error for RunReportError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<RunReportError> for ScannerError
impl From<RunReportError> for ScannerError
Source§fn from(error: RunReportError) -> Self
fn from(error: RunReportError) -> Self
Source§impl PartialEq for RunReportError
impl PartialEq for RunReportError
impl StructuralPartialEq for RunReportError
Auto Trait Implementations§
impl Freeze for RunReportError
impl RefUnwindSafe for RunReportError
impl Send for RunReportError
impl Sync for RunReportError
impl Unpin for RunReportError
impl UnsafeUnpin for RunReportError
impl UnwindSafe for RunReportError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
§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
key and return true if they are equal.