pub struct TurbopackFormat {
store: Arc<StoreContainer>,
id_mapping: FxHashMap<u64, NonZeroUsize>,
dropped_ids: FxHashSet<u64>,
remaining_ids_to_drop: usize,
queued_rows: FxHashMap<u64, Vec<InternalRow>>,
outdated_spans: FxHashSet<NonZeroUsize>,
thread_stacks: FxHashMap<u64, Vec<u64>>,
thread_allocation_counters: FxHashMap<u64, AllocationInfo>,
self_time_started: FxHashMap<(u64, u64), Timestamp>,
interner: RcStrInterning,
}Fields§
§store: Arc<StoreContainer>§id_mapping: FxHashMap<u64, NonZeroUsize>§dropped_ids: FxHashSet<u64>§remaining_ids_to_drop: usize§queued_rows: FxHashMap<u64, Vec<InternalRow>>§outdated_spans: FxHashSet<NonZeroUsize>§thread_stacks: FxHashMap<u64, Vec<u64>>§thread_allocation_counters: FxHashMap<u64, AllocationInfo>§self_time_started: FxHashMap<(u64, u64), Timestamp>§interner: RcStrInterningImplementations§
Source§impl TurbopackFormat
impl TurbopackFormat
pub fn new(store: Arc<StoreContainer>) -> Self
fn intern_span_args( &mut self, values: Vec<(Cow<'_, str>, TraceValue<'_>)>, ) -> SmallVec<[(RcStr, RcStr); 1]>
fn process(&mut self, store: &mut StoreWriteGuard<'_>, row: TraceRow<'_>)
fn process_internal_row( &mut self, store: &mut StoreWriteGuard<'_>, row: InternalRow, )
Trait Implementations§
Source§impl TraceFormat for TurbopackFormat
impl TraceFormat for TurbopackFormat
Auto Trait Implementations§
impl Freeze for TurbopackFormat
impl RefUnwindSafe for TurbopackFormat
impl Send for TurbopackFormat
impl Sync for TurbopackFormat
impl Unpin for TurbopackFormat
impl UnsafeUnpin for TurbopackFormat
impl UnwindSafe for TurbopackFormat
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.