pub enum IcMutationRequestError {
AuthorityMismatch,
NoPendingMutation,
MutationMismatch,
ObservationPending,
Payload(IcRequestError),
Plan(OperationPlanError),
}Expand description
Original reservation denial; no variant consumes, refunds or grants call authority.
Variants§
AuthorityMismatch
Journal differs from full original plan/context/operation/request/allowance identity.
NoPendingMutation
There is no unresolved original mutation reservation.
MutationMismatch
Current pending mutation changed or was settled after binding.
ObservationPending
Recovery observation is pending; association cannot bypass its original owner.
Payload(IcRequestError)
Exact closed method, target or original Candid payload digest differs.
Plan(OperationPlanError)
Original plan cannot derive the requested operation authority.
Trait Implementations§
Source§impl Debug for IcMutationRequestError
impl Debug for IcMutationRequestError
Source§impl Display for IcMutationRequestError
impl Display for IcMutationRequestError
Source§impl Error for IcMutationRequestError
impl Error for IcMutationRequestError
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<IcMutationRequestError> for IcMutationAssociationError
impl From<IcMutationRequestError> for IcMutationAssociationError
Source§fn from(source: IcMutationRequestError) -> Self
fn from(source: IcMutationRequestError) -> Self
Converts to this type from the input type.
Source§impl From<IcRequestError> for IcMutationRequestError
impl From<IcRequestError> for IcMutationRequestError
Source§fn from(source: IcRequestError) -> Self
fn from(source: IcRequestError) -> Self
Converts to this type from the input type.
Source§impl From<OperationPlanError> for IcMutationRequestError
impl From<OperationPlanError> for IcMutationRequestError
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 IcMutationRequestError
impl RefUnwindSafe for IcMutationRequestError
impl Send for IcMutationRequestError
impl Sync for IcMutationRequestError
impl Unpin for IcMutationRequestError
impl UnsafeUnpin for IcMutationRequestError
impl UnwindSafe for IcMutationRequestError
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