wasmtime_fiber

Trait RuntimeFiberStack

source
pub unsafe trait RuntimeFiberStack: Send + Sync {
    // Required methods
    fn top(&self) -> *mut u8;
    fn range(&self) -> Range<usize>;
}
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.

Implementors§