Struct tokio::process::ChildStdin [−][src]
pub struct ChildStdin { /* fields omitted */ }
Expand description
The standard input stream for spawned children.
This type implements the AsyncWrite
trait to pass data to the stdin handle of
handle of a child process asynchronously.
Trait Implementations
impl AsRawFd for ChildStdin
[src]
impl AsRawFd for ChildStdin
[src]impl AsyncWrite for ChildStdin
[src]
impl AsyncWrite for ChildStdin
[src]fn poll_write(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
buf: &[u8]
) -> Poll<Result<usize>>
[src]
fn poll_write(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
buf: &[u8]
) -> Poll<Result<usize>>
[src]Attempt to write bytes from buf
into the object. Read more
fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<()>>
[src]
fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<()>>
[src]Attempts to flush the object, ensuring that any buffered data reach their destination. Read more