pub struct PreparedCommand {
pub spec: CommandSpec,
pub temp_dir: Option<TempDir>,
}Expand description
The prepared payload returned to transports and runners.
Consumers should drop this struct only after the agent process exits; the
optional temp_dir keeps the temporary extraction directory alive for the
duration of the child process.
Fields§
§spec: CommandSpecThe command specification suitable for tokio::process::Command.
temp_dir: Option<TempDir>Temp directory that must survive while the agent process runs (if present).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PreparedCommand
impl RefUnwindSafe for PreparedCommand
impl Send for PreparedCommand
impl Sync for PreparedCommand
impl Unpin for PreparedCommand
impl UnsafeUnpin for PreparedCommand
impl UnwindSafe for PreparedCommand
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