//! Trait for pluggable REST-based stream fetchers.
//!
//! Concrete implementations (e.g. via digdigdig3 `ExchangeHub`) are provided externally.
//! Pass an implementor via `EnrichedDataLoader::with_rest_fetcher(...)`.
use async_trait;
use ;
use ;
/// Fetches historical events for a stream from a remote REST exchange API.
///
/// # Integration
/// Implement this trait against digdigdig3 `ExchangeHub` or any other HTTP client.
/// Then pass the implementor via `EnrichedDataLoader::with_rest_fetcher(...)`.