pub struct ShellCommandContext {
pub args: Vec<OsString>,
pub state: ShellState,
pub stdin: ShellPipeReader,
pub stdout: ShellPipeWriter,
pub stderr: ShellPipeWriter,
pub execute_command_args: Box<dyn FnOnce(ExecuteCommandArgsContext) -> FutureExecuteResult>,
}Fields§
§args: Vec<OsString>§state: ShellState§stdin: ShellPipeReader§stdout: ShellPipeWriter§stderr: ShellPipeWriter§execute_command_args: Box<dyn FnOnce(ExecuteCommandArgsContext) -> FutureExecuteResult>Auto Trait Implementations§
impl Freeze for ShellCommandContext
impl !RefUnwindSafe for ShellCommandContext
impl !Send for ShellCommandContext
impl !Sync for ShellCommandContext
impl Unpin for ShellCommandContext
impl UnsafeUnpin for ShellCommandContext
impl !UnwindSafe for ShellCommandContext
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> PathsInErrorsExt for Twhere
T: ?Sized,
impl<T> PathsInErrorsExt for Twhere
T: ?Sized,
Source§fn with_paths_in_errors(&self) -> SysWithPathsInErrors<'_, Self>
fn with_paths_in_errors(&self) -> SysWithPathsInErrors<'_, Self>
Wraps
self in a SysWithPathsInErrors that includes paths in error messages.