pub enum StdinMode {
Empty,
Piped(Vec<u8>),
Terminal(Vec<u8>),
}Expand description
Input supplied to one candidate invocation.
Variants§
Empty
Connects the child to an empty input stream.
Piped(Vec<u8>)
Writes the provided bytes to a pipe connected to the child.
A candidate closing the pipe before consuming every byte is normal completion, not a runner error.
Terminal(Vec<u8>)
Requests a terminal-backed input stream containing the provided bytes.
Trait Implementations§
impl Eq for StdinMode
impl StructuralPartialEq for StdinMode
Auto Trait Implementations§
impl Freeze for StdinMode
impl RefUnwindSafe for StdinMode
impl Send for StdinMode
impl Sync for StdinMode
impl Unpin for StdinMode
impl UnsafeUnpin for StdinMode
impl UnwindSafe for StdinMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.