pub struct StoredInstantiationOutcome {
pub module_addr: Stored<ModuleAddr>,
pub maybe_remaining_fuel: Option<u32>,
}Expand description
A stored variant of InstantiationOutcome
Fields§
§module_addr: Stored<ModuleAddr>§maybe_remaining_fuel: Option<u32>Trait Implementations§
Source§impl AbstractStored for StoredInstantiationOutcome
impl AbstractStored for StoredInstantiationOutcome
type BareTy = InstantiationOutcome
Source§unsafe fn from_bare(bare_value: Self::BareTy, id: StoreId) -> Self
unsafe fn from_bare(bare_value: Self::BareTy, id: StoreId) -> Self
Creates a new stored object Read more
Source§fn into_bare(self) -> Self::BareTy
fn into_bare(self) -> Self::BareTy
Converts this stored object into its bare form that does not have any
StoreId attached to it.Source§fn try_unwrap_into_bare(
self,
expected_store_id: StoreId,
) -> Result<Self::BareTy, RuntimeError>
fn try_unwrap_into_bare( self, expected_store_id: StoreId, ) -> Result<Self::BareTy, RuntimeError>
Auto Trait Implementations§
impl Freeze for StoredInstantiationOutcome
impl RefUnwindSafe for StoredInstantiationOutcome
impl Send for StoredInstantiationOutcome
impl Sync for StoredInstantiationOutcome
impl Unpin for StoredInstantiationOutcome
impl UnwindSafe for StoredInstantiationOutcome
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