pub struct RecordingTiming { /* private fields */ }Expand description
Immutable operational timing returned after successful recording completion.
These values describe host execution rather than scientific coordinates.
Scientific iteration and physical time remain part of each recorded
SystemState.
Implementations§
Source§impl RecordingTiming
impl RecordingTiming
Sourcepub fn created_at_utc(&self) -> &str
pub fn created_at_utc(&self) -> &str
Returns the recording’s original UTC creation timestamp in RFC 3339 form.
Sourcepub fn finalized_at_utc(&self) -> &str
pub fn finalized_at_utc(&self) -> &str
Returns the successful completion timestamp in UTC RFC 3339 form.
Sourcepub fn active_duration_ns(&self) -> u64
pub fn active_duration_ns(&self) -> u64
Returns the accumulated active writer duration as exact nanoseconds.
Sourcepub fn active_duration(&self) -> Duration
pub fn active_duration(&self) -> Duration
Returns the accumulated active writer duration as a standard duration.
Sourcepub fn continuation_count(&self) -> u64
pub fn continuation_count(&self) -> u64
Returns how many times this recording was reopened for continuation.
Trait Implementations§
Source§impl Clone for RecordingTiming
impl Clone for RecordingTiming
Source§fn clone(&self) -> RecordingTiming
fn clone(&self) -> RecordingTiming
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RecordingTiming
impl Debug for RecordingTiming
impl Eq for RecordingTiming
Source§impl PartialEq for RecordingTiming
impl PartialEq for RecordingTiming
impl StructuralPartialEq for RecordingTiming
Auto Trait Implementations§
impl Freeze for RecordingTiming
impl RefUnwindSafe for RecordingTiming
impl Send for RecordingTiming
impl Sync for RecordingTiming
impl Unpin for RecordingTiming
impl UnsafeUnpin for RecordingTiming
impl UnwindSafe for RecordingTiming
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more