Trait wasmtime_wasi::bindings::cli::terminal_stderr::Host
source · pub trait Host: Send {
// Required method
fn get_terminal_stderr(
&mut self,
) -> Result<Option<Resource<TerminalOutput>>>;
}
Required Methods§
sourcefn get_terminal_stderr(&mut self) -> Result<Option<Resource<TerminalOutput>>>
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
impl<_T: Host + ?Sized + Send> Host for &mut _T
source§fn get_terminal_stderr(&mut self) -> Result<Option<Resource<TerminalOutput>>>
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.