Enum essential_check::state_read_vm::error::OpSyncError
source · pub enum OpSyncError {
Constraint(OpError),
TotalControlFlow(ControlFlowError),
StateSlots(StateSlotsError),
PcOverflow,
}
Expand description
A synchronous operation failed.
Variants§
Constraint(OpError)
An error occurred during a Constraint
operation.
TotalControlFlow(ControlFlowError)
An error occurred during a TotalControlFlow
operation.
StateSlots(StateSlotsError)
An error occurred during a StateSlots
operation.
PcOverflow
The next program counter would overflow.
Trait Implementations§
source§impl Debug for OpSyncError
impl Debug for OpSyncError
source§impl Display for OpSyncError
impl Display for OpSyncError
source§impl Error for OpSyncError
impl Error for OpSyncError
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<ControlFlowError> for OpSyncError
impl From<ControlFlowError> for OpSyncError
source§fn from(source: ControlFlowError) -> OpSyncError
fn from(source: ControlFlowError) -> OpSyncError
Converts to this type from the input type.
source§impl From<OpError> for OpSyncError
impl From<OpError> for OpSyncError
source§fn from(source: OpError) -> OpSyncError
fn from(source: OpError) -> OpSyncError
Converts to this type from the input type.
source§impl<E> From<OpSyncError> for OpError<E>
impl<E> From<OpSyncError> for OpError<E>
source§fn from(source: OpSyncError) -> OpError<E>
fn from(source: OpSyncError) -> OpError<E>
Converts to this type from the input type.
source§impl From<StackError> for OpSyncError
impl From<StackError> for OpSyncError
source§fn from(err: StackError) -> OpSyncError
fn from(err: StackError) -> OpSyncError
Converts to this type from the input type.
source§impl From<StateSlotsError> for OpSyncError
impl From<StateSlotsError> for OpSyncError
source§fn from(source: StateSlotsError) -> OpSyncError
fn from(source: StateSlotsError) -> OpSyncError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OpSyncError
impl !RefUnwindSafe for OpSyncError
impl Send for OpSyncError
impl Sync for OpSyncError
impl Unpin for OpSyncError
impl !UnwindSafe for OpSyncError
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more