Enum vm::CallType [−][src]
pub enum CallType { None, Call, CallCode, DelegateCall, StaticCall, }
The type of the call-like instruction.
Variants
None
Not a CALL.
Call
CALL.
CallCode
CALLCODE.
DelegateCall
DELEGATECALL.
StaticCall
STATICCALL
Trait Implementations
impl Debug for CallType
[src]
impl Debug for CallType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for CallType
[src]
impl PartialEq for CallType
fn eq(&self, other: &CallType) -> bool
[src]
fn eq(&self, other: &CallType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Clone for CallType
[src]
impl Clone for CallType
fn clone(&self) -> CallType
[src]
fn clone(&self) -> CallType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Encodable for CallType
[src]
impl Encodable for CallType
fn rlp_append(&self, s: &mut RlpStream)
[src]
fn rlp_append(&self, s: &mut RlpStream)
Append a value to the stream
fn rlp_bytes(&self) -> ElasticArray1024<u8>
[src]
fn rlp_bytes(&self) -> ElasticArray1024<u8>
Get rlp-encoded bytes for this instance
impl Decodable for CallType
[src]
impl Decodable for CallType
fn decode(rlp: &Rlp) -> Result<Self, DecoderError>
[src]
fn decode(rlp: &Rlp) -> Result<Self, DecoderError>
Decode a value from RLP bytes