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.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<AccessError> for OpError
impl From<AccessError> for OpError
Source§fn from(source: AccessError) -> Self
fn from(source: AccessError) -> Self
Converts to this type from the input type.
Source§impl From<CryptoError> for OpError
impl From<CryptoError> for OpError
Source§fn from(source: CryptoError) -> Self
fn from(source: CryptoError) -> Self
Converts to this type from the input type.
Source§impl From<DecodeError> for OpError
impl From<DecodeError> for OpError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<EncodeError> for OpError
impl From<EncodeError> for OpError
Source§fn from(source: EncodeError) -> Self
fn from(source: EncodeError) -> Self
Converts to this type from the input type.
Source§impl From<FromBytesError> for OpError
impl From<FromBytesError> for OpError
Source§fn from(source: FromBytesError) -> Self
fn from(source: FromBytesError) -> Self
Converts to this type from the input type.
Source§impl From<Infallible> for OpError
impl From<Infallible> for OpError
Source§fn from(err: Infallible) -> Self
fn from(err: Infallible) -> Self
Converts to this type from the input type.
Source§impl From<MissingAccessArgError> for OpError
impl From<MissingAccessArgError> for OpError
Source§fn from(err: MissingAccessArgError) -> Self
fn from(err: MissingAccessArgError) -> Self
Converts to this type from the input type.
Source§impl From<RepeatError> for OpError
impl From<RepeatError> for OpError
Source§fn from(source: RepeatError) -> Self
fn from(source: RepeatError) -> Self
Converts to this type from the input type.
Source§impl From<StackError> for OpError
impl From<StackError> for OpError
Source§fn from(source: StackError) -> Self
fn from(source: StackError) -> Self
Converts to this type from the input type.
Source§impl From<TemporaryError> for OpError
impl From<TemporaryError> for OpError
Source§fn from(source: TemporaryError) -> Self
fn from(source: TemporaryError) -> Self
Converts to this type from the input type.
Source§impl From<TotalControlFlowError> for OpError
impl From<TotalControlFlowError> for OpError
Source§fn from(source: TotalControlFlowError) -> Self
fn from(source: TotalControlFlowError) -> Self
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