pub struct GlobalRegistry {
pub registry: Mutex<Registry>,
}
Expand description
The global register of all metrics.
Fields§
§registry: Mutex<Registry>
Trait Implementations§
source§impl Default for GlobalRegistry
impl Default for GlobalRegistry
source§fn default() -> GlobalRegistry
fn default() -> GlobalRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for GlobalRegistry
impl !RefUnwindSafe for GlobalRegistry
impl Send for GlobalRegistry
impl Sync for GlobalRegistry
impl Unpin for GlobalRegistry
impl !UnwindSafe for GlobalRegistry
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