pub enum LifecycleError {
Store(StoreError),
Validation(String),
ProofClosureRefusal(ProofState),
}Expand description
Errors raised by memory lifecycle domain logic.
Variants§
Store(StoreError)
Store boundary failed.
Validation(String)
Candidate lineage or state is invalid.
ProofClosureRefusal(ProofState)
ADR 0036 proof closure refusal: the supplied ProofClosureReport
was not ProofState::FullChainVerified and the lifecycle layer
will not promote a partial- or broken-proof candidate to Active.
The associated ProofState is the observed state.
Trait Implementations§
Source§impl Debug for LifecycleError
impl Debug for LifecycleError
Source§impl Display for LifecycleError
impl Display for LifecycleError
Source§impl Error for LifecycleError
impl Error for LifecycleError
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()
Source§impl From<StoreError> for LifecycleError
impl From<StoreError> for LifecycleError
Source§fn from(err: StoreError) -> Self
fn from(err: StoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LifecycleError
impl !RefUnwindSafe for LifecycleError
impl Send for LifecycleError
impl Sync for LifecycleError
impl Unpin for LifecycleError
impl UnsafeUnpin for LifecycleError
impl !UnwindSafe for LifecycleError
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