pub struct Metrics {
pub requests_total: AtomicU64,
pub status_2xx_total: AtomicU64,
pub status_3xx_total: AtomicU64,
pub status_4xx_total: AtomicU64,
pub status_5xx_total: AtomicU64,
pub upstream_connect_failures_total: AtomicU64,
pub upstream_timeouts_total: AtomicU64,
pub websocket_upgrades_total: AtomicU64,
pub host_rejected_total: AtomicU64,
}Fields§
§requests_total: AtomicU64§status_2xx_total: AtomicU64§status_3xx_total: AtomicU64§status_4xx_total: AtomicU64§status_5xx_total: AtomicU64§upstream_connect_failures_total: AtomicU64§upstream_timeouts_total: AtomicU64§websocket_upgrades_total: AtomicU64§host_rejected_total: AtomicU64Implementations§
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 UnsafeUnpin 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