Struct gear_backend_common::ExtInfo
source · pub struct ExtInfo {
pub gas_amount: GasAmount,
pub gas_reserver: GasReserver,
pub system_reservation_context: SystemReservationContext,
pub allocations: BTreeSet<WasmPage>,
pub pages_data: BTreeMap<GearPage, PageBuf>,
pub generated_dispatches: Vec<(Dispatch, u32, Option<ReservationId>)>,
pub awakening: Vec<(MessageId, u32)>,
pub reply_deposits: Vec<(MessageId, u64)>,
pub program_candidates_data: BTreeMap<CodeId, Vec<(MessageId, ProgramId)>>,
pub program_rents: BTreeMap<ProgramId, u32>,
pub context_store: ContextStore,
}
Fields§
§gas_amount: GasAmount
§gas_reserver: GasReserver
§system_reservation_context: SystemReservationContext
§allocations: BTreeSet<WasmPage>
§pages_data: BTreeMap<GearPage, PageBuf>
§generated_dispatches: Vec<(Dispatch, u32, Option<ReservationId>)>
§awakening: Vec<(MessageId, u32)>
§reply_deposits: Vec<(MessageId, u64)>
§program_candidates_data: BTreeMap<CodeId, Vec<(MessageId, ProgramId)>>
§program_rents: BTreeMap<ProgramId, u32>
§context_store: ContextStore
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ExtInfo
impl Send for ExtInfo
impl Sync for ExtInfo
impl Unpin for ExtInfo
impl UnwindSafe for ExtInfo
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