pub struct ShellScriptInvocation {
pub script: ShellScript,
pub base: Command,
}
Expand description
The command wrapper for a shell script.
Fields§
§script: ShellScript
The script to preface the command line with.
base: Command
The 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 duplicate 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§fn setup_command<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Command, SetupError>> + Send + 'async_trait>>where
Self: 'async_trait,
fn setup_command<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Command, SetupError>> + Send + 'async_trait>>where
Self: 'async_trait,
Generate a command line from the given object.
Auto Trait Implementations§
impl Freeze for ShellScriptInvocation
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