pub enum OperationPlanPersistenceError {
DigestMismatch,
Lock(JournalLockError),
Persistence(PersistenceError),
}Expand description
Typed original operation-plan identity or bounded immutable local admission failure.
Variants§
DigestMismatch
Retained declaration differs from the exact original selected intent digest.
Lock(JournalLockError)
Cooperating layout/journal ownership failed.
Persistence(PersistenceError)
Bounded JSON, model admission or durable filesystem access failed.
Trait Implementations§
Source§impl Error for OperationPlanPersistenceError
impl Error for OperationPlanPersistenceError
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<JournalLockError> for OperationPlanPersistenceError
impl From<JournalLockError> for OperationPlanPersistenceError
Source§fn from(source: JournalLockError) -> Self
fn from(source: JournalLockError) -> Self
Converts to this type from the input type.
Source§impl From<PersistenceError> for OperationPlanPersistenceError
impl From<PersistenceError> for OperationPlanPersistenceError
Source§fn from(source: PersistenceError) -> Self
fn from(source: PersistenceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for OperationPlanPersistenceError
impl !UnwindSafe for OperationPlanPersistenceError
impl Freeze for OperationPlanPersistenceError
impl Send for OperationPlanPersistenceError
impl Sync for OperationPlanPersistenceError
impl Unpin for OperationPlanPersistenceError
impl UnsafeUnpin for OperationPlanPersistenceError
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