pub struct Limits {
pub max_procs: usize,
pub max_retries: u32,
pub deadline: Duration,
}Expand description
The bounds on one snapshot. The sampler runs on its own thread, so these protect nothing about the ceiling clock; they keep one look at a huge or churning tree from turning into an unbounded one.
Fields§
§max_procs: usize§max_retries: u32§deadline: DurationTrait 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