pub struct InstantiationOutcome {
pub module_addr: ModuleAddr,
pub maybe_remaining_fuel: Option<u32>,
}Expand description
Represents a successful, possibly fueled instantiation of a module.
Fields§
§module_addr: ModuleAddrcontains the store address of the module that has successfully instantiated.
maybe_remaining_fuel: Option<u32>contains Some(remaining_fuel) if instantiation was fuel-metered and None otherwise.
Auto Trait Implementations§
impl Freeze for InstantiationOutcome
impl RefUnwindSafe for InstantiationOutcome
impl Send for InstantiationOutcome
impl Sync for InstantiationOutcome
impl Unpin for InstantiationOutcome
impl UnwindSafe for InstantiationOutcome
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