pub struct ExecutionResult {
pub status: ExitStatus,
pub new_cwd: Option<PathBuf>,
}Expand description
Result of command execution, including whether it was a cd command.
Fields§
§status: ExitStatusExit status of the command
new_cwd: Option<PathBuf>If this was a cd command, the new directory to change to
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExecutionResult
impl RefUnwindSafe for ExecutionResult
impl Send for ExecutionResult
impl Sync for ExecutionResult
impl Unpin for ExecutionResult
impl UnwindSafe for ExecutionResult
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