pub struct FrameMeta {
pub frame_index: FrameIndex,
pub range_ns: (NanoSecond, NanoSecond),
pub num_bytes: usize,
pub num_scopes: usize,
}
Expand description
Meta-information about a frame.
Fields§
§frame_index: FrameIndex
What frame this is (counting from 0 at application startup).
range_ns: (NanoSecond, NanoSecond)
The span we cover.
num_bytes: usize
The unpacked size of all streams.
num_scopes: usize
Total number of scopes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FrameMeta
impl<'de> Deserialize<'de> for FrameMeta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for FrameMeta
Auto Trait Implementations§
impl Freeze for FrameMeta
impl RefUnwindSafe for FrameMeta
impl Send for FrameMeta
impl Sync for FrameMeta
impl Unpin for FrameMeta
impl UnwindSafe for FrameMeta
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<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