pub struct RuntimeActivityTraces { /* private fields */ }
Implementations§
Source§impl RuntimeActivityTraces
impl RuntimeActivityTraces
pub fn is_enabled(&self) -> bool
pub fn count(&self) -> usize
pub fn get_all(&self, f: impl FnMut(RuntimeActivityType, usize, &str))
pub fn capture(&self) -> [BTreeMap<usize, Rc<str>>; 4]
pub fn get<T>( &self, activity_type: RuntimeActivityType, id: usize, f: impl FnOnce(Option<&str>) -> T, ) -> T
Trait Implementations§
Source§impl Default for RuntimeActivityTraces
impl Default for RuntimeActivityTraces
Source§fn default() -> RuntimeActivityTraces
fn default() -> RuntimeActivityTraces
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for RuntimeActivityTraces
impl !RefUnwindSafe for RuntimeActivityTraces
impl !Send for RuntimeActivityTraces
impl !Sync for RuntimeActivityTraces
impl Unpin for RuntimeActivityTraces
impl UnwindSafe for RuntimeActivityTraces
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