pub struct Track<S, K>where
S: TrackScope,
K: TrackType,{ /* private fields */ }
Implementations§
Source§impl<S: TrackScope> Track<S, EventTrack>
impl<S: TrackScope> Track<S, EventTrack>
pub fn slice_begin_evt(&self, ts: u64, name: Option<String>) -> TracePacket
pub fn slice_end_evt(&self, ts: u64) -> TracePacket
pub fn instant_evt(&self, ts: u64, name: String) -> TracePacket
Source§impl<S: TrackScope> Track<S, CounterTrack>
impl<S: TrackScope> Track<S, CounterTrack>
pub fn int_counter_evt<V>(&self, ts: u64, val: V) -> TracePacket
pub fn float_counter_evt<V>(&self, ts: u64, val: V) -> TracePacket
Auto Trait Implementations§
impl<S, K> Freeze for Track<S, K>
impl<S, K> RefUnwindSafe for Track<S, K>where
S: RefUnwindSafe,
K: RefUnwindSafe,
impl<S, K> Send for Track<S, K>
impl<S, K> Sync for Track<S, K>
impl<S, K> Unpin for Track<S, K>
impl<S, K> UnwindSafe for Track<S, K>where
S: UnwindSafe,
K: UnwindSafe,
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