pub trait ToCallData {
type Return<'a>;
// Required methods
fn entry_point(&self) -> &str;
fn input_data(&self) -> Option<Vec<u8>>;
}Required Associated Types§
Required Methods§
fn entry_point(&self) -> &str
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.