pub struct PooledProcess { /* private fields */ }
Trait Implementations§
Source§impl Drop for PooledProcess
impl Drop for PooledProcess
Source§impl SubprocessHandler for PooledProcess
impl SubprocessHandler for PooledProcess
async fn write_bytes(&mut self, input: &[u8]) -> Result<()>
async fn read_bytes(&mut self) -> Result<Vec<u8>>
async fn read_bytes_until(&mut self, delimiter: u8) -> Result<Vec<u8>>
fn is_alive(&mut self) -> bool
fn close_stdin(&mut self)
fn write(&mut self, input: &str) -> impl Future<Output = Result<()>> + Send
fn write_line(&mut self, input: &str) -> impl Future<Output = Result<()>> + Send
fn read(&mut self) -> impl Future<Output = Result<String>> + Send
fn read_until( &mut self, delimiter: u8, ) -> impl Future<Output = Result<String>> + Send
fn read_line(&mut self) -> impl Future<Output = Result<String>> + Send
Auto Trait Implementations§
impl Freeze for PooledProcess
impl !RefUnwindSafe for PooledProcess
impl Send for PooledProcess
impl Sync for PooledProcess
impl Unpin for PooledProcess
impl !UnwindSafe for PooledProcess
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more