pub trait StorageFee<Balance> {
// Required methods
fn transaction_byte_fee() -> Balance;
fn note_storage_fees(fee: Balance);
}
Required Methods§
sourcefn transaction_byte_fee() -> Balance
fn transaction_byte_fee() -> Balance
Return the consensus transaction byte fee.
sourcefn note_storage_fees(fee: Balance)
fn note_storage_fees(fee: Balance)
Note the charged storage fee.
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.