#[non_exhaustive]pub struct ReportGap {
pub start: Duration,
pub duration: Duration,
pub checks: u64,
pub max_check_gap: Duration,
pub from: Option<SourceSite>,
pub to: Option<SourceSite>,
}Expand description
The longest interval between reports in one span, recorded only when
Profiler::set_report_timing is on.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.start: DurationStart of the interval, in the clock’s epoch.
duration: DurationLength of the interval.
checks: u64Cancellation checks this span made inside the interval.
max_check_gap: DurationLongest interval without a check inside it, boundaries included.
from: Option<SourceSite>The report that opened the interval; None for span entry.
to: Option<SourceSite>The report that closed the interval; None for span exit.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReportGap
impl RefUnwindSafe for ReportGap
impl Send for ReportGap
impl Sync for ReportGap
impl Unpin for ReportGap
impl UnsafeUnpin for ReportGap
impl UnwindSafe for ReportGap
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