pub(super) fn sanitize<T: ShredDataTrait>(shred: &T) -> Result<(), Error>