pub trait TransactionEventEncodable { // Required method fn to_event(&self) -> Vec<u8> ⓘ; }
SCALE encodes the event
If you need to Hex and SCALE encode then call encode_as_hex_event
encode_as_hex_event
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".