Enum aptos_parallel_executor::errors::Error
source · [−]pub enum Error<E> {
InvariantViolation,
InferencerError,
UnestimatedWrite,
UserError(E),
}Variants
InvariantViolation
Invariant violation that happens internally inside of scheduler, usually an indication of implementation error.
InferencerError
The inference can’t get the read/write set of a transaction, abort the entire execution pipeline.
UnestimatedWrite
A transaction write to a key that wasn’t estimated by the inferencer, abort the execution because we don’t have a good way of handling read-after-write dependency. Will relax this limitation later.
UserError(E)
Execution of a thread yields a non-recoverable error, such error will be propagated back to the caller.
Trait Implementations
Auto Trait Implementations
impl<E> RefUnwindSafe for Error<E> where
E: RefUnwindSafe,
impl<E> Send for Error<E> where
E: Send,
impl<E> Sync for Error<E> where
E: Sync,
impl<E> Unpin for Error<E> where
E: Unpin,
impl<E> UnwindSafe for Error<E> where
E: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more