pub enum ExecuteError<E: Error + 'static> {
DigestMismatch,
Product(E),
Contract(Error),
}Expand description
A refused execution or a preserved product error.
Variants§
DigestMismatch
The stored receipt names different immutable words.
Product(E)
The product failed to read or commit its ledger.
Contract(Error)
The draft’s words or boundary values do not match its digest.
Trait Implementations§
Source§impl<E: Error + 'static> Display for ExecuteError<E>
impl<E: Error + 'static> Display for ExecuteError<E>
Source§impl<E> Error for ExecuteError<E>
impl<E> Error for ExecuteError<E>
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()
Auto Trait Implementations§
impl<E> !RefUnwindSafe for ExecuteError<E>
impl<E> !UnwindSafe for ExecuteError<E>
impl<E> Freeze for ExecuteError<E>where
E: Freeze,
impl<E> Send for ExecuteError<E>where
E: Send,
impl<E> Sync for ExecuteError<E>where
E: Sync,
impl<E> Unpin for ExecuteError<E>where
E: Unpin,
impl<E> UnsafeUnpin for ExecuteError<E>where
E: UnsafeUnpin,
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