pub enum DecayJobConversionError {
UnknownKindWire(String),
UnknownSummaryMethodWire(String),
UnknownStateWire(String),
SummaryMethodKindMismatch {
kind_wire: String,
summary_method_wire: String,
},
InvalidSourceIdsJson(String),
InvalidId(CoreError),
MissingFailedReason,
}Expand description
Error raised when a DecayJobRecord cannot be reassembled into a
typed DecayJob. Surfaces on the persistence boundary when the
store contains a row whose wire shape no longer matches the typed
substrate (e.g. mid-deploy schema drift).
Variants§
UnknownKindWire(String)
The kind wire token is not part of the closed alphabet.
UnknownSummaryMethodWire(String)
The summary_method wire token is not part of the closed alphabet.
UnknownStateWire(String)
The state wire token is not part of the closed alphabet.
SummaryMethodKindMismatch
expired_principle_review rows must carry summary_method='none'.
Fields
InvalidSourceIdsJson(String)
source_ids_json payload was shape-invalid for this kind.
InvalidId(CoreError)
A persisted id could not be parsed.
MissingFailedReason
failed state rows must carry a non-empty state_reason.
Trait Implementations§
Source§impl Debug for DecayJobConversionError
impl Debug for DecayJobConversionError
Source§impl Display for DecayJobConversionError
impl Display for DecayJobConversionError
Source§impl Error for DecayJobConversionError
impl Error for DecayJobConversionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for DecayJobConversionError
impl RefUnwindSafe for DecayJobConversionError
impl Send for DecayJobConversionError
impl Sync for DecayJobConversionError
impl Unpin for DecayJobConversionError
impl UnsafeUnpin for DecayJobConversionError
impl UnwindSafe for DecayJobConversionError
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