pub enum RowError {
Codec(Error),
CaptureObjects,
ColumnMapping,
ScalerUnit,
TooManyRows,
RowWidth,
RegisterValue,
MeterStatus,
Clock(ClockError),
OutsideRange,
Capture(Error),
}Expand description
A failure while interpreting meter metadata or importing a bounded page.
Variants§
Codec(Error)
A malformed encoded value, or an invalid compressed row.
CaptureObjects
The capture list is malformed, exceeds the column bound or repeats a descriptor.
ColumnMapping
The meter omitted a commissioned object or two commissioned fields coincide.
ScalerUnit
The register has an invalid scaler/unit structure or a different unit.
TooManyRows
The returned page exceeds the destination profile’s row bound.
RowWidth
A row contains more cells than the capture list.
RegisterValue
The register needs an exact signed or unsigned integer.
MeterStatus
The status needs an unsigned value representable in 32 bits.
Clock(ClockError)
A captured time cannot be interpreted at whole-second resolution.
OutsideRange
The returned clock is outside the inclusive selection.
Capture(Error)
The destination rejected the channel, slot or a conflicting replay.
Trait Implementations§
impl Copy for RowError
impl Eq for RowError
Source§impl Error for RowError
impl Error for RowError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()