pub enum ConsistencyPersistenceError {
DigestMismatch,
Requirement(ConsistencyRequirementError),
Plan(OperationPlanPersistenceError),
Lock(JournalLockError),
Persistence(PersistenceError),
}Expand description
Typed exact retained requirement or bounded local storage denial.
Variants§
DigestMismatch
Retained guarantee differs from the exact originally expected requirement.
Requirement(ConsistencyRequirementError)
Original full plan identity differs.
Plan(OperationPlanPersistenceError)
Original plan is not admitted from the held layout.
Lock(JournalLockError)
Layout/journal exclusion failed.
Persistence(PersistenceError)
Bounded JSON or durable filesystem access failed.
Trait Implementations§
Source§impl Debug for ConsistencyPersistenceError
impl Debug for ConsistencyPersistenceError
Source§impl Error for ConsistencyPersistenceError
impl Error for ConsistencyPersistenceError
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<ConsistencyPersistenceError> for FenceObligationPersistenceError
impl From<ConsistencyPersistenceError> for FenceObligationPersistenceError
Source§fn from(source: ConsistencyPersistenceError) -> Self
fn from(source: ConsistencyPersistenceError) -> Self
Converts to this type from the input type.
Source§impl From<ConsistencyRequirementError> for ConsistencyPersistenceError
impl From<ConsistencyRequirementError> for ConsistencyPersistenceError
Source§fn from(source: ConsistencyRequirementError) -> Self
fn from(source: ConsistencyRequirementError) -> Self
Converts to this type from the input type.
Source§impl From<JournalLockError> for ConsistencyPersistenceError
impl From<JournalLockError> for ConsistencyPersistenceError
Source§fn from(source: JournalLockError) -> Self
fn from(source: JournalLockError) -> Self
Converts to this type from the input type.
Source§impl From<OperationPlanPersistenceError> for ConsistencyPersistenceError
impl From<OperationPlanPersistenceError> for ConsistencyPersistenceError
Source§fn from(source: OperationPlanPersistenceError) -> Self
fn from(source: OperationPlanPersistenceError) -> Self
Converts to this type from the input type.
Source§impl From<PersistenceError> for ConsistencyPersistenceError
impl From<PersistenceError> for ConsistencyPersistenceError
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 ConsistencyPersistenceError
impl !UnwindSafe for ConsistencyPersistenceError
impl Freeze for ConsistencyPersistenceError
impl Send for ConsistencyPersistenceError
impl Sync for ConsistencyPersistenceError
impl Unpin for ConsistencyPersistenceError
impl UnsafeUnpin for ConsistencyPersistenceError
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