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 crate::process::ChildStderr
fn as_fd(self: &Self) -> BorrowedFd<'_>
impl AsHandle for crate::process::ChildStderr
fn as_handle(self: &Self) -> BorrowedHandle<'_>
impl AsRawFd for process::ChildStderr
fn as_raw_fd(self: &Self) -> RawFd
impl AsRawHandle for process::ChildStderr
fn as_raw_handle(self: &Self) -> RawHandle
impl Debug for ChildStderr
fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl Freeze for ChildStderr
impl From for process::ChildStderr
fn from(fd: OwnedFd) -> process::ChildStderr
impl From for process::ChildStderr
fn from(handle: OwnedHandle) -> process::ChildStderr
impl IntoRawFd for process::ChildStderr
fn into_raw_fd(self: Self) -> RawFd
impl IntoRawHandle for process::ChildStderr
fn into_raw_handle(self: Self) -> RawHandle
impl Read for ChildStderr
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) -> boolfn read_to_end(self: &mut Self, buf: &mut Vec<u8>) -> io::Result<usize>
impl RefUnwindSafe for ChildStderr
impl Send for ChildStderr
impl Sync for ChildStderr
impl Unpin 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) -> TReturns the argument unchanged.
impl<T, U> Into for ChildStderr
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses 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>