Trait TransactionEventLike

Source
pub trait TransactionEventLike {
    // Required methods
    fn decode_event(event: &[u8]) -> Option<Box<Self>>;
    fn decode_event_data(event_data: &[u8]) -> Option<Box<Self>>;
}

Required Methods§

Source

fn decode_event(event: &[u8]) -> Option<Box<Self>>

Source

fn decode_event_data(event_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§