pub struct EventCounter { /* private fields */ }Expand description
A simple event counter with named events.
Implementations§
Source§impl EventCounter
impl EventCounter
Sourcepub fn event_names(&self) -> Vec<&str>
pub fn event_names(&self) -> Vec<&str>
Returns all event names.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventCounter
impl RefUnwindSafe for EventCounter
impl Send for EventCounter
impl Sync for EventCounter
impl Unpin for EventCounter
impl UnsafeUnpin for EventCounter
impl UnwindSafe for EventCounter
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