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 ChildStdout

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

impl AsHandle for ChildStdout

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

impl AsRawFd for ChildStdout

fn as_raw_fd(self: &Self) -> RawFd

impl AsRawHandle for ChildStdout

fn as_raw_handle(self: &Self) -> RawHandle

impl Debug for ChildStdout

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

impl Freeze for ChildStdout

impl From for ChildStdout

fn from(handle: OwnedHandle) -> ChildStdout

impl From for ChildStdout

fn from(fd: OwnedFd) -> ChildStdout

impl IntoRawFd for ChildStdout

fn into_raw_fd(self: Self) -> RawFd

impl IntoRawHandle for ChildStdout

fn into_raw_handle(self: Self) -> RawHandle

impl Read for ChildStdout

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

impl RefUnwindSafe for ChildStdout

impl Send for ChildStdout

impl Sync for ChildStdout

impl Unpin for ChildStdout

impl UnsafeUnpin 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>