pub struct StageTimings {
pub read: Duration,
pub markdown: Duration,
pub sanitize: Duration,
pub assemble: Duration,
pub write: Duration,
pub total: Duration,
}Expand description
Wall-clock time spent in each stage of one render workflow, plus the
workflow’s total. Reported to stderr by the CLI’s --verbose output.
Stages that do not run for a given invocation (sanitize under
--unsafe-html, assemble under --bare) report zero.
Fields§
§read: Duration§markdown: Duration§sanitize: Duration§assemble: Duration§write: Duration§total: DurationWall-clock time of the whole workflow, always at least the sum of the stages.
Trait Implementations§
Source§impl Debug for StageTimings
impl Debug for StageTimings
Auto Trait Implementations§
impl Forget for StageTimings
impl Freeze for StageTimings
impl Move for StageTimings
impl RefUnwindSafe for StageTimings
impl Send for StageTimings
impl Sync for StageTimings
impl Unpin for StageTimings
impl UnsafeUnpin for StageTimings
impl UnwindSafe for StageTimings
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