pub enum EconomicStateAnchorError {
Show 21 variants
Continuity(EconomicContinuityError),
UnsupportedSchema {
field: &'static str,
value: String,
},
PinMismatch(&'static str),
InvalidView(&'static str),
InvalidSignature,
CurrentHeadMissing(EconomicResourceKeyV1),
CurrentAbsenceMissing(EconomicResourceKeyV1),
CurrentRequestMissing(EconomicRequestKeyV1),
TransitionProofRejected(EconomicResourceKeyV1),
AuthorizationMismatch(EconomicResourceKeyV1),
RequestReplayConflict(EconomicRequestKeyV1),
RequestReplayRetained(EconomicRequestKeyV1),
AdmissionHandoffRejected,
EffectDispatchRejected(&'static str),
EffectCancellationRejected(&'static str),
CompletedEffectRejected(&'static str),
TargetStatusRejected,
IdempotentRecoveryRejected,
Missing,
Unavailable(String),
Canonicalization(String),
}Variants§
Continuity(EconomicContinuityError)
UnsupportedSchema
PinMismatch(&'static str)
InvalidView(&'static str)
InvalidSignature
CurrentHeadMissing(EconomicResourceKeyV1)
CurrentAbsenceMissing(EconomicResourceKeyV1)
CurrentRequestMissing(EconomicRequestKeyV1)
TransitionProofRejected(EconomicResourceKeyV1)
AuthorizationMismatch(EconomicResourceKeyV1)
RequestReplayConflict(EconomicRequestKeyV1)
RequestReplayRetained(EconomicRequestKeyV1)
AdmissionHandoffRejected
EffectDispatchRejected(&'static str)
EffectCancellationRejected(&'static str)
CompletedEffectRejected(&'static str)
TargetStatusRejected
IdempotentRecoveryRejected
Missing
Canonicalization(String)
Trait Implementations§
Source§impl Clone for EconomicStateAnchorError
impl Clone for EconomicStateAnchorError
Source§fn clone(&self) -> EconomicStateAnchorError
fn clone(&self) -> EconomicStateAnchorError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EconomicStateAnchorError
impl Debug for EconomicStateAnchorError
Source§impl Display for EconomicStateAnchorError
impl Display for EconomicStateAnchorError
impl Eq for EconomicStateAnchorError
Source§impl Error for EconomicStateAnchorError
Available on crate feature std only.
impl Error for EconomicStateAnchorError
Available on crate feature
std only.1.30.0 · 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<EconomicContinuityError> for EconomicStateAnchorError
impl From<EconomicContinuityError> for EconomicStateAnchorError
Source§fn from(error: EconomicContinuityError) -> EconomicStateAnchorError
fn from(error: EconomicContinuityError) -> EconomicStateAnchorError
Converts to this type from the input type.
Source§impl PartialEq for EconomicStateAnchorError
impl PartialEq for EconomicStateAnchorError
impl StructuralPartialEq for EconomicStateAnchorError
Auto Trait Implementations§
impl Freeze for EconomicStateAnchorError
impl RefUnwindSafe for EconomicStateAnchorError
impl Send for EconomicStateAnchorError
impl Sync for EconomicStateAnchorError
impl Unpin for EconomicStateAnchorError
impl UnsafeUnpin for EconomicStateAnchorError
impl UnwindSafe for EconomicStateAnchorError
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