[backfill] name the unread transition states
`BackfillImported` carries the before and after states so `emit` can compare them, but `emit` only exists with the stream feature. The indexer-only and indexer-backlinks-nostream builds therefore warned on both fields, which failed the feature matrix for everyone.
34 unmodified lines3536373839404142434445718 unmodified linesExpand all34 unmodified linesuse crate::types::{AccountEvt, BroadcastEvent};#[cfg(feature = "indexer_stream")]use std::sync::atomic::Ordering;
/// without the stream feature there is nobody to announce the transition to,/// so both states are carried and dropped.#[cfg_attr(not(feature = "indexer_stream"), allow(dead_code))]pub(super) struct BackfillImported { before: RepoState<'static>, after: RepoState<'static>,}718 unmodified linesExpand all