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§