pub enum CalError {
NoReferenceClock,
UnsupportedCounter,
UnstableCounter,
NoProgress,
}Expand description
Why calibration refused the hardware counter.
Variants§
NoReferenceClock
No reference monotonic clock is available (neither std nor
libc features).
UnsupportedCounter
The architecture has no supported counter (the tsc feature is on,
but this is not x86_64/aarch64), or the invariant/frequency check
failed.
UnstableCounter
Two bracketed measurements disagreed beyond tolerance — the counter is not constant-rate (or the machine is wildly noisy).
NoProgress
The measurement window made no progress (a dead counter).
Trait Implementations§
impl Copy for CalError
impl Eq for CalError
impl StructuralPartialEq for CalError
Auto Trait Implementations§
impl Freeze for CalError
impl RefUnwindSafe for CalError
impl Send for CalError
impl Sync for CalError
impl Unpin for CalError
impl UnsafeUnpin for CalError
impl UnwindSafe for CalError
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