Struct async_std::process::ChildStdin [−][src]
pub struct ChildStdin(_);
This is supported on
unstable
only.Expand description
A handle to a child process’s standard input (stdin).
When a ChildStdin
is dropped, the underlying handle gets clossed. If the child process was
previously blocked on input, it becomes unblocked after dropping.
Trait Implementations
Attempt to write bytes from buf
into the object. Read more
pub fn poll_flush(
self: Pin<&mut ChildStdin>,
cx: &mut Context<'_>
) -> Poll<Result<(), Error>>
pub fn poll_flush(
self: Pin<&mut ChildStdin>,
cx: &mut Context<'_>
) -> Poll<Result<(), Error>>
Attempt to flush the object, ensuring that any buffered data reach their destination. Read more
pub fn poll_close(
self: Pin<&mut ChildStdin>,
cx: &mut Context<'_>
) -> Poll<Result<(), Error>>
pub fn poll_close(
self: Pin<&mut ChildStdin>,
cx: &mut Context<'_>
) -> Poll<Result<(), Error>>
Attempt to close the object. Read more
Auto Trait Implementations
impl RefUnwindSafe for ChildStdin
impl Send for ChildStdin
impl Sync for ChildStdin
impl Unpin for ChildStdin
impl UnwindSafe for ChildStdin
Blanket Implementations
Writes some bytes into the byte stream. Read more
fn write_vectored(
&'a mut self,
bufs: &'a [IoSlice<'a>]
) -> WriteVectoredFuture<'a, Self> where
Self: Unpin,
fn write_vectored(
&'a mut self,
bufs: &'a [IoSlice<'a>]
) -> WriteVectoredFuture<'a, Self> where
Self: Unpin,
Writes an entire buffer into the byte stream. Read more
Flushes the stream to ensure that all buffered contents reach their destination. Read more
Closes the writer. Read more
Boxes the writer and changes its type to dyn AsyncWrite + Send + 'a
. Read more
Mutably borrows from an owned value. Read more