pub enum ResumableJobError {
Show 15 variants
InvalidJobId,
InvalidIdempotencyKey,
PayloadTooLarge,
AlreadyExists,
NotFound,
StaleSequence {
expected: u64,
actual: u64,
},
Invalidated,
Completed,
NotTerminal,
SourceProof(ReadSetRevisionError),
CapacityExceeded,
CorruptProgressStore,
IncompatibleProgressFormat,
Internal,
ExecutionBudgetExceeded {
resource: u64,
limit: u64,
observed: u64,
scope: u64,
lane: u64,
normalized_shape_fingerprint_prefix: u64,
},
}Expand description
Typed protocol or persistence failure for generic resumable jobs.
Variants§
InvalidJobId
Job identity was all zeroes.
InvalidIdempotencyKey
Idempotency key was empty or exceeded its byte bound.
PayloadTooLarge
State, continuation, or receipt exceeded its bound.
AlreadyExists
A job with the same application identity already exists.
NotFound
The requested job does not exist.
StaleSequence
The request did not name the job’s current sequence.
Invalidated
A non-replay request targeted an invalidated job.
Completed
A non-replay request targeted a completed job.
NotTerminal
Acknowledgement targeted an active job with remaining traversal work.
SourceProof(ReadSetRevisionError)
Protected source authority was invalid or unsupported.
CapacityExceeded
The shared excluded progress store reached a hard capacity.
CorruptProgressStore
Retained progress bytes or state closure were corrupt.
IncompatibleProgressFormat
Retained progress bytes use an unsupported current format.
Internal
An internal database invariant prevented the operation.
ExecutionBudgetExceeded
The enclosing request exhausted aggregate IcyDB work allowance.
Trait Implementations§
Source§impl CandidType for ResumableJobError
impl CandidType for ResumableJobError
Source§impl Clone for ResumableJobError
impl Clone for ResumableJobError
Source§fn clone(&self) -> ResumableJobError
fn clone(&self) -> ResumableJobError
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 ResumableJobError
impl Debug for ResumableJobError
Source§impl<'de> Deserialize<'de> for ResumableJobError
impl<'de> Deserialize<'de> for ResumableJobError
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>,
Source§impl Display for ResumableJobError
impl Display for ResumableJobError
impl Eq for ResumableJobError
Source§impl Error for ResumableJobError
impl Error for ResumableJobError
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()