Enum near_vm_errors::InconsistentStateError [−][src]
pub enum InconsistentStateError {
StorageError(String),
IntegerOverflow,
}
Expand description
An error that is caused by an operation on an inconsistent state. E.g. a deserialization error or an integer overflow.
Variants
StorageError(String)
Tuple Fields of StorageError
0: String
Math operation with a value from the state resulted in a integer overflow.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InconsistentStateError
impl Send for InconsistentStateError
impl Sync for InconsistentStateError
impl Unpin for InconsistentStateError
impl UnwindSafe for InconsistentStateError
Blanket Implementations
Mutably borrows from an owned value. Read more