Enum r3_portkit::tickless::CfgError
source · pub enum CfgError {
FreqNumZero,
FreqDenomZero,
FreqTooHigh,
InternalOverflow,
OSMaxTimeoutTooLow,
}
Expand description
Error type for TicklessCfg::new
.
Variants§
FreqNumZero
The numerator of the clock frequency is zero.
FreqDenomZero
The denominator of the clock frequency is zero.
FreqTooHigh
The clock frequency is too high.
InternalOverflow
Intermediate calculation overflowed. the clock frequency might be too complex or too low.
OSMaxTimeoutTooLow
The calculated value of TicklessCfg::max_timeout
is too low.