Skip to main content

undecodable_as

Function undecodable_as 

Source
pub(crate) fn undecodable_as<T>(error: Error, damage: T) -> Result<T>
Expand description

Answers damage for a failed read that found its data but could not decode it, and keeps any other failure.

A check reports such a row as damage and moves on, while a storage fault still ends it.