pub enum OpSyncError {
Access(AccessError),
Alu(AluError),
Crypto(CryptoError),
Stack(StackError),
Repeat(RepeatError),
TotalControlFlow(TotalControlFlowError),
Memory(MemoryError),
FromBytes(FromBytesError),
PcOverflow,
Decode(DecodeError),
Encode(EncodeError),
}Expand description
A synchronous operation failed.
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.
Memory(MemoryError)
An error occurred during a Memory 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 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<AccessError> for OpSyncError
impl From<AccessError> for OpSyncError
Source§fn from(source: AccessError) -> Self
fn from(source: AccessError) -> Self
Converts to this type from the input type.
Source§impl From<AluError> for OpSyncError
impl From<AluError> for OpSyncError
Source§impl From<CryptoError> for OpSyncError
impl From<CryptoError> for OpSyncError
Source§fn from(source: CryptoError) -> Self
fn from(source: CryptoError) -> Self
Converts to this type from the input type.
Source§impl From<DecodeError> for OpSyncError
impl From<DecodeError> for OpSyncError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<EncodeError> for OpSyncError
impl From<EncodeError> for OpSyncError
Source§fn from(source: EncodeError) -> Self
fn from(source: EncodeError) -> Self
Converts to this type from the input type.
Source§impl From<FromBytesError> for OpSyncError
impl From<FromBytesError> for OpSyncError
Source§fn from(source: FromBytesError) -> Self
fn from(source: FromBytesError) -> Self
Converts to this type from the input type.
Source§impl From<Infallible> for OpSyncError
impl From<Infallible> for OpSyncError
Source§fn from(err: Infallible) -> Self
fn from(err: Infallible) -> Self
Converts to this type from the input type.
Source§impl From<MemoryError> for OpSyncError
impl From<MemoryError> for OpSyncError
Source§fn from(source: MemoryError) -> Self
fn from(source: MemoryError) -> Self
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) -> Self
fn from(source: OpSyncError) -> Self
Converts to this type from the input type.
Source§impl From<RepeatError> for OpSyncError
impl From<RepeatError> for OpSyncError
Source§fn from(source: RepeatError) -> Self
fn from(source: RepeatError) -> Self
Converts to this type from the input type.
Source§impl From<StackError> for OpSyncError
impl From<StackError> for OpSyncError
Source§fn from(source: StackError) -> Self
fn from(source: StackError) -> Self
Converts to this type from the input type.
Source§impl From<TotalControlFlowError> for OpSyncError
impl From<TotalControlFlowError> for OpSyncError
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 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