ToCallData

Trait ToCallData 

Source
pub trait ToCallData {
    type Return<'a>;

    // Required methods
    fn entry_point(&self) -> &str;
    fn input_data(&self) -> Option<Vec<u8>>;
}

Required Associated Types§

Source

type Return<'a>

Required Methods§

Source

fn entry_point(&self) -> &str

Source

fn input_data(&self) -> Option<Vec<u8>>

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§