pub enum InconsistentStateError {
IntegerOverflow,
}
Expand description
An error that is caused by an operation on an inconsistent state, such as integer overflow.
Variants§
IntegerOverflow
Math operation with a value from the state resulted in a integer overflow.
Trait Implementations§
source§impl Clone for InconsistentStateError
impl Clone for InconsistentStateError
source§fn clone(&self) -> InconsistentStateError
fn clone(&self) -> InconsistentStateError
Returns a copy 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 InconsistentStateError
impl Debug for InconsistentStateError
source§impl Display for InconsistentStateError
impl Display for InconsistentStateError
source§impl From<InconsistentStateError> for VMLogicError
impl From<InconsistentStateError> for VMLogicError
source§fn from(err: InconsistentStateError) -> Self
fn from(err: InconsistentStateError) -> Self
Converts to this type from the input type.
source§impl PartialEq<InconsistentStateError> for InconsistentStateError
impl PartialEq<InconsistentStateError> for InconsistentStateError
source§fn eq(&self, other: &InconsistentStateError) -> bool
fn eq(&self, other: &InconsistentStateError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.