Struct super_process::sh::ShellScriptInvocation
source · pub struct ShellScriptInvocation {
pub script: ShellScript,
pub base: Command,
}Expand description
The command wrapper for a shell script.
Fields§
§script: ShellScriptThe script to preface the command line with.
base: CommandThe command line to provide to the script.
Trait Implementations§
source§impl Clone for ShellScriptInvocation
impl Clone for ShellScriptInvocation
source§fn clone(&self) -> ShellScriptInvocation
fn clone(&self) -> ShellScriptInvocation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl CommandBase for ShellScriptInvocation
impl CommandBase for ShellScriptInvocation
source§async fn setup_command(self) -> Result<Command, SetupError>
async fn setup_command(self) -> Result<Command, SetupError>
Generate a command line from the given object.
Auto Trait Implementations§
impl RefUnwindSafe for ShellScriptInvocation
impl Send for ShellScriptInvocation
impl Sync for ShellScriptInvocation
impl Unpin for ShellScriptInvocation
impl UnwindSafe for ShellScriptInvocation
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