Struct ChildStdout

struct ChildStdout { ... }

A handle to a child process's standard output (stdout).

This struct is used in the stdout field on Child.

When an instance of ChildStdout is dropped, the ChildStdout's underlying file handle will be closed.

Implementations

impl AsFd for crate::process::ChildStdout

fn as_fd(self: &Self) -> BorrowedFd<'_>

impl AsHandle for crate::process::ChildStdout

fn as_handle(self: &Self) -> BorrowedHandle<'_>

impl AsRawFd for process::ChildStdout

fn as_raw_fd(self: &Self) -> RawFd

impl AsRawHandle for process::ChildStdout

fn as_raw_handle(self: &Self) -> RawHandle

impl Debug for ChildStdout

fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result

impl Freeze for ChildStdout

impl From for process::ChildStdout

fn from(handle: OwnedHandle) -> process::ChildStdout

impl From for process::ChildStdout

fn from(fd: OwnedFd) -> process::ChildStdout

impl IntoRawFd for process::ChildStdout

fn into_raw_fd(self: Self) -> RawFd

impl IntoRawHandle for process::ChildStdout

fn into_raw_handle(self: Self) -> RawHandle

impl Read for ChildStdout

fn read(self: &mut Self, buf: &mut [u8]) -> io::Result<usize>
fn read_buf(self: &mut Self, buf: BorrowedCursor<'_>) -> io::Result<()>
fn read_vectored(self: &mut Self, bufs: &mut [IoSliceMut<'_>]) -> io::Result<usize>
fn is_read_vectored(self: &Self) -> bool
fn read_to_end(self: &mut Self, buf: &mut Vec<u8>) -> io::Result<usize>

impl RefUnwindSafe for ChildStdout

impl Send for ChildStdout

impl Sync for ChildStdout

impl Unpin for ChildStdout

impl UnwindSafe for ChildStdout

impl<T> Any for ChildStdout

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ChildStdout

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ChildStdout

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for ChildStdout

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for ChildStdout

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for ChildStdout

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for ChildStdout

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>