pub trait Host: Send + Send {
// Required method
fn get_terminal_stdout(
&mut self,
) -> Result<Option<Resource<TerminalOutput>>>;
}
Required Methods§
Sourcefn get_terminal_stdout(&mut self) -> Result<Option<Resource<TerminalOutput>>>
fn get_terminal_stdout(&mut self) -> Result<Option<Resource<TerminalOutput>>>
If stdout 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_stdout(&mut self) -> Result<Option<Resource<TerminalOutput>>>
fn get_terminal_stdout(&mut self) -> Result<Option<Resource<TerminalOutput>>>
If stdout is connected to a terminal, return a terminal-output
handle
allowing further interaction with it.