wasmtime_fiber

Trait RuntimeFiberStack

Source
pub unsafe trait RuntimeFiberStack: Send + Sync {
    // Required methods
    fn top(&self) -> *mut u8;
    fn range(&self) -> Range<usize>;
    fn guard_range(&self) -> Range<*mut u8>;
}
Expand description

A fiber stack backed by custom memory.

Required Methods§

Source

fn top(&self) -> *mut u8

The top of the allocated stack.

Source

fn range(&self) -> Range<usize>

The valid range of the stack without guard pages.

Source

fn guard_range(&self) -> Range<*mut u8>

The range of the guard page(s)

Implementors§