Struct puffin::StreamInfoRef [−][src]
pub struct StreamInfoRef<'a> {
pub stream: &'a [u8],
pub num_scopes: usize,
pub depth: usize,
pub range_ns: (NanoSecond, NanoSecond),
}
Expand description
A reference to the contents of a StreamInfo
.
Fields
stream: &'a [u8]
The raw profile data.
num_scopes: usize
Total number of scopes in the stream.
depth: usize
The depth of the deepest scope.
0
mean no scopes, 1
some scopes without children, etc.
range_ns: (NanoSecond, NanoSecond)
The smallest and largest nanosecond value in the stream.
The default value is (NanoSecond::MAX
, NanoSecond::MIN
) which indicates an empty stream.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for StreamInfoRef<'a>
impl<'a> Send for StreamInfoRef<'a>
impl<'a> Sync for StreamInfoRef<'a>
impl<'a> Unpin for StreamInfoRef<'a>
impl<'a> UnwindSafe for StreamInfoRef<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more