pub enum OpSyncError {
Constraint(OpError),
TotalControlFlow(ControlFlowError),
StateSlots(StateMemoryError),
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(StateMemoryError)
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)>
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 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<StateMemoryError> for OpSyncError
impl From<StateMemoryError> for OpSyncError
Source§fn from(source: StateMemoryError) -> OpSyncError
fn from(source: StateMemoryError) -> 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