[−][src]Struct functiontrace_server::profile_generator::FirefoxThread
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]
registration: ThreadRegistration,
thread: FirefoxProfileThreadId
) -> FirefoxThread
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
impl RefUnwindSafe for FirefoxThread[src]
impl Send for FirefoxThread[src]
impl Sync for FirefoxThread[src]
impl Unpin for FirefoxThread[src]
impl UnwindSafe for FirefoxThread[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,