pub enum OpError {
Access(AccessError),
Alu(AluError),
Crypto(CryptoError),
Stack(StackError),
Repeat(RepeatError),
TotalControlFlow(TotalControlFlowError),
Temporary(TemporaryError),
FromBytes(FromBytesError),
PcOverflow,
Decode(DecodeError),
Encode(EncodeError),
}Expand description
An individual operation failed during constraint checking error.
Variants§
Access(AccessError)
An error occurred during an Access operation.
Alu(AluError)
An error occurred during an Alu operation.
Crypto(CryptoError)
An error occurred during a Crypto operation.
Stack(StackError)
An error occurred during a Stack operation.
Repeat(RepeatError)
An error occurred during a Repeat operation.
TotalControlFlow(TotalControlFlowError)
An error occurred during a TotalControlFlow operation.
Temporary(TemporaryError)
An error occurred during a Temporary operation.
FromBytes(FromBytesError)
An error occurred while parsing an operation from bytes.
PcOverflow
Pc counter overflowed.
Decode(DecodeError)
An error occurred while decoding some data.
Encode(EncodeError)
An error occurred while encoding some data.
Trait Implementations§
source§impl Error for OpError
impl Error for OpError
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.81.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<AccessError> for OpError
impl From<AccessError> for OpError
source§fn from(source: AccessError) -> OpError
fn from(source: AccessError) -> OpError
Converts to this type from the input type.
source§impl From<CryptoError> for OpError
impl From<CryptoError> for OpError
source§fn from(source: CryptoError) -> OpError
fn from(source: CryptoError) -> OpError
Converts to this type from the input type.
source§impl From<DecodeError> for OpError
impl From<DecodeError> for OpError
source§fn from(source: DecodeError) -> OpError
fn from(source: DecodeError) -> OpError
Converts to this type from the input type.
source§impl From<EncodeError> for OpError
impl From<EncodeError> for OpError
source§fn from(source: EncodeError) -> OpError
fn from(source: EncodeError) -> OpError
Converts to this type from the input type.
source§impl From<FromBytesError> for OpError
impl From<FromBytesError> for OpError
source§fn from(source: FromBytesError) -> OpError
fn from(source: FromBytesError) -> OpError
Converts to this type from the input type.
source§impl From<Infallible> for OpError
impl From<Infallible> for OpError
source§fn from(err: Infallible) -> OpError
fn from(err: Infallible) -> OpError
Converts to this type from the input type.
source§impl From<MissingAccessArgError> for OpError
impl From<MissingAccessArgError> for OpError
source§fn from(err: MissingAccessArgError) -> OpError
fn from(err: MissingAccessArgError) -> OpError
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 From<RepeatError> for OpError
impl From<RepeatError> for OpError
source§fn from(source: RepeatError) -> OpError
fn from(source: RepeatError) -> OpError
Converts to this type from the input type.
source§impl From<StackError> for OpError
impl From<StackError> for OpError
source§fn from(source: StackError) -> OpError
fn from(source: StackError) -> OpError
Converts to this type from the input type.
source§impl From<TemporaryError> for OpError
impl From<TemporaryError> for OpError
source§fn from(source: TemporaryError) -> OpError
fn from(source: TemporaryError) -> OpError
Converts to this type from the input type.
source§impl From<TotalControlFlowError> for OpError
impl From<TotalControlFlowError> for OpError
source§fn from(source: TotalControlFlowError) -> OpError
fn from(source: TotalControlFlowError) -> OpError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OpError
impl !RefUnwindSafe for OpError
impl Send for OpError
impl Sync for OpError
impl Unpin for OpError
impl !UnwindSafe for OpError
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