pub trait WeightInfo {
// Required methods
fn call_with_code_per_byte(c: u32) -> Weight;
fn noop_host_fn(r: u32) -> Weight;
fn seal_caller() -> Weight;
fn seal_origin() -> Weight;
fn seal_address() -> Weight;
fn seal_call_data_size() -> Weight;
fn seal_call_data_load() -> Weight;
fn seal_call_data_copy(n: u32) -> Weight;
fn seal_return(n: u32) -> Weight;
fn create_polkavm(l: u32) -> Weight;
}
Required Methods§
fn call_with_code_per_byte(c: u32) -> Weight
fn noop_host_fn(r: u32) -> Weight
fn seal_caller() -> Weight
fn seal_origin() -> Weight
fn seal_address() -> Weight
fn seal_call_data_size() -> Weight
fn seal_call_data_load() -> Weight
fn seal_call_data_copy(n: u32) -> Weight
fn seal_return(n: u32) -> Weight
fn create_polkavm(l: u32) -> Weight
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.