pub struct RelayMetrics {
pub server: Arc<Metrics>,
}Available on crate feature
server only.Expand description
All metrics tracked in the relay server.
Fields§
§server: Arc<Metrics>Metrics tracked for the relay server.
Trait Implementations§
Source§impl Clone for RelayMetrics
impl Clone for RelayMetrics
Source§fn clone(&self) -> RelayMetrics
fn clone(&self) -> RelayMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RelayMetrics
impl Debug for RelayMetrics
Source§impl Default for RelayMetrics
impl Default for RelayMetrics
Source§fn default() -> RelayMetrics
fn default() -> RelayMetrics
Returns the “default value” for a type. Read more
Source§impl MetricsGroupSet for RelayMetrics
impl MetricsGroupSet for RelayMetrics
Source§fn groups_cloned(&self) -> impl Iterator<Item = Arc<dyn MetricsGroup>>
fn groups_cloned(&self) -> impl Iterator<Item = Arc<dyn MetricsGroup>>
Returns an iterator over owned clones of the
MetricsGroup in this struct.Source§fn groups(&self) -> impl Iterator<Item = &dyn MetricsGroup>
fn groups(&self) -> impl Iterator<Item = &dyn MetricsGroup>
Returns an iterator over references to the
MetricsGroup in this struct.Auto Trait Implementations§
impl Freeze for RelayMetrics
impl RefUnwindSafe for RelayMetrics
impl Send for RelayMetrics
impl Sync for RelayMetrics
impl Unpin for RelayMetrics
impl UnwindSafe for RelayMetrics
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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