pub struct ProcessCosts {
pub ext: ExtCosts,
pub lazy_pages: LazyPagesCosts,
pub instantiation: InstantiationCosts,
pub db: DbCosts,
pub instrumentation: InstrumentationCosts,
pub load_allocations_per_interval: CostOf<u32>,
}Expand description
Costs for message processing
Fields§
§ext: ExtCostsExecution externalities costs.
lazy_pages: LazyPagesCostsLazy pages costs.
instantiation: InstantiationCostsModule instantiation costs.
db: DbCostsDB costs.
instrumentation: InstrumentationCostsInstrumentation costs.
load_allocations_per_interval: CostOf<u32>Load program allocations cost per interval.
Trait Implementations§
Source§impl Clone for ProcessCosts
impl Clone for ProcessCosts
Source§fn clone(&self) -> ProcessCosts
fn clone(&self) -> ProcessCosts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProcessCosts
impl Debug for ProcessCosts
Source§impl Default for ProcessCosts
impl Default for ProcessCosts
Source§fn default() -> ProcessCosts
fn default() -> ProcessCosts
Returns the “default value” for a type. Read more
impl Eq for ProcessCosts
Source§impl PartialEq for ProcessCosts
impl PartialEq for ProcessCosts
Source§fn eq(&self, other: &ProcessCosts) -> bool
fn eq(&self, other: &ProcessCosts) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProcessCosts
Auto Trait Implementations§
impl Freeze for ProcessCosts
impl RefUnwindSafe for ProcessCosts
impl Send for ProcessCosts
impl Sync for ProcessCosts
impl Unpin for ProcessCosts
impl UnsafeUnpin for ProcessCosts
impl UnwindSafe for ProcessCosts
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