pub struct Metrics {
pub probes_started: Counter,
pub local_port_updates: Counter,
pub mapping_attempts: Counter,
pub mapping_failures: Counter,
pub external_address_updated: Counter,
pub upnp_probes: Counter,
pub upnp_probes_failed: Counter,
pub upnp_available: Counter,
pub upnp_gateway_updated: Counter,
pub pcp_probes: Counter,
pub pcp_available: Counter,
}
Expand description
Enum of metrics for the module
Fields§
§probes_started: Counter
§local_port_updates: Counter
§mapping_attempts: Counter
§mapping_failures: Counter
§external_address_updated: Counter
§upnp_probes: Counter
§upnp_probes_failed: Counter
§upnp_available: Counter
§upnp_gateway_updated: Counter
§pcp_probes: Counter
§pcp_available: 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<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
)