pub struct ChildStdin<T>(/* private fields */);Expand description
A handle to a child process’s standard input (stdin).
Implementations§
Source§impl<T> ChildStdin<T>
impl<T> ChildStdin<T>
Sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Consumes the wrapper, returning the inner value.
Sourcepub const fn as_inner_mut(&mut self) -> &mut T
pub const fn as_inner_mut(&mut self) -> &mut T
Gets a mutable reference to the inner value.
Trait Implementations§
Source§impl<T> AsMut<T> for ChildStdin<T>
impl<T> AsMut<T> for ChildStdin<T>
Source§impl<T> AsRef<T> for ChildStdin<T>
impl<T> AsRef<T> for ChildStdin<T>
Source§impl<T> Deref for ChildStdin<T>
impl<T> Deref for ChildStdin<T>
Source§impl<T> DerefMut for ChildStdin<T>
impl<T> DerefMut for ChildStdin<T>
Auto Trait Implementations§
impl<T> Freeze for ChildStdin<T>where
T: Freeze,
impl<T> RefUnwindSafe for ChildStdin<T>where
T: RefUnwindSafe,
impl<T> Send for ChildStdin<T>where
T: Send,
impl<T> Sync for ChildStdin<T>where
T: Sync,
impl<T> Unpin for ChildStdin<T>where
T: Unpin,
impl<T> UnwindSafe for ChildStdin<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more