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

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

Required Methods§

source

fn get_terminal_stdin(&mut self) -> Result<Option<Resource<TerminalInput>>>

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

Implementors§

source§

impl<T: WasiView> Host for T