[−][src]Struct command_builder::Input
Contains input to be piped into a command.
Trait Implementations
impl<F: Clone> Clone for Input<F> where
F: Command,
[src]
F: Command,
impl<F: Command> Command for Input<F>
[src]
fn run_internal(
&self,
input: Option<&str>,
clear_env: bool,
env: HashMap<String, String>,
del_env: HashSet<String>,
path: Option<PathBuf>
) -> Result<Output, Error>
[src]
&self,
input: Option<&str>,
clear_env: bool,
env: HashMap<String, String>,
del_env: HashSet<String>,
path: Option<PathBuf>
) -> Result<Output, Error>
fn and<C: Command>(self, other: C) -> And<Self, C>
[src]
fn or<C: Command>(self, other: C) -> Or<Self, C>
[src]
fn then<C: Command>(self, other: C) -> Then<Self, C>
[src]
fn pipe<C: Command>(self, other: C) -> Pipe<Self, C>
[src]
fn env(self, key: &str, value: &str) -> Env<Self>
[src]
fn clear_envs(self) -> ClearEnv<Self>
[src]
fn without_env(self, key: &str) -> ExceptEnv<Self>
[src]
fn without_envs<I: IntoIterator<Item = String>>(
self,
envs: I
) -> ExceptEnvs<Self, I>
[src]
self,
envs: I
) -> ExceptEnvs<Self, I>
fn with_dir<P: AsRef<Path>>(self, dir: P) -> Dir<Self>
[src]
fn run(&self) -> Result<Output>
[src]
fn with_input(self, input: &str) -> Input<Self>
[src]
impl<F: Command> Debug for Input<F>
[src]
Auto Trait Implementations
impl<F> RefUnwindSafe for Input<F> where
F: RefUnwindSafe,
F: RefUnwindSafe,
impl<F> Send for Input<F> where
F: Send,
F: Send,
impl<F> Sync for Input<F> where
F: Sync,
F: Sync,
impl<F> Unpin for Input<F> where
F: Unpin,
F: Unpin,
impl<F> UnwindSafe for Input<F> where
F: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,