Enum evmil::CodeGenError
source · [−]pub enum CodeGenError {
InvalidPush,
InvalidDup,
InvalidLabelOffset,
}
Variants
InvalidPush
A push instruction cannot push zero bytes and, likewise, cannot push more than 32 bytes.
InvalidDup
A dup n
instruction requires n > 0
and n <= 32
.
InvalidLabelOffset
A label cannot exceed the 24Kb limit imposed by the EVM.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CodeGenError
impl Send for CodeGenError
impl Sync for CodeGenError
impl Unpin for CodeGenError
impl UnwindSafe for CodeGenError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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