pub struct ExtCosts {
pub syscalls: SyscallCosts,
pub rent: RentCosts,
pub mem_grow: CostOf<CallsAmount>,
pub mem_grow_per_page: CostOf<WasmPagesAmount>,
}
Expand description
Execution externalities costs.
Fields§
§syscalls: SyscallCosts
Syscalls costs.
rent: RentCosts
Rent costs.
mem_grow: CostOf<CallsAmount>
Memory grow cost.
mem_grow_per_page: CostOf<WasmPagesAmount>
Memory grow per page cost.
Trait Implementations§
impl Eq for ExtCosts
impl StructuralPartialEq for ExtCosts
Auto Trait Implementations§
impl Freeze for ExtCosts
impl RefUnwindSafe for ExtCosts
impl Send for ExtCosts
impl Sync for ExtCosts
impl Unpin for ExtCosts
impl UnwindSafe for ExtCosts
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