pub trait SequencerDataSource:
AvailabilityDataSource<SeqTypes>
+ NodeDataSource<SeqTypes>
+ StatusDataSource
+ UpdateDataSource<SeqTypes>
+ VersionedDataSource
+ Sized {
type Options: DataSourceOptions<DataSource = Self>;
// Required method
fn create<'async_trait>(
opt: Self::Options,
provider: Provider,
reset: bool,
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>
where Self: 'async_trait;
}
Expand description
A data source with sequencer-specific functionality.
This trait extends the generic AvailabilityDataSource
with some additional data needed to
provided sequencer-specific endpoints.
Required Associated Types§
type Options: DataSourceOptions<DataSource = Self>
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.