pub struct Limits {
pub max_files: u64,
pub max_bytes: u64,
pub max_duration: Option<Duration>,
}Fields§
§max_files: u64§max_bytes: u64§max_duration: Option<Duration>Wall-clock ceiling for a single snapshot. None = no time limit.
When exceeded the walk stops and the manifest is marked truncated — a
loud, journaled coverage gap — instead of letting the hook run past the
harness timeout and be SIGKILLed with nothing recorded (bench D1).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnsafeUnpin for Limits
impl UnwindSafe for Limits
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