Trait pallet_preimage::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn note_preimage(s: u32) -> Weight;
fn note_requested_preimage(s: u32) -> Weight;
fn note_no_deposit_preimage(s: u32) -> Weight;
fn unnote_preimage() -> Weight;
fn unnote_no_deposit_preimage() -> Weight;
fn request_preimage() -> Weight;
fn request_no_deposit_preimage() -> Weight;
fn request_unnoted_preimage() -> Weight;
fn request_requested_preimage() -> Weight;
fn unrequest_preimage() -> Weight;
fn unrequest_unnoted_preimage() -> Weight;
fn unrequest_multi_referenced_preimage() -> Weight;
}
Expand description
Weight functions needed for pallet_preimage.
Required Methods§
fn note_preimage(s: u32) -> Weight
fn note_requested_preimage(s: u32) -> Weight
fn note_no_deposit_preimage(s: u32) -> Weight
fn unnote_preimage() -> Weight
fn unnote_no_deposit_preimage() -> Weight
fn request_preimage() -> Weight
fn request_no_deposit_preimage() -> Weight
fn request_unnoted_preimage() -> Weight
fn request_requested_preimage() -> Weight
fn unrequest_preimage() -> Weight
fn unrequest_unnoted_preimage() -> Weight
fn unrequest_multi_referenced_preimage() -> Weight
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn note_preimage(s: u32) -> Weight
fn note_preimage(s: u32) -> Weight
The range of component s
is [0, 4194304]
.
source§fn note_requested_preimage(s: u32) -> Weight
fn note_requested_preimage(s: u32) -> Weight
The range of component s
is [0, 4194304]
.
source§fn note_no_deposit_preimage(s: u32) -> Weight
fn note_no_deposit_preimage(s: u32) -> Weight
The range of component s
is [0, 4194304]
.