pub struct NixConfig {
pub timeout_secs: u64,
pub max_output_bytes: usize,
pub max_stderr_bytes: usize,
}Expand description
Tunable knobs for the NixExecutor.
Fields§
§timeout_secs: u64Wall-clock timeout for a single stage execution in seconds. The child process is killed with SIGKILL when exceeded. Default: 30 s.
max_output_bytes: usizeMaximum number of bytes read from a stage’s stdout before truncation. Prevents runaway allocations from stages that produce huge outputs. Default: 10 MiB.
max_stderr_bytes: usizeMaximum number of bytes captured from stderr (for error messages). Default: 64 KiB.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NixConfig
impl RefUnwindSafe for NixConfig
impl Send for NixConfig
impl Sync for NixConfig
impl Unpin for NixConfig
impl UnsafeUnpin for NixConfig
impl UnwindSafe for NixConfig
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