pub struct WasmResumable {
pub(crate) stack: Stack,
pub(crate) pc: usize,
pub(crate) stp: usize,
pub(crate) current_func_addr: FuncAddr,
pub(crate) maybe_fuel: Option<u64>,
}Expand description
§Safety
TODO:
- stack must be initialized with correct parameters to function referenced by function address
- program counter must be valid for the bytecode of function referenced by the function address
- stp must point to the correct sidetable entry for the function referenced by function address
Fields§
§stack: Stack§pc: usize§stp: usize§current_func_addr: FuncAddr§maybe_fuel: Option<u64>Trait Implementations§
Auto Trait Implementations§
impl Freeze for WasmResumable
impl RefUnwindSafe for WasmResumable
impl Send for WasmResumable
impl Sync for WasmResumable
impl Unpin for WasmResumable
impl UnwindSafe for WasmResumable
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