pub struct ErrorMetrics {
pub total_errors: u64,
pub error_counts: HashMap<ErrorCode, u64>,
pub average_response_time: f64,
}Fields§
§total_errors: u64§error_counts: HashMap<ErrorCode, u64>§average_response_time: f64Auto Trait Implementations§
impl Freeze for ErrorMetrics
impl RefUnwindSafe for ErrorMetrics
impl Send for ErrorMetrics
impl Sync for ErrorMetrics
impl Unpin for ErrorMetrics
impl UnsafeUnpin for ErrorMetrics
impl UnwindSafe for ErrorMetrics
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