Struct ChildStderr

struct ChildStderr { ... }

A handle to a child process's stderr.

This struct is used in the stderr field on Child.

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

Implementations

impl AsFd for ChildStderr

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

impl AsHandle for ChildStderr

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

impl AsRawFd for ChildStderr

fn as_raw_fd(self: &Self) -> RawFd

impl AsRawHandle for ChildStderr

fn as_raw_handle(self: &Self) -> RawHandle

impl Debug for ChildStderr

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

impl Freeze for ChildStderr

impl From for ChildStderr

fn from(fd: OwnedFd) -> ChildStderr

impl From for ChildStderr

fn from(handle: OwnedHandle) -> ChildStderr

impl IntoRawFd for ChildStderr

fn into_raw_fd(self: Self) -> RawFd

impl IntoRawHandle for ChildStderr

fn into_raw_handle(self: Self) -> RawHandle

impl Read for ChildStderr

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 ChildStderr

impl Send for ChildStderr

impl Sync for ChildStderr

impl Unpin for ChildStderr

impl UnsafeUnpin for ChildStderr

impl UnwindSafe for ChildStderr

impl<T> Any for ChildStderr

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ChildStderr

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

impl<T> BorrowMut for ChildStderr

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

impl<T> From for ChildStderr

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for ChildStderr

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 ChildStderr

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

impl<T, U> TryInto for ChildStderr

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