pub struct CallbackProcessRequest {
pub request_id: String,
pub summary: String,
pub argv: Vec<String>,
pub cwd: Option<String>,
pub stdin_text: Option<String>,
pub stdout_limit_bytes: u64,
pub stderr_limit_bytes: u64,
pub display_name: Option<String>,
}Expand description
Validated process action forwarded to a CallbackProcessExecutor.
Fields§
§request_id: StringUnique identifier used to correlate cancellation callbacks.
summary: StringHuman-readable command summary.
argv: Vec<String>Command argv vector (argv[0] is executable).
cwd: Option<String>Optional working directory override.
stdin_text: Option<String>Optional UTF-8 standard input text.
stdout_limit_bytes: u64Maximum stdout bytes retained in bounded capture.
stderr_limit_bytes: u64Maximum stderr bytes retained in bounded capture.
display_name: Option<String>Optional human-readable label for /tasks display.
Trait Implementations§
Source§impl Clone for CallbackProcessRequest
impl Clone for CallbackProcessRequest
Source§impl Debug for CallbackProcessRequest
impl Debug for CallbackProcessRequest
impl Eq for CallbackProcessRequest
Source§impl PartialEq for CallbackProcessRequest
impl PartialEq for CallbackProcessRequest
impl StructuralPartialEq for CallbackProcessRequest
Auto Trait Implementations§
impl Forget for CallbackProcessRequest
impl Freeze for CallbackProcessRequest
impl Move for CallbackProcessRequest
impl RefUnwindSafe for CallbackProcessRequest
impl Send for CallbackProcessRequestwhere
RawVecInner: Send,
impl Sync for CallbackProcessRequestwhere
RawVecInner: Sync,
impl Unpin for CallbackProcessRequest
impl UnsafeUnpin for CallbackProcessRequestwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for CallbackProcessRequestwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.