pub struct TaskWeights {
pub remove_gas_reservation: Weight,
pub send_user_message_to_mailbox: Weight,
pub send_user_message: Weight,
pub send_dispatch: Weight,
pub wake_message: Weight,
pub wake_message_no_wake: Weight,
pub remove_from_waitlist: Weight,
pub remove_from_mailbox: Weight,
}
Expand description
Describes weights for running tasks.
Fields§
§remove_gas_reservation: Weight
§send_user_message_to_mailbox: Weight
§send_user_message: Weight
§send_dispatch: Weight
§wake_message: Weight
§wake_message_no_wake: Weight
§remove_from_waitlist: Weight
§remove_from_mailbox: Weight
Trait Implementations§
Source§impl Clone for TaskWeights
impl Clone for TaskWeights
Source§fn clone(&self) -> TaskWeights
fn clone(&self) -> TaskWeights
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TaskWeights
impl Debug for TaskWeights
Auto Trait Implementations§
impl Freeze for TaskWeights
impl RefUnwindSafe for TaskWeights
impl Send for TaskWeights
impl Sync for TaskWeights
impl Unpin for TaskWeights
impl UnwindSafe for TaskWeights
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more