pub enum CommandStdin {
Null,
Inherit,
Stream(SharedInput),
OsPipe(OsPipeReader),
}Variants§
Null
Isolated null stdin. Preserves the previous None behavior.
Inherit
Stream(SharedInput)
OsPipe(OsPipeReader)
Direct OS kernel pipe reader for concurrent pipelines. See
CommandStdout::OsPipe for the single use contract.
Trait Implementations§
Source§impl Clone for CommandStdin
impl Clone for CommandStdin
Source§fn clone(&self) -> CommandStdin
fn clone(&self) -> CommandStdin
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CommandStdin
impl Default for CommandStdin
Source§fn default() -> CommandStdin
fn default() -> CommandStdin
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CommandStdin
impl RefUnwindSafe for CommandStdin
impl Send for CommandStdin
impl Sync for CommandStdin
impl Unpin for CommandStdin
impl UnsafeUnpin for CommandStdin
impl UnwindSafe for CommandStdin
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