Struct pallet_dynamic_fee::Module [−][src]
pub struct Module<T: Config>(_);
Implementations
Trait Implementations
Return the minimal required gas price.
Returns the current version of the pallet.
Returns the version of the pallet that is stored in storage. Read more
Run integrity test. Read more
This function is being called after every block import (when fully synced). Read more
The block is being finalized. Implement to have something happen. Read more
Something that should happen at genesis.
The block is being initialized. Implement to have something happen. Read more
Perform a module upgrade. Read more
type Error = InherentError
type Error = InherentError
The error returned by check_inherent
.
The inherent identifier used by this inherent.
Create an inherent out of the given InherentData
.
Check whether the given inherent is valid. Checking the inherent is optional and can be omitted by using the default implementation. Read more
Determines whether this inherent is required in this block. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for Module<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Module<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
Convert from a value of T
into an equivalent instance of Self
. Read more
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of T
. Read more
The counterpart to unchecked_from
.
pub fn unique_saturated_into(self) -> T
pub fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of T
.