referrerpolicy=no-referrer-when-downgrade
pub trait SendMessageFeeProvider {
    type Balance: BaseArithmetic + Unsigned + Copy;

    // Required method
    fn local_fee() -> Self::Balance;
}
Expand description

A trait for getting the local costs associated with sending a message.

Required Associated Types§

source

type Balance: BaseArithmetic + Unsigned + Copy

Required Methods§

source

fn local_fee() -> Self::Balance

The local component of the message processing fees in native currency

Object Safety§

This trait is not object safe.

Implementors§