pub enum InvocationError {
InvalidReferenceExpressionForArgument,
UnknownTypeId(ConcreteTypeId),
WrongNumberOfArguments {
expected: usize,
actual: usize,
},
NotImplemented(Invocation),
NotImplementedStr {
invocation: Invocation,
message: String,
},
NotSized(Invocation),
UnknownTypeData,
UnknownVariableData,
InvalidGenericArg,
IntegerOverflow,
FrameStateError(FrameStateError),
PreCostMetadataNotSupported,
}
Variants§
InvalidReferenceExpressionForArgument
UnknownTypeId(ConcreteTypeId)
WrongNumberOfArguments
NotImplemented(Invocation)
NotImplementedStr
NotSized(Invocation)
UnknownTypeData
UnknownVariableData
InvalidGenericArg
IntegerOverflow
FrameStateError(FrameStateError)
PreCostMetadataNotSupported
Trait Implementations§
source§impl Debug for InvocationError
impl Debug for InvocationError
source§impl Display for InvocationError
impl Display for InvocationError
source§impl Error for InvocationError
impl Error for InvocationError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<FrameStateError> for InvocationError
impl From<FrameStateError> for InvocationError
source§fn from(source: FrameStateError) -> Self
fn from(source: FrameStateError) -> Self
Converts to this type from the input type.
source§impl PartialEq for InvocationError
impl PartialEq for InvocationError
source§fn eq(&self, other: &InvocationError) -> bool
fn eq(&self, other: &InvocationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InvocationError
impl StructuralPartialEq for InvocationError
Auto Trait Implementations§
impl RefUnwindSafe for InvocationError
impl Send for InvocationError
impl Sync for InvocationError
impl Unpin for InvocationError
impl UnwindSafe for InvocationError
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<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.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.