pub struct ExecRequest {
pub command: CommandOptions,
pub yield_time_ms: u64,
pub max_output_bytes: Option<usize>,
}Fields§
§command: CommandOptions§yield_time_ms: u64§max_output_bytes: Option<usize>Implementations§
Source§impl ExecRequest
impl ExecRequest
pub fn new(command: CommandOptions) -> Self
pub fn with_yield_time_ms(self, yield_time_ms: u64) -> Self
pub fn with_max_output_bytes(self, max_output_bytes: usize) -> Self
Trait Implementations§
Source§impl Clone for ExecRequest
impl Clone for ExecRequest
Source§fn clone(&self) -> ExecRequest
fn clone(&self) -> ExecRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExecRequest
impl RefUnwindSafe for ExecRequest
impl Send for ExecRequest
impl Sync for ExecRequest
impl Unpin for ExecRequest
impl UnsafeUnpin for ExecRequest
impl UnwindSafe for ExecRequest
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