Struct wasmtime_runtime::CallThreadState
source · pub struct CallThreadState { /* private fields */ }
Expand description
Temporary state stored on the stack which is registered in the tls
module
below for calls into wasm.
Implementations§
source§impl CallThreadState
impl CallThreadState
sourcepub fn old_last_wasm_exit_fp(&self) -> usize
pub fn old_last_wasm_exit_fp(&self) -> usize
Get the saved FP upon exit from Wasm for the previous CallThreadState
.
sourcepub fn old_last_wasm_exit_pc(&self) -> usize
pub fn old_last_wasm_exit_pc(&self) -> usize
Get the saved PC upon exit from Wasm for the previous CallThreadState
.
sourcepub fn old_last_wasm_entry_sp(&self) -> usize
pub fn old_last_wasm_entry_sp(&self) -> usize
Get the saved SP upon entry into Wasm for the previous CallThreadState
.
sourcepub fn prev(&self) -> *const CallThreadState
pub fn prev(&self) -> *const CallThreadState
Get the previous CallThreadState
.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CallThreadState
impl !Send for CallThreadState
impl !Sync for CallThreadState
impl Unpin for CallThreadState
impl !UnwindSafe for CallThreadState
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