referrerpolicy=no-referrer-when-downgrade
snowbridge_core::outbound

Trait SendMessageFeeProvider

Source
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

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§

impl<T: Config> SendMessageFeeProvider for Pallet<T>