Trait TransactionCallLike

Source
pub trait TransactionCallLike {
    // Required methods
    fn to_call(&self) -> TransactionCall;
    fn decode_call(call: &[u8]) -> Option<Box<Self>>;
    fn decode_call_data(call_data: &[u8]) -> Option<Box<Self>>;
}

Required Methods§

Source

fn to_call(&self) -> TransactionCall

Source

fn decode_call(call: &[u8]) -> Option<Box<Self>>

Source

fn decode_call_data(call_data: &[u8]) -> Option<Box<Self>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§