pallet_members::pallet

Trait WeightInfo

Source
pub trait WeightInfo {
    // Required methods
    fn register_member() -> Weight;
    fn send_heartbeat() -> Weight;
    fn unregister_member() -> Weight;
    fn timeout_heartbeats(n: u32) -> Weight;
    fn is_member() -> Weight;
}

Required Methods§

Source

fn register_member() -> Weight

Source

fn send_heartbeat() -> Weight

Source

fn unregister_member() -> Weight

Source

fn timeout_heartbeats(n: u32) -> Weight

Source

fn is_member() -> 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.

Implementations on Foreign Types§

Source§

impl WeightInfo for ()

Source§

fn register_member() -> Weight

Source§

fn send_heartbeat() -> Weight

Source§

fn unregister_member() -> Weight

Source§

fn timeout_heartbeats(_: u32) -> Weight

Source§

fn is_member() -> Weight

Implementors§