pub(crate) fn ecc_stats<Fd: AsFd>(fd: Fd) -> Result<EccStats>
Returns the ECC statistics of an MTD device.