#[non_exhaustive]pub enum ReportingError {
Show 17 variants
Configuration(ConfigurationError),
TerminalAlreadyOwned,
TaskCountTooLarge {
task_count: u64,
},
DuplicateIdentityParameter {
key: String,
},
UnknownIdentityParameter {
key: String,
},
NonUniqueTaskIdentity {
identity: String,
first_ordinal: u64,
second_ordinal: u64,
},
UnknownTaskOrdinal {
task_ordinal: u64,
},
TaskIdentityMismatch {
task_ordinal: u64,
},
TaskAlreadyStarted {
identity: String,
},
InitialIterationBeyondTarget {
identity: String,
initial: u64,
target: u64,
},
IterationRegressed {
identity: String,
current: u64,
attempted: u64,
},
IterationBeyondTarget {
identity: String,
iteration: u64,
target: u64,
},
TargetIterationNotReached {
identity: String,
current: u64,
target: u64,
},
StartRenderer {
source: Error,
},
RendererUnavailable,
RendererPanicked,
IncompleteProgress {
pending: u64,
running: u64,
failed: u64,
},
}Expand description
Failure while configuring, updating, or finalizing progress reporting.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Configuration(ConfigurationError)
Project configuration could not supply a required task or identity value.
TerminalAlreadyOwned
Another live reporter already owns process terminal rendering.
TaskCountTooLarge
The validated task count cannot be represented by this platform.
DuplicateIdentityParameter
One identity key was supplied more than once.
UnknownIdentityParameter
One requested identity key is absent from project parameters.
NonUniqueTaskIdentity
Two generated tasks have the same selected parameter identity.
Fields
UnknownTaskOrdinal
A task handle does not belong to the reporter’s configured task space.
TaskIdentityMismatch
A task handle’s selected identity differs from the registered project.
TaskAlreadyStarted
The same task was started more than once.
InitialIterationBeyondTarget
Initial progress lies beyond a known target.
Fields
IterationRegressed
A progress update attempted to move scientific iteration backward.
Fields
IterationBeyondTarget
A progress update exceeded a known target.
Fields
TargetIterationNotReached
Completion was requested before a known target was reached.
Fields
StartRenderer
The sole renderer thread could not be created.
The renderer stopped before accepting a requested message.
RendererPanicked
The renderer thread panicked while the reporter was active.
IncompleteProgress
Successful finalization was requested before every task completed.
Trait Implementations§
Source§impl Debug for ReportingError
impl Debug for ReportingError
Source§impl Display for ReportingError
impl Display for ReportingError
Source§impl Error for ReportingError
impl Error for ReportingError
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()