pub struct Metrics {
pub stun_packets_dropped: Counter,
pub stun_packets_sent_ipv4: Counter,
pub stun_packets_sent_ipv6: Counter,
pub stun_packets_recv_ipv4: Counter,
pub stun_packets_recv_ipv6: Counter,
pub reports: Counter,
pub reports_full: Counter,
}
Expand description
Enum of metrics for the module
Fields§
§stun_packets_dropped: Counter
§stun_packets_sent_ipv4: Counter
§stun_packets_sent_ipv6: Counter
§stun_packets_recv_ipv4: Counter
§stun_packets_recv_ipv6: Counter
§reports: Counter
§reports_full: Counter
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Metrics
impl RefUnwindSafe for Metrics
impl Send for Metrics
impl Sync for Metrics
impl Unpin for Metrics
impl UnwindSafe for Metrics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)