Module hotshot_query_service::availability
source · Expand description
Queries for HotShot chain state.
+Module hotshot_query_service::availability
source · Expand description
Queries for HotShot chain state.
The availability API provides an objective view of the HotShot blockchain. It provides access only to normative data: that is, data which is agreed upon by all honest consensus nodes and which is immutable. This means access to core consensus data structures including leaves, diff --git a/hotshot_query_service/availability/trait.AvailabilityDataSource.html b/hotshot_query_service/availability/trait.AvailabilityDataSource.html index 22d7a86f1..43c733683 100644 --- a/hotshot_query_service/availability/trait.AvailabilityDataSource.html +++ b/hotshot_query_service/availability/trait.AvailabilityDataSource.html @@ -204,7 +204,7 @@ from: usize ) -> Pin<Box<dyn Future<Output = BoxStream<'static, VidCommonQueryData<Types>>> + Send + 'async_trait>>
Object Safety§
Implementors§
source§impl AvailabilityDataSource<MockTypes> for DataSource
impl AvailabilityDataSource<MockTypes> for DataSource
Object Safety§
Implementors§
source§impl AvailabilityDataSource<MockTypes> for DataSource
impl AvailabilityDataSource<MockTypes> for DataSource
type LeafRange<R> = Pin<Box<dyn Stream<Item = Fetch<LeafQueryData<MockTypes>>> + Send>> where R: RangeBounds<usize> + Send
type BlockRange<R> = Pin<Box<dyn Stream<Item = Fetch<BlockQueryData<MockTypes>>> + Send>>
where
diff --git a/hotshot_query_service/availability/trait.UpdateAvailabilityData.html b/hotshot_query_service/availability/trait.UpdateAvailabilityData.html
index a24765d89..d949c1955 100644
--- a/hotshot_query_service/availability/trait.UpdateAvailabilityData.html
+++ b/hotshot_query_service/availability/trait.UpdateAvailabilityData.html
@@ -38,10 +38,10 @@
share: Option<VidShare>
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
- 'life0: 'async_trait,
Implementors§
source§impl UpdateAvailabilityData<MockTypes> for DataSource
impl UpdateAvailabilityData<MockTypes> for DataSource
type Error = QueryError
source§impl<D, U, Types> UpdateAvailabilityData<Types> for ExtensibleDataSource<D, U>where
+ 'life0: 'async_trait,
impl<D, U, Types> UpdateAvailabilityData<Types> for ExtensibleDataSource<D, U>where
+ 'life0: 'async_trait,
Implementors§
source§impl UpdateAvailabilityData<MockTypes> for DataSource
impl UpdateAvailabilityData<MockTypes> for DataSource
type Error = QueryError
source§impl<D, U, Types> UpdateAvailabilityData<Types> for ExtensibleDataSource<D, U>
impl<D, U, Types> UpdateAvailabilityData<Types> for ExtensibleDataSource<D, U>
type Error = <D as UpdateAvailabilityData<Types>>::Error
source§impl<Types> UpdateAvailabilityData<Types> for SqlStoragewhere
+ Types: NodeType,
impl<Types> UpdateAvailabilityData<Types> for SqlStoragewhere
+ Types: NodeType,
type Error = <D as UpdateAvailabilityData<Types>>::Error
source§impl<Types> UpdateAvailabilityData<Types> for SqlStorage
impl<Types> UpdateAvailabilityData<Types> for SqlStorage
type Error = QueryError
source§impl<Types, S, P> UpdateAvailabilityData<Types> for FetchingDataSource<Types, S, P>where
diff --git a/hotshot_query_service/data_source/fetching/struct.FetchingDataSource.html b/hotshot_query_service/data_source/fetching/struct.FetchingDataSource.html
index 940891d5b..cb9644f7c 100644
--- a/hotshot_query_service/data_source/fetching/struct.FetchingDataSource.html
+++ b/hotshot_query_service/data_source/fetching/struct.FetchingDataSource.html
@@ -385,5 +385,5 @@
[WithDispatch
] wrapper. Read more
impl<Types, S, P> UpdateAvailabilityData<Types> for FetchingDataSource<Types, S, P>where
diff --git a/hotshot_query_service/data_source/fetching/struct.FetchingDataSource.html b/hotshot_query_service/data_source/fetching/struct.FetchingDataSource.html
index 940891d5b..cb9644f7c 100644
--- a/hotshot_query_service/data_source/fetching/struct.FetchingDataSource.html
+++ b/hotshot_query_service/data_source/fetching/struct.FetchingDataSource.html
@@ -385,5 +385,5 @@
[WithDispatch
] wrapper. Read more
WithDispatch
] wrapper. Read moresource§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
impl<T> TestableDataSource for Twhere
+WithDispatch
wrapper. Read more
WithDispatch
wrapper. Read moreimpl<T> TestableDataSource for T
macro_rules! include_migrations { + macro_rules! include_migrations { ($dir:tt) => { ... }; }Expand description
Embed migrations from the given directory into the current binary.
The macro invocation
include_migrations!(path)
evaluates to an expression of typeimpl Iterator<Item = Migration>
. Each migration must be a text file which is an immediate child of diff --git a/hotshot_query_service/data_source/sql/type.SqlDataSource.html b/hotshot_query_service/data_source/sql/type.SqlDataSource.html index 210a2339c..057110c52 100644 --- a/hotshot_query_service/data_source/sql/type.SqlDataSource.html +++ b/hotshot_query_service/data_source/sql/type.SqlDataSource.html @@ -212,8 +212,8 @@Composition
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, - 'life1: 'async_trait,
source§ fn setup<'life0, 'async_trait>( - _network: &'life0 MockNetwork<Self> + 'life1: 'async_trait,