pub struct ExecutionSettings {Show 13 fields
pub block_info: BlockInfo,
pub max_pages: WasmPage,
pub page_costs: PageCosts,
pub existential_deposit: u128,
pub host_fn_weights: HostFnWeights,
pub forbidden_funcs: BTreeSet<SysCallName>,
pub mailbox_threshold: u64,
pub waitlist_cost: u64,
pub dispatch_hold_cost: u64,
pub reserve_for: u32,
pub reservation: u64,
pub random_data: (Vec<u8>, u32),
pub rent_cost: u128,
}Expand description
Execution settings for handling messages.
Fields§
§block_info: BlockInfoContextual block information.
max_pages: WasmPageMax amount of pages in program memory during execution.
page_costs: PageCostsPages costs.
existential_deposit: u128Minimal amount of existence for account.
host_fn_weights: HostFnWeightsWeights of host functions.
forbidden_funcs: BTreeSet<SysCallName>Functions forbidden to be called.
mailbox_threshold: u64Threshold for inserting into mailbox
waitlist_cost: u64Cost for single block waitlist holding.
dispatch_hold_cost: u64Cost of holding a message in dispatch stash.
reserve_for: u32Reserve for parameter of scheduling.
reservation: u64Cost for reservation holding.
random_data: (Vec<u8>, u32)Most recently determined random seed, along with the time in the past since when it was determinable by chain observers.
rent_cost: u128Rent cost per block.
Auto Trait Implementations§
impl Freeze for ExecutionSettings
impl RefUnwindSafe for ExecutionSettings
impl Send for ExecutionSettings
impl Sync for ExecutionSettings
impl Unpin for ExecutionSettings
impl UnwindSafe for ExecutionSettings
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