mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-21 00:00:10 +02:00
metrics: document Runtime::metrics (#6496)
This commit is contained in:
@@ -491,7 +491,8 @@ impl std::panic::RefUnwindSafe for Runtime {}
|
||||
|
||||
cfg_metrics! {
|
||||
impl Runtime {
|
||||
/// TODO
|
||||
/// Returns a view that lets you get information about how the runtime
|
||||
/// is performing.
|
||||
pub fn metrics(&self) -> crate::runtime::RuntimeMetrics {
|
||||
self.handle.metrics()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user