pub struct StatMonitor { /* private fields */ }
Implementations§
Source§impl StatMonitor
impl StatMonitor
pub fn new() -> StatMonitor
pub fn with_sample_rate(max_samples_per_sec: u16) -> StatMonitor
pub fn get_info(&self) -> Option<ThreadInfoIterator>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StatMonitor
impl !RefUnwindSafe for StatMonitor
impl Send for StatMonitor
impl Sync for StatMonitor
impl Unpin for StatMonitor
impl !UnwindSafe for StatMonitor
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