pub enum Class {
PushNum(i32),
PushBytes(u32),
ReturnOp,
IllegalOp,
NoOp,
Ordinary(Ordinary),
}
Expand description
Broad categories of opcodes with similar behavior
Variants§
PushNum(i32)
Pushes the given number onto the stack
PushBytes(u32)
Pushes the given number of bytes onto the stack
ReturnOp
Fails the script if executed
IllegalOp
Fails the script even if not executed
NoOp
Does nothing
Ordinary(Ordinary)
Any opcode not covered above
Trait Implementations§
impl Copy for Class
impl Eq for Class
impl StructuralPartialEq for Class
Auto Trait Implementations§
impl Freeze for Class
impl RefUnwindSafe for Class
impl Send for Class
impl Sync for Class
impl Unpin for Class
impl UnwindSafe for Class
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