pub struct ProfileRecording {
pub header: RecordingHeader,
pub spans: Vec<ResourceSpan>,
}Expand description
An ordered sequence of ResourceSpan records from a program run.
Recordings can be created from in-memory spans or loaded from
newline-delimited JSON files (when the std feature is enabled).
Fields§
§header: RecordingHeaderHeader metadata.
spans: Vec<ResourceSpan>Ordered span records.
Implementations§
Source§impl ProfileRecording
impl ProfileRecording
Trait Implementations§
Source§impl Clone for ProfileRecording
impl Clone for ProfileRecording
Source§fn clone(&self) -> ProfileRecording
fn clone(&self) -> ProfileRecording
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProfileRecording
impl RefUnwindSafe for ProfileRecording
impl Send for ProfileRecording
impl Sync for ProfileRecording
impl Unpin for ProfileRecording
impl UnwindSafe for ProfileRecording
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