Skip to main content

TransactionEncodable

Trait TransactionEncodable 

Source
pub trait TransactionEncodable {
    // Required method
    fn to_call(&self) -> Vec<u8> ;
}

Required Methods§

Source

fn to_call(&self) -> Vec<u8>

SCALE encodes the event

If you need to Hex and SCALE encode then call encode_as_hex_event

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§