wasmtime_wasi::bindings::sync::cli::terminal_stderr

Trait Host

Source
pub trait Host: Send + Send {
    // 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.

Implementations on Foreign Types§

Source§

impl<_T: Host + ?Sized + Send> Host for &mut _T

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> Host for WasiImpl<T>
where T: WasiView,