Struct fuel_core_metrics::services::ServicesMetrics
source · pub struct ServicesMetrics {
pub registry: Mutex<Registry>,
}
Expand description
The register of the metrics for each service.
Fields§
§registry: Mutex<Registry>
Implementations§
source§impl ServicesMetrics
impl ServicesMetrics
pub fn register_service(&self, service_name: &str) -> ServiceLifecycle
Trait Implementations§
source§impl Default for ServicesMetrics
impl Default for ServicesMetrics
source§fn default() -> ServicesMetrics
fn default() -> ServicesMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for ServicesMetrics
impl RefUnwindSafe for ServicesMetrics
impl Send for ServicesMetrics
impl Sync for ServicesMetrics
impl Unpin for ServicesMetrics
impl UnwindSafe for ServicesMetrics
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