Enum bitcoin::blockdata::opcodes::Class [] [src]

pub enum Class {
    PushNum(i32),
    PushBytes(u32),
    ReturnOp,
    IllegalOp,
    NoOp,
    Ordinary(Ordinary),
}

Broad categories of opcodes with similar behavior

Variants

Pushes the given number onto the stack

Pushes the given number of bytes onto the stack

Fails the script if executed

Fails the script even if not executed

Does nothing

Any opcode not covered above

Trait Implementations

impl Copy for Class
[src]

impl Clone for Class
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Class
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Class
[src]

impl Debug for Class
[src]

Formats the value using the given formatter.

impl Display for Class
[src]

Formats the value using the given formatter.

impl Serialize for Class
[src]

Serializes this value into this serializer.