Struct StdioPipes

pub(crate) struct StdioPipes { pub stdin: Option<FileDesc>, pub stdout: Option<FileDesc>, pub stderr: Option<FileDesc> }

The pipes connected to a spawned process.

Used to pass pipe handles between this module and imp.

Fields

stdin: Option<FileDesc>
stdout: Option<FileDesc>
stderr: Option<FileDesc>

Auto Trait Implementations

impl Freeze for StdioPipes

impl RefUnwindSafe for StdioPipes

impl Send for StdioPipes

impl Sync for StdioPipes

impl Unpin for StdioPipes

impl UnsafeUnpin for StdioPipes

impl UnwindSafe for StdioPipes

Blanket Implementations

impl<T> Any for StdioPipes where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for StdioPipes where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for StdioPipes where T: ?Sized,

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

impl<T> From<T> for StdioPipes

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> SizeHint for StdioPipes where T: ?Sized,

fn lower_bound(&self) -> usize
fn upper_bound(&self) -> Option<usize>

impl<T> SizedTypeProperties for StdioPipes

impl<T, U> Into<U> for StdioPipes where U: From<T>,

fn into(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<U> for StdioPipes where U: Into<T>,

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

impl<T, U> TryInto<U> for StdioPipes where U: TryFrom<T>,

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