Trait FromConsensusWeightInfo

Source
pub trait FromConsensusWeightInfo {
    // Required methods
    fn from_consensus_relay_message_channel_open() -> Weight;
    fn from_consensus_relay_message() -> Weight;
    fn from_consensus_relay_message_response() -> Weight;
}

Required Methods§

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§