pub enum ConsistencyRequestError {
Requirement(ConsistencyRequirementError),
Plan(OperationPlanError),
FenceRequired,
UnexpectedFence,
ObservationLimitTooLarge,
}Expand description
Typed original requirement/request denial; no failure acquires/releases a fence.
Variants§
Requirement(ConsistencyRequirementError)
Original requirement does not match the original plan.
Plan(OperationPlanError)
Original plan rejects exact operation derivation.
FenceRequired
Coordinated capture must name the retained exact fence obligation.
UnexpectedFence
Per-canister guarantee cannot silently acquire/upgrade an application fence.
ObservationLimitTooLarge
Descriptive call ceiling exceeds its maintained bound.
Trait Implementations§
Source§impl Debug for ConsistencyRequestError
impl Debug for ConsistencyRequestError
Source§impl Display for ConsistencyRequestError
impl Display for ConsistencyRequestError
Source§impl Error for ConsistencyRequestError
impl Error for ConsistencyRequestError
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<ConsistencyRequirementError> for ConsistencyRequestError
impl From<ConsistencyRequirementError> for ConsistencyRequestError
Source§fn from(source: ConsistencyRequirementError) -> Self
fn from(source: ConsistencyRequirementError) -> Self
Converts to this type from the input type.
Source§impl From<OperationPlanError> for ConsistencyRequestError
impl From<OperationPlanError> for ConsistencyRequestError
Source§fn from(source: OperationPlanError) -> Self
fn from(source: OperationPlanError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConsistencyRequestError
impl RefUnwindSafe for ConsistencyRequestError
impl Send for ConsistencyRequestError
impl Sync for ConsistencyRequestError
impl Unpin for ConsistencyRequestError
impl UnsafeUnpin for ConsistencyRequestError
impl UnwindSafe for ConsistencyRequestError
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