[][src]Struct functiontrace_server::profile_generator::FirefoxThread

pub struct FirefoxThread { /* fields omitted */ }

The FirefoxProfile representation of a thread, with additional internal augmentations to store data necessary for efficiently parsing the thread's trace log.

NOTE: This is designed to be usable entirely standalone from a FirefoxProfile during parsing.

Implementations

impl FirefoxThread[src]

pub fn new(
    registration: ThreadRegistration,
    thread: FirefoxProfileThreadId
) -> FirefoxThread
[src]

Create a new FirefoxThread, given some information about it and a FirefoxProfileThreadId granting permission to do so.

pub fn add_trace(&mut self, trace: FunctionTrace)[src]

Convert the given FunctionTrace into a meaningful format and attach it to the current thread.

Trait Implementations

impl Debug for FirefoxThread[src]

impl Serialize for FirefoxThread[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.