pub enum StateInconsistency {
UnknownContract(ContractId),
AbsentWitness(Txid),
}Variants§
UnknownContract(ContractId)
contract state {0} is not known.
AbsentWitness(Txid)
a witness {0} is absent from the state data.
Trait Implementations§
Source§impl Clone for StateInconsistency
impl Clone for StateInconsistency
Source§fn clone(&self) -> StateInconsistency
fn clone(&self) -> StateInconsistency
Returns a duplicate of the value. Read more
1.0.0 · 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 StateInconsistency
impl Debug for StateInconsistency
Source§impl Display for StateInconsistency
impl Display for StateInconsistency
Source§impl Error for StateInconsistency
impl Error for StateInconsistency
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<P> From<StateInconsistency> for StateError<P>where
P: StateProvider,
impl<P> From<StateInconsistency> for StateError<P>where
P: StateProvider,
Source§fn from(v: StateInconsistency) -> StateError<P>
fn from(v: StateInconsistency) -> StateError<P>
Converts to this type from the input type.
Source§impl<S, H, P, E> From<StateInconsistency> for StockError<S, H, P, E>
impl<S, H, P, E> From<StateInconsistency> for StockError<S, H, P, E>
Source§fn from(v: StateInconsistency) -> StockError<S, H, P, E>
fn from(v: StateInconsistency) -> StockError<S, H, P, E>
Converts to this type from the input type.
Source§impl From<StateInconsistency> for String
impl From<StateInconsistency> for String
Source§fn from(err: StateInconsistency) -> String
fn from(err: StateInconsistency) -> String
Converts to this type from the input type.
Source§impl PartialEq for StateInconsistency
impl PartialEq for StateInconsistency
impl Eq for StateInconsistency
impl StructuralPartialEq for StateInconsistency
Auto Trait Implementations§
impl Freeze for StateInconsistency
impl RefUnwindSafe for StateInconsistency
impl Send for StateInconsistency
impl Sync for StateInconsistency
impl Unpin for StateInconsistency
impl UnwindSafe for StateInconsistency
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<I> IntoResettable<String> for I
impl<I> IntoResettable<String> for I
Source§fn into_resettable(self) -> Resettable<String>
fn into_resettable(self) -> Resettable<String>
Convert to the intended resettable type