Struct wiggle::wasmtime_crate::StoreContextMut [−][src]
#[repr(transparent)]pub struct StoreContextMut<'a, T>(_);
Expand description
A temporary handle to a &mut Store<T>
.
This type is sutable for AsContextMut
or AsContext
trait bounds on
methods if desired. For more information, see Store
.
Implementations
Access the underlying data owned by this Store
.
Same as Store::data
.
Access the underlying data owned by this Store
.
Same as Store::data_mut
.
Returns an InterruptHandle
to interrupt wasm execution.
See Store::interrupt_handle
for more information.
Returns the fuel consumed by this store.
For more information see Store::fuel_consumed
.
Inject more fuel into this store to be consumed when executing wasm code.
For more information see Store::add_fuel
Synthetically consume fuel from this store.
For more information see Store::consume_fuel
Configures this Store
to trap whenever fuel runs out.
For more information see Store::out_of_fuel_trap
Configures this Store
to yield while executing futures whenever fuel
runs out.
For more information see Store::out_of_fuel_async_yield
Trait Implementations
Returns the store context that this type provides access to.
Returns the store context that this type provides access to.
impl<'a, T> From<&'a mut T> for StoreContextMut<'a, <T as AsContext>::Data> where
T: AsContextMut,
impl<'a, T> From<&'a mut T> for StoreContextMut<'a, <T as AsContext>::Data> where
T: AsContextMut,
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for StoreContextMut<'a, T>
impl<'a, T> Send for StoreContextMut<'a, T> where
T: Send,
impl<'a, T> Sync for StoreContextMut<'a, T> where
T: Sync,
impl<'a, T> Unpin for StoreContextMut<'a, T>
impl<'a, T> !UnwindSafe for StoreContextMut<'a, T>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more