pub struct ErrorReport {
pub statistics: ErrorStatistics,
pub recent_events: Vec<ErrorEvent>,
pub generated_at: SystemTime,
pub time_window: Duration,
}Expand description
错误报告
Fields§
§statistics: ErrorStatistics统计数据
recent_events: Vec<ErrorEvent>最近事件
generated_at: SystemTime报告生成时间
time_window: Duration统计时间窗口
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorReport
impl RefUnwindSafe for ErrorReport
impl Send for ErrorReport
impl Sync for ErrorReport
impl Unpin for ErrorReport
impl UnwindSafe for ErrorReport
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