Struct wasix::StackSnapshot
source · [−]#[repr(C)]pub struct StackSnapshot {
pub memory_offset: u32,
pub host_offset: u32,
pub user: u64,
pub stack1: StackPart,
pub stack2: StackPart,
pub stack3: StackPart,
pub stack4: StackPart,
pub hash: Hash,
}Fields
memory_offset: u32Offset into the execution memory stack
host_offset: u32Offset into the execution host stack
user: u64User defined field that can be used by functions
stack1: StackPartTop part of the stack that is saved for later restoration
stack2: StackPartstack3: StackPartstack4: StackParthash: HashHash thats used as an integrity checked
Trait Implementations
sourceimpl Clone for StackSnapshot
impl Clone for StackSnapshot
sourcefn clone(&self) -> StackSnapshot
fn clone(&self) -> StackSnapshot
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for StackSnapshot
impl Debug for StackSnapshot
impl Copy for StackSnapshot
Auto Trait Implementations
impl RefUnwindSafe for StackSnapshot
impl Send for StackSnapshot
impl Sync for StackSnapshot
impl Unpin for StackSnapshot
impl UnwindSafe for StackSnapshot
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more