mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-25 12:00:35 +00:00
metrics: document Runtime::metrics
(#6496)
This commit is contained in:
parent
5ba12a7145
commit
f3bfed30eb
@ -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()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user