pub trait WeightInfo {
// Required methods
fn authorize_code(h: u32) -> Weight;
fn apply_authorized_code(c: u32) -> Weight;
fn authorize_apply_authorized_code(c: u32) -> Weight;
fn cancel_authorization() -> Weight;
}Expand description
Weight functions needed for pallet_registrar_relay.
Required Methods§
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.
Implementations on Foreign Types§
Source§impl WeightInfo for ()
impl WeightInfo for ()
Storage: RegistrarRelay::PendingRegistrations (r:1 w:1)
Proof: RegistrarRelay::PendingRegistrations (max_values: None, max_size: Some(1048676), added: 1051151, mode: MaxEncodedLen)
Storage: RegistrarRelay::CounterForPendingRegistrations (r:1 w:1)
Proof: RegistrarRelay::CounterForPendingRegistrations (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
The range of component h is [0, 1048576].
Storage: RegistrarRelay::PendingRegistrations (r:1 w:1)
Proof: RegistrarRelay::PendingRegistrations (max_values: None, max_size: Some(1048676), added: 1051151, mode: MaxEncodedLen)
Storage: RegistrarRelay::CounterForPendingRegistrations (r:1 w:1)
Proof: RegistrarRelay::CounterForPendingRegistrations (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
The range of component c is [0, 3145728].
Storage: RegistrarRelay::PendingRegistrations (r:1 w:0)
Proof: RegistrarRelay::PendingRegistrations (max_values: None, max_size: Some(1048676), added: 1051151, mode: MaxEncodedLen)
The range of component c is [0, 3145728].
Storage: RegistrarRelay::PendingRegistrations (r:1 w:1)
Proof: RegistrarRelay::PendingRegistrations (max_values: None, max_size: Some(1048676), added: 1051151, mode: MaxEncodedLen)
Storage: RegistrarRelay::CounterForPendingRegistrations (r:1 w:1)
Proof: RegistrarRelay::CounterForPendingRegistrations (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)