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
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
[src]
impl Clone for Class
[src]
fn clone(&self) -> Class
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Class
[src]
fn eq(&self, __arg_0: &Class) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Class) -> bool
This method tests for !=
.
impl Eq for Class
[src]
impl Debug for Class
[src]
impl Display for Class
[src]
impl Serialize for Class
[src]
fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer
Serializes this value into this serializer.