pub struct StreamLimit {
pub max_stdout_bytes: usize,
pub max_stderr_bytes: usize,
}Expand description
Output limits applied while collecting child stdout and stderr.
Fields§
§max_stdout_bytes: usizeMaximum number of stdout bytes retained in memory before truncation is reported.
max_stderr_bytes: usizeMaximum number of stderr bytes retained in memory before truncation is reported.
Trait Implementations§
Source§impl Clone for StreamLimit
impl Clone for StreamLimit
Source§fn clone(&self) -> StreamLimit
fn clone(&self) -> StreamLimit
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamLimit
impl Debug for StreamLimit
Source§impl PartialEq for StreamLimit
impl PartialEq for StreamLimit
impl Copy for StreamLimit
impl Eq for StreamLimit
impl StructuralPartialEq for StreamLimit
Auto Trait Implementations§
impl Freeze for StreamLimit
impl RefUnwindSafe for StreamLimit
impl Send for StreamLimit
impl Sync for StreamLimit
impl Unpin for StreamLimit
impl UnsafeUnpin for StreamLimit
impl UnwindSafe for StreamLimit
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