pub trait WeightInfo {
// Required methods
fn init() -> Weight;
fn bump() -> Weight;
fn induct() -> Weight;
fn register() -> Weight;
fn payout() -> Weight;
fn payout_other() -> Weight;
fn check_payment() -> Weight;
}
Expand description
Weight functions needed for pallet_salary
.
Required Methods§
fn init() -> Weight
fn bump() -> Weight
fn induct() -> Weight
fn register() -> Weight
fn payout() -> Weight
fn payout_other() -> Weight
fn check_payment() -> Weight
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 ()
Source§fn init() -> Weight
fn init() -> Weight
Storage: Salary::Status
(r:1 w:1)
Proof: Salary::Status
(max_values
: Some(1), max_size
: Some(56), added: 551, mode: MaxEncodedLen
)
Source§fn bump() -> Weight
fn bump() -> Weight
Storage: Salary::Status
(r:1 w:1)
Proof: Salary::Status
(max_values
: Some(1), max_size
: Some(56), added: 551, mode: MaxEncodedLen
)
Source§fn induct() -> Weight
fn induct() -> Weight
Storage: Salary::Status
(r:1 w:0)
Proof: Salary::Status
(max_values
: Some(1), max_size
: Some(56), added: 551, mode: MaxEncodedLen
)
Storage: RankedCollective::Members
(r:1 w:0)
Proof: RankedCollective::Members
(max_values
: None, max_size
: Some(42), added: 2517, mode: MaxEncodedLen
)
Storage: Salary::Claimant
(r:1 w:1)
Proof: Salary::Claimant
(max_values
: None, max_size
: Some(78), added: 2553, mode: MaxEncodedLen
)
Source§fn register() -> Weight
fn register() -> Weight
Storage: RankedCollective::Members
(r:1 w:0)
Proof: RankedCollective::Members
(max_values
: None, max_size
: Some(42), added: 2517, mode: MaxEncodedLen
)
Storage: Salary::Status
(r:1 w:1)
Proof: Salary::Status
(max_values
: Some(1), max_size
: Some(56), added: 551, mode: MaxEncodedLen
)
Storage: Salary::Claimant
(r:1 w:1)
Proof: Salary::Claimant
(max_values
: None, max_size
: Some(78), added: 2553, mode: MaxEncodedLen
)
Source§fn payout() -> Weight
fn payout() -> Weight
Storage: Salary::Status
(r:1 w:1)
Proof: Salary::Status
(max_values
: Some(1), max_size
: Some(56), added: 551, mode: MaxEncodedLen
)
Storage: Salary::Claimant
(r:1 w:1)
Proof: Salary::Claimant
(max_values
: None, max_size
: Some(78), added: 2553, mode: MaxEncodedLen
)
Storage: RankedCollective::Members
(r:1 w:0)
Proof: RankedCollective::Members
(max_values
: None, max_size
: Some(42), added: 2517, mode: MaxEncodedLen
)
Source§fn payout_other() -> Weight
fn payout_other() -> Weight
Storage: Salary::Status
(r:1 w:1)
Proof: Salary::Status
(max_values
: Some(1), max_size
: Some(56), added: 551, mode: MaxEncodedLen
)
Storage: Salary::Claimant
(r:1 w:1)
Proof: Salary::Claimant
(max_values
: None, max_size
: Some(78), added: 2553, mode: MaxEncodedLen
)
Storage: RankedCollective::Members
(r:1 w:0)
Proof: RankedCollective::Members
(max_values
: None, max_size
: Some(42), added: 2517, mode: MaxEncodedLen
)
Storage: System::Account
(r:1 w:1)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
Source§fn check_payment() -> Weight
fn check_payment() -> Weight
Storage: Salary::Status
(r:1 w:1)
Proof: Salary::Status
(max_values
: Some(1), max_size
: Some(56), added: 551, mode: MaxEncodedLen
)
Storage: Salary::Claimant
(r:1 w:1)
Proof: Salary::Claimant
(max_values
: None, max_size
: Some(78), added: 2553, mode: MaxEncodedLen
)