pub struct ErrorStats {
pub error_code: ErrorCode,
pub count: u64,
pub first_occurrence: u64,
pub last_occurrence: u64,
pub severity: ErrorSeverity,
pub category: ErrorCategory,
}Expand description
错误统计信息
Fields§
§error_code: ErrorCode§count: u64§first_occurrence: u64§last_occurrence: u64§severity: ErrorSeverity§category: ErrorCategoryTrait Implementations§
Source§impl Clone for ErrorStats
impl Clone for ErrorStats
Source§fn clone(&self) -> ErrorStats
fn clone(&self) -> ErrorStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ErrorStats
impl RefUnwindSafe for ErrorStats
impl Send for ErrorStats
impl Sync for ErrorStats
impl Unpin for ErrorStats
impl UnsafeUnpin for ErrorStats
impl UnwindSafe for ErrorStats
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