pub trait Host: Send + Send {
// Required method
fn get_terminal_stderr(
&mut self,
) -> impl Future<Output = Result<Option<Resource<TerminalOutput>>>> + Send;
}
Required Methods§
Sourcefn get_terminal_stderr(
&mut self,
) -> impl Future<Output = Result<Option<Resource<TerminalOutput>>>> + Send
fn get_terminal_stderr( &mut self, ) -> impl Future<Output = Result<Option<Resource<TerminalOutput>>>> + Send
If stderr is connected to a terminal, return a terminal-output
handle
allowing further interaction with it.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl<_T: Host + ?Sized + Send> Host for &mut _T
impl<_T: Host + ?Sized + Send> Host for &mut _T
Source§async fn get_terminal_stderr(
&mut self,
) -> Result<Option<Resource<TerminalOutput>>>
async 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.