Trait wasmtime_wasi::preview2::bindings::wasi::cli::terminal_stderr::Host

source ·
pub trait Host {
    // Required method
    fn get_terminal_stderr(
        &mut self
    ) -> Result<Option<Resource<TerminalOutput>>>;
}

Required Methods§

source

fn get_terminal_stderr(&mut self) -> Result<Option<Resource<TerminalOutput>>>

If stderr is connected to a terminal, return a terminal-output handle allowing further interaction with it.

Implementors§

source§

impl<T: WasiView> Host for T