pub struct ServicesMetrics(/* private fields */);Expand description
A point in time snapshot of all started services and their ServiceMetrics.
Implementations§
Source§impl ServicesMetrics
impl ServicesMetrics
Sourcepub fn iter(&self) -> impl Iterator<Item = (ServiceId, ServiceMetrics)> + '_
pub fn iter(&self) -> impl Iterator<Item = (ServiceId, ServiceMetrics)> + '_
Returns an iterator of all service identifiers and their ServiceMetrics.
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