pub enum StatsError {
MeasuredButNotMeasurable {
stage: StageId,
reason: &'static str,
},
EmptyReason(StageId),
ConflictingTables(StageId),
UnavailableButNotApplicable(StageId),
}Expand description
校验失败的原因(全部是“数据自相矛盾“,不是运行时错误)。
Variants§
MeasuredButNotMeasurable
某阶段被填了测量值,但后端声明它不可测量/不适用。
EmptyReason(StageId)
Unavailable 的原因为空。
ConflictingTables(StageId)
同一阶段同时出现在“不可用“与“不适用“表里。
某阶段在后端声明为不适用,却出现在“本帧不可用“表里。
Trait Implementations§
Source§impl Clone for StatsError
impl Clone for StatsError
impl Copy for StatsError
Source§impl Debug for StatsError
impl Debug for StatsError
impl Eq for StatsError
Source§impl PartialEq for StatsError
impl PartialEq for StatsError
impl StructuralPartialEq for StatsError
Auto Trait Implementations§
impl Forget for StatsError
impl Freeze for StatsError
impl Move for StatsError
impl RefUnwindSafe for StatsError
impl Send for StatsError
impl Sync for StatsError
impl Unpin for StatsError
impl UnsafeUnpin for StatsErrorwhere
&'static str: UnsafeUnpin,
impl UnwindSafe for StatsErrorwhere
&'static str: UnwindSafe,
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