From 1d214991bacbf5dbd9e6cecd78ef1e59507c9595 Mon Sep 17 00:00:00 2001 From: jbearer Date: Wed, 10 Jan 2024 15:42:18 +0000 Subject: [PATCH] deploy: 0eb6fd2a012f2b29fcf7b6703a760f5c7ae00200 --- hotshot_query_service/all.html | 2 +- .../availability/enum.Error.html | 40 +++--- .../availability/enum.ResourceId.html | 2 +- .../availability/fn.define_api.html | 2 +- hotshot_query_service/availability/index.html | 2 +- .../availability/sidebar-items.js | 2 +- .../availability/struct.BlockQueryData.html | 22 +-- .../availability/struct.BlockStreamSnafu.html | 10 +- .../availability/struct.CustomSnafu.html | 10 +- .../struct.InconsistentLeafError.html | 6 +- .../struct.InvalidSignatureKeySnafu.html | 135 ++++++++++++++++++ .../struct.InvalidTransactionIndexSnafu.html | 10 +- .../availability/struct.LeafQueryData.html | 17 ++- .../availability/struct.LeafStreamSnafu.html | 10 +- .../availability/struct.Options.html | 8 +- .../availability/struct.QueryBlockSnafu.html | 6 +- .../availability/struct.QueryLeafSnafu.html | 6 +- .../struct.QueryProposalsSnafu.html | 6 +- .../struct.QueryTransactionSnafu.html | 6 +- .../availability/struct.RequestSnafu.html | 6 +- .../availability/struct.StreamBlockSnafu.html | 6 +- .../availability/struct.StreamLeafSnafu.html | 6 +- .../struct.TransactionQueryData.html | 30 ++-- .../trait.AvailabilityDataSource.html | 12 +- .../availability/trait.QueryablePayload.html | 89 ++++++++---- .../trait.UpdateAvailabilityData.html | 4 +- .../availability/type.BlockHash.html | 2 +- .../availability/type.LeafHash.html | 2 +- .../availability/type.Timestamp.html | 2 +- .../availability/type.TransactionHash.html | 2 +- .../type.TransactionInclusionProof.html | 2 +- .../availability/type.TransactionIndex.html | 2 +- .../sql/fn.default_migrations.html | 2 +- .../data_source/sql/index.html | 2 +- .../sql/macro.include_migrations.html | 2 +- .../data_source/sql/struct.Config.html | 26 ++-- .../data_source/sql/struct.SqlDataSource.html | 71 ++++----- .../data_source/sql/struct.Transaction.html | 20 +-- .../data_source/sql/trait.Query.html | 18 +-- .../struct.ExtensibleDataSource.html | 8 +- .../struct.FileSystemDataSource.html | 52 +++---- .../trait.VersionedDataSource.html | 4 +- hotshot_query_service/enum.Error.html | 12 +- hotshot_query_service/enum.QueryError.html | 22 +-- .../fn.run_standalone_service.html | 2 +- hotshot_query_service/index.html | 2 +- .../macro.include_migrations.html | 2 +- .../metrics/enum.MetricsError.html | 2 +- hotshot_query_service/sidebar-items.js | 2 +- hotshot_query_service/status/enum.Error.html | 12 +- .../status/struct.MempoolQueryData.html | 12 +- .../status/trait.StatusDataSource.html | 4 +- .../struct.MissingSnafu.html | 10 +- .../struct.NotFoundSnafu.html | 10 +- hotshot_query_service/struct.Options.html | 8 +- hotshot_query_service/struct.Snafu.html | 10 +- hotshot_query_service/type.Header.html | 2 +- hotshot_query_service/type.Metadata.html | 1 + hotshot_query_service/type.Payload.html | 2 +- hotshot_query_service/type.QueryResult.html | 2 +- hotshot_query_service/type.SignatureKey.html | 1 + search-index.js | 2 +- .../availability.rs.html | 78 +++++++--- .../availability/data_source.rs.html | 8 +- .../availability/query_data.rs.html | 134 +++++++++++------ src/hotshot_query_service/data_source.rs.html | 4 +- .../data_source/extension.rs.html | 8 +- .../data_source/fs.rs.html | 16 ++- .../data_source/sql.rs.html | 34 +++-- src/hotshot_query_service/lib.rs.html | 16 +-- trait.impl/clap_builder/derive/trait.Args.js | 2 +- .../derive/trait.FromArgMatches.js | 2 +- trait.impl/core/clone/trait.Clone.js | 2 +- trait.impl/core/cmp/trait.Eq.js | 2 +- trait.impl/core/cmp/trait.Ord.js | 2 +- trait.impl/core/cmp/trait.PartialEq.js | 2 +- trait.impl/core/cmp/trait.PartialOrd.js | 2 +- trait.impl/core/convert/trait.From.js | 2 +- trait.impl/core/default/trait.Default.js | 2 +- trait.impl/core/error/trait.Error.js | 2 +- trait.impl/core/fmt/trait.Debug.js | 2 +- trait.impl/core/fmt/trait.Display.js | 2 +- trait.impl/core/marker/trait.Copy.js | 2 +- trait.impl/core/marker/trait.Freeze.js | 2 +- trait.impl/core/marker/trait.Send.js | 2 +- trait.impl/core/marker/trait.StructuralEq.js | 2 +- .../core/marker/trait.StructuralPartialEq.js | 2 +- trait.impl/core/marker/trait.Sync.js | 2 +- trait.impl/core/marker/trait.Unpin.js | 2 +- .../panic/unwind_safe/trait.RefUnwindSafe.js | 2 +- .../panic/unwind_safe/trait.UnwindSafe.js | 2 +- trait.impl/serde/de/trait.Deserialize.js | 2 +- trait.impl/serde/ser/trait.Serialize.js | 2 +- trait.impl/snafu/trait.ErrorCompat.js | 2 +- trait.impl/snafu/trait.IntoError.js | 2 +- type.impl/commit/struct.Commitment.js | 2 +- type.impl/core/result/enum.Result.js | 2 +- .../availability/enum.ResourceId.js | 2 +- 98 files changed, 712 insertions(+), 434 deletions(-) create mode 100644 hotshot_query_service/availability/struct.InvalidSignatureKeySnafu.html create mode 100644 hotshot_query_service/type.Metadata.html create mode 100644 hotshot_query_service/type.SignatureKey.html diff --git a/hotshot_query_service/all.html b/hotshot_query_service/all.html index ed723508d..b2cbbd6f8 100644 --- a/hotshot_query_service/all.html +++ b/hotshot_query_service/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Traits

Macros

Functions

Type Aliases

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

Traits

Macros

Functions

Type Aliases

\ No newline at end of file diff --git a/hotshot_query_service/availability/enum.Error.html b/hotshot_query_service/availability/enum.Error.html index cf058aa38..dab5d0783 100644 --- a/hotshot_query_service/availability/enum.Error.html +++ b/hotshot_query_service/availability/enum.Error.html @@ -1,4 +1,4 @@ -Error in hotshot_query_service::availability - Rust
pub enum Error {
+Error in hotshot_query_service::availability - Rust
pub enum Error {
     Request {
         source: RequestError,
     },
@@ -36,40 +36,42 @@
         height: usize,
         reason: String,
     },
+    InvalidSignatureKey,
     Custom {
         message: String,
         status: StatusCode,
     },
-}

Variants§

§

Request

Fields

§source: RequestError
§

QueryLeaf

Fields

§source: QueryError
§resource: String
§

StreamLeaf

Fields

§source: QueryError
§

QueryBlock

Fields

§source: QueryError
§resource: String
§

StreamBlock

Fields

§source: QueryError
§

QueryTransaction

Fields

§source: QueryError
§resource: String
§

QueryProposals

Fields

§source: QueryError
§proposer: EncodedPublicKey
§

InvalidTransactionIndex

Fields

§height: u64
§index: u64
§

LeafStream

Fields

§height: usize
§reason: String
§

BlockStream

Fields

§height: usize
§reason: String
§

Custom

Fields

§message: String
§status: StatusCode

Implementations§

source§

impl Error

source

pub fn internal<M: Display>(message: M) -> Self

source

pub fn status(&self) -> StatusCode

Trait Implementations§

source§

impl Clone for Error

source§

fn clone(&self) -> Error

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Error

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Error

source§

fn fmt(&self, __snafu_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Errorwhere - Self: Debug + Display,

source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl ErrorCompat for Error

source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a Backtrace that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_>where +}

Variants§

§

Request

Fields

§source: RequestError
§

QueryLeaf

Fields

§source: QueryError
§resource: String
§

StreamLeaf

Fields

§source: QueryError
§

QueryBlock

Fields

§source: QueryError
§resource: String
§

StreamBlock

Fields

§source: QueryError
§

QueryTransaction

Fields

§source: QueryError
§resource: String
§

QueryProposals

Fields

§source: QueryError
§proposer: EncodedPublicKey
§

InvalidTransactionIndex

Fields

§height: u64
§index: u64
§

LeafStream

Fields

§height: usize
§reason: String
§

BlockStream

Fields

§height: usize
§reason: String
§

InvalidSignatureKey

§

Custom

Fields

§message: String
§status: StatusCode

Implementations§

source§

impl Error

source

pub fn internal<M: Display>(message: M) -> Self

source

pub fn status(&self) -> StatusCode

Trait Implementations§

source§

impl Clone for Error

source§

fn clone(&self) -> Error

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Error

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Error

source§

fn fmt(&self, __snafu_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Errorwhere + Self: Debug + Display,

source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl ErrorCompat for Error

source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a Backtrace that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_>where Self: AsErrorSource,

Returns an iterator for traversing the chain of errors, starting with the current error -and continuing with recursive calls to Error::source. Read more
source§

impl From<(String, StatusCode)> for Error

source§

fn from(original: (String, StatusCode)) -> Error

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(original: Error) -> Error

Converts to this type from the input type.
source§

impl From<RequestError> for Error

source§

fn from(original: RequestError) -> Error

Converts to this type from the input type.
source§

impl<__T0, __T1> IntoError<Error> for BlockStreamSnafu<__T0, __T1>where +and continuing with recursive calls to Error::source. Read more

source§

impl From<(String, StatusCode)> for Error

source§

fn from(original: (String, StatusCode)) -> Error

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(original: Error) -> Error

Converts to this type from the input type.
source§

impl From<RequestError> for Error

source§

fn from(original: RequestError) -> Error

Converts to this type from the input type.
source§

impl<__T0, __T1> IntoError<Error> for BlockStreamSnafu<__T0, __T1>where Error: Error + ErrorCompat, __T0: Into<usize>, - __T1: Into<String>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0, __T1> IntoError<Error> for CustomSnafu<__T0, __T1>where + __T1: Into<String>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0, __T1> IntoError<Error> for CustomSnafu<__T0, __T1>where Error: Error + ErrorCompat, __T0: Into<String>, - __T1: Into<StatusCode>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0, __T1> IntoError<Error> for InvalidTransactionIndexSnafu<__T0, __T1>where + __T1: Into<StatusCode>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl IntoError<Error> for InvalidSignatureKeySnafuwhere + Error: Error + ErrorCompat,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0, __T1> IntoError<Error> for InvalidTransactionIndexSnafu<__T0, __T1>where Error: Error + ErrorCompat, __T0: Into<u64>, - __T1: Into<u64>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0, __T1> IntoError<Error> for LeafStreamSnafu<__T0, __T1>where + __T1: Into<u64>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0, __T1> IntoError<Error> for LeafStreamSnafu<__T0, __T1>where Error: Error + ErrorCompat, __T0: Into<usize>, - __T1: Into<String>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0> IntoError<Error> for QueryBlockSnafu<__T0>where + __T1: Into<String>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0> IntoError<Error> for QueryBlockSnafu<__T0>where Error: Error + ErrorCompat, - __T0: Into<String>,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0> IntoError<Error> for QueryLeafSnafu<__T0>where + __T0: Into<String>,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0> IntoError<Error> for QueryLeafSnafu<__T0>where Error: Error + ErrorCompat, - __T0: Into<String>,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0> IntoError<Error> for QueryProposalsSnafu<__T0>where + __T0: Into<String>,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0> IntoError<Error> for QueryProposalsSnafu<__T0>where Error: Error + ErrorCompat, - __T0: Into<EncodedPublicKey>,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0> IntoError<Error> for QueryTransactionSnafu<__T0>where + __T0: Into<EncodedPublicKey>,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0> IntoError<Error> for QueryTransactionSnafu<__T0>where Error: Error + ErrorCompat, - __T0: Into<String>,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl IntoError<Error> for RequestSnafuwhere - Error: Error + ErrorCompat,

§

type Source = RequestError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl IntoError<Error> for StreamBlockSnafuwhere - Error: Error + ErrorCompat,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl IntoError<Error> for StreamLeafSnafuwhere - Error: Error + ErrorCompat,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl Serialize for Error

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere + __T0: Into<String>,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl IntoError<Error> for RequestSnafuwhere + Error: Error + ErrorCompat,

§

type Source = RequestError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl IntoError<Error> for StreamBlockSnafuwhere + Error: Error + ErrorCompat,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl IntoError<Error> for StreamLeafSnafuwhere + Error: Error + ErrorCompat,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl Serialize for Error

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> AsErrorSource for Twhere T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method to benefit from Rust’s automatic dereferencing of method @@ -205,7 +207,7 @@ [WithDispatch] wrapper. Read more
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

§

impl<T> PassType for Twhere +WithDispatch wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

§

impl<T> PassType for Twhere T: Clone + Debug + Sync + Send + 'static,

§

impl<T> TaskErr for Twhere T: Error + Sync + Send + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/availability/enum.ResourceId.html b/hotshot_query_service/availability/enum.ResourceId.html index 69df8cb07..41c9123e7 100644 --- a/hotshot_query_service/availability/enum.ResourceId.html +++ b/hotshot_query_service/availability/enum.ResourceId.html @@ -1,7 +1,7 @@ ResourceId in hotshot_query_service::availability - Rust
pub enum ResourceId<T: Committable> {
     Number(usize),
     Hash(Commitment<T>),
-}

Variants§

§

Number(usize)

§

Hash(Commitment<T>)

Trait Implementations§

source§

impl<T: Committable> Clone for ResourceId<T>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T: Committable> Debug for ResourceId<T>

source§

fn fmt(&self, __f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T: Committable> Display for ResourceId<T>

source§

fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T: Committable> From<Commitment<T>> for ResourceId<T>

source§

fn from(original: Commitment<T>) -> ResourceId<T>

Converts to this type from the input type.
source§

impl<T: Committable> From<usize> for ResourceId<T>

source§

fn from(original: usize) -> ResourceId<T>

Converts to this type from the input type.
source§

impl<T: Committable> Hash for ResourceId<T>

source§

fn hash<__HT>(&self, __state: &mut __HT)where +}

Variants§

§

Number(usize)

§

Hash(Commitment<T>)

Trait Implementations§

source§

impl<T: Committable> Clone for ResourceId<T>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T: Committable> Debug for ResourceId<T>

source§

fn fmt(&self, __f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T: Committable> Display for ResourceId<T>

source§

fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T: Committable> From<Commitment<T>> for ResourceId<T>

source§

fn from(original: Commitment<T>) -> ResourceId<T>

Converts to this type from the input type.
source§

impl<T: Committable> From<usize> for ResourceId<T>

source§

fn from(original: usize) -> ResourceId<T>

Converts to this type from the input type.
source§

impl<T: Committable> Hash for ResourceId<T>

source§

fn hash<__HT>(&self, __state: &mut __HT)where __HT: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<T: Committable> Ord for ResourceId<T>

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere diff --git a/hotshot_query_service/availability/fn.define_api.html b/hotshot_query_service/availability/fn.define_api.html index 7e819b1f6..fc31f91c5 100644 --- a/hotshot_query_service/availability/fn.define_api.html +++ b/hotshot_query_service/availability/fn.define_api.html @@ -1,4 +1,4 @@ -define_api in hotshot_query_service::availability - Rust
pub fn define_api<State, Types: NodeType>(
+define_api in hotshot_query_service::availability - Rust
pub fn define_api<State, Types: NodeType>(
     options: &Options
 ) -> Result<Api<State, Error>, ApiError>where
     State: 'static + Send + Sync + ReadState,
diff --git a/hotshot_query_service/availability/index.html b/hotshot_query_service/availability/index.html
index d31cc2723..71a587f60 100644
--- a/hotshot_query_service/availability/index.html
+++ b/hotshot_query_service/availability/index.html
@@ -1 +1 @@
-hotshot_query_service::availability - Rust

Structs

Enums

Traits

Functions

Type Aliases

\ No newline at end of file +hotshot_query_service::availability - Rust

Structs

Enums

Traits

Functions

Type Aliases

\ No newline at end of file diff --git a/hotshot_query_service/availability/sidebar-items.js b/hotshot_query_service/availability/sidebar-items.js index f3ab78674..b5946f8ac 100644 --- a/hotshot_query_service/availability/sidebar-items.js +++ b/hotshot_query_service/availability/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"enum":["Error","ResourceId"],"fn":["define_api"],"struct":["BlockQueryData","BlockStreamSnafu","CustomSnafu","InconsistentLeafError","InvalidTransactionIndexSnafu","LeafQueryData","LeafStreamSnafu","Options","QueryBlockSnafu","QueryLeafSnafu","QueryProposalsSnafu","QueryTransactionSnafu","RequestSnafu","StreamBlockSnafu","StreamLeafSnafu","TransactionQueryData"],"trait":["AvailabilityDataSource","QueryablePayload","UpdateAvailabilityData"],"type":["BlockHash","BlockId","LeafHash","LeafId","Timestamp","TransactionHash","TransactionInclusionProof","TransactionIndex"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"enum":["Error","ResourceId"],"fn":["define_api"],"struct":["BlockQueryData","BlockStreamSnafu","CustomSnafu","InconsistentLeafError","InvalidSignatureKeySnafu","InvalidTransactionIndexSnafu","LeafQueryData","LeafStreamSnafu","Options","QueryBlockSnafu","QueryLeafSnafu","QueryProposalsSnafu","QueryTransactionSnafu","RequestSnafu","StreamBlockSnafu","StreamLeafSnafu","TransactionQueryData"],"trait":["AvailabilityDataSource","QueryablePayload","UpdateAvailabilityData"],"type":["BlockHash","BlockId","LeafHash","LeafId","Timestamp","TransactionHash","TransactionInclusionProof","TransactionIndex"]}; \ No newline at end of file diff --git a/hotshot_query_service/availability/struct.BlockQueryData.html b/hotshot_query_service/availability/struct.BlockQueryData.html index e7a319b62..d27aa1087 100644 --- a/hotshot_query_service/availability/struct.BlockQueryData.html +++ b/hotshot_query_service/availability/struct.BlockQueryData.html @@ -1,4 +1,4 @@ -BlockQueryData in hotshot_query_service::availability - Rust
pub struct BlockQueryData<Types: NodeType> { /* private fields */ }

Implementations§

source§

impl<Types: NodeType> BlockQueryData<Types>

source

pub fn new( +BlockQueryData in hotshot_query_service::availability - Rust
pub struct BlockQueryData<Types: NodeType> { /* private fields */ }

Implementations§

source§

impl<Types: NodeType> BlockQueryData<Types>

source

pub fn new( leaf: Leaf<Types>, qc: QuorumCertificate<Types>, payload: Payload<Types> @@ -10,17 +10,17 @@

Errors
unspecified. In debug builds, the call may panic. However, this consistency check is quite expensive, and may be omitted in optimized builds. The responsibility of ensuring consistency between leaf and payload ultimately falls on the caller.

-
source

pub fn genesis() -> Self

source

pub fn header(&self) -> &Header<Types>

source

pub fn payload(&self) -> &Payload<Types>

source

pub fn hash(&self) -> BlockHash<Types>

source

pub fn height(&self) -> u64

source

pub fn size(&self) -> u64

source

pub fn len(&self) -> usizewhere - Payload<Types>: QueryablePayload,

source

pub fn is_empty(&self) -> boolwhere - Payload<Types>: QueryablePayload,

source

pub fn transaction( +

source

pub fn genesis() -> Self

source

pub fn header(&self) -> &Header<Types>

source

pub fn metadata(&self) -> &Metadata<Types>

source

pub fn payload(&self) -> &Payload<Types>

source

pub fn hash(&self) -> BlockHash<Types>

source

pub fn height(&self) -> u64

source

pub fn size(&self) -> u64

source§

impl<Types: NodeType> BlockQueryData<Types>where + Payload<Types>: QueryablePayload,

source

pub fn transaction( &self, i: &TransactionIndex<Types> -) -> Option<TransactionQueryData<Types>>where - Payload<Types>: QueryablePayload,

Trait Implementations§

source§

impl<Types: Clone + NodeType> Clone for BlockQueryData<Types>

source§

fn clone(&self) -> BlockQueryData<Types>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Types: Debug + NodeType> Debug for BlockQueryData<Types>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de, Types: NodeType> Deserialize<'de> for BlockQueryData<Types>

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<Types: PartialEq + NodeType> PartialEq for BlockQueryData<Types>

source§

fn eq(&self, other: &BlockQueryData<Types>) -> bool

This method tests for self and other values to be equal, and is used +) -> Option<TransactionQueryData<Types>>

source

pub fn len(&self) -> usize

source

pub fn is_empty(&self) -> bool

source

pub fn enumerate( + &self +) -> impl '_ + Iterator<Item = (TransactionIndex<Types>, Transaction<Types>)>

Trait Implementations§

source§

impl<Types: Clone + NodeType> Clone for BlockQueryData<Types>

source§

fn clone(&self) -> BlockQueryData<Types>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Types: Debug + NodeType> Debug for BlockQueryData<Types>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de, Types: NodeType> Deserialize<'de> for BlockQueryData<Types>

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<Types: PartialEq + NodeType> PartialEq for BlockQueryData<Types>

source§

fn eq(&self, other: &BlockQueryData<Types>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl<Types: NodeType> Serialize for BlockQueryData<Types>

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<Types: Eq + NodeType> Eq for BlockQueryData<Types>

source§

impl<Types: NodeType> StructuralEq for BlockQueryData<Types>

source§

impl<Types: NodeType> StructuralPartialEq for BlockQueryData<Types>

Auto Trait Implementations§

§

impl<Types> RefUnwindSafe for BlockQueryData<Types>where +sufficient, and should not be overridden without very good reason.

source§

impl<Types: NodeType> Serialize for BlockQueryData<Types>

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<Types: Eq + NodeType> Eq for BlockQueryData<Types>

source§

impl<Types: NodeType> StructuralEq for BlockQueryData<Types>

source§

impl<Types: NodeType> StructuralPartialEq for BlockQueryData<Types>

Auto Trait Implementations§

§

impl<Types> RefUnwindSafe for BlockQueryData<Types>where <Types as NodeType>::BlockHeader: RefUnwindSafe, <Types as NodeType>::BlockPayload: RefUnwindSafe,

§

impl<Types> Send for BlockQueryData<Types>

§

impl<Types> Sync for BlockQueryData<Types>

§

impl<Types> Unpin for BlockQueryData<Types>where <Types as NodeType>::BlockHeader: Unpin, @@ -161,6 +161,6 @@
Errors
[WithDispatch] wrapper. Read more

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

§

impl<T> PassType for Twhere +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

§

impl<T> PassType for Twhere T: Clone + Debug + Sync + Send + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/availability/struct.BlockStreamSnafu.html b/hotshot_query_service/availability/struct.BlockStreamSnafu.html index ee6bce6ba..e4ad9354e 100644 --- a/hotshot_query_service/availability/struct.BlockStreamSnafu.html +++ b/hotshot_query_service/availability/struct.BlockStreamSnafu.html @@ -1,17 +1,17 @@ -BlockStreamSnafu in hotshot_query_service::availability - Rust
pub struct BlockStreamSnafu<__T0, __T1> {
+BlockStreamSnafu in hotshot_query_service::availability - Rust
pub struct BlockStreamSnafu<__T0, __T1> {
     pub height: __T0,
     pub reason: __T1,
 }
Expand description

SNAFU context selector for the Error::BlockStream variant

-

Fields§

§height: __T0§reason: __T1

Implementations§

source§

impl<__T0, __T1> BlockStreamSnafu<__T0, __T1>

source

pub fn build(self) -> Errorwhere +

Fields§

§height: __T0§reason: __T1

Implementations§

source§

impl<__T0, __T1> BlockStreamSnafu<__T0, __T1>

source

pub fn build(self) -> Errorwhere __T0: Into<usize>, __T1: Into<String>,

Consume the selector and return the associated error

-
source

pub fn fail<__T>(self) -> Result<__T, Error>where +

source

pub fn fail<__T>(self) -> Result<__T, Error>where __T0: Into<usize>, __T1: Into<String>,

Consume the selector and return a Result with the associated error

-

Trait Implementations§

source§

impl<__T0: Clone, __T1: Clone> Clone for BlockStreamSnafu<__T0, __T1>

source§

fn clone(&self) -> BlockStreamSnafu<__T0, __T1>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<__T0: Debug, __T1: Debug> Debug for BlockStreamSnafu<__T0, __T1>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__T0, __T1> IntoError<Error> for BlockStreamSnafu<__T0, __T1>where +

Trait Implementations§

source§

impl<__T0: Clone, __T1: Clone> Clone for BlockStreamSnafu<__T0, __T1>

source§

fn clone(&self) -> BlockStreamSnafu<__T0, __T1>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<__T0: Debug, __T1: Debug> Debug for BlockStreamSnafu<__T0, __T1>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__T0, __T1> IntoError<Error> for BlockStreamSnafu<__T0, __T1>where Error: Error + ErrorCompat, __T0: Into<usize>, - __T1: Into<String>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0: Copy, __T1: Copy> Copy for BlockStreamSnafu<__T0, __T1>

Auto Trait Implementations§

§

impl<__T0, __T1> RefUnwindSafe for BlockStreamSnafu<__T0, __T1>where + __T1: Into<String>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0: Copy, __T1: Copy> Copy for BlockStreamSnafu<__T0, __T1>

Auto Trait Implementations§

§

impl<__T0, __T1> RefUnwindSafe for BlockStreamSnafu<__T0, __T1>where __T0: RefUnwindSafe, __T1: RefUnwindSafe,

§

impl<__T0, __T1> Send for BlockStreamSnafu<__T0, __T1>where __T0: Send, diff --git a/hotshot_query_service/availability/struct.CustomSnafu.html b/hotshot_query_service/availability/struct.CustomSnafu.html index 9a5894deb..377718a5e 100644 --- a/hotshot_query_service/availability/struct.CustomSnafu.html +++ b/hotshot_query_service/availability/struct.CustomSnafu.html @@ -1,17 +1,17 @@ -CustomSnafu in hotshot_query_service::availability - Rust
pub struct CustomSnafu<__T0, __T1> {
+CustomSnafu in hotshot_query_service::availability - Rust
pub struct CustomSnafu<__T0, __T1> {
     pub message: __T0,
     pub status: __T1,
 }
Expand description

SNAFU context selector for the Error::Custom variant

-

Fields§

§message: __T0§status: __T1

Implementations§

source§

impl<__T0, __T1> CustomSnafu<__T0, __T1>

source

pub fn build(self) -> Errorwhere +

Fields§

§message: __T0§status: __T1

Implementations§

source§

impl<__T0, __T1> CustomSnafu<__T0, __T1>

source

pub fn build(self) -> Errorwhere __T0: Into<String>, __T1: Into<StatusCode>,

Consume the selector and return the associated error

-
source

pub fn fail<__T>(self) -> Result<__T, Error>where +

source

pub fn fail<__T>(self) -> Result<__T, Error>where __T0: Into<String>, __T1: Into<StatusCode>,

Consume the selector and return a Result with the associated error

-

Trait Implementations§

source§

impl<__T0: Clone, __T1: Clone> Clone for CustomSnafu<__T0, __T1>

source§

fn clone(&self) -> CustomSnafu<__T0, __T1>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<__T0: Debug, __T1: Debug> Debug for CustomSnafu<__T0, __T1>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__T0, __T1> IntoError<Error> for CustomSnafu<__T0, __T1>where +

Trait Implementations§

source§

impl<__T0: Clone, __T1: Clone> Clone for CustomSnafu<__T0, __T1>

source§

fn clone(&self) -> CustomSnafu<__T0, __T1>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<__T0: Debug, __T1: Debug> Debug for CustomSnafu<__T0, __T1>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__T0, __T1> IntoError<Error> for CustomSnafu<__T0, __T1>where Error: Error + ErrorCompat, __T0: Into<String>, - __T1: Into<StatusCode>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0: Copy, __T1: Copy> Copy for CustomSnafu<__T0, __T1>

Auto Trait Implementations§

§

impl<__T0, __T1> RefUnwindSafe for CustomSnafu<__T0, __T1>where + __T1: Into<StatusCode>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0: Copy, __T1: Copy> Copy for CustomSnafu<__T0, __T1>

Auto Trait Implementations§

§

impl<__T0, __T1> RefUnwindSafe for CustomSnafu<__T0, __T1>where __T0: RefUnwindSafe, __T1: RefUnwindSafe,

§

impl<__T0, __T1> Send for CustomSnafu<__T0, __T1>where __T0: Send, diff --git a/hotshot_query_service/availability/struct.InconsistentLeafError.html b/hotshot_query_service/availability/struct.InconsistentLeafError.html index 809777273..07832bbe3 100644 --- a/hotshot_query_service/availability/struct.InconsistentLeafError.html +++ b/hotshot_query_service/availability/struct.InconsistentLeafError.html @@ -1,8 +1,8 @@ -InconsistentLeafError in hotshot_query_service::availability - Rust
pub struct InconsistentLeafError<Types: NodeType> {
+InconsistentLeafError in hotshot_query_service::availability - Rust
pub struct InconsistentLeafError<Types: NodeType> {
     pub leaf: LeafHash<Types>,
     pub qc_leaf: LeafHash<Types>,
-}

Fields§

§leaf: LeafHash<Types>§qc_leaf: LeafHash<Types>

Trait Implementations§

source§

impl<Types: Clone + NodeType> Clone for InconsistentLeafError<Types>

source§

fn clone(&self) -> InconsistentLeafError<Types>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Types: Debug + NodeType> Debug for InconsistentLeafError<Types>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Types: NodeType> Display for InconsistentLeafError<Types>

source§

fn fmt(&self, __snafu_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Types: NodeType> Error for InconsistentLeafError<Types>where - Self: Debug + Display,

source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl<Types: NodeType> ErrorCompat for InconsistentLeafError<Types>

source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a Backtrace that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_>where +}

Fields§

§leaf: LeafHash<Types>§qc_leaf: LeafHash<Types>

Trait Implementations§

source§

impl<Types: Clone + NodeType> Clone for InconsistentLeafError<Types>

source§

fn clone(&self) -> InconsistentLeafError<Types>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Types: Debug + NodeType> Debug for InconsistentLeafError<Types>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Types: NodeType> Display for InconsistentLeafError<Types>

source§

fn fmt(&self, __snafu_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Types: NodeType> Error for InconsistentLeafError<Types>where + Self: Debug + Display,

source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl<Types: NodeType> ErrorCompat for InconsistentLeafError<Types>

source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a Backtrace that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_>where Self: AsErrorSource,

Returns an iterator for traversing the chain of errors, starting with the current error and continuing with recursive calls to Error::source. Read more

Auto Trait Implementations§

§

impl<Types> RefUnwindSafe for InconsistentLeafError<Types>

§

impl<Types> Send for InconsistentLeafError<Types>

§

impl<Types> Sync for InconsistentLeafError<Types>

§

impl<Types> Unpin for InconsistentLeafError<Types>

§

impl<Types> UnwindSafe for InconsistentLeafError<Types>

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/hotshot_query_service/availability/struct.InvalidSignatureKeySnafu.html b/hotshot_query_service/availability/struct.InvalidSignatureKeySnafu.html new file mode 100644 index 000000000..be234cf2a --- /dev/null +++ b/hotshot_query_service/availability/struct.InvalidSignatureKeySnafu.html @@ -0,0 +1,135 @@ +InvalidSignatureKeySnafu in hotshot_query_service::availability - Rust
pub struct InvalidSignatureKeySnafu;
Expand description

SNAFU context selector for the Error::InvalidSignatureKey variant

+

Implementations§

source§

impl InvalidSignatureKeySnafu

source

pub fn build(self) -> Error

Consume the selector and return the associated error

+
source

pub fn fail<__T>(self) -> Result<__T, Error>

Consume the selector and return a Result with the associated error

+

Trait Implementations§

source§

impl Clone for InvalidSignatureKeySnafu

source§

fn clone(&self) -> InvalidSignatureKeySnafu

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InvalidSignatureKeySnafu

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl IntoError<Error> for InvalidSignatureKeySnafuwhere + Error: Error + ErrorCompat,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl Copy for InvalidSignatureKeySnafu

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere + T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere + T: 'a,

§

fn implicit( + self, + class: Class, + constructed: bool, + tag: u32 +) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere + Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> Downcast for Twhere + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for Twhere + T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where + Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where + Self: Display,

Causes self to use its Display implementation when +Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where + Self: LowerExp,

Causes self to use its LowerExp implementation when +Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where + Self: LowerHex,

Causes self to use its LowerHex implementation when +Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where + Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where + Self: Pointer,

Causes self to use its Pointer implementation when +Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where + Self: UpperExp,

Causes self to use its UpperExp implementation when +Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where + Self: UpperHex,

Causes self to use its UpperHex implementation when +Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where + &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where + C: Color,

Set the foreground color generically Read more
§

fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where + C: Color,

Set the background color generically. Read more
§

fn black<'a>(&'a self) -> FgColorDisplay<'a, Black, Self>

Change the foreground color to black
§

fn on_black<'a>(&'a self) -> BgColorDisplay<'a, Black, Self>

Change the background color to black
§

fn red<'a>(&'a self) -> FgColorDisplay<'a, Red, Self>

Change the foreground color to red
§

fn on_red<'a>(&'a self) -> BgColorDisplay<'a, Red, Self>

Change the background color to red
§

fn green<'a>(&'a self) -> FgColorDisplay<'a, Green, Self>

Change the foreground color to green
§

fn on_green<'a>(&'a self) -> BgColorDisplay<'a, Green, Self>

Change the background color to green
§

fn yellow<'a>(&'a self) -> FgColorDisplay<'a, Yellow, Self>

Change the foreground color to yellow
§

fn on_yellow<'a>(&'a self) -> BgColorDisplay<'a, Yellow, Self>

Change the background color to yellow
§

fn blue<'a>(&'a self) -> FgColorDisplay<'a, Blue, Self>

Change the foreground color to blue
§

fn on_blue<'a>(&'a self) -> BgColorDisplay<'a, Blue, Self>

Change the background color to blue
§

fn magenta<'a>(&'a self) -> FgColorDisplay<'a, Magenta, Self>

Change the foreground color to magenta
§

fn on_magenta<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>

Change the background color to magenta
§

fn purple<'a>(&'a self) -> FgColorDisplay<'a, Magenta, Self>

Change the foreground color to purple
§

fn on_purple<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>

Change the background color to purple
§

fn cyan<'a>(&'a self) -> FgColorDisplay<'a, Cyan, Self>

Change the foreground color to cyan
§

fn on_cyan<'a>(&'a self) -> BgColorDisplay<'a, Cyan, Self>

Change the background color to cyan
§

fn white<'a>(&'a self) -> FgColorDisplay<'a, White, Self>

Change the foreground color to white
§

fn on_white<'a>(&'a self) -> BgColorDisplay<'a, White, Self>

Change the background color to white
§

fn default_color<'a>(&'a self) -> FgColorDisplay<'a, Default, Self>

Change the foreground color to the terminal default
§

fn on_default_color<'a>(&'a self) -> BgColorDisplay<'a, Default, Self>

Change the background color to the terminal default
§

fn bright_black<'a>(&'a self) -> FgColorDisplay<'a, BrightBlack, Self>

Change the foreground color to bright black
§

fn on_bright_black<'a>(&'a self) -> BgColorDisplay<'a, BrightBlack, Self>

Change the background color to bright black
§

fn bright_red<'a>(&'a self) -> FgColorDisplay<'a, BrightRed, Self>

Change the foreground color to bright red
§

fn on_bright_red<'a>(&'a self) -> BgColorDisplay<'a, BrightRed, Self>

Change the background color to bright red
§

fn bright_green<'a>(&'a self) -> FgColorDisplay<'a, BrightGreen, Self>

Change the foreground color to bright green
§

fn on_bright_green<'a>(&'a self) -> BgColorDisplay<'a, BrightGreen, Self>

Change the background color to bright green
§

fn bright_yellow<'a>(&'a self) -> FgColorDisplay<'a, BrightYellow, Self>

Change the foreground color to bright yellow
§

fn on_bright_yellow<'a>(&'a self) -> BgColorDisplay<'a, BrightYellow, Self>

Change the background color to bright yellow
§

fn bright_blue<'a>(&'a self) -> FgColorDisplay<'a, BrightBlue, Self>

Change the foreground color to bright blue
§

fn on_bright_blue<'a>(&'a self) -> BgColorDisplay<'a, BrightBlue, Self>

Change the background color to bright blue
§

fn bright_magenta<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>

Change the foreground color to bright magenta
§

fn on_bright_magenta<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>

Change the background color to bright magenta
§

fn bright_purple<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>

Change the foreground color to bright purple
§

fn on_bright_purple<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>

Change the background color to bright purple
§

fn bright_cyan<'a>(&'a self) -> FgColorDisplay<'a, BrightCyan, Self>

Change the foreground color to bright cyan
§

fn on_bright_cyan<'a>(&'a self) -> BgColorDisplay<'a, BrightCyan, Self>

Change the background color to bright cyan
§

fn bright_white<'a>(&'a self) -> FgColorDisplay<'a, BrightWhite, Self>

Change the foreground color to bright white
§

fn on_bright_white<'a>(&'a self) -> BgColorDisplay<'a, BrightWhite, Self>

Change the background color to bright white
§

fn bold<'a>(&'a self) -> BoldDisplay<'a, Self>

Make the text bold
§

fn dimmed<'a>(&'a self) -> DimDisplay<'a, Self>

Make the text dim
§

fn italic<'a>(&'a self) -> ItalicDisplay<'a, Self>

Make the text italicized
§

fn underline<'a>(&'a self) -> UnderlineDisplay<'a, Self>

Make the text italicized
Make the text blink
Make the text blink (but fast!)
§

fn reversed<'a>(&'a self) -> ReversedDisplay<'a, Self>

Swap the foreground and background colors
§

fn hidden<'a>(&'a self) -> HiddenDisplay<'a, Self>

Hide the text
§

fn strikethrough<'a>(&'a self) -> StrikeThroughDisplay<'a, Self>

Cross out the text
§

fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where + Color: DynColor,

Set the foreground color at runtime. Only use if you do not know which color will be used at +compile-time. If the color is constant, use either OwoColorize::fg or +a color-specific method, such as OwoColorize::green, Read more
§

fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where + Color: DynColor,

Set the background color at runtime. Only use if you do not know what color to use at +compile-time. If the color is constant, use either OwoColorize::bg or +a color-specific method, such as OwoColorize::on_yellow, Read more
§

fn fg_rgb<const R: u8, const G: u8, const B: u8>( + &self +) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>

Set the foreground color to a specific RGB value.
§

fn bg_rgb<const R: u8, const G: u8, const B: u8>( + &self +) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>

Set the background color to a specific RGB value.
§

fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>

Sets the foreground color to an RGB value.
§

fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>

Sets the background color to an RGB value.
§

fn style(&self, style: Style) -> Styled<&Self>

Apply a runtime-determined style
§

impl<T> Pipe for Twhere + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere + Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere + R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere + R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere + Self: Borrow<B>, + B: 'a + ?Sized, + R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( + &'a mut self, + func: impl FnOnce(&'a mut B) -> R +) -> Rwhere + Self: BorrowMut<B>, + B: 'a + ?Sized, + R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe +function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere + Self: AsRef<U>, + U: 'a + ?Sized, + R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere + Self: AsMut<U>, + U: 'a + ?Sized, + R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe +function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere + Self: Deref<Target = T>, + T: 'a + ?Sized, + R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( + &'a mut self, + func: impl FnOnce(&'a mut T) -> R +) -> Rwhere + Self: DerefMut<Target = T> + Deref, + T: 'a + ?Sized, + R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe +function.
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere + Self: Borrow<B>, + B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere + Self: BorrowMut<B>, + B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere + Self: AsRef<R>, + R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere + Self: AsMut<R>, + R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere + Self: Deref<Target = T>, + T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release +builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere + Self: Borrow<B>, + B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release +builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere + Self: BorrowMut<B>, + B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release +builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere + Self: AsRef<R>, + R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release +builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere + Self: AsMut<R>, + R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release +builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere + Self: Deref<Target = T>, + T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release +builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where + Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
§

impl<T> PassType for Twhere + T: Clone + Debug + Sync + Send + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/availability/struct.InvalidTransactionIndexSnafu.html b/hotshot_query_service/availability/struct.InvalidTransactionIndexSnafu.html index 14805a1f7..f595e9d88 100644 --- a/hotshot_query_service/availability/struct.InvalidTransactionIndexSnafu.html +++ b/hotshot_query_service/availability/struct.InvalidTransactionIndexSnafu.html @@ -1,17 +1,17 @@ -InvalidTransactionIndexSnafu in hotshot_query_service::availability - Rust
pub struct InvalidTransactionIndexSnafu<__T0, __T1> {
+InvalidTransactionIndexSnafu in hotshot_query_service::availability - Rust
pub struct InvalidTransactionIndexSnafu<__T0, __T1> {
     pub height: __T0,
     pub index: __T1,
 }
Expand description

SNAFU context selector for the Error::InvalidTransactionIndex variant

-

Fields§

§height: __T0§index: __T1

Implementations§

source§

impl<__T0, __T1> InvalidTransactionIndexSnafu<__T0, __T1>

source

pub fn build(self) -> Errorwhere +

Fields§

§height: __T0§index: __T1

Implementations§

source§

impl<__T0, __T1> InvalidTransactionIndexSnafu<__T0, __T1>

source

pub fn build(self) -> Errorwhere __T0: Into<u64>, __T1: Into<u64>,

Consume the selector and return the associated error

-
source

pub fn fail<__T>(self) -> Result<__T, Error>where +

source

pub fn fail<__T>(self) -> Result<__T, Error>where __T0: Into<u64>, __T1: Into<u64>,

Consume the selector and return a Result with the associated error

-

Trait Implementations§

source§

impl<__T0: Clone, __T1: Clone> Clone for InvalidTransactionIndexSnafu<__T0, __T1>

source§

fn clone(&self) -> InvalidTransactionIndexSnafu<__T0, __T1>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<__T0: Debug, __T1: Debug> Debug for InvalidTransactionIndexSnafu<__T0, __T1>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__T0, __T1> IntoError<Error> for InvalidTransactionIndexSnafu<__T0, __T1>where +

Trait Implementations§

source§

impl<__T0: Clone, __T1: Clone> Clone for InvalidTransactionIndexSnafu<__T0, __T1>

source§

fn clone(&self) -> InvalidTransactionIndexSnafu<__T0, __T1>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<__T0: Debug, __T1: Debug> Debug for InvalidTransactionIndexSnafu<__T0, __T1>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__T0, __T1> IntoError<Error> for InvalidTransactionIndexSnafu<__T0, __T1>where Error: Error + ErrorCompat, __T0: Into<u64>, - __T1: Into<u64>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0: Copy, __T1: Copy> Copy for InvalidTransactionIndexSnafu<__T0, __T1>

Auto Trait Implementations§

§

impl<__T0, __T1> RefUnwindSafe for InvalidTransactionIndexSnafu<__T0, __T1>where + __T1: Into<u64>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0: Copy, __T1: Copy> Copy for InvalidTransactionIndexSnafu<__T0, __T1>

Auto Trait Implementations§

§

impl<__T0, __T1> RefUnwindSafe for InvalidTransactionIndexSnafu<__T0, __T1>where __T0: RefUnwindSafe, __T1: RefUnwindSafe,

§

impl<__T0, __T1> Send for InvalidTransactionIndexSnafu<__T0, __T1>where __T0: Send, diff --git a/hotshot_query_service/availability/struct.LeafQueryData.html b/hotshot_query_service/availability/struct.LeafQueryData.html index 4d4e4fdec..661f37279 100644 --- a/hotshot_query_service/availability/struct.LeafQueryData.html +++ b/hotshot_query_service/availability/struct.LeafQueryData.html @@ -1,31 +1,34 @@ -LeafQueryData in hotshot_query_service::availability - Rust
pub struct LeafQueryData<Types: NodeType> { /* private fields */ }

Implementations§

source§

impl<Types: NodeType> LeafQueryData<Types>

source

pub fn new( +LeafQueryData in hotshot_query_service::availability - Rust
pub struct LeafQueryData<Types: NodeType> { /* private fields */ }

Implementations§

source§

impl<Types: NodeType> LeafQueryData<Types>

source

pub fn new( leaf: Leaf<Types>, qc: QuorumCertificate<Types> ) -> Result<Self, InconsistentLeafError<Types>>

Collect information about a [Leaf].

Returns a new LeafQueryData object populated from leaf and qc.

Errors

Fails with an InconsistentLeafError if qc does not reference leaf.

-
source

pub fn genesis() -> Self

source

pub fn leaf(&self) -> &Leaf<Types>

source

pub fn qc(&self) -> &QuorumCertificate<Types>

source

pub fn height(&self) -> u64

source

pub fn hash(&self) -> LeafHash<Types>

source

pub fn block_hash(&self) -> BlockHash<Types>

source

pub fn proposer(&self) -> EncodedPublicKey

Trait Implementations§

source§

impl<Types: Clone + NodeType> Clone for LeafQueryData<Types>

source§

fn clone(&self) -> LeafQueryData<Types>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Types: Debug + NodeType> Debug for LeafQueryData<Types>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de, Types: NodeType> Deserialize<'de> for LeafQueryData<Types>

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<Types: PartialEq + NodeType> PartialEq for LeafQueryData<Types>

source§

fn eq(&self, other: &LeafQueryData<Types>) -> bool

This method tests for self and other values to be equal, and is used +
source

pub fn genesis() -> Self

source

pub fn leaf(&self) -> &Leaf<Types>

source

pub fn qc(&self) -> &QuorumCertificate<Types>

source

pub fn height(&self) -> u64

source

pub fn hash(&self) -> LeafHash<Types>

source

pub fn block_hash(&self) -> BlockHash<Types>

source

pub fn proposer(&self) -> SignatureKey<Types>

Trait Implementations§

source§

impl<Types: Clone + NodeType> Clone for LeafQueryData<Types>

source§

fn clone(&self) -> LeafQueryData<Types>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Types: Debug + NodeType> Debug for LeafQueryData<Types>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de, Types: NodeType> Deserialize<'de> for LeafQueryData<Types>

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<Types: PartialEq + NodeType> PartialEq for LeafQueryData<Types>

source§

fn eq(&self, other: &LeafQueryData<Types>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl<Types: NodeType> Serialize for LeafQueryData<Types>

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<Types: Eq + NodeType> Eq for LeafQueryData<Types>

source§

impl<Types: NodeType> StructuralEq for LeafQueryData<Types>

source§

impl<Types: NodeType> StructuralPartialEq for LeafQueryData<Types>

Auto Trait Implementations§

§

impl<Types> RefUnwindSafe for LeafQueryData<Types>where +sufficient, and should not be overridden without very good reason.

source§

impl<Types: NodeType> Serialize for LeafQueryData<Types>

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<Types: Eq + NodeType> Eq for LeafQueryData<Types>

source§

impl<Types: NodeType> StructuralEq for LeafQueryData<Types>

source§

impl<Types: NodeType> StructuralPartialEq for LeafQueryData<Types>

Auto Trait Implementations§

§

impl<Types> RefUnwindSafe for LeafQueryData<Types>where Types: RefUnwindSafe, <Types as NodeType>::BlockHeader: RefUnwindSafe, <Types as NodeType>::BlockPayload: RefUnwindSafe, <<Types as NodeType>::SignatureKey as SignatureKey>::QCType: RefUnwindSafe, + <Types as NodeType>::SignatureKey: RefUnwindSafe, <Types as NodeType>::Time: RefUnwindSafe, <Types as NodeType>::Transaction: RefUnwindSafe,

§

impl<Types> Send for LeafQueryData<Types>

§

impl<Types> Sync for LeafQueryData<Types>

§

impl<Types> Unpin for LeafQueryData<Types>where Types: Unpin, <Types as NodeType>::BlockHeader: Unpin, <Types as NodeType>::BlockPayload: Unpin, <<Types as NodeType>::SignatureKey as SignatureKey>::QCType: Unpin, + <Types as NodeType>::SignatureKey: Unpin, <Types as NodeType>::Time: Unpin, <Types as NodeType>::Transaction: Unpin,

§

impl<Types> UnwindSafe for LeafQueryData<Types>where Types: UnwindSafe, <Types as NodeType>::BlockHeader: UnwindSafe, <Types as NodeType>::BlockPayload: UnwindSafe, <<Types as NodeType>::SignatureKey as SignatureKey>::QCType: UnwindSafe, + <Types as NodeType>::SignatureKey: UnwindSafe, <Types as NodeType>::Time: UnwindSafe, <Types as NodeType>::Transaction: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere @@ -162,6 +165,6 @@
Errors
[WithDispatch] wrapper. Read more

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

§

impl<T> PassType for Twhere +WithDispatch wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

§

impl<T> PassType for Twhere T: Clone + Debug + Sync + Send + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/availability/struct.LeafStreamSnafu.html b/hotshot_query_service/availability/struct.LeafStreamSnafu.html index f7f40c7c3..924b6fbe7 100644 --- a/hotshot_query_service/availability/struct.LeafStreamSnafu.html +++ b/hotshot_query_service/availability/struct.LeafStreamSnafu.html @@ -1,17 +1,17 @@ -LeafStreamSnafu in hotshot_query_service::availability - Rust
pub struct LeafStreamSnafu<__T0, __T1> {
+LeafStreamSnafu in hotshot_query_service::availability - Rust
pub struct LeafStreamSnafu<__T0, __T1> {
     pub height: __T0,
     pub reason: __T1,
 }
Expand description

SNAFU context selector for the Error::LeafStream variant

-

Fields§

§height: __T0§reason: __T1

Implementations§

source§

impl<__T0, __T1> LeafStreamSnafu<__T0, __T1>

source

pub fn build(self) -> Errorwhere +

Fields§

§height: __T0§reason: __T1

Implementations§

source§

impl<__T0, __T1> LeafStreamSnafu<__T0, __T1>

source

pub fn build(self) -> Errorwhere __T0: Into<usize>, __T1: Into<String>,

Consume the selector and return the associated error

-
source

pub fn fail<__T>(self) -> Result<__T, Error>where +

source

pub fn fail<__T>(self) -> Result<__T, Error>where __T0: Into<usize>, __T1: Into<String>,

Consume the selector and return a Result with the associated error

-

Trait Implementations§

source§

impl<__T0: Clone, __T1: Clone> Clone for LeafStreamSnafu<__T0, __T1>

source§

fn clone(&self) -> LeafStreamSnafu<__T0, __T1>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<__T0: Debug, __T1: Debug> Debug for LeafStreamSnafu<__T0, __T1>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__T0, __T1> IntoError<Error> for LeafStreamSnafu<__T0, __T1>where +

Trait Implementations§

source§

impl<__T0: Clone, __T1: Clone> Clone for LeafStreamSnafu<__T0, __T1>

source§

fn clone(&self) -> LeafStreamSnafu<__T0, __T1>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<__T0: Debug, __T1: Debug> Debug for LeafStreamSnafu<__T0, __T1>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__T0, __T1> IntoError<Error> for LeafStreamSnafu<__T0, __T1>where Error: Error + ErrorCompat, __T0: Into<usize>, - __T1: Into<String>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0: Copy, __T1: Copy> Copy for LeafStreamSnafu<__T0, __T1>

Auto Trait Implementations§

§

impl<__T0, __T1> RefUnwindSafe for LeafStreamSnafu<__T0, __T1>where + __T1: Into<String>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0: Copy, __T1: Copy> Copy for LeafStreamSnafu<__T0, __T1>

Auto Trait Implementations§

§

impl<__T0, __T1> RefUnwindSafe for LeafStreamSnafu<__T0, __T1>where __T0: RefUnwindSafe, __T1: RefUnwindSafe,

§

impl<__T0, __T1> Send for LeafStreamSnafu<__T0, __T1>where __T0: Send, diff --git a/hotshot_query_service/availability/struct.Options.html b/hotshot_query_service/availability/struct.Options.html index f89c529fd..24b4128d8 100644 --- a/hotshot_query_service/availability/struct.Options.html +++ b/hotshot_query_service/availability/struct.Options.html @@ -1,15 +1,15 @@ -Options in hotshot_query_service::availability - Rust
pub struct Options {
+Options in hotshot_query_service::availability - Rust
pub struct Options {
     pub api_path: Option<PathBuf>,
     pub extensions: Vec<Value>,
 }

Fields§

§api_path: Option<PathBuf>§extensions: Vec<Value>

Additional API specification files to merge with availability-api-path.

These optional files may contain route definitions for application-specific routes that have been added as extensions to the basic availability API.

-

Trait Implementations§

source§

impl Args for Options

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Default for Options

source§

fn default() -> Options

Returns the “default value” for a type. Read more
source§

impl FromArgMatches for Options

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +

Trait Implementations§

source§

impl Args for Options

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Default for Options

source§

fn default() -> Options

Returns the “default value” for a type. Read more
source§

impl FromArgMatches for Options

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>

Assign values from ArgMatches to self.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/hotshot_query_service/availability/struct.QueryBlockSnafu.html b/hotshot_query_service/availability/struct.QueryBlockSnafu.html index 684cecb6c..7a3e034f8 100644 --- a/hotshot_query_service/availability/struct.QueryBlockSnafu.html +++ b/hotshot_query_service/availability/struct.QueryBlockSnafu.html @@ -1,9 +1,9 @@ -QueryBlockSnafu in hotshot_query_service::availability - Rust
pub struct QueryBlockSnafu<__T0> {
+QueryBlockSnafu in hotshot_query_service::availability - Rust
pub struct QueryBlockSnafu<__T0> {
     pub resource: __T0,
 }
Expand description

SNAFU context selector for the Error::QueryBlock variant

-

Fields§

§resource: __T0

Trait Implementations§

source§

impl<__T0: Clone> Clone for QueryBlockSnafu<__T0>

source§

fn clone(&self) -> QueryBlockSnafu<__T0>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<__T0: Debug> Debug for QueryBlockSnafu<__T0>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__T0> IntoError<Error> for QueryBlockSnafu<__T0>where +

Fields§

§resource: __T0

Trait Implementations§

source§

impl<__T0: Clone> Clone for QueryBlockSnafu<__T0>

source§

fn clone(&self) -> QueryBlockSnafu<__T0>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<__T0: Debug> Debug for QueryBlockSnafu<__T0>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__T0> IntoError<Error> for QueryBlockSnafu<__T0>where Error: Error + ErrorCompat, - __T0: Into<String>,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0: Copy> Copy for QueryBlockSnafu<__T0>

Auto Trait Implementations§

§

impl<__T0> RefUnwindSafe for QueryBlockSnafu<__T0>where + __T0: Into<String>,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0: Copy> Copy for QueryBlockSnafu<__T0>

Auto Trait Implementations§

§

impl<__T0> RefUnwindSafe for QueryBlockSnafu<__T0>where __T0: RefUnwindSafe,

§

impl<__T0> Send for QueryBlockSnafu<__T0>where __T0: Send,

§

impl<__T0> Sync for QueryBlockSnafu<__T0>where __T0: Sync,

§

impl<__T0> Unpin for QueryBlockSnafu<__T0>where diff --git a/hotshot_query_service/availability/struct.QueryLeafSnafu.html b/hotshot_query_service/availability/struct.QueryLeafSnafu.html index 3d63f9896..900f79d08 100644 --- a/hotshot_query_service/availability/struct.QueryLeafSnafu.html +++ b/hotshot_query_service/availability/struct.QueryLeafSnafu.html @@ -1,9 +1,9 @@ -QueryLeafSnafu in hotshot_query_service::availability - Rust
pub struct QueryLeafSnafu<__T0> {
+QueryLeafSnafu in hotshot_query_service::availability - Rust
pub struct QueryLeafSnafu<__T0> {
     pub resource: __T0,
 }
Expand description

SNAFU context selector for the Error::QueryLeaf variant

-

Fields§

§resource: __T0

Trait Implementations§

source§

impl<__T0: Clone> Clone for QueryLeafSnafu<__T0>

source§

fn clone(&self) -> QueryLeafSnafu<__T0>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<__T0: Debug> Debug for QueryLeafSnafu<__T0>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__T0> IntoError<Error> for QueryLeafSnafu<__T0>where +

Fields§

§resource: __T0

Trait Implementations§

source§

impl<__T0: Clone> Clone for QueryLeafSnafu<__T0>

source§

fn clone(&self) -> QueryLeafSnafu<__T0>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<__T0: Debug> Debug for QueryLeafSnafu<__T0>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__T0> IntoError<Error> for QueryLeafSnafu<__T0>where Error: Error + ErrorCompat, - __T0: Into<String>,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0: Copy> Copy for QueryLeafSnafu<__T0>

Auto Trait Implementations§

§

impl<__T0> RefUnwindSafe for QueryLeafSnafu<__T0>where + __T0: Into<String>,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0: Copy> Copy for QueryLeafSnafu<__T0>

Auto Trait Implementations§

§

impl<__T0> RefUnwindSafe for QueryLeafSnafu<__T0>where __T0: RefUnwindSafe,

§

impl<__T0> Send for QueryLeafSnafu<__T0>where __T0: Send,

§

impl<__T0> Sync for QueryLeafSnafu<__T0>where __T0: Sync,

§

impl<__T0> Unpin for QueryLeafSnafu<__T0>where diff --git a/hotshot_query_service/availability/struct.QueryProposalsSnafu.html b/hotshot_query_service/availability/struct.QueryProposalsSnafu.html index b907a2a87..a695c82a2 100644 --- a/hotshot_query_service/availability/struct.QueryProposalsSnafu.html +++ b/hotshot_query_service/availability/struct.QueryProposalsSnafu.html @@ -1,9 +1,9 @@ -QueryProposalsSnafu in hotshot_query_service::availability - Rust
pub struct QueryProposalsSnafu<__T0> {
+QueryProposalsSnafu in hotshot_query_service::availability - Rust
pub struct QueryProposalsSnafu<__T0> {
     pub proposer: __T0,
 }
Expand description

SNAFU context selector for the Error::QueryProposals variant

-

Fields§

§proposer: __T0

Trait Implementations§

source§

impl<__T0: Clone> Clone for QueryProposalsSnafu<__T0>

source§

fn clone(&self) -> QueryProposalsSnafu<__T0>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<__T0: Debug> Debug for QueryProposalsSnafu<__T0>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__T0> IntoError<Error> for QueryProposalsSnafu<__T0>where +

Fields§

§proposer: __T0

Trait Implementations§

source§

impl<__T0: Clone> Clone for QueryProposalsSnafu<__T0>

source§

fn clone(&self) -> QueryProposalsSnafu<__T0>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<__T0: Debug> Debug for QueryProposalsSnafu<__T0>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__T0> IntoError<Error> for QueryProposalsSnafu<__T0>where Error: Error + ErrorCompat, - __T0: Into<EncodedPublicKey>,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0: Copy> Copy for QueryProposalsSnafu<__T0>

Auto Trait Implementations§

§

impl<__T0> RefUnwindSafe for QueryProposalsSnafu<__T0>where + __T0: Into<EncodedPublicKey>,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0: Copy> Copy for QueryProposalsSnafu<__T0>

Auto Trait Implementations§

§

impl<__T0> RefUnwindSafe for QueryProposalsSnafu<__T0>where __T0: RefUnwindSafe,

§

impl<__T0> Send for QueryProposalsSnafu<__T0>where __T0: Send,

§

impl<__T0> Sync for QueryProposalsSnafu<__T0>where __T0: Sync,

§

impl<__T0> Unpin for QueryProposalsSnafu<__T0>where diff --git a/hotshot_query_service/availability/struct.QueryTransactionSnafu.html b/hotshot_query_service/availability/struct.QueryTransactionSnafu.html index 56c6e58e8..edc7ce549 100644 --- a/hotshot_query_service/availability/struct.QueryTransactionSnafu.html +++ b/hotshot_query_service/availability/struct.QueryTransactionSnafu.html @@ -1,9 +1,9 @@ -QueryTransactionSnafu in hotshot_query_service::availability - Rust
pub struct QueryTransactionSnafu<__T0> {
+QueryTransactionSnafu in hotshot_query_service::availability - Rust
pub struct QueryTransactionSnafu<__T0> {
     pub resource: __T0,
 }
Expand description

SNAFU context selector for the Error::QueryTransaction variant

-

Fields§

§resource: __T0

Trait Implementations§

source§

impl<__T0: Clone> Clone for QueryTransactionSnafu<__T0>

source§

fn clone(&self) -> QueryTransactionSnafu<__T0>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<__T0: Debug> Debug for QueryTransactionSnafu<__T0>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__T0> IntoError<Error> for QueryTransactionSnafu<__T0>where +

Fields§

§resource: __T0

Trait Implementations§

source§

impl<__T0: Clone> Clone for QueryTransactionSnafu<__T0>

source§

fn clone(&self) -> QueryTransactionSnafu<__T0>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<__T0: Debug> Debug for QueryTransactionSnafu<__T0>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__T0> IntoError<Error> for QueryTransactionSnafu<__T0>where Error: Error + ErrorCompat, - __T0: Into<String>,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0: Copy> Copy for QueryTransactionSnafu<__T0>

Auto Trait Implementations§

§

impl<__T0> RefUnwindSafe for QueryTransactionSnafu<__T0>where + __T0: Into<String>,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl<__T0: Copy> Copy for QueryTransactionSnafu<__T0>

Auto Trait Implementations§

§

impl<__T0> RefUnwindSafe for QueryTransactionSnafu<__T0>where __T0: RefUnwindSafe,

§

impl<__T0> Send for QueryTransactionSnafu<__T0>where __T0: Send,

§

impl<__T0> Sync for QueryTransactionSnafu<__T0>where __T0: Sync,

§

impl<__T0> Unpin for QueryTransactionSnafu<__T0>where diff --git a/hotshot_query_service/availability/struct.RequestSnafu.html b/hotshot_query_service/availability/struct.RequestSnafu.html index 862875a42..06d060297 100644 --- a/hotshot_query_service/availability/struct.RequestSnafu.html +++ b/hotshot_query_service/availability/struct.RequestSnafu.html @@ -1,6 +1,6 @@ -RequestSnafu in hotshot_query_service::availability - Rust
pub struct RequestSnafu;
Expand description

SNAFU context selector for the Error::Request variant

-

Trait Implementations§

source§

impl Clone for RequestSnafu

source§

fn clone(&self) -> RequestSnafu

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RequestSnafu

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl IntoError<Error> for RequestSnafuwhere - Error: Error + ErrorCompat,

§

type Source = RequestError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl Copy for RequestSnafu

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +RequestSnafu in hotshot_query_service::availability - Rust
pub struct RequestSnafu;
Expand description

SNAFU context selector for the Error::Request variant

+

Trait Implementations§

source§

impl Clone for RequestSnafu

source§

fn clone(&self) -> RequestSnafu

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RequestSnafu

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl IntoError<Error> for RequestSnafuwhere + Error: Error + ErrorCompat,

§

type Source = RequestError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl Copy for RequestSnafu

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,

§

fn implicit( diff --git a/hotshot_query_service/availability/struct.StreamBlockSnafu.html b/hotshot_query_service/availability/struct.StreamBlockSnafu.html index 5ff4f46ce..d0ce832e8 100644 --- a/hotshot_query_service/availability/struct.StreamBlockSnafu.html +++ b/hotshot_query_service/availability/struct.StreamBlockSnafu.html @@ -1,6 +1,6 @@ -StreamBlockSnafu in hotshot_query_service::availability - Rust
pub struct StreamBlockSnafu;
Expand description

SNAFU context selector for the Error::StreamBlock variant

-

Trait Implementations§

source§

impl Clone for StreamBlockSnafu

source§

fn clone(&self) -> StreamBlockSnafu

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StreamBlockSnafu

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl IntoError<Error> for StreamBlockSnafuwhere - Error: Error + ErrorCompat,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl Copy for StreamBlockSnafu

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +StreamBlockSnafu in hotshot_query_service::availability - Rust
pub struct StreamBlockSnafu;
Expand description

SNAFU context selector for the Error::StreamBlock variant

+

Trait Implementations§

source§

impl Clone for StreamBlockSnafu

source§

fn clone(&self) -> StreamBlockSnafu

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StreamBlockSnafu

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl IntoError<Error> for StreamBlockSnafuwhere + Error: Error + ErrorCompat,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl Copy for StreamBlockSnafu

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,

§

fn implicit( diff --git a/hotshot_query_service/availability/struct.StreamLeafSnafu.html b/hotshot_query_service/availability/struct.StreamLeafSnafu.html index ca5600762..c261169de 100644 --- a/hotshot_query_service/availability/struct.StreamLeafSnafu.html +++ b/hotshot_query_service/availability/struct.StreamLeafSnafu.html @@ -1,6 +1,6 @@ -StreamLeafSnafu in hotshot_query_service::availability - Rust
pub struct StreamLeafSnafu;
Expand description

SNAFU context selector for the Error::StreamLeaf variant

-

Trait Implementations§

source§

impl Clone for StreamLeafSnafu

source§

fn clone(&self) -> StreamLeafSnafu

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StreamLeafSnafu

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl IntoError<Error> for StreamLeafSnafuwhere - Error: Error + ErrorCompat,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl Copy for StreamLeafSnafu

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +StreamLeafSnafu in hotshot_query_service::availability - Rust
pub struct StreamLeafSnafu;
Expand description

SNAFU context selector for the Error::StreamLeaf variant

+

Trait Implementations§

source§

impl Clone for StreamLeafSnafu

source§

fn clone(&self) -> StreamLeafSnafu

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StreamLeafSnafu

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl IntoError<Error> for StreamLeafSnafuwhere + Error: Error + ErrorCompat,

§

type Source = QueryError

The underlying error
source§

fn into_error(self, error: Self::Source) -> Error

Combine the information to produce the error
source§

impl Copy for StreamLeafSnafu

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,

§

fn implicit( diff --git a/hotshot_query_service/availability/struct.TransactionQueryData.html b/hotshot_query_service/availability/struct.TransactionQueryData.html index 3ce5c43e6..1bef02806 100644 --- a/hotshot_query_service/availability/struct.TransactionQueryData.html +++ b/hotshot_query_service/availability/struct.TransactionQueryData.html @@ -1,17 +1,17 @@ -TransactionQueryData in hotshot_query_service::availability - Rust
pub struct TransactionQueryData<Types: NodeType>where
-    Payload<Types>: QueryablePayload,{ /* private fields */ }

Implementations§

source§

impl<Types: NodeType> TransactionQueryData<Types>where - Payload<Types>: QueryablePayload,

source

pub fn transaction(&self) -> &Transaction<Types>

source

pub fn height(&self) -> u64

source

pub fn hash(&self) -> TransactionHash<Types>

source

pub fn block_hash(&self) -> BlockHash<Types>

Trait Implementations§

source§

impl<Types: Clone + NodeType> Clone for TransactionQueryData<Types>where - Payload<Types>: QueryablePayload,

source§

fn clone(&self) -> TransactionQueryData<Types>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Types: Debug + NodeType> Debug for TransactionQueryData<Types>where - Payload<Types>: QueryablePayload,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de, Types: NodeType> Deserialize<'de> for TransactionQueryData<Types>where - Payload<Types>: QueryablePayload,

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<Types: PartialEq + NodeType> PartialEq for TransactionQueryData<Types>where - Payload<Types>: QueryablePayload,

source§

fn eq(&self, other: &TransactionQueryData<Types>) -> bool

This method tests for self and other values to be equal, and is used +TransactionQueryData in hotshot_query_service::availability - Rust
pub struct TransactionQueryData<Types: NodeType>where
+    Payload<Types>: QueryablePayload,{ /* private fields */ }

Implementations§

source§

impl<Types: NodeType> TransactionQueryData<Types>where + Payload<Types>: QueryablePayload,

source

pub fn transaction(&self) -> &Transaction<Types>

source

pub fn height(&self) -> u64

source

pub fn hash(&self) -> TransactionHash<Types>

source

pub fn block_hash(&self) -> BlockHash<Types>

Trait Implementations§

source§

impl<Types: Clone + NodeType> Clone for TransactionQueryData<Types>where + Payload<Types>: QueryablePayload,

source§

fn clone(&self) -> TransactionQueryData<Types>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Types: Debug + NodeType> Debug for TransactionQueryData<Types>where + Payload<Types>: QueryablePayload,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de, Types: NodeType> Deserialize<'de> for TransactionQueryData<Types>where + Payload<Types>: QueryablePayload,

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<Types: PartialEq + NodeType> PartialEq for TransactionQueryData<Types>where + Payload<Types>: QueryablePayload,

source§

fn eq(&self, other: &TransactionQueryData<Types>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl<Types: NodeType> Serialize for TransactionQueryData<Types>where - Payload<Types>: QueryablePayload,

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<Types: Eq + NodeType> Eq for TransactionQueryData<Types>where - Payload<Types>: QueryablePayload,

source§

impl<Types: NodeType> StructuralEq for TransactionQueryData<Types>where - Payload<Types>: QueryablePayload,

source§

impl<Types: NodeType> StructuralPartialEq for TransactionQueryData<Types>where +sufficient, and should not be overridden without very good reason.

source§

impl<Types: NodeType> Serialize for TransactionQueryData<Types>where + Payload<Types>: QueryablePayload,

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<Types: Eq + NodeType> Eq for TransactionQueryData<Types>where + Payload<Types>: QueryablePayload,

source§

impl<Types: NodeType> StructuralEq for TransactionQueryData<Types>where + Payload<Types>: QueryablePayload,

source§

impl<Types: NodeType> StructuralPartialEq for TransactionQueryData<Types>where Payload<Types>: QueryablePayload,

Auto Trait Implementations§

§

impl<Types> RefUnwindSafe for TransactionQueryData<Types>where <<Types as NodeType>::BlockPayload as QueryablePayload>::InclusionProof: RefUnwindSafe, <Types as NodeType>::Transaction: RefUnwindSafe,

§

impl<Types> Send for TransactionQueryData<Types>where @@ -155,6 +155,6 @@ [WithDispatch] wrapper. Read more

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

§

impl<T> PassType for Twhere +WithDispatch wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

§

impl<T> PassType for Twhere T: Clone + Debug + Sync + Send + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/availability/trait.AvailabilityDataSource.html b/hotshot_query_service/availability/trait.AvailabilityDataSource.html index 8ddad6336..2903f6fcd 100644 --- a/hotshot_query_service/availability/trait.AvailabilityDataSource.html +++ b/hotshot_query_service/availability/trait.AvailabilityDataSource.html @@ -46,7 +46,7 @@ 'life0: 'async_trait; fn get_proposals<'life0, 'life1, 'async_trait>( &'life0 self, - proposer: &'life1 EncodedPublicKey, + proposer: &'life1 SignatureKey<Types>, limit: Option<usize> ) -> Pin<Box<dyn Future<Output = QueryResult<Vec<LeafQueryData<Types>>>> + Send + 'async_trait>> where Self: 'async_trait, @@ -54,7 +54,7 @@ 'life1: 'async_trait; fn count_proposals<'life0, 'life1, 'async_trait>( &'life0 self, - proposer: &'life1 EncodedPublicKey + proposer: &'life1 SignatureKey<Types> ) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, @@ -110,14 +110,14 @@ position in the block.

source

fn get_proposals<'life0, 'life1, 'async_trait>( &'life0 self, - proposer: &'life1 EncodedPublicKey, + proposer: &'life1 SignatureKey<Types>, limit: Option<usize> ) -> Pin<Box<dyn Future<Output = QueryResult<Vec<LeafQueryData<Types>>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn count_proposals<'life0, 'life1, 'async_trait>( &'life0 self, - proposer: &'life1 EncodedPublicKey + proposer: &'life1 SignatureKey<Types> ) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, @@ -141,7 +141,7 @@ R: RangeBounds<usize> + Send

§

type BlockRange<'a, R> = <D as AvailabilityDataSource<Types>>::BlockRange<'a, R> where Self: 'a, - R: RangeBounds<usize> + Send

source§

impl<Types> AvailabilityDataSource<Types> for SqlDataSource<Types>where + R: RangeBounds<usize> + Send

source§

impl<Types> AvailabilityDataSource<Types> for SqlDataSource<Types>where Types: NodeType, Payload<Types>: QueryablePayload,

§

type LeafStream = Pin<Box<dyn Stream<Item = Result<LeafQueryData<Types>, QueryError>> + Send>>

§

type BlockStream = Pin<Box<dyn Stream<Item = Result<BlockQueryData<Types>, QueryError>> + Send>>

§

type LeafRange<'a, R> = Pin<Box<dyn Stream<Item = Result<LeafQueryData<Types>, QueryError>> + Send>> where @@ -149,7 +149,7 @@ R: RangeBounds<usize> + Send

§

type BlockRange<'a, R> = Pin<Box<dyn Stream<Item = Result<BlockQueryData<Types>, QueryError>> + Send>> where Self: 'a, - R: RangeBounds<usize> + Send

source§

impl<Types: NodeType> AvailabilityDataSource<Types> for FileSystemDataSource<Types>where + R: RangeBounds<usize> + Send

source§

impl<Types: NodeType> AvailabilityDataSource<Types> for FileSystemDataSource<Types>where Payload<Types>: QueryablePayload,

§

type LeafStream = Pin<Box<dyn Stream<Item = Result<LeafQueryData<Types>, QueryError>> + Send>>

§

type BlockStream = Pin<Box<dyn Stream<Item = Result<BlockQueryData<Types>, QueryError>> + Send>>

§

type LeafRange<'a, R> = Pin<Box<dyn Stream<Item = Result<LeafQueryData<Types>, QueryError>> + Send + 'a>> where Self: 'a, diff --git a/hotshot_query_service/availability/trait.QueryablePayload.html b/hotshot_query_service/availability/trait.QueryablePayload.html index 5fcee8b5c..974ed803e 100644 --- a/hotshot_query_service/availability/trait.QueryablePayload.html +++ b/hotshot_query_service/availability/trait.QueryablePayload.html @@ -1,46 +1,62 @@ -QueryablePayload in hotshot_query_service::availability - Rust
pub trait QueryablePayload: BlockPayload {
-    type TransactionIndex: Clone + Debug + PartialEq + Eq + Ord + Serialize + DeserializeOwned + Send + Sync;
+QueryablePayload in hotshot_query_service::availability - Rust
pub trait QueryablePayload: BlockPayload {
+    type TransactionIndex: Clone + Debug + PartialEq + Eq + Ord + Serialize + DeserializeOwned + Send + Sync;
     type Iter<'a>: Iterator<Item = Self::TransactionIndex>
        where Self: 'a;
-    type InclusionProof: Clone + Debug + PartialEq + Eq + Serialize + DeserializeOwned;
+    type InclusionProof: Clone + Debug + PartialEq + Eq + Serialize + DeserializeOwned;
 
 
Show 13 methods // Required methods - fn len(&self) -> usize; - fn iter(&self) -> Self::Iter<'_>; + fn len(&self, meta: &Self::Metadata) -> usize; + fn iter(&self, meta: &Self::Metadata) -> Self::Iter<'_>; fn transaction_with_proof( &self, + meta: &Self::Metadata, index: &Self::TransactionIndex ) -> Option<(Self::Transaction, Self::InclusionProof)>; // Provided methods - fn is_empty(&self) -> bool { ... } - fn enumerate( - &self - ) -> Box<dyn Iterator<Item = (Self::TransactionIndex, Self::Transaction)> + '_> { ... } + fn is_empty(&self, meta: &Self::Metadata) -> bool { ... } + fn enumerate<'a>( + &'a self, + meta: &'a Self::Metadata + ) -> Box<dyn Iterator<Item = (Self::TransactionIndex, Self::Transaction)> + 'a> { ... } fn transaction( &self, + meta: &Self::Metadata, index: &Self::TransactionIndex ) -> Option<Self::Transaction> { ... } fn proof( &self, + meta: &Self::Metadata, index: &Self::TransactionIndex ) -> Option<Self::InclusionProof> { ... } - fn nth(&self, n: usize) -> Option<Self::TransactionIndex> { ... } - fn nth_transaction(&self, n: usize) -> Option<Self::Transaction> { ... } + fn nth( + &self, + meta: &Self::Metadata, + n: usize + ) -> Option<Self::TransactionIndex> { ... } + fn nth_transaction( + &self, + meta: &Self::Metadata, + n: usize + ) -> Option<Self::Transaction> { ... } fn nth_transaction_with_proof( &self, + meta: &Self::Metadata, n: usize ) -> Option<(Self::Transaction, Self::InclusionProof)> { ... } fn by_hash( &self, + meta: &Self::Metadata, hash: Commitment<Self::Transaction> ) -> Option<Self::TransactionIndex> { ... } fn transaction_by_hash( &self, + meta: &Self::Metadata, hash: Commitment<Self::Transaction> ) -> Option<Self::Transaction> { ... } fn transaction_by_hash_with_proof( &self, + meta: &Self::Metadata, hash: Commitment<Self::Transaction> ) -> Option<(Self::Transaction, Self::InclusionProof)> { ... }
}
Expand description

A block payload whose contents (e.g. individual transactions) can be examined.

@@ -50,52 +66,67 @@ the default implementations may be inefficient (e.g. performing an O(n) search, or computing an unnecessary inclusion proof). It is good practice to override these default implementations if your block type supports more efficient implementations (e.g. sublinear indexing by hash).

-

Required Associated Types§

source

type TransactionIndex: Clone + Debug + PartialEq + Eq + Ord + Serialize + DeserializeOwned + Send + Sync

An index which can be used to efficiently retrieve a transaction for the block.

+

Required Associated Types§

source

type TransactionIndex: Clone + Debug + PartialEq + Eq + Ord + Serialize + DeserializeOwned + Send + Sync

An index which can be used to efficiently retrieve a transaction for the block.

This is left abstract so that different block implementations can index transactions internally however they want (e.g. by position or by hash). Meanwhile, many high-level functions for querying transactions by different means can be implemented by returning a TransactionIndex and then finally using it to retrieve the desired transaction.

-
source

type Iter<'a>: Iterator<Item = Self::TransactionIndex> +

source

type Iter<'a>: Iterator<Item = Self::TransactionIndex> where Self: 'a

Enumerate the transactions in this block.

-
source

type InclusionProof: Clone + Debug + PartialEq + Eq + Serialize + DeserializeOwned

A proof that a certain transaction exists in the block.

+
source

type InclusionProof: Clone + Debug + PartialEq + Eq + Serialize + DeserializeOwned

A proof that a certain transaction exists in the block.

The proof system and the statement which is proved will vary by application, with different applications proving stronger or weaker statements depending on the trust assumptions at play. Some may prove a very strong statement (for example, a shared sequencer proving that the transaction belongs not only to the block but to a section of the block dedicated to a specific rollup), otherws may prove something substantially weaker (for example, a trusted query service may use () for the proof).

-

Required Methods§

source

fn len(&self) -> usize

The number of transactions in the block.

-
source

fn iter(&self) -> Self::Iter<'_>

List the transaction indices in the block.

-
source

fn transaction_with_proof( +

Required Methods§

source

fn len(&self, meta: &Self::Metadata) -> usize

The number of transactions in the block.

+
source

fn iter(&self, meta: &Self::Metadata) -> Self::Iter<'_>

List the transaction indices in the block.

+
source

fn transaction_with_proof( &self, + meta: &Self::Metadata, index: &Self::TransactionIndex ) -> Option<(Self::Transaction, Self::InclusionProof)>

Get a transaction by its block-specific index, along with an inclusion proof.

-

Provided Methods§

source

fn is_empty(&self) -> bool

Whether this block is empty of transactions.

-
source

fn enumerate( - &self -) -> Box<dyn Iterator<Item = (Self::TransactionIndex, Self::Transaction)> + '_>

Enumerate the transactions in the block with their indices.

-
source

fn transaction( +

Provided Methods§

source

fn is_empty(&self, meta: &Self::Metadata) -> bool

Whether this block is empty of transactions.

+
source

fn enumerate<'a>( + &'a self, + meta: &'a Self::Metadata +) -> Box<dyn Iterator<Item = (Self::TransactionIndex, Self::Transaction)> + 'a>

Enumerate the transactions in the block with their indices.

+
source

fn transaction( &self, + meta: &Self::Metadata, index: &Self::TransactionIndex ) -> Option<Self::Transaction>

Get a transaction by its block-specific index.

-
source

fn proof(&self, index: &Self::TransactionIndex) -> Option<Self::InclusionProof>

Get an inclusion proof for a transaction with a given index.

-
source

fn nth(&self, n: usize) -> Option<Self::TransactionIndex>

Get the index of the nth transaction.

-
source

fn nth_transaction(&self, n: usize) -> Option<Self::Transaction>

Get the nth transaction.

-
source

fn nth_transaction_with_proof( +

source

fn proof( + &self, + meta: &Self::Metadata, + index: &Self::TransactionIndex +) -> Option<Self::InclusionProof>

Get an inclusion proof for a transaction with a given index.

+
source

fn nth(&self, meta: &Self::Metadata, n: usize) -> Option<Self::TransactionIndex>

Get the index of the nth transaction.

+
source

fn nth_transaction( + &self, + meta: &Self::Metadata, + n: usize +) -> Option<Self::Transaction>

Get the nth transaction.

+
source

fn nth_transaction_with_proof( &self, + meta: &Self::Metadata, n: usize ) -> Option<(Self::Transaction, Self::InclusionProof)>

Get the nth transaction, along with an inclusion proof.

-
source

fn by_hash( +

source

fn by_hash( &self, + meta: &Self::Metadata, hash: Commitment<Self::Transaction> ) -> Option<Self::TransactionIndex>

Get the index of the transaction with a given hash, if it is in the block.

-
source

fn transaction_by_hash( +

source

fn transaction_by_hash( &self, + meta: &Self::Metadata, hash: Commitment<Self::Transaction> ) -> Option<Self::Transaction>

Get the transaction with a given hash, if it is in the block.

-
source

fn transaction_by_hash_with_proof( +

source

fn transaction_by_hash_with_proof( &self, + meta: &Self::Metadata, hash: Commitment<Self::Transaction> ) -> Option<(Self::Transaction, Self::InclusionProof)>

Get the transaction with a given hash, if it is in the block, along with an inclusion proof.

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/hotshot_query_service/availability/trait.UpdateAvailabilityData.html b/hotshot_query_service/availability/trait.UpdateAvailabilityData.html index a2c85df25..a248a071d 100644 --- a/hotshot_query_service/availability/trait.UpdateAvailabilityData.html +++ b/hotshot_query_service/availability/trait.UpdateAvailabilityData.html @@ -27,7 +27,7 @@ 'life0: 'async_trait,

Implementors§

source§

impl<D, U, Types> UpdateAvailabilityData<Types> for ExtensibleDataSource<D, U>where D: UpdateAvailabilityData<Types> + Send + Sync, U: Send + Sync, - Types: NodeType,

§

type Error = <D as UpdateAvailabilityData<Types>>::Error

source§

impl<Types> UpdateAvailabilityData<Types> for SqlDataSource<Types>where + Types: NodeType,

§

type Error = <D as UpdateAvailabilityData<Types>>::Error

source§

impl<Types> UpdateAvailabilityData<Types> for SqlDataSource<Types>where Types: NodeType, - Payload<Types>: QueryablePayload,

source§

impl<Types: NodeType> UpdateAvailabilityData<Types> for FileSystemDataSource<Types>where + Payload<Types>: QueryablePayload,

source§

impl<Types: NodeType> UpdateAvailabilityData<Types> for FileSystemDataSource<Types>where Payload<Types>: QueryablePayload,

§

type Error = PersistenceError

\ No newline at end of file diff --git a/hotshot_query_service/availability/type.BlockHash.html b/hotshot_query_service/availability/type.BlockHash.html index c73b00a16..7e4fc384a 100644 --- a/hotshot_query_service/availability/type.BlockHash.html +++ b/hotshot_query_service/availability/type.BlockHash.html @@ -1,4 +1,4 @@ -BlockHash in hotshot_query_service::availability - Rust
pub type BlockHash<Types> = Commitment<Header<Types>>;
Expand description

A block hash is the hash of the block header.

+BlockHash in hotshot_query_service::availability - Rust
pub type BlockHash<Types> = Commitment<Header<Types>>;
Expand description

A block hash is the hash of the block header.

A block consists of a header and a payload. But the header itself contains a commitment to the payload, so we can commit to the entire block simply by hashing the header.

Aliased Type§

struct BlockHash<Types>(/* private fields */);
\ No newline at end of file diff --git a/hotshot_query_service/availability/type.LeafHash.html b/hotshot_query_service/availability/type.LeafHash.html index 9456b99a8..f0cd12584 100644 --- a/hotshot_query_service/availability/type.LeafHash.html +++ b/hotshot_query_service/availability/type.LeafHash.html @@ -1 +1 @@ -LeafHash in hotshot_query_service::availability - Rust
pub type LeafHash<Types> = Commitment<Leaf<Types>>;

Aliased Type§

struct LeafHash<Types>(/* private fields */);
\ No newline at end of file +LeafHash in hotshot_query_service::availability - Rust
pub type LeafHash<Types> = Commitment<Leaf<Types>>;

Aliased Type§

struct LeafHash<Types>(/* private fields */);
\ No newline at end of file diff --git a/hotshot_query_service/availability/type.Timestamp.html b/hotshot_query_service/availability/type.Timestamp.html index 3840e06d1..b90bb3f7c 100644 --- a/hotshot_query_service/availability/type.Timestamp.html +++ b/hotshot_query_service/availability/type.Timestamp.html @@ -1 +1 @@ -Timestamp in hotshot_query_service::availability - Rust
pub type Timestamp = OffsetDateTime;

Aliased Type§

struct Timestamp(/* private fields */);
\ No newline at end of file +Timestamp in hotshot_query_service::availability - Rust
pub type Timestamp = OffsetDateTime;

Aliased Type§

struct Timestamp(/* private fields */);
\ No newline at end of file diff --git a/hotshot_query_service/availability/type.TransactionHash.html b/hotshot_query_service/availability/type.TransactionHash.html index 57e3a146d..651d48c6a 100644 --- a/hotshot_query_service/availability/type.TransactionHash.html +++ b/hotshot_query_service/availability/type.TransactionHash.html @@ -1 +1 @@ -TransactionHash in hotshot_query_service::availability - Rust
pub type TransactionHash<Types> = Commitment<Transaction<Types>>;

Aliased Type§

struct TransactionHash<Types>(/* private fields */);
\ No newline at end of file +TransactionHash in hotshot_query_service::availability - Rust
pub type TransactionHash<Types> = Commitment<Transaction<Types>>;

Aliased Type§

struct TransactionHash<Types>(/* private fields */);
\ No newline at end of file diff --git a/hotshot_query_service/availability/type.TransactionInclusionProof.html b/hotshot_query_service/availability/type.TransactionInclusionProof.html index 927996fc7..e8c8e451e 100644 --- a/hotshot_query_service/availability/type.TransactionInclusionProof.html +++ b/hotshot_query_service/availability/type.TransactionInclusionProof.html @@ -1 +1 @@ -TransactionInclusionProof in hotshot_query_service::availability - Rust
pub type TransactionInclusionProof<Types> = <Payload<Types> as QueryablePayload>::InclusionProof;
\ No newline at end of file +TransactionInclusionProof in hotshot_query_service::availability - Rust
pub type TransactionInclusionProof<Types> = <Payload<Types> as QueryablePayload>::InclusionProof;
\ No newline at end of file diff --git a/hotshot_query_service/availability/type.TransactionIndex.html b/hotshot_query_service/availability/type.TransactionIndex.html index 7128caeb8..24a6a743e 100644 --- a/hotshot_query_service/availability/type.TransactionIndex.html +++ b/hotshot_query_service/availability/type.TransactionIndex.html @@ -1 +1 @@ -TransactionIndex in hotshot_query_service::availability - Rust
pub type TransactionIndex<Types> = <Payload<Types> as QueryablePayload>::TransactionIndex;
\ No newline at end of file +TransactionIndex in hotshot_query_service::availability - Rust
pub type TransactionIndex<Types> = <Payload<Types> as QueryablePayload>::TransactionIndex;
\ No newline at end of file diff --git a/hotshot_query_service/data_source/sql/fn.default_migrations.html b/hotshot_query_service/data_source/sql/fn.default_migrations.html index a94cbcb75..14ede6a0c 100644 --- a/hotshot_query_service/data_source/sql/fn.default_migrations.html +++ b/hotshot_query_service/data_source/sql/fn.default_migrations.html @@ -1,2 +1,2 @@ -default_migrations in hotshot_query_service::data_source::sql - Rust
pub fn default_migrations() -> Vec<Migration>
Expand description

The migrations requied to build the default schema for this version of SqlDataSource.

+default_migrations in hotshot_query_service::data_source::sql - Rust
pub fn default_migrations() -> Vec<Migration>
Expand description

The migrations requied to build the default schema for this version of SqlDataSource.

\ No newline at end of file diff --git a/hotshot_query_service/data_source/sql/index.html b/hotshot_query_service/data_source/sql/index.html index 19542b4f5..b75525946 100644 --- a/hotshot_query_service/data_source/sql/index.html +++ b/hotshot_query_service/data_source/sql/index.html @@ -1,3 +1,3 @@ -hotshot_query_service::data_source::sql - Rust

Re-exports

  • pub use tokio_postgres as postgres;

Macros

Structs

Implementations§

source§

impl<Types> SqlDataSource<Types>where Types: NodeType, - Payload<Types>: QueryablePayload,

source

pub async fn connect(config: Config) -> Result<Self, Error>

Connect to a remote database.

-
source§

impl<Types> SqlDataSource<Types>where - Types: NodeType,

source

pub async fn transaction(&mut self) -> QueryResult<Transaction<'_>>

Access the transaction which is accumulating all uncommitted changes to the data source.

+ Payload<Types>: QueryablePayload,

source

pub async fn connect(config: Config) -> Result<Self, Error>

Connect to a remote database.

+
source§

impl<Types> SqlDataSource<Types>where + Types: NodeType,

source

pub async fn transaction(&mut self) -> QueryResult<Transaction<'_>>

Access the transaction which is accumulating all uncommitted changes to the data source.

This can be used to manually group database modifications to custom state atomically with modifications made through the SqlDataSource.

If there is no currently open transaction, a new transaction will be opened. No changes made through the transaction objeect returned by this method will be persisted until commit is called.

-

Trait Implementations§

source§

impl<Types> AvailabilityDataSource<Types> for SqlDataSource<Types>where +

Trait Implementations§

source§

impl<Types> AvailabilityDataSource<Types> for SqlDataSource<Types>where Types: NodeType, Payload<Types>: QueryablePayload,

§

type LeafStream = Pin<Box<dyn Stream<Item = Result<LeafQueryData<Types>, QueryError>> + Send>>

§

type BlockStream = Pin<Box<dyn Stream<Item = Result<BlockQueryData<Types>, QueryError>> + Send>>

§

type LeafRange<'a, R> = Pin<Box<dyn Stream<Item = Result<LeafQueryData<Types>, QueryError>> + Send>> where @@ -194,63 +194,63 @@

Composition

R: RangeBounds<usize> + Send

§

type BlockRange<'a, R> = Pin<Box<dyn Stream<Item = Result<BlockQueryData<Types>, QueryError>> + Send>> where Self: 'a, - R: RangeBounds<usize> + Send

source§

fn get_leaf<'life0, 'async_trait, ID>( + R: RangeBounds<usize> + Send

source§

fn get_leaf<'life0, 'async_trait, ID>( &'life0 self, id: ID ) -> Pin<Box<dyn Future<Output = QueryResult<LeafQueryData<Types>>> + Send + 'async_trait>>where ID: Into<LeafId<Types>> + Send + Sync + 'async_trait, Self: 'async_trait, - 'life0: 'async_trait,

source§

fn get_block<'life0, 'async_trait, ID>( + 'life0: 'async_trait,

source§

fn get_block<'life0, 'async_trait, ID>( &'life0 self, id: ID ) -> Pin<Box<dyn Future<Output = QueryResult<BlockQueryData<Types>>> + Send + 'async_trait>>where ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, Self: 'async_trait, - 'life0: 'async_trait,

source§

fn get_leaf_range<'life0, 'async_trait, R>( + 'life0: 'async_trait,

source§

fn get_leaf_range<'life0, 'async_trait, R>( &'life0 self, range: R ) -> Pin<Box<dyn Future<Output = QueryResult<Self::LeafRange<'_, R>>> + Send + 'async_trait>>where R: RangeBounds<usize> + Send + 'async_trait, Self: 'async_trait, - 'life0: 'async_trait,

source§

fn get_block_range<'life0, 'async_trait, R>( + 'life0: 'async_trait,

source§

fn get_block_range<'life0, 'async_trait, R>( &'life0 self, range: R ) -> Pin<Box<dyn Future<Output = QueryResult<Self::BlockRange<'_, R>>> + Send + 'async_trait>>where R: RangeBounds<usize> + Send + 'async_trait, Self: 'async_trait, - 'life0: 'async_trait,

source§

fn get_block_with_transaction<'life0, 'async_trait>( + 'life0: 'async_trait,

source§

fn get_block_with_transaction<'life0, 'async_trait>( &'life0 self, hash: TransactionHash<Types> ) -> Pin<Box<dyn Future<Output = QueryResult<(BlockQueryData<Types>, TransactionIndex<Types>)>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Returns the block containing a transaction with the given hash and the transaction’s -position in the block.
source§

fn get_proposals<'life0, 'life1, 'async_trait>( +position in the block.

source§

fn get_proposals<'life0, 'life1, 'async_trait>( &'life0 self, - proposer: &'life1 EncodedPublicKey, + proposer: &'life1 SignatureKey<Types>, limit: Option<usize> ) -> Pin<Box<dyn Future<Output = QueryResult<Vec<LeafQueryData<Types>>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, - 'life1: 'async_trait,

source§

fn count_proposals<'life0, 'life1, 'async_trait>( + 'life1: 'async_trait,

source§

fn count_proposals<'life0, 'life1, 'async_trait>( &'life0 self, - proposer: &'life1 EncodedPublicKey + proposer: &'life1 SignatureKey<Types> ) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, - 'life1: 'async_trait,

source§

fn subscribe_leaves<'life0, 'async_trait>( + 'life1: 'async_trait,

source§

fn subscribe_leaves<'life0, 'async_trait>( &'life0 self, height: usize ) -> Pin<Box<dyn Future<Output = QueryResult<Self::LeafStream>> + Send + 'async_trait>>where Self: 'async_trait, - 'life0: 'async_trait,

source§

fn subscribe_blocks<'life0, 'async_trait>( + 'life0: 'async_trait,

source§

fn subscribe_blocks<'life0, 'async_trait>( &'life0 self, height: usize ) -> Pin<Box<dyn Future<Output = QueryResult<Self::BlockStream>> + Send + 'async_trait>>where Self: 'async_trait, - 'life0: 'async_trait,

source§

impl<Types> Debug for SqlDataSource<Types>where - Types: NodeType + Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Types> Drop for SqlDataSource<Types>where - Types: NodeType,

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl<Types> Query for SqlDataSource<Types>where - Types: NodeType,

source§

fn client(&self) -> &Client

source§

fn query<'life0, 'life1, 'async_trait, T, P>( + 'life0: 'async_trait,

source§

impl<Types> Debug for SqlDataSource<Types>where + Types: NodeType + Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Types> Drop for SqlDataSource<Types>where + Types: NodeType,

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl<Types> Query for SqlDataSource<Types>where + Types: NodeType,

source§

fn client(&self) -> &Client

source§

fn query<'life0, 'life1, 'async_trait, T, P>( &'life0 self, query: &'life1 T, params: P @@ -261,14 +261,14 @@

Composition

P::Item: BorrowToSql, Self: Sync + 'async_trait, 'life0: 'async_trait, - 'life1: 'async_trait,
source§

fn query_static<'life0, 'life1, 'async_trait, T>( + 'life1: 'async_trait,

source§

fn query_static<'life0, 'life1, 'async_trait, T>( &'life0 self, query: &'life1 T ) -> Pin<Box<dyn Future<Output = QueryResult<BoxStream<'static, QueryResult<Row>>>> + Send + 'async_trait>>where T: ?Sized + ToStatement + Sync + 'async_trait, Self: Sync + 'async_trait, 'life0: 'async_trait, - 'life1: 'async_trait,

Query the underlying SQL database with no parameters.
source§

fn query_one<'life0, 'life1, 'async_trait, T, P>( + 'life1: 'async_trait,

Query the underlying SQL database with no parameters.
source§

fn query_one<'life0, 'life1, 'async_trait, T, P>( &'life0 self, query: &'life1 T, params: P @@ -279,7 +279,7 @@

Composition

P::Item: BorrowToSql, Self: Sync + 'async_trait, 'life0: 'async_trait, - 'life1: 'async_trait,
Query the underlying SQL database, returning exactly one result or failing.
source§

fn query_one_static<'life0, 'life1, 'async_trait, T>( + 'life1: 'async_trait,

Query the underlying SQL database, returning exactly one result or failing.
source§

fn query_one_static<'life0, 'life1, 'async_trait, T>( &'life0 self, query: &'life1 T ) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>where @@ -287,7 +287,7 @@

Composition

Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Query the underlying SQL database with no parameters, returning exactly one result or -failing.
source§

fn query_opt<'life0, 'life1, 'async_trait, T, P>( +failing.

source§

fn query_opt<'life0, 'life1, 'async_trait, T, P>( &'life0 self, query: &'life1 T, params: P @@ -298,19 +298,19 @@

Composition

P::Item: BorrowToSql, Self: Sync + 'async_trait, 'life0: 'async_trait, - 'life1: 'async_trait,
Query the underlying SQL database, returning zero or one results.
source§

fn query_opt_static<'life0, 'life1, 'async_trait, T>( + 'life1: 'async_trait,

Query the underlying SQL database, returning zero or one results.
source§

fn query_opt_static<'life0, 'life1, 'async_trait, T>( &'life0 self, query: &'life1 T ) -> Pin<Box<dyn Future<Output = QueryResult<Option<Row>>> + Send + 'async_trait>>where T: ?Sized + ToStatement + Sync + 'async_trait, Self: Sync + 'async_trait, 'life0: 'async_trait, - 'life1: 'async_trait,

Query the underlying SQL database with no parameters, returning zero or one results.
source§

impl<Types> StatusDataSource for SqlDataSource<Types>where - Types: NodeType,

source§

fn block_height<'life0, 'async_trait>( + 'life1: 'async_trait,

Query the underlying SQL database with no parameters, returning zero or one results.
source§

impl<Types> StatusDataSource for SqlDataSource<Types>where + Types: NodeType,

source§

fn block_height<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>where Self: 'async_trait, - 'life0: 'async_trait,

source§

fn metrics(&self) -> &PrometheusMetrics

source§

fn consensus_metrics(&self) -> QueryResult<PrometheusMetrics>

source§

fn mempool_info<'life0, 'async_trait>( + 'life0: 'async_trait,

source§

fn metrics(&self) -> &PrometheusMetrics

source§

fn consensus_metrics(&self) -> QueryResult<PrometheusMetrics>

source§

fn mempool_info<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = QueryResult<MempoolQueryData>> + Send + 'async_trait>>where Self: Sync + 'async_trait, @@ -318,27 +318,27 @@

Composition

&'life0 self ) -> Pin<Box<dyn Future<Output = QueryResult<f64>> + Send + 'async_trait>>where Self: Sync + 'async_trait, - 'life0: 'async_trait,

source§

impl<Types> UpdateAvailabilityData<Types> for SqlDataSource<Types>where + 'life0: 'async_trait,

source§

impl<Types> UpdateAvailabilityData<Types> for SqlDataSource<Types>where Types: NodeType, - Payload<Types>: QueryablePayload,

§

type Error = QueryError

source§

fn insert_leaf<'life0, 'async_trait>( + Payload<Types>: QueryablePayload,

§

type Error = QueryError

source§

fn insert_leaf<'life0, 'async_trait>( &'life0 mut self, leaf: LeafQueryData<Types> ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>where Self: 'async_trait, - 'life0: 'async_trait,

source§

fn insert_block<'life0, 'async_trait>( + 'life0: 'async_trait,

source§

fn insert_block<'life0, 'async_trait>( &'life0 mut self, block: BlockQueryData<Types> ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>where Self: 'async_trait, - 'life0: 'async_trait,

source§

impl<Types> VersionedDataSource for SqlDataSource<Types>where - Types: NodeType,

source§

fn commit<'life0, 'async_trait>( + 'life0: 'async_trait,

source§

impl<Types> VersionedDataSource for SqlDataSource<Types>where + Types: NodeType,

source§

fn commit<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Atomically commit to all outstanding modifications to the data.

If this method fails, outstanding changes are left unmodified. The caller may opt to retry or to erase outstanding changes with revert.

-
source§

fn revert<'life0, 'async_trait>( +

source§

fn revert<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where Self: 'async_trait, @@ -350,6 +350,7 @@

Composition

<Types as NodeType>::BlockHeader: Unpin, <Types as NodeType>::BlockPayload: Unpin, <<Types as NodeType>::SignatureKey as SignatureKey>::QCType: Unpin, + <Types as NodeType>::SignatureKey: Unpin, <Types as NodeType>::Time: Unpin, <Types as NodeType>::Transaction: Unpin,

§

impl<Types> !UnwindSafe for SqlDataSource<Types>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere diff --git a/hotshot_query_service/data_source/sql/struct.Transaction.html b/hotshot_query_service/data_source/sql/struct.Transaction.html index 2e7e31bd2..2a2a41f36 100644 --- a/hotshot_query_service/data_source/sql/struct.Transaction.html +++ b/hotshot_query_service/data_source/sql/struct.Transaction.html @@ -1,5 +1,5 @@ -Transaction in hotshot_query_service::data_source::sql - Rust
pub struct Transaction<'a> { /* private fields */ }
Expand description

An atomic SQL transaction.

-

Implementations§

source§

impl<'a> Transaction<'a>

source

pub async fn execute<T, P>( +Transaction in hotshot_query_service::data_source::sql - Rust
pub struct Transaction<'a> { /* private fields */ }
Expand description

An atomic SQL transaction.

+

Implementations§

source§

impl<'a> Transaction<'a>

source

pub async fn execute<T, P>( &mut self, statement: &T, params: P @@ -11,15 +11,15 @@

The results of the statement will be reflected immediately in future statements made within this transaction, but will not be reflected in the underlying database until the transaction is committed with SqlDataSource::commit.

-

source

pub async fn execute_many<S, T, P>(&mut self, statements: S) -> QueryResult<()>where +

source

pub async fn execute_many<S, T, P>(&mut self, statements: S) -> QueryResult<()>where S: IntoIterator<Item = (T, P)>, T: ToStatement, P: IntoIterator, P::IntoIter: ExactSizeIterator, - P::Item: BorrowToSql,

Trait Implementations§

source§

impl<'a> Query for Transaction<'a>

Query the underlying SQL database.

+ P::Item: BorrowToSql,

Trait Implementations§

source§

impl<'a> Query for Transaction<'a>

Query the underlying SQL database.

The results will reflect the state after the statements thus far added to this transaction have been applied, even though those effects have not been committed to the database yet.

-
source§

fn client(&self) -> &Client

source§

fn query<'life0, 'life1, 'async_trait, T, P>( +

source§

fn client(&self) -> &Client

source§

fn query<'life0, 'life1, 'async_trait, T, P>( &'life0 self, query: &'life1 T, params: P @@ -30,14 +30,14 @@ P::Item: BorrowToSql, Self: Sync + 'async_trait, 'life0: 'async_trait, - 'life1: 'async_trait,

source§

fn query_static<'life0, 'life1, 'async_trait, T>( + 'life1: 'async_trait,

source§

fn query_static<'life0, 'life1, 'async_trait, T>( &'life0 self, query: &'life1 T ) -> Pin<Box<dyn Future<Output = QueryResult<BoxStream<'static, QueryResult<Row>>>> + Send + 'async_trait>>where T: ?Sized + ToStatement + Sync + 'async_trait, Self: Sync + 'async_trait, 'life0: 'async_trait, - 'life1: 'async_trait,

Query the underlying SQL database with no parameters.
source§

fn query_one<'life0, 'life1, 'async_trait, T, P>( + 'life1: 'async_trait,

Query the underlying SQL database with no parameters.
source§

fn query_one<'life0, 'life1, 'async_trait, T, P>( &'life0 self, query: &'life1 T, params: P @@ -48,7 +48,7 @@ P::Item: BorrowToSql, Self: Sync + 'async_trait, 'life0: 'async_trait, - 'life1: 'async_trait,

Query the underlying SQL database, returning exactly one result or failing.
source§

fn query_one_static<'life0, 'life1, 'async_trait, T>( + 'life1: 'async_trait,

Query the underlying SQL database, returning exactly one result or failing.
source§

fn query_one_static<'life0, 'life1, 'async_trait, T>( &'life0 self, query: &'life1 T ) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>where @@ -56,7 +56,7 @@ Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Query the underlying SQL database with no parameters, returning exactly one result or -failing.
source§

fn query_opt<'life0, 'life1, 'async_trait, T, P>( +failing.

source§

fn query_opt<'life0, 'life1, 'async_trait, T, P>( &'life0 self, query: &'life1 T, params: P @@ -67,7 +67,7 @@ P::Item: BorrowToSql, Self: Sync + 'async_trait, 'life0: 'async_trait, - 'life1: 'async_trait,

Query the underlying SQL database, returning zero or one results.
source§

fn query_opt_static<'life0, 'life1, 'async_trait, T>( + 'life1: 'async_trait,

Query the underlying SQL database, returning zero or one results.
source§

fn query_opt_static<'life0, 'life1, 'async_trait, T>( &'life0 self, query: &'life1 T ) -> Pin<Box<dyn Future<Output = QueryResult<Option<Row>>> + Send + 'async_trait>>where diff --git a/hotshot_query_service/data_source/sql/trait.Query.html b/hotshot_query_service/data_source/sql/trait.Query.html index c12750d10..775d317cd 100644 --- a/hotshot_query_service/data_source/sql/trait.Query.html +++ b/hotshot_query_service/data_source/sql/trait.Query.html @@ -1,4 +1,4 @@ -Query in hotshot_query_service::data_source::sql - Rust
pub trait Query {
+Query in hotshot_query_service::data_source::sql - Rust
pub trait Query {
     // Required method
     fn client(&self) -> &Client;
 
@@ -63,7 +63,7 @@
              Self: Sync + 'async_trait,
              'life0: 'async_trait,
              'life1: 'async_trait { ... }
-}

Required Methods§

source

fn client(&self) -> &Client

Provided Methods§

source

fn query<'life0, 'life1, 'async_trait, T, P>( +}

Required Methods§

source

fn client(&self) -> &Client

Provided Methods§

source

fn query<'life0, 'life1, 'async_trait, T, P>( &'life0 self, query: &'life1 T, params: P @@ -74,7 +74,7 @@ P::Item: BorrowToSql, Self: Sync + 'async_trait, 'life0: 'async_trait, - 'life1: 'async_trait,

source

fn query_static<'life0, 'life1, 'async_trait, T>( + 'life1: 'async_trait,

source

fn query_static<'life0, 'life1, 'async_trait, T>( &'life0 self, query: &'life1 T ) -> Pin<Box<dyn Future<Output = QueryResult<BoxStream<'static, QueryResult<Row>>>> + Send + 'async_trait>>where @@ -82,7 +82,7 @@ Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Query the underlying SQL database with no parameters.

-
source

fn query_one<'life0, 'life1, 'async_trait, T, P>( +

source

fn query_one<'life0, 'life1, 'async_trait, T, P>( &'life0 self, query: &'life1 T, params: P @@ -94,7 +94,7 @@ Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Query the underlying SQL database, returning exactly one result or failing.

-
source

fn query_one_static<'life0, 'life1, 'async_trait, T>( +

source

fn query_one_static<'life0, 'life1, 'async_trait, T>( &'life0 self, query: &'life1 T ) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>where @@ -103,7 +103,7 @@ 'life0: 'async_trait, 'life1: 'async_trait,

Query the underlying SQL database with no parameters, returning exactly one result or failing.

-
source

fn query_opt<'life0, 'life1, 'async_trait, T, P>( +

source

fn query_opt<'life0, 'life1, 'async_trait, T, P>( &'life0 self, query: &'life1 T, params: P @@ -115,7 +115,7 @@ Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Query the underlying SQL database, returning zero or one results.

-
source

fn query_opt_static<'life0, 'life1, 'async_trait, T>( +

source

fn query_opt_static<'life0, 'life1, 'async_trait, T>( &'life0 self, query: &'life1 T ) -> Pin<Box<dyn Future<Output = QueryResult<Option<Row>>> + Send + 'async_trait>>where @@ -123,8 +123,8 @@ Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Query the underlying SQL database with no parameters, returning zero or one results.

-

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a> Query for Transaction<'a>

Query the underlying SQL database.

+

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a> Query for Transaction<'a>

Query the underlying SQL database.

The results will reflect the state after the statements thus far added to this transaction have been applied, even though those effects have not been committed to the database yet.

-
source§

impl<Types> Query for SqlDataSource<Types>where +

source§

impl<Types> Query for SqlDataSource<Types>where Types: NodeType,

\ No newline at end of file diff --git a/hotshot_query_service/data_source/struct.ExtensibleDataSource.html b/hotshot_query_service/data_source/struct.ExtensibleDataSource.html index 8fbaa3ae9..3b0501296 100644 --- a/hotshot_query_service/data_source/struct.ExtensibleDataSource.html +++ b/hotshot_query_service/data_source/struct.ExtensibleDataSource.html @@ -71,14 +71,14 @@ 'life0: 'async_trait,
Returns the block containing a transaction with the given hash and the transaction’s position in the block.
source§

fn get_proposals<'life0, 'life1, 'async_trait>( &'life0 self, - proposer: &'life1 EncodedPublicKey, + proposer: &'life1 SignatureKey<Types>, limit: Option<usize> ) -> Pin<Box<dyn Future<Output = QueryResult<Vec<LeafQueryData<Types>>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source§

fn count_proposals<'life0, 'life1, 'async_trait>( &'life0 self, - proposer: &'life1 EncodedPublicKey + proposer: &'life1 SignatureKey<Types> ) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, @@ -109,7 +109,7 @@ 'life0: 'async_trait,

source§

impl<D, U, Types> UpdateAvailabilityData<Types> for ExtensibleDataSource<D, U>where D: UpdateAvailabilityData<Types> + Send + Sync, U: Send + Sync, - Types: NodeType,

§

type Error = <D as UpdateAvailabilityData<Types>>::Error

source§

fn insert_leaf<'life0, 'async_trait>( + Types: NodeType,

§

type Error = <D as UpdateAvailabilityData<Types>>::Error

source§

fn insert_leaf<'life0, 'async_trait>( &'life0 mut self, leaf: LeafQueryData<Types> ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>where @@ -121,7 +121,7 @@ Self: 'async_trait, 'life0: 'async_trait,

source§

impl<D, U> VersionedDataSource for ExtensibleDataSource<D, U>where D: VersionedDataSource + Send, - U: Send,

§

type Error = <D as VersionedDataSource>::Error

source§

fn commit<'life0, 'async_trait>( + U: Send,

§

type Error = <D as VersionedDataSource>::Error

source§

fn commit<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>where Self: 'async_trait, diff --git a/hotshot_query_service/data_source/struct.FileSystemDataSource.html b/hotshot_query_service/data_source/struct.FileSystemDataSource.html index 17a305b38..761c91a1b 100644 --- a/hotshot_query_service/data_source/struct.FileSystemDataSource.html +++ b/hotshot_query_service/data_source/struct.FileSystemDataSource.html @@ -84,7 +84,7 @@

Composition

Ok(app) }

-

Implementations§

source§

impl<Types: NodeType> FileSystemDataSource<Types>where +

Implementations§

source§

impl<Types: NodeType> FileSystemDataSource<Types>where Payload<Types>: QueryablePayload,

source

pub async fn create(path: &Path) -> Result<Self, PersistenceError>

Create a new FileSystemDataSource with storage at path.

If there is already data at path, it will be archived.

The FileSystemDataSource will manage its own persistence synchronization.

@@ -99,7 +99,7 @@

Composition

The FileSystemDataSource will register its persistent data structures with loader. The caller is responsible for creating an [AtomicStore] from loader and managing synchronization of the store.

-
source

pub async fn open_with_store( +

source

pub async fn open_with_store( loader: &mut AtomicStoreLoader ) -> Result<Self, PersistenceError>

Open an existing FileSystemDataSource using a persistent storage loader.

If there is no existing data corresponding to the FileSystemDataSource data structures, a @@ -107,69 +107,69 @@

Composition

The FileSystemDataSource will register its persistent data structures with loader. The caller is responsible for creating an [AtomicStore] from loader and managing synchronization of the store.

-
source

pub fn skip_version(&mut self) -> Result<(), PersistenceError>

Advance the version of the persistent store without committing changes to persistent state.

+
source

pub fn skip_version(&mut self) -> Result<(), PersistenceError>

Advance the version of the persistent store without committing changes to persistent state.

This function is useful when the [AtomicStore] synchronizing storage for this FileSystemDataSource is being managed by the caller. The caller may want to persist some changes to other modules whose state is managed by the same [AtomicStore]. In order to call [AtomicStore::commit_version], the version of this FileSystemDataSource must be advanced, either by commit or, if there are no outstanding changes, skip_version.

-

Trait Implementations§

source§

impl<Types: NodeType> AvailabilityDataSource<Types> for FileSystemDataSource<Types>where +

Trait Implementations§

source§

impl<Types: NodeType> AvailabilityDataSource<Types> for FileSystemDataSource<Types>where Payload<Types>: QueryablePayload,

§

type LeafStream = Pin<Box<dyn Stream<Item = Result<LeafQueryData<Types>, QueryError>> + Send>>

§

type BlockStream = Pin<Box<dyn Stream<Item = Result<BlockQueryData<Types>, QueryError>> + Send>>

§

type LeafRange<'a, R> = Pin<Box<dyn Stream<Item = Result<LeafQueryData<Types>, QueryError>> + Send + 'a>> where Self: 'a, R: RangeBounds<usize> + Send

§

type BlockRange<'a, R> = Pin<Box<dyn Stream<Item = Result<BlockQueryData<Types>, QueryError>> + Send + 'a>> where Self: 'a, - R: RangeBounds<usize> + Send

source§

fn get_leaf<'life0, 'async_trait, ID>( + R: RangeBounds<usize> + Send

source§

fn get_leaf<'life0, 'async_trait, ID>( &'life0 self, id: ID ) -> Pin<Box<dyn Future<Output = QueryResult<LeafQueryData<Types>>> + Send + 'async_trait>>where ID: Into<LeafId<Types>> + Send + Sync + 'async_trait, Self: 'async_trait, - 'life0: 'async_trait,

source§

fn get_block<'life0, 'async_trait, ID>( + 'life0: 'async_trait,

source§

fn get_block<'life0, 'async_trait, ID>( &'life0 self, id: ID ) -> Pin<Box<dyn Future<Output = QueryResult<BlockQueryData<Types>>> + Send + 'async_trait>>where ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, Self: 'async_trait, - 'life0: 'async_trait,

source§

fn get_leaf_range<'life0, 'async_trait, R>( + 'life0: 'async_trait,

source§

fn get_leaf_range<'life0, 'async_trait, R>( &'life0 self, range: R ) -> Pin<Box<dyn Future<Output = QueryResult<Self::LeafRange<'_, R>>> + Send + 'async_trait>>where R: RangeBounds<usize> + Send + 'async_trait, Self: 'async_trait, - 'life0: 'async_trait,

source§

fn get_block_range<'life0, 'async_trait, R>( + 'life0: 'async_trait,

source§

fn get_block_range<'life0, 'async_trait, R>( &'life0 self, range: R ) -> Pin<Box<dyn Future<Output = QueryResult<Self::BlockRange<'_, R>>> + Send + 'async_trait>>where R: RangeBounds<usize> + Send + 'async_trait, Self: 'async_trait, - 'life0: 'async_trait,

source§

fn get_block_with_transaction<'life0, 'async_trait>( + 'life0: 'async_trait,

source§

fn get_block_with_transaction<'life0, 'async_trait>( &'life0 self, hash: TransactionHash<Types> ) -> Pin<Box<dyn Future<Output = QueryResult<(BlockQueryData<Types>, TransactionIndex<Types>)>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Returns the block containing a transaction with the given hash and the transaction’s -position in the block.
source§

fn get_proposals<'life0, 'life1, 'async_trait>( +position in the block.

source§

fn get_proposals<'life0, 'life1, 'async_trait>( &'life0 self, - id: &'life1 EncodedPublicKey, + id: &'life1 SignatureKey<Types>, limit: Option<usize> ) -> Pin<Box<dyn Future<Output = QueryResult<Vec<LeafQueryData<Types>>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, - 'life1: 'async_trait,

source§

fn count_proposals<'life0, 'life1, 'async_trait>( + 'life1: 'async_trait,

source§

fn count_proposals<'life0, 'life1, 'async_trait>( &'life0 self, - id: &'life1 EncodedPublicKey + id: &'life1 SignatureKey<Types> ) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, - 'life1: 'async_trait,

source§

fn subscribe_leaves<'life0, 'async_trait>( + 'life1: 'async_trait,

source§

fn subscribe_leaves<'life0, 'async_trait>( &'life0 self, height: usize ) -> Pin<Box<dyn Future<Output = QueryResult<Self::LeafStream>> + Send + 'async_trait>>where Self: 'async_trait, - 'life0: 'async_trait,

source§

fn subscribe_blocks<'life0, 'async_trait>( + 'life0: 'async_trait,

source§

fn subscribe_blocks<'life0, 'async_trait>( &'life0 self, height: usize ) -> Pin<Box<dyn Future<Output = QueryResult<Self::BlockStream>> + Send + 'async_trait>>where @@ -179,13 +179,14 @@

Composition

HashMap<LeafHash<Types>, u64>: Debug, HashMap<BlockHash<Types>, u64>: Debug, HashMap<TransactionHash<Types>, (u64, TransactionIndex<Types>)>: Debug, + HashMap<SignatureKey<Types>, Vec<u64>>: Debug, LedgerLog<LeafQueryData<Types>>: Debug, - LedgerLog<BlockQueryData<Types>>: Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Types: NodeType> StatusDataSource for FileSystemDataSource<Types>where - Payload<Types>: QueryablePayload,

source§

fn block_height<'life0, 'async_trait>( + LedgerLog<BlockQueryData<Types>>: Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Types: NodeType> StatusDataSource for FileSystemDataSource<Types>where + Payload<Types>: QueryablePayload,

source§

fn block_height<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>where Self: 'async_trait, - 'life0: 'async_trait,

source§

fn metrics(&self) -> &PrometheusMetrics

source§

fn consensus_metrics(&self) -> QueryResult<PrometheusMetrics>

source§

fn mempool_info<'life0, 'async_trait>( + 'life0: 'async_trait,

source§

fn metrics(&self) -> &PrometheusMetrics

source§

fn consensus_metrics(&self) -> QueryResult<PrometheusMetrics>

source§

fn mempool_info<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = QueryResult<MempoolQueryData>> + Send + 'async_trait>>where Self: Sync + 'async_trait, @@ -193,19 +194,19 @@

Composition

&'life0 self ) -> Pin<Box<dyn Future<Output = QueryResult<f64>> + Send + 'async_trait>>where Self: Sync + 'async_trait, - 'life0: 'async_trait,

source§

impl<Types: NodeType> UpdateAvailabilityData<Types> for FileSystemDataSource<Types>where - Payload<Types>: QueryablePayload,

§

type Error = PersistenceError

source§

fn insert_leaf<'life0, 'async_trait>( + 'life0: 'async_trait,

source§

impl<Types: NodeType> UpdateAvailabilityData<Types> for FileSystemDataSource<Types>where + Payload<Types>: QueryablePayload,

§

type Error = PersistenceError

source§

fn insert_leaf<'life0, 'async_trait>( &'life0 mut self, leaf: LeafQueryData<Types> ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>where Self: 'async_trait, - 'life0: 'async_trait,

source§

fn insert_block<'life0, 'async_trait>( + 'life0: 'async_trait,

source§

fn insert_block<'life0, 'async_trait>( &'life0 mut self, block: BlockQueryData<Types> ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>where Self: 'async_trait, - 'life0: 'async_trait,

source§

impl<Types: NodeType> VersionedDataSource for FileSystemDataSource<Types>where - Payload<Types>: QueryablePayload,

source§

fn commit<'life0, 'async_trait>( + 'life0: 'async_trait,

source§

impl<Types: NodeType> VersionedDataSource for FileSystemDataSource<Types>where + Payload<Types>: QueryablePayload,

source§

fn commit<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<(), PersistenceError>> + Send + 'async_trait>>where Self: 'async_trait, @@ -214,17 +215,18 @@

Composition

create or open) it will update the global version as well. Otherwise, the caller is responsible for calling [AtomicStore::commit_version] after calling this function.

-

source§

fn revert<'life0, 'async_trait>( +

source§

fn revert<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Revert changes made to persistent storage since the last call to commit.

-
§

type Error = PersistenceError

Auto Trait Implementations§

§

impl<Types> !RefUnwindSafe for FileSystemDataSource<Types>

§

impl<Types> Send for FileSystemDataSource<Types>

§

impl<Types> Sync for FileSystemDataSource<Types>

§

impl<Types> Unpin for FileSystemDataSource<Types>where +

§

type Error = PersistenceError

Auto Trait Implementations§

§

impl<Types> !RefUnwindSafe for FileSystemDataSource<Types>

§

impl<Types> Send for FileSystemDataSource<Types>

§

impl<Types> Sync for FileSystemDataSource<Types>

§

impl<Types> Unpin for FileSystemDataSource<Types>where Types: Unpin, <Types as NodeType>::BlockHeader: Unpin, <Types as NodeType>::BlockPayload: Unpin, <<Types as NodeType>::SignatureKey as SignatureKey>::QCType: Unpin, + <Types as NodeType>::SignatureKey: Unpin, <Types as NodeType>::Time: Unpin, <Types as NodeType>::Transaction: Unpin, <<Types as NodeType>::BlockPayload as QueryablePayload>::TransactionIndex: Unpin,

§

impl<Types> !UnwindSafe for FileSystemDataSource<Types>

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/hotshot_query_service/data_source/trait.VersionedDataSource.html b/hotshot_query_service/data_source/trait.VersionedDataSource.html index b980382e0..5f072386b 100644 --- a/hotshot_query_service/data_source/trait.VersionedDataSource.html +++ b/hotshot_query_service/data_source/trait.VersionedDataSource.html @@ -39,6 +39,6 @@ changes to the database is considered a fatal error, and this function may panic.

Implementors§

source§

impl<D, U> VersionedDataSource for ExtensibleDataSource<D, U>where D: VersionedDataSource + Send, - U: Send,

source§

impl<Types> VersionedDataSource for SqlDataSource<Types>where - Types: NodeType,

§

type Error = Error

source§

impl<Types: NodeType> VersionedDataSource for FileSystemDataSource<Types>where + U: Send,

source§

impl<Types> VersionedDataSource for SqlDataSource<Types>where + Types: NodeType,

§

type Error = Error

source§

impl<Types: NodeType> VersionedDataSource for FileSystemDataSource<Types>where Payload<Types>: QueryablePayload,

§

type Error = PersistenceError

\ No newline at end of file diff --git a/hotshot_query_service/enum.Error.html b/hotshot_query_service/enum.Error.html index 10fb4c87b..249fa452e 100644 --- a/hotshot_query_service/enum.Error.html +++ b/hotshot_query_service/enum.Error.html @@ -9,15 +9,15 @@ message: String, status: StatusCode, }, -}

Variants§

§

Availability

Fields

§source: Error
§

Status

Fields

§source: Error
§

Custom

Fields

§message: String
§status: StatusCode

Implementations§

source§

impl Error

source

pub fn internal<M: Display>(message: M) -> Self

Trait Implementations§

source§

impl Clone for Error

source§

fn clone(&self) -> Error

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Error

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Error

source§

fn fmt(&self, __snafu_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Errorwhere +}

Variants§

§

Availability

Fields

§source: Error
§

Status

Fields

§source: Error
§

Custom

Fields

§message: String
§status: StatusCode

Implementations§

source§

impl Error

source

pub fn internal<M: Display>(message: M) -> Self

Trait Implementations§

source§

impl Clone for Error

source§

fn clone(&self) -> Error

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Error

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Error

source§

fn fmt(&self, __snafu_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Errorwhere Self: Debug + Display,

source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl Error for Error

source§

fn catch_all(status: StatusCode, message: String) -> Self

source§

fn status(&self) -> StatusCode

§

fn from_io_error(source: Error) -> Self

§

fn from_config_error(source: ConfigError) -> Self

§

fn from_route_error<E>(source: RouteError<E>) -> Selfwhere E: Display,

§

fn from_request_error(source: RequestError) -> Self

§

fn from_socket_error<E>(source: SocketError<E>) -> Selfwhere E: Display,

§

fn into_tide_error(self) -> Error

§

fn from_server_error(source: Error) -> Self

source§

impl ErrorCompat for Error

source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a Backtrace that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_>where Self: AsErrorSource,

Returns an iterator for traversing the chain of errors, starting with the current error -and continuing with recursive calls to Error::source. Read more
source§

impl From<(String, StatusCode)> for Error

source§

fn from(original: (String, StatusCode)) -> Error

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(original: Error) -> Error

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(original: Error) -> Error

Converts to this type from the input type.
source§

impl Serialize for Error

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere +and continuing with recursive calls to Error::source. Read more

source§

impl From<(String, StatusCode)> for Error

source§

fn from(original: (String, StatusCode)) -> Error

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(original: Error) -> Error

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(original: Error) -> Error

Converts to this type from the input type.
source§

impl Serialize for Error

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> AsErrorSource for Twhere T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method to benefit from Rust’s automatic dereferencing of method @@ -153,7 +153,7 @@ [WithDispatch] wrapper. Read more
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

§

impl<T> PassType for Twhere +WithDispatch wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

§

impl<T> PassType for Twhere T: Clone + Debug + Sync + Send + 'static,

§

impl<T> TaskErr for Twhere T: Error + Sync + Send + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/enum.QueryError.html b/hotshot_query_service/enum.QueryError.html index 80995c622..e0d5a7832 100644 --- a/hotshot_query_service/enum.QueryError.html +++ b/hotshot_query_service/enum.QueryError.html @@ -1,4 +1,4 @@ -QueryError in hotshot_query_service - Rust

Implementations§

source§

impl QueryError

source

pub fn status(&self) -> StatusCode

Trait Implementations§

source§

impl Clone for QueryError

source§

fn clone(&self) -> QueryError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for QueryError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for QueryError

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for QueryError

source§

fn fmt(&self, __snafu_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for QueryErrorwhere - Self: Debug + Display,

source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl ErrorCompat for QueryError

source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a Backtrace that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_>where +

Implementations§

source§

impl QueryError

source

pub fn status(&self) -> StatusCode

Trait Implementations§

source§

impl Clone for QueryError

source§

fn clone(&self) -> QueryError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for QueryError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for QueryError

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for QueryError

source§

fn fmt(&self, __snafu_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for QueryErrorwhere + Self: Debug + Display,

source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl ErrorCompat for QueryError

source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a Backtrace that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_>where Self: AsErrorSource,

Returns an iterator for traversing the chain of errors, starting with the current error -and continuing with recursive calls to Error::source. Read more
source§

impl IntoError<QueryError> for MissingSnafuwhere - QueryError: Error + ErrorCompat,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> QueryError

Combine the information to produce the error
source§

impl IntoError<QueryError> for NotFoundSnafuwhere - QueryError: Error + ErrorCompat,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> QueryError

Combine the information to produce the error
source§

impl<__T0> IntoError<QueryError> for Snafu<__T0>where +and continuing with recursive calls to Error::source. Read more

source§

impl IntoError<QueryError> for MissingSnafuwhere + QueryError: Error + ErrorCompat,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> QueryError

Combine the information to produce the error
source§

impl IntoError<QueryError> for NotFoundSnafuwhere + QueryError: Error + ErrorCompat,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> QueryError

Combine the information to produce the error
source§

impl<__T0> IntoError<QueryError> for Snafu<__T0>where QueryError: Error + ErrorCompat, - __T0: Into<String>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> QueryError

Combine the information to produce the error
source§

impl Serialize for QueryError

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + __T0: Into<String>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> QueryError

Combine the information to produce the error
source§

impl Serialize for QueryError

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> AsErrorSource for Twhere T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method to benefit from Rust’s automatic dereferencing of method @@ -154,7 +154,7 @@ [WithDispatch] wrapper. Read more
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

§

impl<T> PassType for Twhere +WithDispatch wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

§

impl<T> PassType for Twhere T: Clone + Debug + Sync + Send + 'static,

§

impl<T> TaskErr for Twhere T: Error + Sync + Send + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/fn.run_standalone_service.html b/hotshot_query_service/fn.run_standalone_service.html index d027c81fe..7e598675c 100644 --- a/hotshot_query_service/fn.run_standalone_service.html +++ b/hotshot_query_service/fn.run_standalone_service.html @@ -1,4 +1,4 @@ -run_standalone_service in hotshot_query_service - Rust
pub async fn run_standalone_service<Types: NodeType, I: NodeImplementation<Types>, D>(
+run_standalone_service in hotshot_query_service - Rust
pub async fn run_standalone_service<Types: NodeType, I: NodeImplementation<Types>, D>(
     options: Options,
     data_source: D,
     hotshot: SystemContextHandle<Types, I>
diff --git a/hotshot_query_service/index.html b/hotshot_query_service/index.html
index fed8f2787..9876b9c8d 100644
--- a/hotshot_query_service/index.html
+++ b/hotshot_query_service/index.html
@@ -238,4 +238,4 @@ 

Composition

in sync. The data source implementations provided by this crate provide means by which you can add additional data to the same persistent store and synchronize the entire store together. Refer to the documentation for you specific data source for information on how to achieve this.

-

Modules

Macros

Structs

  • SNAFU context selector for the QueryError::Missing variant
  • SNAFU context selector for the QueryError::NotFound variant
  • SNAFU context selector for the QueryError::Error variant

Enums

Traits

  • A reference to a T which can be resolved into a whole T.

Functions

Type Aliases

\ No newline at end of file +

Modules

Macros

Structs

  • SNAFU context selector for the QueryError::Missing variant
  • SNAFU context selector for the QueryError::NotFound variant
  • SNAFU context selector for the QueryError::Error variant

Enums

Traits

  • A reference to a T which can be resolved into a whole T.

Functions

Type Aliases

\ No newline at end of file diff --git a/hotshot_query_service/macro.include_migrations.html b/hotshot_query_service/macro.include_migrations.html index a3fc647a3..efa5a1a2c 100644 --- a/hotshot_query_service/macro.include_migrations.html +++ b/hotshot_query_service/macro.include_migrations.html @@ -1,4 +1,4 @@ -include_migrations in hotshot_query_service - Rust
macro_rules! include_migrations {
+include_migrations in hotshot_query_service - Rust
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 type impl Iterator<Item = Migration>. Each migration must be a text file which is an immediate child of diff --git a/hotshot_query_service/metrics/enum.MetricsError.html b/hotshot_query_service/metrics/enum.MetricsError.html index 31a36c6bb..af42cc458 100644 --- a/hotshot_query_service/metrics/enum.MetricsError.html +++ b/hotshot_query_service/metrics/enum.MetricsError.html @@ -9,7 +9,7 @@ Prometheus { source: Error, }, -}

Variants§

§

NoSuchSubgroup

Fields

§path: Vec<String>
§

NoSuchMetric

Fields

§namespace: Vec<String>
§label: String
§

Prometheus

Fields

§source: Error

Trait Implementations§

source§

impl Debug for MetricsError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for MetricsError

source§

fn fmt(&self, __snafu_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for MetricsErrorwhere +}

Variants§

§

NoSuchSubgroup

Fields

§path: Vec<String>
§

NoSuchMetric

Fields

§namespace: Vec<String>
§label: String
§

Prometheus

Fields

§source: Error

Trait Implementations§

source§

impl Debug for MetricsError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for MetricsError

source§

fn fmt(&self, __snafu_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for MetricsErrorwhere Self: Debug + Display,

source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl ErrorCompat for MetricsError

source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a Backtrace that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_>where Self: AsErrorSource,

Returns an iterator for traversing the chain of errors, starting with the current error diff --git a/hotshot_query_service/sidebar-items.js b/hotshot_query_service/sidebar-items.js index ac6bbb15c..7ffac8bb4 100644 --- a/hotshot_query_service/sidebar-items.js +++ b/hotshot_query_service/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"enum":["Error","QueryError"],"fn":["run_standalone_service"],"macro":["include_migrations","instantiate_data_source_tests"],"mod":["availability","data_source","metrics","status"],"struct":["MissingSnafu","NotFoundSnafu","Options","Snafu"],"trait":["Resolvable"],"type":["Header","Payload","QueryResult","Transaction"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"enum":["Error","QueryError"],"fn":["run_standalone_service"],"macro":["include_migrations","instantiate_data_source_tests"],"mod":["availability","data_source","metrics","status"],"struct":["MissingSnafu","NotFoundSnafu","Options","Snafu"],"trait":["Resolvable"],"type":["Header","Metadata","Payload","QueryResult","SignatureKey","Transaction"]}; \ No newline at end of file diff --git a/hotshot_query_service/status/enum.Error.html b/hotshot_query_service/status/enum.Error.html index e67aa27b4..20e6d90bf 100644 --- a/hotshot_query_service/status/enum.Error.html +++ b/hotshot_query_service/status/enum.Error.html @@ -5,13 +5,13 @@ Internal { reason: String, }, -}

Variants§

§

Request

Fields

§source: RequestError
§

Internal

Fields

§reason: String

Implementations§

source§

impl Error

source

pub fn status(&self) -> StatusCode

Trait Implementations§

source§

impl Clone for Error

source§

fn clone(&self) -> Error

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Error

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Error

source§

fn fmt(&self, __snafu_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Errorwhere +}

Variants§

§

Request

Fields

§source: RequestError
§

Internal

Fields

§reason: String

Implementations§

source§

impl Error

source

pub fn status(&self) -> StatusCode

Trait Implementations§

source§

impl Clone for Error

source§

fn clone(&self) -> Error

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Error

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Error

source§

fn fmt(&self, __snafu_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Errorwhere Self: Debug + Display,

source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl ErrorCompat for Error

source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a Backtrace that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_>where Self: AsErrorSource,

Returns an iterator for traversing the chain of errors, starting with the current error -and continuing with recursive calls to Error::source. Read more
source§

impl From<Error> for Error

source§

fn from(original: Error) -> Error

Converts to this type from the input type.
source§

impl From<RequestError> for Error

source§

fn from(original: RequestError) -> Error

Converts to this type from the input type.
source§

impl From<String> for Error

source§

fn from(original: String) -> Error

Converts to this type from the input type.
source§

impl Serialize for Error

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere +and continuing with recursive calls to Error::source. Read more

source§

impl From<Error> for Error

source§

fn from(original: Error) -> Error

Converts to this type from the input type.
source§

impl From<RequestError> for Error

source§

fn from(original: RequestError) -> Error

Converts to this type from the input type.
source§

impl From<String> for Error

source§

fn from(original: String) -> Error

Converts to this type from the input type.
source§

impl Serialize for Error

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> AsErrorSource for Twhere T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method to benefit from Rust’s automatic dereferencing of method @@ -147,7 +147,7 @@ [WithDispatch] wrapper. Read more
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

§

impl<T> PassType for Twhere +WithDispatch wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

§

impl<T> PassType for Twhere T: Clone + Debug + Sync + Send + 'static,

§

impl<T> TaskErr for Twhere T: Error + Sync + Send + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/status/struct.MempoolQueryData.html b/hotshot_query_service/status/struct.MempoolQueryData.html index 9b85e7444..c58929eae 100644 --- a/hotshot_query_service/status/struct.MempoolQueryData.html +++ b/hotshot_query_service/status/struct.MempoolQueryData.html @@ -1,8 +1,8 @@ MempoolQueryData in hotshot_query_service::status - Rust
pub struct MempoolQueryData {
     pub transaction_count: u64,
     pub memory_footprint: u64,
-}

Fields§

§transaction_count: u64§memory_footprint: u64

Trait Implementations§

source§

impl Clone for MempoolQueryData

source§

fn clone(&self) -> MempoolQueryData

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MempoolQueryData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for MempoolQueryData

source§

fn default() -> MempoolQueryData

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for MempoolQueryData

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for MempoolQueryData

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +}

Fields§

§transaction_count: u64§memory_footprint: u64

Trait Implementations§

source§

impl Clone for MempoolQueryData

source§

fn clone(&self) -> MempoolQueryData

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MempoolQueryData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for MempoolQueryData

source§

fn default() -> MempoolQueryData

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for MempoolQueryData

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for MempoolQueryData

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for MempoolQueryData

source§

fn cmp(&self, other: &MempoolQueryData) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere @@ -11,8 +11,8 @@ by ==.

1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

source§

impl PartialOrd for MempoolQueryData

source§

fn partial_cmp(&self, other: &MempoolQueryData) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for MempoolQueryData

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for MempoolQueryData

source§

impl StructuralEq for MempoolQueryData

source§

impl StructuralPartialEq for MempoolQueryData

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +operator. Read more

source§

impl Serialize for MempoolQueryData

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for MempoolQueryData

source§

impl StructuralEq for MempoolQueryData

source§

impl StructuralPartialEq for MempoolQueryData

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,

§

fn implicit( @@ -152,8 +152,8 @@ [WithDispatch] wrapper. Read more

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

§

impl<T> Element for Twhere +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

§

impl<T> Element for Twhere T: Clone + Eq + PartialEq + Hash,

§

impl<T> Index for Twhere T: Debug + Eq + PartialEq + Hash + Ord + PartialOrd + Clone,

§

impl<T> PassType for Twhere T: Clone + Debug + Sync + Send + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/status/trait.StatusDataSource.html b/hotshot_query_service/status/trait.StatusDataSource.html index ec414eb32..a0dbcb74b 100644 --- a/hotshot_query_service/status/trait.StatusDataSource.html +++ b/hotshot_query_service/status/trait.StatusDataSource.html @@ -33,6 +33,6 @@ Self: Sync + 'async_trait, 'life0: 'async_trait,

Implementors§

source§

impl StatusDataSource for MetricsDataSource

source§

impl<D, U> StatusDataSource for ExtensibleDataSource<D, U>where D: StatusDataSource + Send + Sync, - U: Send + Sync,

source§

impl<Types> StatusDataSource for SqlDataSource<Types>where - Types: NodeType,

source§

impl<Types: NodeType> StatusDataSource for FileSystemDataSource<Types>where + U: Send + Sync,

source§

impl<Types> StatusDataSource for SqlDataSource<Types>where + Types: NodeType,

source§

impl<Types: NodeType> StatusDataSource for FileSystemDataSource<Types>where Payload<Types>: QueryablePayload,

\ No newline at end of file diff --git a/hotshot_query_service/struct.MissingSnafu.html b/hotshot_query_service/struct.MissingSnafu.html index 46a969a6f..ca7393349 100644 --- a/hotshot_query_service/struct.MissingSnafu.html +++ b/hotshot_query_service/struct.MissingSnafu.html @@ -1,8 +1,8 @@ -MissingSnafu in hotshot_query_service - Rust
pub struct MissingSnafu;
Expand description

SNAFU context selector for the QueryError::Missing variant

-

Implementations§

source§

impl MissingSnafu

source

pub fn build(self) -> QueryError

Consume the selector and return the associated error

-
source

pub fn fail<__T>(self) -> Result<__T, QueryError>

Consume the selector and return a Result with the associated error

-

Trait Implementations§

source§

impl Clone for MissingSnafu

source§

fn clone(&self) -> MissingSnafu

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MissingSnafu

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl IntoError<QueryError> for MissingSnafuwhere - QueryError: Error + ErrorCompat,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> QueryError

Combine the information to produce the error
source§

impl Copy for MissingSnafu

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +MissingSnafu in hotshot_query_service - Rust
pub struct MissingSnafu;
Expand description

SNAFU context selector for the QueryError::Missing variant

+

Implementations§

source§

impl MissingSnafu

source

pub fn build(self) -> QueryError

Consume the selector and return the associated error

+
source

pub fn fail<__T>(self) -> Result<__T, QueryError>

Consume the selector and return a Result with the associated error

+

Trait Implementations§

source§

impl Clone for MissingSnafu

source§

fn clone(&self) -> MissingSnafu

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MissingSnafu

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl IntoError<QueryError> for MissingSnafuwhere + QueryError: Error + ErrorCompat,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> QueryError

Combine the information to produce the error
source§

impl Copy for MissingSnafu

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,

§

fn implicit( diff --git a/hotshot_query_service/struct.NotFoundSnafu.html b/hotshot_query_service/struct.NotFoundSnafu.html index f42c88da9..f57636a18 100644 --- a/hotshot_query_service/struct.NotFoundSnafu.html +++ b/hotshot_query_service/struct.NotFoundSnafu.html @@ -1,8 +1,8 @@ -NotFoundSnafu in hotshot_query_service - Rust
pub struct NotFoundSnafu;
Expand description

SNAFU context selector for the QueryError::NotFound variant

-

Implementations§

source§

impl NotFoundSnafu

source

pub fn build(self) -> QueryError

Consume the selector and return the associated error

-
source

pub fn fail<__T>(self) -> Result<__T, QueryError>

Consume the selector and return a Result with the associated error

-

Trait Implementations§

source§

impl Clone for NotFoundSnafu

source§

fn clone(&self) -> NotFoundSnafu

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NotFoundSnafu

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl IntoError<QueryError> for NotFoundSnafuwhere - QueryError: Error + ErrorCompat,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> QueryError

Combine the information to produce the error
source§

impl Copy for NotFoundSnafu

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +NotFoundSnafu in hotshot_query_service - Rust
pub struct NotFoundSnafu;
Expand description

SNAFU context selector for the QueryError::NotFound variant

+

Implementations§

source§

impl NotFoundSnafu

source

pub fn build(self) -> QueryError

Consume the selector and return the associated error

+
source

pub fn fail<__T>(self) -> Result<__T, QueryError>

Consume the selector and return a Result with the associated error

+

Trait Implementations§

source§

impl Clone for NotFoundSnafu

source§

fn clone(&self) -> NotFoundSnafu

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NotFoundSnafu

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl IntoError<QueryError> for NotFoundSnafuwhere + QueryError: Error + ErrorCompat,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> QueryError

Combine the information to produce the error
source§

impl Copy for NotFoundSnafu

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,

§

fn implicit( diff --git a/hotshot_query_service/struct.Options.html b/hotshot_query_service/struct.Options.html index ef6d305ee..4752be8d3 100644 --- a/hotshot_query_service/struct.Options.html +++ b/hotshot_query_service/struct.Options.html @@ -1,13 +1,13 @@ -Options in hotshot_query_service - Rust
pub struct Options {
+Options in hotshot_query_service - Rust
pub struct Options {
     pub availability: Options,
     pub status: Options,
     pub port: u16,
-}

Fields§

§availability: Options§status: Options§port: u16

Trait Implementations§

source§

impl Args for Options

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Default for Options

source§

fn default() -> Options

Returns the “default value” for a type. Read more
source§

impl FromArgMatches for Options

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +}

Fields§

§availability: Options§status: Options§port: u16

Trait Implementations§

source§

impl Args for Options

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Default for Options

source§

fn default() -> Options

Returns the “default value” for a type. Read more
source§

impl FromArgMatches for Options

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>

Assign values from ArgMatches to self.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/hotshot_query_service/struct.Snafu.html b/hotshot_query_service/struct.Snafu.html index ea22d2caf..63dc3b2f7 100644 --- a/hotshot_query_service/struct.Snafu.html +++ b/hotshot_query_service/struct.Snafu.html @@ -1,13 +1,13 @@ -Snafu in hotshot_query_service - Rust
pub struct Snafu<__T0> {
+Snafu in hotshot_query_service - Rust
pub struct Snafu<__T0> {
     pub message: __T0,
 }
Expand description

SNAFU context selector for the QueryError::Error variant

-

Fields§

§message: __T0

Implementations§

source§

impl<__T0> Snafu<__T0>

source

pub fn build(self) -> QueryErrorwhere +

Fields§

§message: __T0

Implementations§

source§

impl<__T0> Snafu<__T0>

source

pub fn build(self) -> QueryErrorwhere __T0: Into<String>,

Consume the selector and return the associated error

-
source

pub fn fail<__T>(self) -> Result<__T, QueryError>where +

source

pub fn fail<__T>(self) -> Result<__T, QueryError>where __T0: Into<String>,

Consume the selector and return a Result with the associated error

-

Trait Implementations§

source§

impl<__T0: Clone> Clone for Snafu<__T0>

source§

fn clone(&self) -> Snafu<__T0>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<__T0: Debug> Debug for Snafu<__T0>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__T0> IntoError<QueryError> for Snafu<__T0>where +

Trait Implementations§

source§

impl<__T0: Clone> Clone for Snafu<__T0>

source§

fn clone(&self) -> Snafu<__T0>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<__T0: Debug> Debug for Snafu<__T0>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__T0> IntoError<QueryError> for Snafu<__T0>where QueryError: Error + ErrorCompat, - __T0: Into<String>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> QueryError

Combine the information to produce the error
source§

impl<__T0: Copy> Copy for Snafu<__T0>

Auto Trait Implementations§

§

impl<__T0> RefUnwindSafe for Snafu<__T0>where + __T0: Into<String>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> QueryError

Combine the information to produce the error
source§

impl<__T0: Copy> Copy for Snafu<__T0>

Auto Trait Implementations§

§

impl<__T0> RefUnwindSafe for Snafu<__T0>where __T0: RefUnwindSafe,

§

impl<__T0> Send for Snafu<__T0>where __T0: Send,

§

impl<__T0> Sync for Snafu<__T0>where __T0: Sync,

§

impl<__T0> Unpin for Snafu<__T0>where diff --git a/hotshot_query_service/type.Header.html b/hotshot_query_service/type.Header.html index 7ecde019f..404b5e3b0 100644 --- a/hotshot_query_service/type.Header.html +++ b/hotshot_query_service/type.Header.html @@ -1 +1 @@ -Header in hotshot_query_service - Rust

Type Alias hotshot_query_service::Header

source ·
pub type Header<Types> = <Types as NodeType>::BlockHeader;
\ No newline at end of file +Header in hotshot_query_service - Rust

Type Alias hotshot_query_service::Header

source ·
pub type Header<Types> = <Types as NodeType>::BlockHeader;
\ No newline at end of file diff --git a/hotshot_query_service/type.Metadata.html b/hotshot_query_service/type.Metadata.html new file mode 100644 index 000000000..ce8be4ed5 --- /dev/null +++ b/hotshot_query_service/type.Metadata.html @@ -0,0 +1 @@ +Metadata in hotshot_query_service - Rust
pub type Metadata<Types> = <Payload<Types> as BlockPayload>::Metadata;
\ No newline at end of file diff --git a/hotshot_query_service/type.Payload.html b/hotshot_query_service/type.Payload.html index 9c218bb05..6a77287b3 100644 --- a/hotshot_query_service/type.Payload.html +++ b/hotshot_query_service/type.Payload.html @@ -1 +1 @@ -Payload in hotshot_query_service - Rust
pub type Payload<Types> = <Types as NodeType>::BlockPayload;
\ No newline at end of file +Payload in hotshot_query_service - Rust
pub type Payload<Types> = <Types as NodeType>::BlockPayload;
\ No newline at end of file diff --git a/hotshot_query_service/type.QueryResult.html b/hotshot_query_service/type.QueryResult.html index 180bdbd38..daeaf2bc8 100644 --- a/hotshot_query_service/type.QueryResult.html +++ b/hotshot_query_service/type.QueryResult.html @@ -1,4 +1,4 @@ -QueryResult in hotshot_query_service - Rust
pub type QueryResult<T> = Result<T, QueryError>;

Aliased Type§

enum QueryResult<T> {
+QueryResult in hotshot_query_service - Rust
pub type QueryResult<T> = Result<T, QueryError>;

Aliased Type§

enum QueryResult<T> {
     Ok(T),
     Err(QueryError),
 }

Variants§

§1.0.0

Ok(T)

Contains the success value

diff --git a/hotshot_query_service/type.SignatureKey.html b/hotshot_query_service/type.SignatureKey.html new file mode 100644 index 000000000..5e03d02bb --- /dev/null +++ b/hotshot_query_service/type.SignatureKey.html @@ -0,0 +1 @@ +SignatureKey in hotshot_query_service - Rust
pub type SignatureKey<Types> = <Types as NodeType>::SignatureKey;
\ No newline at end of file diff --git a/search-index.js b/search-index.js index 02496b869..4539a4913 100644 --- a/search-index.js +++ b/search-index.js @@ -1,5 +1,5 @@ var searchIndex = JSON.parse('{\ -"hotshot_query_service":{"doc":"The HotShot Query Service is a minimal, generic query …","t":"NNNENGNDNDNDGEGIDNGLLLLLLLLLLLLLLLLLLLLLLLLLLAMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLOLLLLLLOLLLLLLLLLLLLLLLLLLLLLLLLLLLLMAMFLLLLALLMLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLMMMMMIGGDQNQDNDEQNNNQDNDQGGDQNQDNNNDNDNDNDNDINDENDNDGGGGQDILLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKKKLKKKLLLLLLLLLLLLMMMLLMLLLLLLLLLLLLLLLLLLKKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLMKLMLLLLLLLLLLLLLMLMMMMMMLLLLLLLLMKKLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMMMMMMMMMMMQDDDCIILLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLALLLLLLLLLLLLLLLLLKLLLLLDDDIDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLOOLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDDDENNNDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMENDDNIILLLLMLLLLLLLLLLKLLLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLKLKLLLLLLLLLMLLLLLLLLLLLLLLMM","n":["Availability","Custom","Err","Error","Error","Header","Missing","MissingSnafu","NotFound","NotFoundSnafu","Ok","Options","Payload","QueryError","QueryResult","Resolvable","Snafu","Status","Transaction","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_error_source","as_error_source","augment_args","augment_args_for_update","availability","availability","backtrace","backtrace","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build","build","catch_all","cause","cause","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","commitment","data_source","default","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","description","description","deserialize","deserialize","drop","drop","drop","drop","drop","drop","fail","fail","fail","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from_arg_matches","from_arg_matches_mut","group_id","header","header","in_current_span","in_current_span","include_migrations","init","init","init","init","init","init","instantiate_data_source_tests","internal","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_error","into_error","into_error","message","metrics","port","run_standalone_service","serialize","serialize","source","source","status","status","status","status","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_resolve","type_id","type_id","type_id","type_id","type_id","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","vzip","vzip","vzip","vzip","vzip","message","source","source","status","message","AvailabilityDataSource","BlockHash","BlockId","BlockQueryData","BlockRange","BlockStream","BlockStream","BlockStreamSnafu","Custom","CustomSnafu","Error","Error","Hash","Hash","Hash","InclusionProof","InconsistentLeafError","InvalidTransactionIndex","InvalidTransactionIndexSnafu","Iter","LeafHash","LeafId","LeafQueryData","LeafRange","LeafStream","LeafStream","LeafStreamSnafu","Number","Number","Number","Options","QueryBlock","QueryBlockSnafu","QueryLeaf","QueryLeafSnafu","QueryProposals","QueryProposalsSnafu","QueryTransaction","QueryTransactionSnafu","QueryablePayload","Request","RequestSnafu","ResourceId","StreamBlock","StreamBlockSnafu","StreamLeaf","StreamLeafSnafu","Timestamp","TransactionHash","TransactionInclusionProof","TransactionIndex","TransactionIndex","TransactionQueryData","UpdateAvailabilityData","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","api_path","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_error_source","as_error_source","augment_args","augment_args_for_update","backtrace","backtrace","block_hash","block_hash","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build","build","build","by_hash","by_hash","cause","cause","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","compare","count_proposals","default","define_api","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","description","description","deserialize","deserialize","deserialize","deserialize","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","enumerate","enumerate","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","extensions","fail","fail","fail","fail","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_arg_matches","from_arg_matches_mut","genesis","genesis","get_block","get_block_range","get_block_with_transaction","get_hash","get_leaf","get_leaf_range","get_proposals","group_id","hash","hash","hash","hash","header","header","header","header","height","height","height","height","height","height","in_current_span","in_current_span","index","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","insert_block","insert_leaf","internal","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_error","into_error","into_error","into_error","into_error","into_error","into_error","into_error","into_error","into_error","into_error","is_empty","is_empty","is_empty","iter","leaf","leaf","len","len","message","new","new","nth","nth","nth_transaction","nth_transaction","nth_transaction_with_proof","nth_transaction_with_proof","partial_cmp","payload","proof","proof","proposer","proposer","qc","qc_leaf","reason","reason","resource","resource","resource","serialize","serialize","serialize","serialize","size","source","source","status","status","subscribe_blocks","subscribe_leaves","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","transaction","transaction","transaction","transaction","transaction_by_hash","transaction_by_hash","transaction_by_hash_with_proof","transaction_by_hash_with_proof","transaction_with_proof","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","height","height","height","index","message","proposer","reason","reason","resource","resource","resource","source","source","source","source","source","source","source","status","Error","ExtensibleDataSource","FileSystemDataSource","MetricsDataSource","SqlDataSource","UpdateDataSource","VersionedDataSource","__clone_box","__clone_box","__clone_box","__clone_box","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_bits","as_mut","as_mut_bits","as_ref","block_height","block_height","block_height","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","commit","commit","commit","count_proposals","count_proposals","create","create_with_store","default","deref","deref","deref","deref_mut","deref_mut","deref_mut","drop","drop","drop","encode_hex","encode_hex_upper","fmt","fmt","fmt","from","from","from","get_block","get_block","get_block_range","get_block_range","get_block_with_transaction","get_block_with_transaction","get_leaf","get_leaf","get_leaf_range","get_leaf_range","get_proposals","get_proposals","init","init","init","inner","inner_mut","insert_block","insert_block","insert_leaf","insert_leaf","into","into","into","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","metrics","metrics","metrics","new","open","open_with_store","populate_metrics","populate_metrics","populate_metrics","revert","revert","revert","skip_version","sql","subscribe_blocks","subscribe_blocks","subscribe_leaves","subscribe_leaves","to_owned","to_owned","try_as_bits","try_as_mut_bits","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update","update","update","vzip","vzip","vzip","Config","Error","Migration","Query","SqlDataSource","Transaction","__clone_box","__clone_box","__clone_box","__clone_box","applied_on","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_ref","as_ref","block_height","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","chain","checksum","client","client","client","clone","clone","clone_into","clone_into","cmp","commit","compare","connect","connect","context","count_proposals","database","default","default_migrations","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","downcast","downcast_mut","downcast_ref","drop","drop","drop","drop","drop","drop","drop","eq","equivalent","equivalent","equivalent","equivalent","execute","execute_many","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from_str","get_block","get_block_range","get_block_with_transaction","get_leaf","get_leaf_range","get_proposals","header","header","host","include_dir","include_migrations","init","init","init","init","init","insert_block","insert_leaf","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","is","metrics","migrations","msg","name","new","no_migrations","partial_cmp","password","populate_metrics","port","postgres","prefix","query","query_one","query_one_static","query_opt","query_opt_static","query_static","reset_schema","revert","root_cause","schema","sql","subscribe_blocks","subscribe_leaves","tls","to_owned","to_owned","to_string","to_string","transaction","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","unapplied","update","user","version","vzip","vzip","vzip","vzip","vzip","Counter","Gauge","Histogram","Label","MetricsError","NoSuchMetric","NoSuchSubgroup","Prometheus","PrometheusMetrics","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","add","add_point","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_error_source","backtrace","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cause","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","create_counter","create_gauge","create_histogram","create_label","default","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","description","drop","drop","drop","drop","drop","drop","export","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","get","get","get","get_counter","get_gauge","get_histogram","get_label","get_subgroup","header","in_current_span","init","init","init","init","init","init","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","mean","sample_count","set","set","source","subgroup","sum","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","update","vzip","vzip","vzip","vzip","vzip","vzip","label","namespace","path","source","Error","Internal","MempoolQueryData","Options","Request","StatusDataSource","UpdateStatusData","__clone_box","__clone_box","__clone_box","__clone_box","api_path","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_error_source","augment_args","augment_args_for_update","backtrace","block_height","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","cause","clone","clone","clone_into","clone_into","cmp","compare","consensus_metrics","consensus_metrics","default","default","define_api","deref","deref","deref","deref_mut","deref_mut","deref_mut","description","deserialize","deserialize","drop","drop","drop","eq","equivalent","equivalent","equivalent","equivalent","extensions","fmt","fmt","fmt","from","from","from","from","from","from_arg_matches","from_arg_matches_mut","get_hash","group_id","hash","header","in_current_span","init","init","init","into","into","into","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","memory_footprint","mempool_info","mempool_info","metrics","partial_cmp","populate_metrics","serialize","serialize","source","status","success_rate","success_rate","to_owned","to_owned","to_string","transaction_count","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","vzip","vzip","reason","source"],"q":[[0,"hotshot_query_service"],[210,"hotshot_query_service::Error"],[214,"hotshot_query_service::QueryError"],[215,"hotshot_query_service::availability"],[837,"hotshot_query_service::availability::Error"],[856,"hotshot_query_service::data_source"],[985,"hotshot_query_service::data_source::sql"],[1176,"hotshot_query_service::metrics"],[1351,"hotshot_query_service::metrics::MetricsError"],[1355,"hotshot_query_service::status"],[1474,"hotshot_query_service::status::Error"],[1476,"dyn_clone::sealed"],[1477,"dyn_clone::sealed"],[1478,"core::error"],[1479,"clap_builder::builder::command"],[1480,"snafu::backtrace_shim"],[1481,"core::option"],[1482,"alloc::string"],[1483,"core::convert"],[1484,"tide_disco::status"],[1485,"core::clone"],[1486,"commit"],[1487,"core::result"],[1488,"serde::de"],[1489,"core::fmt"],[1490,"core::fmt"],[1491,"clap_builder"],[1492,"clap_builder::util::id"],[1493,"color_eyre::section"],[1494,"core::fmt"],[1495,"core::marker"],[1496,"alloc::sync"],[1497,"alloc::rc"],[1498,"hotshot::types::handle"],[1499,"hotshot_types::traits::node_implementation"],[1500,"hotshot_types::traits::node_implementation"],[1501,"core::any"],[1502,"hotshot_types::traits::signature_key"],[1503,"core::future::future"],[1504,"core::pin"],[1505,"tide_disco::api"],[1506,"tide_disco::api"],[1507,"core::iter::traits::iterator"],[1508,"core::cmp"],[1509,"core::ops::range"],[1510,"core::hash"],[1511,"core::marker"],[1512,"hotshot_types::simple_certificate"],[1513,"bitvec::slice"],[1514,"bitvec::order"],[1515,"std::path"],[1516,"atomic_store::error"],[1517,"atomic_store::atomic_store"],[1518,"core::iter::traits::collect"],[1519,"hotshot_types::traits::metrics"],[1520,"bitvec::ptr::span"],[1521,"hotshot_types::event"],[1522,"time::offset_date_time"],[1523,"anyhow"],[1524,"tokio_postgres::client"],[1525,"alloc::vec"],[1526,"tokio_postgres::to_statement"],[1527,"core::iter::traits::collect"],[1528,"refinery_core::runner"],[1529,"refinery_core::error"],[1530,"hotshot_types::traits::metrics"]],"d":["","","Contains the error value","","There was an error while trying to fetch the requested …","","The requested resource exists but is not currently …","SNAFU context selector for the QueryError::Missing variant","The requested resource does not exist or is not known to …","SNAFU context selector for the QueryError::NotFound variant","Contains the success value","","","","","A reference to a T which can be resolved into a whole T.","SNAFU context selector for the QueryError::Error variant","","Item within a Payload.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Consume the selector and return the associated error","Consume the selector and return the associated error","Consume the selector and return the associated error","","","","","","","","","","","","","","Get a commitment to the underlying object.","Persistent storage and sources of data consumed by APIs.","","","","","","","","","","","","","","","","","","","","","","","","Consume the selector and return a Result with the …","Consume the selector and return a Result with the …","Consume the selector and return a Result with the …","","","","","","","","Returns the argument unchanged.","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","Embed migrations from the given directory into the current …","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","Run an instance of the HotShot Query service with no …","","","","","","","","","","","","","","","","","","","","","","","","","","","","Get the underlying object if it is available without …","","","","","","","","","","","","","","","","","","","","","A block hash is the hash of the block header.","","","","","","SNAFU context selector for the Error::BlockStream variant","","SNAFU context selector for the Error::Custom variant","","","","","","A proof that a certain transaction exists in the block.","","","SNAFU context selector for the …","Enumerate the transactions in this block.","","","","","","","SNAFU context selector for the Error::LeafStream variant","","","","","","SNAFU context selector for the Error::QueryBlock variant","","SNAFU context selector for the Error::QueryLeaf variant","","SNAFU context selector for the Error::QueryProposals …","","SNAFU context selector for the Error::QueryTransaction …","A block payload whose contents (e.g. individual …","","SNAFU context selector for the Error::Request variant","","","SNAFU context selector for the Error::StreamBlock variant","","SNAFU context selector for the Error::StreamLeaf variant","","","","","An index which can be used to efficiently retrieve a …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Consume the selector and return the associated error","Consume the selector and return the associated error","Consume the selector and return the associated error","Consume the selector and return the associated error","Get the index of the transaction with a given hash, if it …","Get the index of the transaction with a given hash, if it …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Enumerate the transactions in the block with their indices.","Enumerate the transactions in the block with their indices.","","","","","","","","","","","","","","","","","","","","","Additional API specification files to merge with …","Consume the selector and return a Result with the …","Consume the selector and return a Result with the …","Consume the selector and return a Result with the …","Consume the selector and return a Result with the …","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","","","","","","","Returns the block containing a transaction with the given …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Whether this block is empty of transactions.","Whether this block is empty of transactions.","","List the transaction indices in the block.","","","The number of transactions in the block.","","","Collect information about a Leaf.","Collect information about a block.","Get the index of the nth transaction.","Get the index of the nth transaction.","Get the nth transaction.","Get the nth transaction.","Get the nth transaction, along with an inclusion proof.","Get the nth transaction, along with an inclusion proof.","","","Get an inclusion proof for a transaction with a given …","Get an inclusion proof for a transaction with a given …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Get a transaction by its block-specific index.","Get a transaction by its block-specific index.","","","Get the transaction with a given hash, if it is in the …","Get the transaction with a given hash, if it is in the …","Get the transaction with a given hash, if it is in the …","Get the transaction with a given hash, if it is in the …","Get a transaction by its block-specific index, along with …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Wrapper to add extensibility to an existing data source.","A data source for the APIs provided in this crate, backed …","A minimal data source for the status API provided in this …","","An extension trait for types which implement the update …","A data source with an atomic transaction-based …","","","","","","","","","","","","","","","","","","","","","","","","","","","","Atomically commit to all outstanding modifications to the …","","Commit the current state to persistent storage.","","","Create a new FileSystemDataSource with storage at path.","Create a new FileSystemDataSource using a persistent …","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","","","","","Access the underlying data source.","Mutably access the underlying data source.","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","Open an existing FileSystemDataSource from storage at path.","Open an existing FileSystemDataSource using a persistent …","","","","Erase all oustanding modifications to the data.","","Revert changes made to persistent storage since the last …","Advance the version of the persistent store without …","","","","","","","","","","","","","","","","","","","Update query state based on a new consensus event.","","","","","","Postgres client config.","The Error type, a wrapper around a dynamic error type.","Represents a schema migration to be run on the database, …","","A data source for the APIs provided in this crate, backed …","An atomic SQL transaction.","","","","","Get the timestamp from when the Migration was applied. None…","","","","","","","","","","","","","","","","","","","","","","","","An iterator of the chain of source errors contained by …","Get the Migration checksum. Checksum is formed from the …","","","","","","","","","Atomically commit to all outstanding modifications to the …","","Connect to the database with this config.","Connect to a remote database.","Wrap the error value with additional context.","","Set the name of the database to connect to.","","The migrations requied to build the default schema for …","","","","","","","","","","","","","Attempt to downcast the error object to a concrete type.","Downcast this error object by mutable reference.","Downcast this error object by reference.","","","","","","","","","","","","","Execute a statement against the underlying database.","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","Set the hostname of the database server.","Embed the contents of a directory in your crate.","Embed migrations from the given directory into the current …","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","Returns true if E is the type held by this error object.","","Add custom migrations to run when connecting to the …","Create a new error object from a printable error message.","Get the Migration Name","Create a new error object from any error type.","Skip all migrations when connecting to the database.","","Set a password for connecting to the database.","","Set the port on which to connect to the database.","","Get the Prefix","","Query the underlying SQL database, returning exactly one …","Query the underlying SQL database with no parameters, …","Query the underlying SQL database, returning zero or one …","Query the underlying SQL database with no parameters, …","Query the underlying SQL database with no parameters.","Reset the schema on connection.","Erase all oustanding modifications to the data.","The lowest level cause of this error — this error’s …","Set the name of the schema to use for queries.","","","","Use TLS for an encrypted connection to the database.","","","","","Access the transaction which is accumulating all …","","","","","","","","","","","","","","","","Create an unapplied migration, name and version are parsed …","","Set the DB user to connect as.","Get the Migration version","","","","","","A Counter metric.","A Gauge metric.","A Histogram metric.","A Label metric.","","","","","A Prometheus-based implementation of a Metrics registry.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","Get a counter in this sub-group by name.","Get a gauge in this sub-group by name.","Get a histogram in this sub-group by name.","Get a label in this sub-group by name.","Get a (possibly nested) subgroup of this group by its path.","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Additional API specification files to merge with …","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[7,7,118,0,10,0,10,0,10,0,118,0,0,0,0,0,0,7,0,7,7,11,11,12,12,13,13,10,10,7,11,12,13,10,19,7,11,12,13,10,19,7,10,19,19,0,19,7,10,7,11,12,13,10,19,7,11,12,13,10,19,11,12,13,7,7,10,7,11,12,13,10,7,11,12,13,10,142,0,19,7,11,12,13,10,19,7,11,12,13,10,19,7,10,7,10,7,11,12,13,10,19,11,12,13,7,7,11,12,13,10,10,7,7,7,7,11,12,13,10,19,19,19,19,7,10,7,10,0,7,11,12,13,10,19,0,7,7,11,12,13,10,19,7,11,12,13,10,19,7,11,12,13,10,19,7,11,12,13,10,19,11,12,13,13,0,19,0,7,10,7,10,0,7,10,19,7,11,12,13,10,7,10,7,11,12,13,10,19,7,11,12,13,10,19,142,7,11,12,13,10,19,19,19,7,11,12,13,10,19,143,144,145,143,146,0,0,0,0,41,28,41,0,28,0,0,104,79,85,57,147,0,28,0,147,0,0,0,41,28,41,0,79,85,57,0,28,0,28,0,28,0,28,0,0,28,0,0,28,0,28,0,0,0,0,0,147,0,0,57,57,49,49,48,48,59,59,51,51,60,60,61,61,62,62,63,63,64,64,65,65,66,66,52,52,54,54,55,55,56,56,28,28,71,57,49,48,59,51,71,60,61,62,63,64,65,66,52,54,55,56,28,57,49,48,59,51,71,60,61,62,63,64,65,66,52,54,55,56,28,48,28,71,71,48,28,49,51,57,49,48,59,51,71,60,61,62,63,64,65,66,52,54,55,56,28,57,49,48,59,51,71,60,61,62,63,64,65,66,52,54,55,56,28,52,54,55,56,147,147,48,28,57,49,48,59,51,60,61,62,63,64,65,66,52,54,55,56,28,57,49,48,59,51,60,61,62,63,64,65,66,52,54,55,56,28,57,57,41,71,0,57,49,48,59,51,71,60,61,62,63,64,65,66,52,54,55,56,28,57,49,48,59,51,71,60,61,62,63,64,65,66,52,54,55,56,28,48,28,49,59,51,28,57,49,48,59,51,71,60,61,62,63,64,65,66,52,54,55,56,28,147,147,57,49,59,51,57,57,57,57,49,49,49,49,59,59,59,59,51,51,51,51,71,52,54,55,56,57,57,49,48,48,59,51,60,61,62,63,64,65,66,52,54,55,56,28,28,57,57,57,49,48,59,51,71,60,61,62,63,64,65,66,52,54,55,56,28,28,28,71,71,49,59,41,41,41,57,41,41,41,71,57,49,59,51,57,48,59,28,49,59,51,52,54,55,48,28,52,57,49,48,59,51,71,60,61,62,63,64,65,66,52,54,55,56,28,104,104,28,57,49,48,59,51,71,60,61,62,63,64,65,66,52,54,55,56,28,57,49,48,59,51,71,60,61,62,63,64,65,66,52,54,55,56,28,57,49,48,59,51,71,60,61,62,63,64,65,66,52,54,55,56,28,57,49,48,59,51,71,60,61,62,63,64,65,66,52,54,55,56,28,60,61,62,63,64,65,66,52,54,55,56,147,147,59,147,49,48,147,59,56,49,59,147,147,147,147,147,147,57,59,147,147,49,66,49,48,54,55,61,63,65,49,59,51,28,59,48,28,28,56,41,41,57,49,48,59,51,60,61,62,63,64,65,66,52,54,55,56,28,57,48,28,147,147,59,51,147,147,147,147,147,57,49,48,59,51,71,60,61,62,63,64,65,66,52,54,55,56,28,57,49,48,59,51,71,60,61,62,63,64,65,66,52,54,55,56,28,57,49,48,59,51,71,60,61,62,63,64,65,66,52,54,55,56,28,71,71,57,49,48,59,51,71,60,61,62,63,64,65,66,52,54,55,56,28,148,149,150,148,151,152,149,150,153,154,155,156,153,157,154,158,155,152,151,44,0,0,0,0,0,0,96,96,98,98,96,97,98,96,97,98,96,96,96,96,96,97,98,96,97,98,96,97,98,96,98,96,98,44,96,97,96,97,97,97,98,96,97,98,96,97,98,96,97,98,96,96,96,97,98,96,97,98,96,97,96,97,96,97,96,97,96,97,96,97,96,97,98,96,96,96,97,96,97,96,97,98,96,97,98,96,97,98,96,97,98,96,97,98,96,97,97,96,97,98,44,96,97,97,0,96,97,96,97,96,98,96,96,96,97,98,96,97,98,96,97,98,43,96,97,96,97,98,0,0,0,0,0,0,109,109,116,116,109,111,115,109,116,112,111,115,109,116,112,111,111,112,111,115,109,116,112,111,115,109,116,112,111,109,159,115,112,109,116,109,116,109,112,109,116,112,111,112,116,116,0,111,111,115,109,116,112,111,111,115,109,116,112,111,111,111,111,111,115,109,116,112,112,109,109,109,109,109,115,115,111,111,109,109,116,112,111,111,111,115,109,116,116,112,116,112,112,112,112,112,112,111,109,116,0,0,111,115,109,116,112,112,112,111,115,109,116,112,111,115,109,116,112,111,115,109,116,112,111,115,109,116,112,111,112,116,111,109,111,116,109,116,112,116,0,109,159,159,159,159,159,159,116,112,111,116,109,112,112,116,109,116,111,109,112,111,115,109,116,112,111,115,109,116,112,111,115,109,116,112,109,112,116,109,111,115,109,116,112,0,0,0,0,0,131,131,131,0,105,105,128,128,132,132,129,129,133,133,128,129,131,105,128,132,129,133,131,105,128,132,129,133,131,131,131,105,128,132,129,133,131,105,128,132,129,133,131,105,128,132,129,133,105,128,132,129,133,105,105,105,105,105,131,105,128,132,129,133,131,105,128,132,129,133,131,131,105,128,132,129,133,105,131,131,105,128,132,129,133,131,131,105,128,132,129,133,128,132,133,105,105,105,105,105,131,131,131,105,128,132,129,133,131,105,128,132,129,133,131,105,128,132,129,133,131,105,128,132,129,133,131,105,128,132,129,133,129,129,132,133,131,105,129,105,128,132,129,133,131,131,105,128,132,129,133,131,105,128,132,129,133,131,105,128,132,129,133,132,131,105,128,132,129,133,160,160,161,162,0,27,0,0,27,0,0,140,140,27,27,141,140,141,27,140,141,27,27,141,141,27,42,140,141,27,140,141,27,27,140,27,140,27,140,140,42,42,140,141,0,140,141,27,140,141,27,27,140,27,140,141,27,140,140,140,140,140,141,140,27,27,140,141,27,27,27,141,141,140,141,140,27,27,140,141,27,140,141,27,140,141,27,140,141,27,140,141,27,140,42,42,42,140,163,140,27,27,27,42,42,140,27,27,140,140,141,27,140,141,27,140,141,27,141,141,140,141,27,164,165],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,5,[]],[-1,5,[]],[6,6],[6,6],0,0,[7,[[9,[8]]]],[10,[[9,[8]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[11,10],[12,10],[[[13,[-1]]],10,[[15,[14]]]],[[16,14],7],[7,[[9,[5]]]],[10,[[9,[5]]]],[7,7],[11,11],[12,12],[[[13,[-1]]],[[13,[-1]]],17],[10,10],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[-1,[[18,[-2]]],[],[]],0,[[],19],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[7,21],[10,21],[-1,[[22,[7]]],23],[-1,[[22,[10]]],23],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[11,[[22,[-1,10]]],[]],[12,[[22,[-1,10]]],[]],[[[13,[-1]]],[[22,[-2,10]]],[[15,[14]]],[]],[[7,24],25],[[7,24],25],[[11,24],25],[[12,24],25],[[[13,[-1]],24],25,26],[[10,24],25],[[10,24],25],[-1,-1,[]],[27,7],[[[2,[14,16]]],7],[28,7],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[29,[[22,[19,30]]]],[29,[[22,[19,30]]]],[[],[[9,[31]]]],[[-1,-2],[[32,[-2,-3]]],[],[33,34,35],[]],[[-1,-2],[[32,[-2,-3]]],[],[33,34,35],[]],[-1,[],[]],[-1,[],[]],0,[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],0,[-1,7,33],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[11,10],[12,10],[[[13,[-1]]],10,[[15,[14]]]],0,0,0,[[19,-2,[39,[-1,-3]]],[[22,[2,7]]],40,[[41,[-1]],42,[43,[-1]],44,34,35],[[45,[-1]]]],[[7,-1],22,46],[[10,-1],22,46],[7,[[9,[5]]]],[10,[[9,[5]]]],0,[7,16],[10,16],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,14,[]],[-1,14,[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2,-1]]],[],[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[[19,29],[[22,[2,30]]]],[[19,29],[[22,[2,30]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,3],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],0,[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,5,[]],[-1,5,[]],[6,6],[6,6],[[[48,[-1]]],[[9,[8]]],40],[28,[[9,[8]]]],[[[49,[-1]]],[[50,[-1]]],40],[[[51,[-1]]],[[50,[-1]]],40],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[52,[-1,-2]]],28,[[15,[53]]],[[15,[53]]]],[[[54,[-1,-2]]],28,[[15,[20]]],[[15,[14]]]],[[[55,[-1,-2]]],28,[[15,[20]]],[[15,[14]]]],[[[56,[-1,-2]]],28,[[15,[14]]],[[15,[16]]]],[[-1,18],9,[]],[[-1,18],9,[]],[[[48,[-1]]],[[9,[5]]],40],[28,[[9,[5]]]],[[[57,[-1]]],[[57,[-1]]],58],[[[49,[-1]]],[[49,[-1]]],[17,40]],[[[48,[-1]]],[[48,[-1]]],[17,40]],[[[59,[-1]]],[[59,[-1]]],[17,40]],[[[51,[-1]]],[[51,[-1]]],[17,40]],[60,60],[[[61,[-1]]],[[61,[-1]]],17],[62,62],[[[63,[-1]]],[[63,[-1]]],17],[64,64],[[[65,[-1]]],[[65,[-1]]],17],[[[66,[-1]]],[[66,[-1]]],17],[[[52,[-1,-2]]],[[52,[-1,-2]]],17,17],[[[54,[-1,-2]]],[[54,[-1,-2]]],17,17],[[[55,[-1,-2]]],[[55,[-1,-2]]],17,17],[[[56,[-1,-2]]],[[56,[-1,-2]]],17,17],[28,28],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[[57,[-1]],[57,[-1]]],67,58],[[-1,-2],67,[],[]],[[-1,68],[[70,[[36,[69]]]]],[]],[[],71],[71,[[22,[[72,[-1,28]],73]]],[34,35,74]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[[[48,[-1]]],21,40],[28,21],[-1,[[22,[[49,[-2]]]]],23,40],[-1,[[22,[[59,[-2]]]]],23,40],[-1,[[22,[[51,[-2]]]]],23,40],[-1,[[22,[28]]],23],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[-1,[[36,[75]]],[]],[-1,[[36,[75]]],[]],[[[57,[-1]],[57,[-1]]],76,58],[[[49,[-1]],[49,[-1]]],76,[77,40]],[[[59,[-1]],[59,[-1]]],76,[77,40]],[[[51,[-1]],[51,[-1]]],76,[77,40]],[[-1,-2],76,[],[]],[[-1,-2],76,[],[]],[[-1,-2],76,[],[]],[[-1,-2],76,[],[]],[[-1,-2],76,[],[]],[[-1,-2],76,[],[]],[[-1,-2],76,[],[]],[[-1,-2],76,[],[]],[[-1,-2],76,[],[]],[[-1,-2],76,[],[]],[[-1,-2],76,[],[]],[[-1,-2],76,[],[]],[[-1,-2],76,[],[]],[[-1,-2],76,[],[]],[[-1,-2],76,[],[]],[[-1,-2],76,[],[]],0,[[[52,[-1,-2]]],[[22,[-3,28]]],[[15,[53]]],[[15,[53]]],[]],[[[54,[-1,-2]]],[[22,[-3,28]]],[[15,[20]]],[[15,[14]]],[]],[[[55,[-1,-2]]],[[22,[-3,28]]],[[15,[20]]],[[15,[14]]],[]],[[[56,[-1,-2]]],[[22,[-3,28]]],[[15,[14]]],[[15,[16]]],[]],[[[57,[-1]],24],25,58],[[[57,[-1]],24],25,58],[[[49,[-1]],24],25,[26,40]],[[[48,[-1]],24],25,40],[[[48,[-1]],24],25,[26,40]],[[[59,[-1]],24],25,[26,40]],[[[51,[-1]],24],25,[26,40]],[[60,24],25],[[[61,[-1]],24],25,26],[[62,24],25],[[[63,[-1]],24],25,26],[[64,24],25],[[[65,[-1]],24],25,26],[[[66,[-1]],24],25,26],[[[52,[-1,-2]],24],25,26,26],[[[54,[-1,-2]],24],25,26,26],[[[55,[-1,-2]],24],25,26,26],[[[56,[-1,-2]],24],25,26,26],[[28,24],25],[[28,24],25],[-1,-1,[]],[[[18,[-1]]],[[57,[-1]]],58],[20,[[57,[-1]]],58],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[2,[14,16]]],28],[78,28],[-1,-1,[]],[29,[[22,[71,30]]]],[29,[[22,[71,30]]]],[[],[[49,[-1]]],40],[[],[[59,[-1]]],40],[[-1,-3],[[70,[[36,[69]]]]],[],[],[[15,[[79,[-2]]]],34,35]],[[-1,-2],[[70,[[36,[69]]]]],[],[[80,[20]],34]],[[-1,[81,[-2]]],[[70,[[36,[69]]]]],[],[]],[[-1,-2],53,[82,83],84],[[-1,-3],[[70,[[36,[69]]]]],[],[],[[15,[[85,[-2]]]],34,35]],[[-1,-2],[[70,[[36,[69]]]]],[],[[80,[20]],34]],[[-1,68,[9,[20]]],[[70,[[36,[69]]]]],[]],[[],[[9,[31]]]],[[[57,[-1]],-2],2,58,86],[[[49,[-1]]],[[87,[-1]]],40],[[[59,[-1]]],[[50,[-1]]],40],[[[51,[-1]]],[[81,[-1]]],40],[[-1,-2],[[32,[-2,-3]]],[],[33,34,35],[]],[[-1,-2],[[32,[-2,-3]]],[],[33,34,35],[]],[[[59,[-1]]],[[88,[-1]]],40],[[-1,-2],[[32,[-2,-3]]],[],[33,34,35],[]],[[[49,[-1]]],53,40],[[[59,[-1]]],53,40],[[[51,[-1]]],53,40],0,0,0,[-1,[],[]],[-1,[],[]],0,[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[-1,[59,[-2]]],[[70,[[36,[69]]]]],[],[]],[[-1,[49,[-2]]],[[70,[[36,[69]]]]],[],[]],[-1,28,33],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[60,28],[[[61,[-1]]],28,[[15,[14]]]],[62,28],[[[63,[-1]]],28,[[15,[14]]]],[64,28],[[[65,[-1]]],28,[[15,[14]]]],[[[66,[-1]]],28,[[15,[68]]]],[[[52,[-1,-2]]],28,[[15,[53]]],[[15,[53]]]],[[[54,[-1,-2]]],28,[[15,[20]]],[[15,[14]]]],[[[55,[-1,-2]]],28,[[15,[20]]],[[15,[14]]]],[[[56,[-1,-2]]],28,[[15,[14]]],[[15,[16]]]],[-1,76,[]],[-1,76,[]],[[[59,[-1]]],76,40],[-1,[],[]],[[[49,[-1]]],[[89,[-1]]],40],0,[-1,20,[]],[[[59,[-1]]],20,40],0,[[[89,[-1]],[90,[-1]]],[[22,[[49,[-1]],[48,[-1]]]]],40],[[[89,[-1]],[90,[-1]],[91,[-1]]],[[22,[[59,[-1]],[48,[-1]]]]],40],[[-1,20],9,[]],[[-1,20],9,[]],[[-1,20],9,[]],[[-1,20],9,[]],[[-1,20],[[9,[2]]],[]],[[-1,20],[[9,[2]]],[]],[[[57,[-1]],[57,[-1]]],[[9,[67]]],58],[[[59,[-1]]],[[91,[-1]]],40],[-1,9,[]],[-1,9,[]],[[[49,[-1]]],68,40],0,[[[49,[-1]]],[[90,[-1]]],40],0,0,0,0,0,0,[[[49,[-1]],-2],22,40,46],[[[59,[-1]],-2],22,40,46],[[[51,[-1]],-2],22,40,46],[[28,-1],22,46],[[[59,[-1]]],53,40],[[[48,[-1]]],[[9,[5]]],40],[28,[[9,[5]]]],[28,16],0,[[-1,20],[[70,[[36,[69]]]]],[]],[[-1,20],[[70,[[36,[69]]]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,14,[]],[-1,14,[]],[-1,14,[]],[-1,9,[]],[-1,9,[]],[[[59,[-1]],[92,[-1]]],[[9,[[51,[-1]]]]],40],[[[51,[-1]]],[[93,[-1]]],40],[[-1,18],9,[]],[[-1,18],9,[]],[[-1,18],[[9,[2]]],[]],[[-1,18],[[9,[2]]],[]],[-1,[[9,[2]]],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[[71,29],[[22,[2,30]]]],[[71,29],[[22,[2,30]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,3],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,[[94,[-2,-3]]],[],[],95],[[[96,[-1,-2]]],-2,[],[]],[-1,[[94,[-2,-3]]],[],[],95],[[[96,[-1,-2]]],-2,[],[]],[[[96,[-1,-2]]],[[70,[[36,[69]]]]],[42,34,35],[34,35]],[[[97,[-1]]],[[70,[[36,[69]]]]],40],[98,[[70,[[36,[69]]]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[96,[-1,-2]]],[[96,[-1,-2]]],17,17],[98,98],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[-1,[[70,[[36,[69]]]]],[]],[[[96,[-1,-2]]],[[70,[[36,[69]]]]],[44,34],34],[[[97,[-1]]],[[70,[[36,[69]]]]],40],[[[96,[-2,-3]],68],[[70,[[36,[69]]]]],40,[[41,[-1]],34,35],[34,35]],[[[97,[-1]],68],[[70,[[36,[69]]]]],40],[99,[[22,[[97,[-1]],100]]],40],[101,[[22,[[97,[-1]],100]]],40],[[],98],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,2],[20,2],[20,2],[-1,-2,[],[[103,[102]]]],[-1,-2,[],[[103,[102]]]],[[[96,[-1,-2]],24],25,26,26],[[[97,[-1]],24],25,40],[[98,24],25],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[96,[-2,-3]],-4],[[70,[[36,[69]]]]],40,[[41,[-1]],34,35],[34,35],[[15,[[79,[-1]]]],34,35]],[[[97,[-1]],-2],[[70,[[36,[69]]]]],40,[[15,[[79,[-1]]]],34,35]],[[[96,[-2,-3]],-4],[[70,[[36,[69]]]]],40,[[41,[-1]],34,35],[34,35],[[80,[20]],34]],[[[97,[-1]],-2],[[70,[[36,[69]]]]],40,[[80,[20]],34]],[[[96,[-2,-3]],[81,[-1]]],[[70,[[36,[69]]]]],40,[[41,[-1]],34,35],[34,35]],[[[97,[-1]],[81,[-1]]],[[70,[[36,[69]]]]],40],[[[96,[-2,-3]],-4],[[70,[[36,[69]]]]],40,[[41,[-1]],34,35],[34,35],[[15,[[85,[-1]]]],34,35]],[[[97,[-1]],-2],[[70,[[36,[69]]]]],40,[[15,[[85,[-1]]]],34,35]],[[[96,[-2,-3]],-4],[[70,[[36,[69]]]]],40,[[41,[-1]],34,35],[34,35],[[80,[20]],34]],[[[97,[-1]],-2],[[70,[[36,[69]]]]],40,[[80,[20]],34]],[[[96,[-2,-3]],68,[9,[20]]],[[70,[[36,[69]]]]],40,[[41,[-1]],34,35],[34,35]],[[[97,[-1]],68,[9,[20]]],[[70,[[36,[69]]]]],40],[[],20],[[],20],[[],20],[[[96,[-1,-2]]],-1,[],[]],[[[96,[-1,-2]]],-1,[],[]],[[[96,[-2,-3]],[59,[-1]]],[[70,[[36,[69]]]]],40,[[104,[-1]],34,35],[34,35]],[[[97,[-1]],[59,[-1]]],[[70,[[36,[69]]]]],40],[[[96,[-2,-3]],[49,[-1]]],[[70,[[36,[69]]]]],40,[[104,[-1]],34,35],[34,35]],[[[97,[-1]],[49,[-1]]],[[70,[[36,[69]]]]],40],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[96,[-1,-2]]],105,[42,34,35],[34,35]],[[[97,[-1]]],105,40],[98,105],[[-1,-2],[[96,[-1,-2]]],[],[]],[99,[[22,[[97,[-1]],100]]],40],[101,[[22,[[97,[-1]],100]]],40],[-1,[[36,[106]]],[]],[-1,[[36,[106]]],[]],[-1,[[36,[106]]],[]],[-1,[[70,[[36,[69]]]]],[]],[[[96,[-1,-2]]],[[70,[[36,[69]]]]],[44,34],34],[[[97,[-1]]],[[70,[[36,[69]]]]],40],[[[97,[-1]]],[[22,[2,100]]],40],0,[[[96,[-2,-3]],20],[[70,[[36,[69]]]]],40,[[41,[-1]],34,35],[34,35]],[[[97,[-1]],20],[[70,[[36,[69]]]]],40],[[[96,[-2,-3]],20],[[70,[[36,[69]]]]],40,[[41,[-1]],34,35],[34,35]],[[[97,[-1]],20],[[70,[[36,[69]]]]],40],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[22,[[94,[-2,-3]],[107,[-2]]]]],[],[],95],[-1,[[22,[[94,[-2,-3]],[107,[-2]]]]],[],[],95],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[[-1,[108,[-2]]],[[70,[[36,[69]]]]],[],[]],[[-1,[108,[-2]]],[[70,[[36,[69]]]]],[],[]],[[-1,[108,[-2]]],[[70,[[36,[69]]]]],[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[109,[[9,[110]]]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[111,5],[111,5],[[[112,[-1]]],[[70,[[36,[69]]]]],40],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[111,113],[109,53],[-1,114,[]],[115,114],[[[112,[-1]]],114,40],[109,109],[116,116],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[109,109],67],[[[112,[-1]]],[[70,[[36,[69]]]]],40],[[-1,-2],67,[],[]],[116,[[22,[[112,[-1]],111]]],40],[116,[[22,[[112,[-1]],111]]],40],[[111,-1],111,[33,34,35]],[[[112,[-1]],68],[[70,[[36,[69]]]]],40],[[116,21],116],[[],116],[[],[[117,[109]]]],[111],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[111],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[111,[[22,[-1,111]]],[33,26,34,35]],[111,[[9,[-1]]],[33,26,34,35]],[111,[[9,[-1]]],[33,26,34,35]],[20,2],[111,2],[20,2],[20,2],[20,2],[20,2],[[[112,[-1]]],2,40],[[109,109],76],[[-1,-2],76,[],[]],[[-1,-2],76,[],[]],[[-1,-2],76,[],[]],[[-1,-2],76,[],[]],[[115,-1,-2],[[118,[2]]],[83,119],120],[[115,-1],[[118,[2]]],120],[[111,24],[[22,[2,121]]]],[[111,24],[[22,[2,121]]]],[[109,24],[[22,[2,121]]]],[[109,24],[[22,[2,121]]]],[[116,24],25],[[[112,[-1]],24],25,[40,26]],[-1,111,[5,34,35]],[-1,-1,[]],[122,-1,[]],[-1,-1,[]],[-1,-1,[]],[123,116],[-1,-1,[]],[-1,-1,[]],[21,[[22,[116]]]],[[[112,[-1]],-2],[[70,[[36,[69]]]]],40,[[15,[[79,[-1]]]],34,35]],[[[112,[-1]],-2],[[70,[[36,[69]]]]],40,[[80,[20]],34]],[[[112,[-1]],[81,[-1]]],[[70,[[36,[69]]]]],40],[[[112,[-1]],-2],[[70,[[36,[69]]]]],40,[[15,[[85,[-1]]]],34,35]],[[[112,[-1]],-2],[[70,[[36,[69]]]]],40,[[80,[20]],34]],[[[112,[-1]],68,[9,[20]]],[[70,[[36,[69]]]]],40],[[-1,-2],[[32,[-2,-3]]],[],[33,34,35],[]],[[-1,-2],[[32,[-2,-3]]],[],[33,34,35],[]],[[116,-1],116,[[15,[14]]]],0,0,[[],20],[[],20],[[],20],[[],20],[[],20],[[[112,[-1]],[59,[-1]]],[[70,[[36,[69]]]]],40],[[[112,[-1]],[49,[-1]]],[[70,[[36,[69]]]]],40],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[111,76],[[[112,[-1]]],105,40],[[116,-1],116,120],[-1,111,[33,26,34,35]],[109,21],[-1,111,[5,34,35]],[116,116],[[109,109],[[9,[67]]]],[[116,21],116],[-1,[[36,[106]]],[]],[[116,124],116],0,[109,125],[[-1,-2,-3],[[70,[[36,[69]]]]],35,[83,119,35],[120,34]],[[-1,-2,-3],[[70,[[36,[69]]]]],35,[83,119,35],[120,34]],[[-1,-2],[[70,[[36,[69]]]]],35,[83,119,35]],[[-1,-2,-3],[[70,[[36,[69]]]]],35,[83,119,35],[120,34]],[[-1,-2],[[70,[[36,[69]]]]],35,[83,119,35]],[[-1,-2],[[70,[[36,[69]]]]],35,[83,119,35]],[116,116],[[[112,[-1]]],[[70,[[36,[69]]]]],40],[111,5],[[116,-1],116,[[15,[14]]]],[109,[[9,[21]]]],[[[112,[-1]],20],[[70,[[36,[69]]]]],40],[[[112,[-1]],20],[[70,[[36,[69]]]]],40],[116,116],[-1,-2,[],[]],[-1,-2,[],[]],[-1,14,[]],[-1,14,[]],[[[112,[-1]]],[[118,[115]]],40],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[[21,21],[[22,[109,126]]]],[[-1,[108,[-2]]],[[70,[[36,[69]]]]],[],[]],[[116,21],116],[109,127],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[128,20],2],[[129,130],2],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,5,[]],[131,[[9,[8]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[131,[[9,[5]]]],[105,105],[128,128],[132,132],[129,129],[133,133],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[105,14,[9,[14]]],[[36,[134]]]],[[105,14,[9,[14]]],[[36,[135]]]],[[105,14,[9,[14]]],[[36,[136]]]],[[105,14],[[36,[137]]]],[[],105],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[131,21],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[105,[[22,[14]]]],[[131,24],25],[[131,24],25],[[105,24],25],[[128,24],25],[[132,24],25],[[129,24],25],[[133,24],25],[-1,-1,[]],[138,131],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[128,20],[132,20],[133,14],[[105,21],[[22,[128,131]]]],[[105,21],[[22,[132,131]]]],[[105,21],[[22,[129,131]]]],[[105,21],[[22,[133,131]]]],[[105,-1],[[22,[105,131]]],120],[[-1,-2],[[32,[-2,-3]]],[],[33,34,35],[]],[-1,[],[]],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[129,130],[129,20],[[132,20],2],[[133,14],2],[131,[[9,[5]]]],[[105,14],[[36,[106]]]],[129,130],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,14,[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[[132,139],2],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,3],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],0,[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,5,[]],[6,6],[6,6],[27,[[9,[8]]]],[-1,[[70,[[36,[69]]]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[27,[[9,[5]]]],[140,140],[27,27],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[140,140],67],[[-1,-2],67,[],[]],[-1,[[118,[105]]],[]],[-1,[[118,[105]]],[]],[[],140],[[],141],[141,[[22,[[72,[-1,27]],73]]],[34,35,74]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[27,21],[-1,[[22,[140]]],23],[-1,[[22,[27]]],23],[20,2],[20,2],[20,2],[[140,140],76],[[-1,-2],76,[],[]],[[-1,-2],76,[],[]],[[-1,-2],76,[],[]],[[-1,-2],76,[],[]],0,[[140,24],25],[[27,24],25],[[27,24],25],[-1,-1,[]],[-1,-1,[]],[78,27],[-1,-1,[]],[14,27],[29,[[22,[141,30]]]],[29,[[22,[141,30]]]],[[-1,-2],53,[82,83],84],[[],[[9,[31]]]],[[140,-1],2,86],[[-1,-2],[[32,[-2,-3]]],[],[33,34,35],[]],[-1,[],[]],[[],20],[[],20],[[],20],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],0,[-1,[[70,[[36,[69]]]]],35],[-1,[[70,[[36,[69]]]]],35],[-1,105,[]],[[140,140],[[9,[67]]]],[-1,[[36,[106]]],[]],[[140,-1],22,46],[[27,-1],22,46],[27,[[9,[5]]]],[27,16],[-1,[[70,[[36,[69]]]]],35],[-1,[[70,[[36,[69]]]]],35],[-1,-2,[],[]],[-1,-2,[],[]],[-1,14,[]],0,[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[[141,29],[[22,[2,30]]]],[[141,29],[[22,[2,30]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0],"c":[],"p":[[3,"Private",1476],[15,"tuple"],[3,"Private",1476],[8,"Any",1477],[8,"Error",1478],[3,"Command",1479],[4,"Error",0],[3,"Backtrace",1480],[4,"Option",1481],[4,"QueryError",0],[3,"NotFoundSnafu",0],[3,"MissingSnafu",0],[3,"Snafu",0],[3,"String",1482],[8,"Into",1483],[4,"StatusCode",1484],[8,"Clone",1485],[3,"Commitment",1486],[3,"Options",0],[15,"usize"],[15,"str"],[4,"Result",1487],[8,"Deserializer",1488],[3,"Formatter",1489],[6,"Result",1489],[8,"Debug",1489],[4,"Error",1355],[4,"Error",215],[3,"ArgMatches",1490],[6,"Error",1491],[3,"Id",1492],[3,"IndentedSection",1493],[8,"Display",1489],[8,"Send",1494],[8,"Sync",1494],[3,"Box",1495],[3,"Arc",1496],[3,"Rc",1497],[3,"SystemContextHandle",1498],[8,"NodeType",1499],[8,"AvailabilityDataSource",215],[8,"StatusDataSource",1355],[8,"UpdateDataSource",856],[8,"VersionedDataSource",856],[8,"NodeImplementation",1499],[8,"Serializer",1500],[3,"TypeId",1477],[3,"InconsistentLeafError",215],[3,"LeafQueryData",215],[6,"BlockHash",215],[3,"TransactionQueryData",215],[3,"InvalidTransactionIndexSnafu",215],[15,"u64"],[3,"LeafStreamSnafu",215],[3,"BlockStreamSnafu",215],[3,"CustomSnafu",215],[4,"ResourceId",215],[8,"Committable",1486],[3,"BlockQueryData",215],[3,"RequestSnafu",215],[3,"QueryLeafSnafu",215],[3,"StreamLeafSnafu",215],[3,"QueryBlockSnafu",215],[3,"StreamBlockSnafu",215],[3,"QueryTransactionSnafu",215],[3,"QueryProposalsSnafu",215],[4,"Ordering",1501],[3,"EncodedPublicKey",1502],[8,"Future",1503],[3,"Pin",1504],[3,"Options",215],[3,"Api",1505],[4,"ApiError",1505],[8,"ReadState",1506],[8,"Iterator",1507],[15,"bool"],[8,"PartialEq",1501],[4,"RequestError",1508],[6,"BlockId",215],[8,"RangeBounds",1509],[6,"TransactionHash",215],[8,"Hash",1510],[8,"Sized",1494],[8,"BuildHasher",1510],[6,"LeafId",215],[8,"Hasher",1510],[6,"LeafHash",215],[6,"Header",0],[3,"Leaf",1511],[6,"QuorumCertificate",1512],[6,"Payload",0],[6,"TransactionIndex",215],[6,"Transaction",0],[3,"BitSlice",1513],[8,"BitOrder",1514],[3,"ExtensibleDataSource",856],[3,"FileSystemDataSource",856],[3,"MetricsDataSource",856],[3,"Path",1515],[4,"PersistenceError",1516],[3,"AtomicStoreLoader",1517],[15,"char"],[8,"FromIterator",1518],[8,"UpdateAvailabilityData",215],[3,"PrometheusMetrics",1176],[8,"Metrics",1519],[4,"BitSpanError",1520],[3,"Event",1521],[3,"Migration",985],[3,"OffsetDateTime",1522],[3,"Error",985],[3,"SqlDataSource",985],[3,"Chain",1523],[3,"Client",1524],[3,"Transaction",985],[3,"Config",985],[3,"Vec",1525],[6,"QueryResult",0],[8,"ToStatement",1526],[8,"IntoIterator",1518],[3,"Error",1489],[15,"never"],[3,"Config",1527],[15,"u16"],[4,"Type",1528],[3,"Error",1529],[15,"u32"],[3,"Counter",1176],[3,"Histogram",1176],[15,"f64"],[4,"MetricsError",1176],[3,"Gauge",1176],[3,"Label",1176],[8,"Counter",1519],[8,"Gauge",1519],[8,"Histogram",1519],[8,"Label",1519],[4,"Error",1530],[15,"i64"],[3,"MempoolQueryData",1355],[3,"Options",1355],[8,"Resolvable",0],[13,"Custom",210],[13,"Availability",210],[13,"Status",210],[13,"Error",214],[8,"QueryablePayload",215],[13,"InvalidTransactionIndex",837],[13,"LeafStream",837],[13,"BlockStream",837],[13,"Custom",837],[13,"QueryProposals",837],[13,"QueryLeaf",837],[13,"QueryBlock",837],[13,"QueryTransaction",837],[13,"Request",837],[13,"StreamLeaf",837],[13,"StreamBlock",837],[8,"Query",985],[13,"NoSuchMetric",1351],[13,"NoSuchSubgroup",1351],[13,"Prometheus",1351],[8,"UpdateStatusData",1355],[13,"Internal",1474],[13,"Request",1474]],"b":[[105,"impl-Debug-for-Error"],[106,"impl-Display-for-Error"],[110,"impl-Display-for-QueryError"],[111,"impl-Debug-for-QueryError"],[113,"impl-From%3CError%3E-for-Error"],[114,"impl-From%3C(String,+StatusCode)%3E-for-Error"],[115,"impl-From%3CError%3E-for-Error"],[518,"impl-Debug-for-ResourceId%3CT%3E"],[519,"impl-Display-for-ResourceId%3CT%3E"],[521,"impl-Display-for-InconsistentLeafError%3CTypes%3E"],[522,"impl-Debug-for-InconsistentLeafError%3CTypes%3E"],[536,"impl-Display-for-Error"],[537,"impl-Debug-for-Error"],[539,"impl-From%3CCommitment%3CT%3E%3E-for-ResourceId%3CT%3E"],[540,"impl-From%3Cusize%3E-for-ResourceId%3CT%3E"],[557,"impl-From%3C(String,+StatusCode)%3E-for-Error"],[558,"impl-From%3CRequestError%3E-for-Error"],[1006,"impl-AsRef%3Cdyn+Error%3E-for-Error"],[1007,"impl-AsRef%3Cdyn+Error+%2B+Send+%2B+Sync%3E-for-Error"],[1067,"impl-Debug-for-Error"],[1068,"impl-Display-for-Error"],[1069,"impl-Debug-for-Migration"],[1070,"impl-Display-for-Migration"],[1259,"impl-Display-for-MetricsError"],[1260,"impl-Debug-for-MetricsError"],[1415,"impl-Display-for-Error"],[1416,"impl-Debug-for-Error"],[1419,"impl-From%3CRequestError%3E-for-Error"],[1421,"impl-From%3CString%3E-for-Error"]]}\ +"hotshot_query_service":{"doc":"The HotShot Query Service is a minimal, generic query …","t":"NNNENGGNDNDNDGEGIGDNGLLLLLLLLLLLLLLLLLLLLLLLLLLAMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLOLLLLLLOLLLLLLLLLLLLLLLLLLLLLLLLLLLLMAMFLLLLALLMLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLMMMMMIGGDQNQDNDEQNNNQDNDNDQGGDQNQDNNNDNDNDNDNDINDENDNDGGGGQDILLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKKKLKKKLLLLLLLLLLLLMMMLLMLLLLLLLLLLLLLLLLLLLKKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLMKLMLLLLLLLLLLLLLLMLMMMMMMLLLLLLLLMKKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMMMMMMMMMMMQDDDCIILLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLALLLLLLLLLLLLLLLLLKLLLLLDDDIDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLOOLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDDDENNNDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMENDDNIILLLLMLLLLLLLLLLKLLLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLKLKLLLLLLLLLMLLLLLLLLLLLLLLMM","n":["Availability","Custom","Err","Error","Error","Header","Metadata","Missing","MissingSnafu","NotFound","NotFoundSnafu","Ok","Options","Payload","QueryError","QueryResult","Resolvable","SignatureKey","Snafu","Status","Transaction","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_error_source","as_error_source","augment_args","augment_args_for_update","availability","availability","backtrace","backtrace","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build","build","catch_all","cause","cause","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","commitment","data_source","default","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","description","description","deserialize","deserialize","drop","drop","drop","drop","drop","drop","fail","fail","fail","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from_arg_matches","from_arg_matches_mut","group_id","header","header","in_current_span","in_current_span","include_migrations","init","init","init","init","init","init","instantiate_data_source_tests","internal","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_error","into_error","into_error","message","metrics","port","run_standalone_service","serialize","serialize","source","source","status","status","status","status","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_resolve","type_id","type_id","type_id","type_id","type_id","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","vzip","vzip","vzip","vzip","vzip","message","source","source","status","message","AvailabilityDataSource","BlockHash","BlockId","BlockQueryData","BlockRange","BlockStream","BlockStream","BlockStreamSnafu","Custom","CustomSnafu","Error","Error","Hash","Hash","Hash","InclusionProof","InconsistentLeafError","InvalidSignatureKey","InvalidSignatureKeySnafu","InvalidTransactionIndex","InvalidTransactionIndexSnafu","Iter","LeafHash","LeafId","LeafQueryData","LeafRange","LeafStream","LeafStream","LeafStreamSnafu","Number","Number","Number","Options","QueryBlock","QueryBlockSnafu","QueryLeaf","QueryLeafSnafu","QueryProposals","QueryProposalsSnafu","QueryTransaction","QueryTransactionSnafu","QueryablePayload","Request","RequestSnafu","ResourceId","StreamBlock","StreamBlockSnafu","StreamLeaf","StreamLeafSnafu","Timestamp","TransactionHash","TransactionInclusionProof","TransactionIndex","TransactionIndex","TransactionQueryData","UpdateAvailabilityData","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","api_path","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_error_source","as_error_source","augment_args","augment_args_for_update","backtrace","backtrace","block_hash","block_hash","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build","build","build","build","by_hash","by_hash","cause","cause","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","compare","count_proposals","default","define_api","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","description","description","deserialize","deserialize","deserialize","deserialize","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","enumerate","enumerate","enumerate","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","extensions","fail","fail","fail","fail","fail","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_arg_matches","from_arg_matches_mut","genesis","genesis","get_block","get_block_range","get_block_with_transaction","get_hash","get_leaf","get_leaf_range","get_proposals","group_id","hash","hash","hash","hash","header","header","header","header","height","height","height","height","height","height","in_current_span","in_current_span","index","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","insert_block","insert_leaf","internal","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_error","into_error","into_error","into_error","into_error","into_error","into_error","into_error","into_error","into_error","into_error","into_error","is_empty","is_empty","is_empty","iter","leaf","leaf","len","len","message","metadata","new","new","nth","nth","nth_transaction","nth_transaction","nth_transaction_with_proof","nth_transaction_with_proof","partial_cmp","payload","proof","proof","proposer","proposer","qc","qc_leaf","reason","reason","resource","resource","resource","serialize","serialize","serialize","serialize","size","source","source","status","status","subscribe_blocks","subscribe_leaves","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","transaction","transaction","transaction","transaction","transaction_by_hash","transaction_by_hash","transaction_by_hash_with_proof","transaction_by_hash_with_proof","transaction_with_proof","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","height","height","height","index","message","proposer","reason","reason","resource","resource","resource","source","source","source","source","source","source","source","status","Error","ExtensibleDataSource","FileSystemDataSource","MetricsDataSource","SqlDataSource","UpdateDataSource","VersionedDataSource","__clone_box","__clone_box","__clone_box","__clone_box","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_bits","as_mut","as_mut_bits","as_ref","block_height","block_height","block_height","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","commit","commit","commit","count_proposals","count_proposals","create","create_with_store","default","deref","deref","deref","deref_mut","deref_mut","deref_mut","drop","drop","drop","encode_hex","encode_hex_upper","fmt","fmt","fmt","from","from","from","get_block","get_block","get_block_range","get_block_range","get_block_with_transaction","get_block_with_transaction","get_leaf","get_leaf","get_leaf_range","get_leaf_range","get_proposals","get_proposals","init","init","init","inner","inner_mut","insert_block","insert_block","insert_leaf","insert_leaf","into","into","into","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","metrics","metrics","metrics","new","open","open_with_store","populate_metrics","populate_metrics","populate_metrics","revert","revert","revert","skip_version","sql","subscribe_blocks","subscribe_blocks","subscribe_leaves","subscribe_leaves","to_owned","to_owned","try_as_bits","try_as_mut_bits","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update","update","update","vzip","vzip","vzip","Config","Error","Migration","Query","SqlDataSource","Transaction","__clone_box","__clone_box","__clone_box","__clone_box","applied_on","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_ref","as_ref","block_height","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","chain","checksum","client","client","client","clone","clone","clone_into","clone_into","cmp","commit","compare","connect","connect","context","count_proposals","database","default","default_migrations","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","downcast","downcast_mut","downcast_ref","drop","drop","drop","drop","drop","drop","drop","eq","equivalent","equivalent","equivalent","equivalent","execute","execute_many","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from_str","get_block","get_block_range","get_block_with_transaction","get_leaf","get_leaf_range","get_proposals","header","header","host","include_dir","include_migrations","init","init","init","init","init","insert_block","insert_leaf","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","is","metrics","migrations","msg","name","new","no_migrations","partial_cmp","password","populate_metrics","port","postgres","prefix","query","query_one","query_one_static","query_opt","query_opt_static","query_static","reset_schema","revert","root_cause","schema","sql","subscribe_blocks","subscribe_leaves","tls","to_owned","to_owned","to_string","to_string","transaction","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","unapplied","update","user","version","vzip","vzip","vzip","vzip","vzip","Counter","Gauge","Histogram","Label","MetricsError","NoSuchMetric","NoSuchSubgroup","Prometheus","PrometheusMetrics","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","add","add_point","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_error_source","backtrace","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cause","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","create_counter","create_gauge","create_histogram","create_label","default","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","description","drop","drop","drop","drop","drop","drop","export","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","get","get","get","get_counter","get_gauge","get_histogram","get_label","get_subgroup","header","in_current_span","init","init","init","init","init","init","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","mean","sample_count","set","set","source","subgroup","sum","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","update","vzip","vzip","vzip","vzip","vzip","vzip","label","namespace","path","source","Error","Internal","MempoolQueryData","Options","Request","StatusDataSource","UpdateStatusData","__clone_box","__clone_box","__clone_box","__clone_box","api_path","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_error_source","augment_args","augment_args_for_update","backtrace","block_height","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","cause","clone","clone","clone_into","clone_into","cmp","compare","consensus_metrics","consensus_metrics","default","default","define_api","deref","deref","deref","deref_mut","deref_mut","deref_mut","description","deserialize","deserialize","drop","drop","drop","eq","equivalent","equivalent","equivalent","equivalent","extensions","fmt","fmt","fmt","from","from","from","from","from","from_arg_matches","from_arg_matches_mut","get_hash","group_id","hash","header","in_current_span","init","init","init","into","into","into","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","memory_footprint","mempool_info","mempool_info","metrics","partial_cmp","populate_metrics","serialize","serialize","source","status","success_rate","success_rate","to_owned","to_owned","to_string","transaction_count","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","vzip","vzip","reason","source"],"q":[[0,"hotshot_query_service"],[212,"hotshot_query_service::Error"],[216,"hotshot_query_service::QueryError"],[217,"hotshot_query_service::availability"],[869,"hotshot_query_service::availability::Error"],[888,"hotshot_query_service::data_source"],[1017,"hotshot_query_service::data_source::sql"],[1208,"hotshot_query_service::metrics"],[1383,"hotshot_query_service::metrics::MetricsError"],[1387,"hotshot_query_service::status"],[1506,"hotshot_query_service::status::Error"],[1508,"dyn_clone::sealed"],[1509,"dyn_clone::sealed"],[1510,"core::error"],[1511,"clap_builder::builder::command"],[1512,"snafu::backtrace_shim"],[1513,"core::option"],[1514,"alloc::string"],[1515,"core::convert"],[1516,"tide_disco::status"],[1517,"core::clone"],[1518,"commit"],[1519,"core::result"],[1520,"serde::de"],[1521,"core::fmt"],[1522,"core::fmt"],[1523,"clap_builder"],[1524,"clap_builder::util::id"],[1525,"color_eyre::section"],[1526,"core::fmt"],[1527,"core::marker"],[1528,"alloc::sync"],[1529,"alloc::rc"],[1530,"hotshot::types::handle"],[1531,"hotshot_types::traits::node_implementation"],[1532,"hotshot_types::traits::node_implementation"],[1533,"core::any"],[1534,"core::future::future"],[1535,"core::pin"],[1536,"tide_disco::api"],[1537,"tide_disco::api"],[1538,"core::iter::traits::iterator"],[1539,"core::cmp"],[1540,"core::ops::range"],[1541,"core::hash"],[1542,"core::marker"],[1543,"hotshot_types::data"],[1544,"hotshot_types::simple_certificate"],[1545,"bitvec::slice"],[1546,"bitvec::order"],[1547,"std::path"],[1548,"atomic_store::error"],[1549,"atomic_store::atomic_store"],[1550,"core::iter::traits::collect"],[1551,"hotshot_types::traits::metrics"],[1552,"bitvec::ptr::span"],[1553,"hotshot_types::event"],[1554,"time::offset_date_time"],[1555,"anyhow"],[1556,"tokio_postgres::client"],[1557,"alloc::vec"],[1558,"tokio_postgres::to_statement"],[1559,"core::iter::traits::collect"],[1560,"refinery_core::runner"],[1561,"refinery_core::error"],[1562,"hotshot_types::traits::metrics"]],"d":["","","Contains the error value","","There was an error while trying to fetch the requested …","","","The requested resource exists but is not currently …","SNAFU context selector for the QueryError::Missing variant","The requested resource does not exist or is not known to …","SNAFU context selector for the QueryError::NotFound variant","Contains the success value","","","","","A reference to a T which can be resolved into a whole T.","","SNAFU context selector for the QueryError::Error variant","","Item within a Payload.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Consume the selector and return the associated error","Consume the selector and return the associated error","Consume the selector and return the associated error","","","","","","","","","","","","","","Get a commitment to the underlying object.","Persistent storage and sources of data consumed by APIs.","","","","","","","","","","","","","","","","","","","","","","","","Consume the selector and return a Result with the …","Consume the selector and return a Result with the …","Consume the selector and return a Result with the …","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","Embed migrations from the given directory into the current …","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","Run an instance of the HotShot Query service with no …","","","","","","","","","","","","","","","","","","","","","","","","","","","","Get the underlying object if it is available without …","","","","","","","","","","","","","","","","","","","","","A block hash is the hash of the block header.","","","","","","SNAFU context selector for the Error::BlockStream variant","","SNAFU context selector for the Error::Custom variant","","","","","","A proof that a certain transaction exists in the block.","","","SNAFU context selector for the Error::InvalidSignatureKey …","","SNAFU context selector for the …","Enumerate the transactions in this block.","","","","","","","SNAFU context selector for the Error::LeafStream variant","","","","","","SNAFU context selector for the Error::QueryBlock variant","","SNAFU context selector for the Error::QueryLeaf variant","","SNAFU context selector for the Error::QueryProposals …","","SNAFU context selector for the Error::QueryTransaction …","A block payload whose contents (e.g. individual …","","SNAFU context selector for the Error::Request variant","","","SNAFU context selector for the Error::StreamBlock variant","","SNAFU context selector for the Error::StreamLeaf variant","","","","","An index which can be used to efficiently retrieve a …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Consume the selector and return the associated error","Consume the selector and return the associated error","Consume the selector and return the associated error","Consume the selector and return the associated error","Consume the selector and return the associated error","Get the index of the transaction with a given hash, if it …","Get the index of the transaction with a given hash, if it …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Enumerate the transactions in the block with their indices.","Enumerate the transactions in the block with their indices.","","","","","","","","","","","","","","","","","","","","","","Additional API specification files to merge with …","Consume the selector and return a Result with the …","Consume the selector and return a Result with the …","Consume the selector and return a Result with the …","Consume the selector and return a Result with the …","Consume the selector and return a Result with the …","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","","","","","","","Returns the block containing a transaction with the given …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Whether this block is empty of transactions.","Whether this block is empty of transactions.","","List the transaction indices in the block.","","","The number of transactions in the block.","","","","Collect information about a Leaf.","Collect information about a block.","Get the index of the nth transaction.","Get the index of the nth transaction.","Get the nth transaction.","Get the nth transaction.","Get the nth transaction, along with an inclusion proof.","Get the nth transaction, along with an inclusion proof.","","","Get an inclusion proof for a transaction with a given …","Get an inclusion proof for a transaction with a given …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Get a transaction by its block-specific index.","Get a transaction by its block-specific index.","","","Get the transaction with a given hash, if it is in the …","Get the transaction with a given hash, if it is in the …","Get the transaction with a given hash, if it is in the …","Get the transaction with a given hash, if it is in the …","Get a transaction by its block-specific index, along with …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Wrapper to add extensibility to an existing data source.","A data source for the APIs provided in this crate, backed …","A minimal data source for the status API provided in this …","","An extension trait for types which implement the update …","A data source with an atomic transaction-based …","","","","","","","","","","","","","","","","","","","","","","","","","","","","Atomically commit to all outstanding modifications to the …","","Commit the current state to persistent storage.","","","Create a new FileSystemDataSource with storage at path.","Create a new FileSystemDataSource using a persistent …","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","","","","","Access the underlying data source.","Mutably access the underlying data source.","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","Open an existing FileSystemDataSource from storage at path.","Open an existing FileSystemDataSource using a persistent …","","","","Erase all oustanding modifications to the data.","","Revert changes made to persistent storage since the last …","Advance the version of the persistent store without …","","","","","","","","","","","","","","","","","","","Update query state based on a new consensus event.","","","","","","Postgres client config.","The Error type, a wrapper around a dynamic error type.","Represents a schema migration to be run on the database, …","","A data source for the APIs provided in this crate, backed …","An atomic SQL transaction.","","","","","Get the timestamp from when the Migration was applied. None…","","","","","","","","","","","","","","","","","","","","","","","","An iterator of the chain of source errors contained by …","Get the Migration checksum. Checksum is formed from the …","","","","","","","","","Atomically commit to all outstanding modifications to the …","","Connect to the database with this config.","Connect to a remote database.","Wrap the error value with additional context.","","Set the name of the database to connect to.","","The migrations requied to build the default schema for …","","","","","","","","","","","","","Attempt to downcast the error object to a concrete type.","Downcast this error object by mutable reference.","Downcast this error object by reference.","","","","","","","","","","","","","Execute a statement against the underlying database.","","","","","","","","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","Set the hostname of the database server.","Embed the contents of a directory in your crate.","Embed migrations from the given directory into the current …","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","Returns true if E is the type held by this error object.","","Add custom migrations to run when connecting to the …","Create a new error object from a printable error message.","Get the Migration Name","Create a new error object from any error type.","Skip all migrations when connecting to the database.","","Set a password for connecting to the database.","","Set the port on which to connect to the database.","","Get the Prefix","","Query the underlying SQL database, returning exactly one …","Query the underlying SQL database with no parameters, …","Query the underlying SQL database, returning zero or one …","Query the underlying SQL database with no parameters, …","Query the underlying SQL database with no parameters.","Reset the schema on connection.","Erase all oustanding modifications to the data.","The lowest level cause of this error — this error’s …","Set the name of the schema to use for queries.","","","","Use TLS for an encrypted connection to the database.","","","","","Access the transaction which is accumulating all …","","","","","","","","","","","","","","","","Create an unapplied migration, name and version are parsed …","","Set the DB user to connect as.","Get the Migration version","","","","","","A Counter metric.","A Gauge metric.","A Histogram metric.","A Label metric.","","","","","A Prometheus-based implementation of a Metrics registry.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","Get a counter in this sub-group by name.","Get a gauge in this sub-group by name.","Get a histogram in this sub-group by name.","Get a label in this sub-group by name.","Get a (possibly nested) subgroup of this group by its path.","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Additional API specification files to merge with …","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[7,7,121,0,10,0,0,10,0,10,0,121,0,0,0,0,0,0,0,7,0,7,7,11,11,12,12,13,13,10,10,7,11,12,13,10,19,7,11,12,13,10,19,7,10,19,19,0,19,7,10,7,11,12,13,10,19,7,11,12,13,10,19,11,12,13,7,7,10,7,11,12,13,10,7,11,12,13,10,145,0,19,7,11,12,13,10,19,7,11,12,13,10,19,7,10,7,10,7,11,12,13,10,19,11,12,13,7,7,11,12,13,10,10,7,7,7,7,11,12,13,10,19,19,19,19,7,10,7,10,0,7,11,12,13,10,19,0,7,7,11,12,13,10,19,7,11,12,13,10,19,7,11,12,13,10,19,7,11,12,13,10,19,11,12,13,13,0,19,0,7,10,7,10,0,7,10,19,7,11,12,13,10,7,10,7,11,12,13,10,19,7,11,12,13,10,19,145,7,11,12,13,10,19,19,19,7,11,12,13,10,19,146,147,148,146,149,0,0,0,0,41,27,41,0,27,0,0,107,80,86,58,150,0,27,0,27,0,150,0,0,0,41,27,41,0,80,86,58,0,27,0,27,0,27,0,27,0,0,27,0,0,27,0,27,0,0,0,0,0,150,0,0,58,58,49,49,48,48,60,60,51,51,61,61,62,62,63,63,64,64,65,65,66,66,67,67,52,52,54,54,55,55,56,56,57,57,27,27,72,58,49,48,60,51,72,61,62,63,64,65,66,67,52,54,55,56,57,27,58,49,48,60,51,72,61,62,63,64,65,66,67,52,54,55,56,57,27,48,27,72,72,48,27,49,51,58,49,48,60,51,72,61,62,63,64,65,66,67,52,54,55,56,57,27,58,49,48,60,51,72,61,62,63,64,65,66,67,52,54,55,56,57,27,52,54,55,56,57,150,150,48,27,58,49,48,60,51,61,62,63,64,65,66,67,52,54,55,56,57,27,58,49,48,60,51,61,62,63,64,65,66,67,52,54,55,56,57,27,58,58,41,72,0,58,49,48,60,51,72,61,62,63,64,65,66,67,52,54,55,56,57,27,58,49,48,60,51,72,61,62,63,64,65,66,67,52,54,55,56,57,27,48,27,49,60,51,27,58,49,48,60,51,72,61,62,63,64,65,66,67,52,54,55,56,57,27,150,150,60,58,49,60,51,58,58,58,58,49,49,49,49,60,60,60,60,51,51,51,51,72,52,54,55,56,57,58,58,49,48,48,60,51,61,62,63,64,65,66,67,52,54,55,56,57,27,27,58,58,58,49,48,60,51,72,61,62,63,64,65,66,67,52,54,55,56,57,27,27,27,72,72,49,60,41,41,41,58,41,41,41,72,58,49,60,51,58,48,60,27,49,60,51,52,54,55,48,27,52,58,49,48,60,51,72,61,62,63,64,65,66,67,52,54,55,56,57,27,107,107,27,58,49,48,60,51,72,61,62,63,64,65,66,67,52,54,55,56,57,27,58,49,48,60,51,72,61,62,63,64,65,66,67,52,54,55,56,57,27,58,49,48,60,51,72,61,62,63,64,65,66,67,52,54,55,56,57,27,58,49,48,60,51,72,61,62,63,64,65,66,67,52,54,55,56,57,27,61,62,63,64,65,66,67,52,54,55,56,57,150,150,60,150,49,48,150,60,57,60,49,60,150,150,150,150,150,150,58,60,150,150,49,67,49,48,54,55,62,64,66,49,60,51,27,60,48,27,27,57,41,41,58,49,48,60,51,61,62,63,64,65,66,67,52,54,55,56,57,27,58,48,27,150,150,60,51,150,150,150,150,150,58,49,48,60,51,72,61,62,63,64,65,66,67,52,54,55,56,57,27,58,49,48,60,51,72,61,62,63,64,65,66,67,52,54,55,56,57,27,58,49,48,60,51,72,61,62,63,64,65,66,67,52,54,55,56,57,27,72,72,58,49,48,60,51,72,61,62,63,64,65,66,67,52,54,55,56,57,27,151,152,153,151,154,155,152,153,156,157,158,159,156,160,157,161,158,155,154,44,0,0,0,0,0,0,99,99,101,101,99,100,101,99,100,101,99,99,99,99,99,100,101,99,100,101,99,100,101,99,101,99,101,44,99,100,99,100,100,100,101,99,100,101,99,100,101,99,100,101,99,99,99,100,101,99,100,101,99,100,99,100,99,100,99,100,99,100,99,100,99,100,101,99,99,99,100,99,100,99,100,101,99,100,101,99,100,101,99,100,101,99,100,101,99,100,100,99,100,101,44,99,100,100,0,99,100,99,100,99,101,99,99,99,100,101,99,100,101,99,100,101,43,99,100,99,100,101,0,0,0,0,0,0,112,112,119,119,112,114,118,112,119,115,114,118,112,119,115,114,114,115,114,118,112,119,115,114,118,112,119,115,114,112,162,118,115,112,119,112,119,112,115,112,119,115,114,115,119,119,0,114,114,118,112,119,115,114,114,118,112,119,115,114,114,114,114,114,118,112,119,115,115,112,112,112,112,112,118,118,114,114,112,112,119,115,114,114,114,118,112,119,119,115,119,115,115,115,115,115,115,114,112,119,0,0,114,118,112,119,115,115,115,114,118,112,119,115,114,118,112,119,115,114,118,112,119,115,114,118,112,119,115,114,115,119,114,112,114,119,112,119,115,119,0,112,162,162,162,162,162,162,119,115,114,119,112,115,115,119,112,119,114,112,115,114,118,112,119,115,114,118,112,119,115,114,118,112,119,115,112,115,119,112,114,118,112,119,115,0,0,0,0,0,134,134,134,0,108,108,131,131,135,135,132,132,136,136,131,132,134,108,131,135,132,136,134,108,131,135,132,136,134,134,134,108,131,135,132,136,134,108,131,135,132,136,134,108,131,135,132,136,108,131,135,132,136,108,108,108,108,108,134,108,131,135,132,136,134,108,131,135,132,136,134,134,108,131,135,132,136,108,134,134,108,131,135,132,136,134,134,108,131,135,132,136,131,135,136,108,108,108,108,108,134,134,134,108,131,135,132,136,134,108,131,135,132,136,134,108,131,135,132,136,134,108,131,135,132,136,134,108,131,135,132,136,132,132,135,136,134,108,132,108,131,135,132,136,134,134,108,131,135,132,136,134,108,131,135,132,136,134,108,131,135,132,136,135,134,108,131,135,132,136,163,163,164,165,0,28,0,0,28,0,0,143,143,28,28,144,143,144,28,143,144,28,28,144,144,28,42,143,144,28,143,144,28,28,143,28,143,28,143,143,42,42,143,144,0,143,144,28,143,144,28,28,143,28,143,144,28,143,143,143,143,143,144,143,28,28,143,144,28,28,28,144,144,143,144,143,28,28,143,144,28,143,144,28,143,144,28,143,144,28,143,144,28,143,42,42,42,143,166,143,28,28,28,42,42,143,28,28,143,143,144,28,143,144,28,143,144,28,144,144,143,144,28,167,168],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,3],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,5,[]],[-1,5,[]],[6,6],[6,6],0,0,[7,[[9,[8]]]],[10,[[9,[8]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[11,10],[12,10],[[[13,[-1]]],10,[[15,[14]]]],[[16,14],7],[7,[[9,[5]]]],[10,[[9,[5]]]],[7,7],[11,11],[12,12],[[[13,[-1]]],[[13,[-1]]],17],[10,10],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[-1,[[18,[-2]]],[],[]],0,[[],19],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[7,21],[10,21],[-1,[[22,[7]]],23],[-1,[[22,[10]]],23],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[11,[[22,[-1,10]]],[]],[12,[[22,[-1,10]]],[]],[[[13,[-1]]],[[22,[-2,10]]],[[15,[14]]],[]],[[7,24],25],[[7,24],25],[[11,24],25],[[12,24],25],[[[13,[-1]],24],25,26],[[10,24],25],[[10,24],25],[[[2,[14,16]]],7],[27,7],[-1,-1,[]],[28,7],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[29,[[22,[19,30]]]],[29,[[22,[19,30]]]],[[],[[9,[31]]]],[[-1,-2],[[32,[-2,-3]]],[],[33,34,35],[]],[[-1,-2],[[32,[-2,-3]]],[],[33,34,35],[]],[-1,[],[]],[-1,[],[]],0,[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],0,[-1,7,33],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[11,10],[12,10],[[[13,[-1]]],10,[[15,[14]]]],0,0,0,[[19,-2,[39,[-1,-3]]],[[22,[2,7]]],40,[[41,[-1]],42,[43,[-1]],44,34,35],[[45,[-1]]]],[[7,-1],22,46],[[10,-1],22,46],[7,[[9,[5]]]],[10,[[9,[5]]]],0,[7,16],[10,16],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,14,[]],[-1,14,[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2,-1]]],[],[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[[19,29],[[22,[2,30]]]],[[19,29],[[22,[2,30]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,3],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],0,[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,5,[]],[-1,5,[]],[6,6],[6,6],[[[48,[-1]]],[[9,[8]]],40],[27,[[9,[8]]]],[[[49,[-1]]],[[50,[-1]]],40],[[[51,[-1]]],[[50,[-1]]],40],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[52,[-1,-2]]],27,[[15,[53]]],[[15,[53]]]],[[[54,[-1,-2]]],27,[[15,[20]]],[[15,[14]]]],[[[55,[-1,-2]]],27,[[15,[20]]],[[15,[14]]]],[56,27],[[[57,[-1,-2]]],27,[[15,[14]]],[[15,[16]]]],[[-1,18],9,[]],[[-1,18],9,[]],[[[48,[-1]]],[[9,[5]]],40],[27,[[9,[5]]]],[[[58,[-1]]],[[58,[-1]]],59],[[[49,[-1]]],[[49,[-1]]],[17,40]],[[[48,[-1]]],[[48,[-1]]],[17,40]],[[[60,[-1]]],[[60,[-1]]],[17,40]],[[[51,[-1]]],[[51,[-1]]],[17,40]],[61,61],[[[62,[-1]]],[[62,[-1]]],17],[63,63],[[[64,[-1]]],[[64,[-1]]],17],[65,65],[[[66,[-1]]],[[66,[-1]]],17],[[[67,[-1]]],[[67,[-1]]],17],[[[52,[-1,-2]]],[[52,[-1,-2]]],17,17],[[[54,[-1,-2]]],[[54,[-1,-2]]],17,17],[[[55,[-1,-2]]],[[55,[-1,-2]]],17,17],[56,56],[[[57,[-1,-2]]],[[57,[-1,-2]]],17,17],[27,27],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[[58,[-1]],[58,[-1]]],68,59],[[-1,-2],68,[],[]],[[-1,[69,[-2]]],[[71,[[36,[70]]]]],[],[]],[[],72],[72,[[22,[[73,[-1,27]],74]]],[34,35,75]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[[[48,[-1]]],21,40],[27,21],[-1,[[22,[[49,[-2]]]]],23,40],[-1,[[22,[[60,[-2]]]]],23,40],[-1,[[22,[[51,[-2]]]]],23,40],[-1,[[22,[27]]],23],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[-1,[[36,[76]]],[]],[-1,[[36,[76]]],[]],[[[60,[-1]]],[[0,[76]]],40],[[[58,[-1]],[58,[-1]]],77,59],[[[49,[-1]],[49,[-1]]],77,[78,40]],[[[60,[-1]],[60,[-1]]],77,[78,40]],[[[51,[-1]],[51,[-1]]],77,[78,40]],[[-1,-2],77,[],[]],[[-1,-2],77,[],[]],[[-1,-2],77,[],[]],[[-1,-2],77,[],[]],[[-1,-2],77,[],[]],[[-1,-2],77,[],[]],[[-1,-2],77,[],[]],[[-1,-2],77,[],[]],[[-1,-2],77,[],[]],[[-1,-2],77,[],[]],[[-1,-2],77,[],[]],[[-1,-2],77,[],[]],[[-1,-2],77,[],[]],[[-1,-2],77,[],[]],[[-1,-2],77,[],[]],[[-1,-2],77,[],[]],0,[[[52,[-1,-2]]],[[22,[-3,27]]],[[15,[53]]],[[15,[53]]],[]],[[[54,[-1,-2]]],[[22,[-3,27]]],[[15,[20]]],[[15,[14]]],[]],[[[55,[-1,-2]]],[[22,[-3,27]]],[[15,[20]]],[[15,[14]]],[]],[56,[[22,[-1,27]]],[]],[[[57,[-1,-2]]],[[22,[-3,27]]],[[15,[14]]],[[15,[16]]],[]],[[[58,[-1]],24],25,59],[[[58,[-1]],24],25,59],[[[49,[-1]],24],25,[26,40]],[[[48,[-1]],24],25,40],[[[48,[-1]],24],25,[26,40]],[[[60,[-1]],24],25,[26,40]],[[[51,[-1]],24],25,[26,40]],[[61,24],25],[[[62,[-1]],24],25,26],[[63,24],25],[[[64,[-1]],24],25,26],[[65,24],25],[[[66,[-1]],24],25,26],[[[67,[-1]],24],25,26],[[[52,[-1,-2]],24],25,26,26],[[[54,[-1,-2]],24],25,26,26],[[[55,[-1,-2]],24],25,26,26],[[56,24],25],[[[57,[-1,-2]],24],25,26,26],[[27,24],25],[[27,24],25],[-1,-1,[]],[20,[[58,[-1]]],59],[[[18,[-1]]],[[58,[-1]]],59],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[79,27],[[[2,[14,16]]],27],[-1,-1,[]],[29,[[22,[72,30]]]],[29,[[22,[72,30]]]],[[],[[49,[-1]]],40],[[],[[60,[-1]]],40],[[-1,-3],[[71,[[36,[70]]]]],[],[],[[15,[[80,[-2]]]],34,35]],[[-1,-2],[[71,[[36,[70]]]]],[],[[81,[20]],34]],[[-1,[82,[-2]]],[[71,[[36,[70]]]]],[],[]],[[-1,-2],53,[83,84],85],[[-1,-3],[[71,[[36,[70]]]]],[],[],[[15,[[86,[-2]]]],34,35]],[[-1,-2],[[71,[[36,[70]]]]],[],[[81,[20]],34]],[[-1,[69,[-2]],[9,[20]]],[[71,[[36,[70]]]]],[],[]],[[],[[9,[31]]]],[[[58,[-1]],-2],2,59,87],[[[49,[-1]]],[[88,[-1]]],40],[[[60,[-1]]],[[50,[-1]]],40],[[[51,[-1]]],[[82,[-1]]],40],[[-1,-2],[[32,[-2,-3]]],[],[33,34,35],[]],[[-1,-2],[[32,[-2,-3]]],[],[33,34,35],[]],[[[60,[-1]]],[[89,[-1]]],40],[[-1,-2],[[32,[-2,-3]]],[],[33,34,35],[]],[[[49,[-1]]],53,40],[[[60,[-1]]],53,40],[[[51,[-1]]],53,40],0,0,0,[-1,[],[]],[-1,[],[]],0,[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[-1,[60,[-2]]],[[71,[[36,[70]]]]],[],[]],[[-1,[49,[-2]]],[[71,[[36,[70]]]]],[],[]],[-1,27,33],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[61,27],[[[62,[-1]]],27,[[15,[14]]]],[63,27],[[[64,[-1]]],27,[[15,[14]]]],[65,27],[[[66,[-1]]],27,[[15,[14]]]],[[[67,[-1]]],27,[[15,[90]]]],[[[52,[-1,-2]]],27,[[15,[53]]],[[15,[53]]]],[[[54,[-1,-2]]],27,[[15,[20]]],[[15,[14]]]],[[[55,[-1,-2]]],27,[[15,[20]]],[[15,[14]]]],[56,27],[[[57,[-1,-2]]],27,[[15,[14]]],[[15,[16]]]],[-1,77,[]],[-1,77,[]],[[[60,[-1]]],77,40],[-1,[],[]],[[[49,[-1]]],[[91,[-1]]],40],0,[-1,20,[]],[[[60,[-1]]],20,40],0,[[[60,[-1]]],[[92,[-1]]],40],[[[91,[-1]],[93,[-1]]],[[22,[[49,[-1]],[48,[-1]]]]],40],[[[91,[-1]],[93,[-1]],[94,[-1]]],[[22,[[60,[-1]],[48,[-1]]]]],40],[[-1,20],9,[]],[[-1,20],9,[]],[[-1,20],9,[]],[[-1,20],9,[]],[[-1,20],[[9,[2]]],[]],[[-1,20],[[9,[2]]],[]],[[[58,[-1]],[58,[-1]]],[[9,[68]]],59],[[[60,[-1]]],[[94,[-1]]],40],[-1,9,[]],[-1,9,[]],[[[49,[-1]]],[[69,[-1]]],40],0,[[[49,[-1]]],[[93,[-1]]],40],0,0,0,0,0,0,[[[49,[-1]],-2],22,40,46],[[[60,[-1]],-2],22,40,46],[[[51,[-1]],-2],22,40,46],[[27,-1],22,46],[[[60,[-1]]],53,40],[[[48,[-1]]],[[9,[5]]],40],[27,[[9,[5]]]],[27,16],0,[[-1,20],[[71,[[36,[70]]]]],[]],[[-1,20],[[71,[[36,[70]]]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,14,[]],[-1,14,[]],[-1,14,[]],[-1,9,[]],[-1,9,[]],[[[60,[-1]],[95,[-1]]],[[9,[[51,[-1]]]]],40],[[[51,[-1]]],[[96,[-1]]],40],[[-1,18],9,[]],[[-1,18],9,[]],[[-1,18],[[9,[2]]],[]],[[-1,18],[[9,[2]]],[]],[-1,[[9,[2]]],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[[72,29],[[22,[2,30]]]],[[72,29],[[22,[2,30]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,[[97,[-2,-3]]],[],[],98],[[[99,[-1,-2]]],-2,[],[]],[-1,[[97,[-2,-3]]],[],[],98],[[[99,[-1,-2]]],-2,[],[]],[[[99,[-1,-2]]],[[71,[[36,[70]]]]],[42,34,35],[34,35]],[[[100,[-1]]],[[71,[[36,[70]]]]],40],[101,[[71,[[36,[70]]]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[99,[-1,-2]]],[[99,[-1,-2]]],17,17],[101,101],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[-1,[[71,[[36,[70]]]]],[]],[[[99,[-1,-2]]],[[71,[[36,[70]]]]],[44,34],34],[[[100,[-1]]],[[71,[[36,[70]]]]],40],[[[99,[-2,-3]],[69,[-1]]],[[71,[[36,[70]]]]],40,[[41,[-1]],34,35],[34,35]],[[[100,[-1]],[69,[-1]]],[[71,[[36,[70]]]]],40],[102,[[22,[[100,[-1]],103]]],40],[104,[[22,[[100,[-1]],103]]],40],[[],101],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,2],[20,2],[20,2],[-1,-2,[],[[106,[105]]]],[-1,-2,[],[[106,[105]]]],[[[99,[-1,-2]],24],25,26,26],[[[100,[-1]],24],25,40],[[101,24],25],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[99,[-2,-3]],-4],[[71,[[36,[70]]]]],40,[[41,[-1]],34,35],[34,35],[[15,[[80,[-1]]]],34,35]],[[[100,[-1]],-2],[[71,[[36,[70]]]]],40,[[15,[[80,[-1]]]],34,35]],[[[99,[-2,-3]],-4],[[71,[[36,[70]]]]],40,[[41,[-1]],34,35],[34,35],[[81,[20]],34]],[[[100,[-1]],-2],[[71,[[36,[70]]]]],40,[[81,[20]],34]],[[[99,[-2,-3]],[82,[-1]]],[[71,[[36,[70]]]]],40,[[41,[-1]],34,35],[34,35]],[[[100,[-1]],[82,[-1]]],[[71,[[36,[70]]]]],40],[[[99,[-2,-3]],-4],[[71,[[36,[70]]]]],40,[[41,[-1]],34,35],[34,35],[[15,[[86,[-1]]]],34,35]],[[[100,[-1]],-2],[[71,[[36,[70]]]]],40,[[15,[[86,[-1]]]],34,35]],[[[99,[-2,-3]],-4],[[71,[[36,[70]]]]],40,[[41,[-1]],34,35],[34,35],[[81,[20]],34]],[[[100,[-1]],-2],[[71,[[36,[70]]]]],40,[[81,[20]],34]],[[[99,[-2,-3]],[69,[-1]],[9,[20]]],[[71,[[36,[70]]]]],40,[[41,[-1]],34,35],[34,35]],[[[100,[-1]],[69,[-1]],[9,[20]]],[[71,[[36,[70]]]]],40],[[],20],[[],20],[[],20],[[[99,[-1,-2]]],-1,[],[]],[[[99,[-1,-2]]],-1,[],[]],[[[99,[-2,-3]],[60,[-1]]],[[71,[[36,[70]]]]],40,[[107,[-1]],34,35],[34,35]],[[[100,[-1]],[60,[-1]]],[[71,[[36,[70]]]]],40],[[[99,[-2,-3]],[49,[-1]]],[[71,[[36,[70]]]]],40,[[107,[-1]],34,35],[34,35]],[[[100,[-1]],[49,[-1]]],[[71,[[36,[70]]]]],40],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[99,[-1,-2]]],108,[42,34,35],[34,35]],[[[100,[-1]]],108,40],[101,108],[[-1,-2],[[99,[-1,-2]]],[],[]],[102,[[22,[[100,[-1]],103]]],40],[104,[[22,[[100,[-1]],103]]],40],[-1,[[36,[109]]],[]],[-1,[[36,[109]]],[]],[-1,[[36,[109]]],[]],[-1,[[71,[[36,[70]]]]],[]],[[[99,[-1,-2]]],[[71,[[36,[70]]]]],[44,34],34],[[[100,[-1]]],[[71,[[36,[70]]]]],40],[[[100,[-1]]],[[22,[2,103]]],40],0,[[[99,[-2,-3]],20],[[71,[[36,[70]]]]],40,[[41,[-1]],34,35],[34,35]],[[[100,[-1]],20],[[71,[[36,[70]]]]],40],[[[99,[-2,-3]],20],[[71,[[36,[70]]]]],40,[[41,[-1]],34,35],[34,35]],[[[100,[-1]],20],[[71,[[36,[70]]]]],40],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[22,[[97,[-2,-3]],[110,[-2]]]]],[],[],98],[-1,[[22,[[97,[-2,-3]],[110,[-2]]]]],[],[],98],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[[-1,[111,[-2]]],[[71,[[36,[70]]]]],[],[]],[[-1,[111,[-2]]],[[71,[[36,[70]]]]],[],[]],[[-1,[111,[-2]]],[[71,[[36,[70]]]]],[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[112,[[9,[113]]]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[114,5],[114,5],[[[115,[-1]]],[[71,[[36,[70]]]]],40],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[114,116],[112,53],[-1,117,[]],[118,117],[[[115,[-1]]],117,40],[112,112],[119,119],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[112,112],68],[[[115,[-1]]],[[71,[[36,[70]]]]],40],[[-1,-2],68,[],[]],[119,[[22,[[115,[-1]],114]]],40],[119,[[22,[[115,[-1]],114]]],40],[[114,-1],114,[33,34,35]],[[[115,[-1]],[69,[-1]]],[[71,[[36,[70]]]]],40],[[119,21],119],[[],119],[[],[[120,[112]]]],[114],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[114],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[114,[[22,[-1,114]]],[33,26,34,35]],[114,[[9,[-1]]],[33,26,34,35]],[114,[[9,[-1]]],[33,26,34,35]],[20,2],[114,2],[20,2],[20,2],[20,2],[20,2],[[[115,[-1]]],2,40],[[112,112],77],[[-1,-2],77,[],[]],[[-1,-2],77,[],[]],[[-1,-2],77,[],[]],[[-1,-2],77,[],[]],[[118,-1,-2],[[121,[2]]],[84,122],123],[[118,-1],[[121,[2]]],123],[[114,24],[[22,[2,124]]]],[[114,24],[[22,[2,124]]]],[[112,24],[[22,[2,124]]]],[[112,24],[[22,[2,124]]]],[[119,24],25],[[[115,[-1]],24],25,[40,26]],[-1,-1,[]],[-1,114,[5,34,35]],[125,-1,[]],[-1,-1,[]],[-1,-1,[]],[126,119],[-1,-1,[]],[-1,-1,[]],[21,[[22,[119]]]],[[[115,[-1]],-2],[[71,[[36,[70]]]]],40,[[15,[[80,[-1]]]],34,35]],[[[115,[-1]],-2],[[71,[[36,[70]]]]],40,[[81,[20]],34]],[[[115,[-1]],[82,[-1]]],[[71,[[36,[70]]]]],40],[[[115,[-1]],-2],[[71,[[36,[70]]]]],40,[[15,[[86,[-1]]]],34,35]],[[[115,[-1]],-2],[[71,[[36,[70]]]]],40,[[81,[20]],34]],[[[115,[-1]],[69,[-1]],[9,[20]]],[[71,[[36,[70]]]]],40],[[-1,-2],[[32,[-2,-3]]],[],[33,34,35],[]],[[-1,-2],[[32,[-2,-3]]],[],[33,34,35],[]],[[119,-1],119,[[15,[14]]]],0,0,[[],20],[[],20],[[],20],[[],20],[[],20],[[[115,[-1]],[60,[-1]]],[[71,[[36,[70]]]]],40],[[[115,[-1]],[49,[-1]]],[[71,[[36,[70]]]]],40],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[114,77],[[[115,[-1]]],108,40],[[119,-1],119,123],[-1,114,[33,26,34,35]],[112,21],[-1,114,[5,34,35]],[119,119],[[112,112],[[9,[68]]]],[[119,21],119],[-1,[[36,[109]]],[]],[[119,127],119],0,[112,128],[[-1,-2,-3],[[71,[[36,[70]]]]],35,[84,122,35],[123,34]],[[-1,-2,-3],[[71,[[36,[70]]]]],35,[84,122,35],[123,34]],[[-1,-2],[[71,[[36,[70]]]]],35,[84,122,35]],[[-1,-2,-3],[[71,[[36,[70]]]]],35,[84,122,35],[123,34]],[[-1,-2],[[71,[[36,[70]]]]],35,[84,122,35]],[[-1,-2],[[71,[[36,[70]]]]],35,[84,122,35]],[119,119],[[[115,[-1]]],[[71,[[36,[70]]]]],40],[114,5],[[119,-1],119,[[15,[14]]]],[112,[[9,[21]]]],[[[115,[-1]],20],[[71,[[36,[70]]]]],40],[[[115,[-1]],20],[[71,[[36,[70]]]]],40],[119,119],[-1,-2,[],[]],[-1,-2,[],[]],[-1,14,[]],[-1,14,[]],[[[115,[-1]]],[[121,[118]]],40],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[[21,21],[[22,[112,129]]]],[[-1,[111,[-2]]],[[71,[[36,[70]]]]],[],[]],[[119,21],119],[112,130],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,[[-1,3],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],[[131,20],2],[[132,133],2],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,5,[]],[134,[[9,[8]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[134,[[9,[5]]]],[108,108],[131,131],[135,135],[132,132],[136,136],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[108,14,[9,[14]]],[[36,[137]]]],[[108,14,[9,[14]]],[[36,[138]]]],[[108,14,[9,[14]]],[[36,[139]]]],[[108,14],[[36,[140]]]],[[],108],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[134,21],[20,2],[20,2],[20,2],[20,2],[20,2],[20,2],[108,[[22,[14]]]],[[134,24],25],[[134,24],25],[[108,24],25],[[131,24],25],[[135,24],25],[[132,24],25],[[136,24],25],[141,134],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[131,20],[135,20],[136,14],[[108,21],[[22,[131,134]]]],[[108,21],[[22,[135,134]]]],[[108,21],[[22,[132,134]]]],[[108,21],[[22,[136,134]]]],[[108,-1],[[22,[108,134]]],123],[[-1,-2],[[32,[-2,-3]]],[],[33,34,35],[]],[-1,[],[]],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[132,133],[132,20],[[135,20],2],[[136,14],2],[134,[[9,[5]]]],[[108,14],[[36,[109]]]],[132,133],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,14,[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[[135,142],2],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,3],2,[]],[[-1,1],2,[]],[[-1,3],2,[]],0,[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,4,[]],[-1,5,[]],[6,6],[6,6],[28,[[9,[8]]]],[-1,[[71,[[36,[70]]]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[28,[[9,[5]]]],[143,143],[28,28],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[143,143],68],[[-1,-2],68,[],[]],[-1,[[121,[108]]],[]],[-1,[[121,[108]]],[]],[[],143],[[],144],[144,[[22,[[73,[-1,28]],74]]],[34,35,75]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[20,-1,[]],[28,21],[-1,[[22,[143]]],23],[-1,[[22,[28]]],23],[20,2],[20,2],[20,2],[[143,143],77],[[-1,-2],77,[],[]],[[-1,-2],77,[],[]],[[-1,-2],77,[],[]],[[-1,-2],77,[],[]],0,[[143,24],25],[[28,24],25],[[28,24],25],[-1,-1,[]],[-1,-1,[]],[79,28],[-1,-1,[]],[14,28],[29,[[22,[144,30]]]],[29,[[22,[144,30]]]],[[-1,-2],53,[83,84],85],[[],[[9,[31]]]],[[143,-1],2,87],[[-1,-2],[[32,[-2,-3]]],[],[33,34,35],[]],[-1,[],[]],[[],20],[[],20],[[],20],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[36,[-1]]],[[36,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[37,[-1]]],[[37,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],[[[38,[-1]]],[[38,[4]]],[]],0,[-1,[[71,[[36,[70]]]]],35],[-1,[[71,[[36,[70]]]]],35],[-1,108,[]],[[143,143],[[9,[68]]]],[-1,[[36,[109]]],[]],[[143,-1],22,46],[[28,-1],22,46],[28,[[9,[5]]]],[28,16],[-1,[[71,[[36,[70]]]]],35],[-1,[[71,[[36,[70]]]]],35],[-1,-2,[],[]],[-1,-2,[],[]],[-1,14,[]],0,[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,47,[]],[-1,47,[]],[-1,47,[]],[[144,29],[[22,[2,30]]]],[[144,29],[[22,[2,30]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0],"c":[],"p":[[3,"Private",1508],[15,"tuple"],[3,"Private",1508],[8,"Any",1509],[8,"Error",1510],[3,"Command",1511],[4,"Error",0],[3,"Backtrace",1512],[4,"Option",1513],[4,"QueryError",0],[3,"NotFoundSnafu",0],[3,"MissingSnafu",0],[3,"Snafu",0],[3,"String",1514],[8,"Into",1515],[4,"StatusCode",1516],[8,"Clone",1517],[3,"Commitment",1518],[3,"Options",0],[15,"usize"],[15,"str"],[4,"Result",1519],[8,"Deserializer",1520],[3,"Formatter",1521],[6,"Result",1521],[8,"Debug",1521],[4,"Error",217],[4,"Error",1387],[3,"ArgMatches",1522],[6,"Error",1523],[3,"Id",1524],[3,"IndentedSection",1525],[8,"Display",1521],[8,"Send",1526],[8,"Sync",1526],[3,"Box",1527],[3,"Arc",1528],[3,"Rc",1529],[3,"SystemContextHandle",1530],[8,"NodeType",1531],[8,"AvailabilityDataSource",217],[8,"StatusDataSource",1387],[8,"UpdateDataSource",888],[8,"VersionedDataSource",888],[8,"NodeImplementation",1531],[8,"Serializer",1532],[3,"TypeId",1509],[3,"InconsistentLeafError",217],[3,"LeafQueryData",217],[6,"BlockHash",217],[3,"TransactionQueryData",217],[3,"InvalidTransactionIndexSnafu",217],[15,"u64"],[3,"LeafStreamSnafu",217],[3,"BlockStreamSnafu",217],[3,"InvalidSignatureKeySnafu",217],[3,"CustomSnafu",217],[4,"ResourceId",217],[8,"Committable",1518],[3,"BlockQueryData",217],[3,"RequestSnafu",217],[3,"QueryLeafSnafu",217],[3,"StreamLeafSnafu",217],[3,"QueryBlockSnafu",217],[3,"StreamBlockSnafu",217],[3,"QueryTransactionSnafu",217],[3,"QueryProposalsSnafu",217],[4,"Ordering",1533],[6,"SignatureKey",0],[8,"Future",1534],[3,"Pin",1535],[3,"Options",217],[3,"Api",1536],[4,"ApiError",1536],[8,"ReadState",1537],[8,"Iterator",1538],[15,"bool"],[8,"PartialEq",1533],[4,"RequestError",1539],[6,"BlockId",217],[8,"RangeBounds",1540],[6,"TransactionHash",217],[8,"Hash",1541],[8,"Sized",1526],[8,"BuildHasher",1541],[6,"LeafId",217],[8,"Hasher",1541],[6,"LeafHash",217],[6,"Header",0],[3,"EncodedPublicKey",1542],[3,"Leaf",1543],[6,"Metadata",0],[6,"QuorumCertificate",1544],[6,"Payload",0],[6,"TransactionIndex",217],[6,"Transaction",0],[3,"BitSlice",1545],[8,"BitOrder",1546],[3,"ExtensibleDataSource",888],[3,"FileSystemDataSource",888],[3,"MetricsDataSource",888],[3,"Path",1547],[4,"PersistenceError",1548],[3,"AtomicStoreLoader",1549],[15,"char"],[8,"FromIterator",1550],[8,"UpdateAvailabilityData",217],[3,"PrometheusMetrics",1208],[8,"Metrics",1551],[4,"BitSpanError",1552],[3,"Event",1553],[3,"Migration",1017],[3,"OffsetDateTime",1554],[3,"Error",1017],[3,"SqlDataSource",1017],[3,"Chain",1555],[3,"Client",1556],[3,"Transaction",1017],[3,"Config",1017],[3,"Vec",1557],[6,"QueryResult",0],[8,"ToStatement",1558],[8,"IntoIterator",1550],[3,"Error",1521],[15,"never"],[3,"Config",1559],[15,"u16"],[4,"Type",1560],[3,"Error",1561],[15,"u32"],[3,"Counter",1208],[3,"Histogram",1208],[15,"f64"],[4,"MetricsError",1208],[3,"Gauge",1208],[3,"Label",1208],[8,"Counter",1551],[8,"Gauge",1551],[8,"Histogram",1551],[8,"Label",1551],[4,"Error",1562],[15,"i64"],[3,"MempoolQueryData",1387],[3,"Options",1387],[8,"Resolvable",0],[13,"Custom",212],[13,"Availability",212],[13,"Status",212],[13,"Error",216],[8,"QueryablePayload",217],[13,"InvalidTransactionIndex",869],[13,"LeafStream",869],[13,"BlockStream",869],[13,"Custom",869],[13,"QueryProposals",869],[13,"QueryLeaf",869],[13,"QueryBlock",869],[13,"QueryTransaction",869],[13,"Request",869],[13,"StreamLeaf",869],[13,"StreamBlock",869],[8,"Query",1017],[13,"NoSuchMetric",1383],[13,"NoSuchSubgroup",1383],[13,"Prometheus",1383],[8,"UpdateStatusData",1387],[13,"Internal",1506],[13,"Request",1506]],"b":[[107,"impl-Display-for-Error"],[108,"impl-Debug-for-Error"],[112,"impl-Debug-for-QueryError"],[113,"impl-Display-for-QueryError"],[114,"impl-From%3C(String,+StatusCode)%3E-for-Error"],[115,"impl-From%3CError%3E-for-Error"],[117,"impl-From%3CError%3E-for-Error"],[536,"impl-Display-for-ResourceId%3CT%3E"],[537,"impl-Debug-for-ResourceId%3CT%3E"],[539,"impl-Display-for-InconsistentLeafError%3CTypes%3E"],[540,"impl-Debug-for-InconsistentLeafError%3CTypes%3E"],[555,"impl-Display-for-Error"],[556,"impl-Debug-for-Error"],[558,"impl-From%3Cusize%3E-for-ResourceId%3CT%3E"],[559,"impl-From%3CCommitment%3CT%3E%3E-for-ResourceId%3CT%3E"],[577,"impl-From%3CRequestError%3E-for-Error"],[578,"impl-From%3C(String,+StatusCode)%3E-for-Error"],[1038,"impl-AsRef%3Cdyn+Error%3E-for-Error"],[1039,"impl-AsRef%3Cdyn+Error+%2B+Send+%2B+Sync%3E-for-Error"],[1099,"impl-Debug-for-Error"],[1100,"impl-Display-for-Error"],[1101,"impl-Display-for-Migration"],[1102,"impl-Debug-for-Migration"],[1291,"impl-Display-for-MetricsError"],[1292,"impl-Debug-for-MetricsError"],[1447,"impl-Debug-for-Error"],[1448,"impl-Display-for-Error"],[1451,"impl-From%3CRequestError%3E-for-Error"],[1453,"impl-From%3CString%3E-for-Error"]]}\ }'); if (typeof window !== 'undefined' && window.initSearch) {window.initSearch(searchIndex)}; if (typeof exports !== 'undefined') {exports.searchIndex = searchIndex}; diff --git a/src/hotshot_query_service/availability.rs.html b/src/hotshot_query_service/availability.rs.html index f3b1f5b2c..a867cb60c 100644 --- a/src/hotshot_query_service/availability.rs.html +++ b/src/hotshot_query_service/availability.rs.html @@ -661,6 +661,25 @@ 661 662 663 +664 +665 +666 +667 +668 +669 +670 +671 +672 +673 +674 +675 +676 +677 +678 +679 +680 +681 +682
// Copyright (c) 2022 Espresso Systems (espressosys.com)
 // This file is part of the HotShot Query Service library.
 //
@@ -673,16 +692,17 @@
 // You should have received a copy of the GNU General Public License along with this program. If not,
 // see <https://www.gnu.org/licenses/>.
 
-use crate::{api::load_api, Payload, QueryError, QueryResult};
+use crate::{api::load_api, Payload, QueryError, QueryResult, SignatureKey};
 use clap::Args;
 use derive_more::From;
 use futures::{FutureExt, Stream, StreamExt, TryFutureExt, TryStreamExt};
+use hotshot::types::SignatureKey as _;
 use hotshot_types::traits::{node_implementation::NodeType, signature_key::EncodedPublicKey};
 use serde::{Deserialize, Serialize};
 use snafu::{OptionExt, ResultExt, Snafu};
 use std::fmt::Display;
 use std::path::PathBuf;
-use tide_disco::{api::ApiError, method::ReadState, Api, RequestError, StatusCode};
+use tide_disco::{api::ApiError, method::ReadState, Api, RequestError, RequestParams, StatusCode};
 
 pub(crate) mod data_source;
 pub(crate) mod query_data;
@@ -764,6 +784,9 @@
         height: usize,
         reason: String,
     },
+    #[snafu(display("malformed signature key"))]
+    #[from(ignore)]
+    InvalidSignatureKey,
     Custom {
         message: String,
         status: StatusCode,
@@ -780,7 +803,7 @@
 
     pub fn status(&self) -> StatusCode {
         match self {
-            Self::Request { .. } => StatusCode::BadRequest,
+            Self::Request { .. } | Self::InvalidSignatureKey => StatusCode::BadRequest,
             Self::QueryLeaf { source, .. }
             | Self::StreamLeaf { source, .. }
             | Self::QueryBlock { source, .. }
@@ -931,14 +954,12 @@
                             resource: id.to_string(),
                         })?;
                         let i = req.integer_param("index")?;
-                        let index =
-                            block
-                                .payload()
-                                .nth(i)
-                                .context(InvalidTransactionIndexSnafu {
-                                    height: height as u64,
-                                    index: i as u64,
-                                })?;
+                        let index = block.payload().nth(block.metadata(), i).context(
+                            InvalidTransactionIndexSnafu {
+                                height: height as u64,
+                                index: i as u64,
+                            },
+                        )?;
                         (block, index)
                     }
                 };
@@ -951,28 +972,45 @@
         })?
         .get("countproposals", |req, state| {
             async move {
-                let proposer = req.blob_param("proposer_id")?;
+                let proposer = proposer_param::<Types>(&req, "proposer_id")?;
                 state
                     .count_proposals(&proposer)
                     .await
-                    .context(QueryProposalsSnafu { proposer })
+                    .context(QueryProposalsSnafu {
+                        proposer: proposer.to_bytes(),
+                    })
             }
             .boxed()
         })?
         .get("getproposals", |req, state| {
             async move {
-                let proposer = req.blob_param("proposer_id")?;
+                let proposer = proposer_param::<Types>(&req, "proposer_id")?;
                 let limit = req.opt_integer_param("count")?;
                 state
                     .get_proposals(&proposer, limit)
                     .await
-                    .context(QueryProposalsSnafu { proposer })
+                    .context(QueryProposalsSnafu {
+                        proposer: proposer.to_bytes(),
+                    })
             }
             .boxed()
         })?;
     Ok(api)
 }
 
+fn proposer_param<Types: NodeType>(
+    req: &RequestParams,
+    param: &str,
+) -> Result<SignatureKey<Types>, Error> {
+    // The HotShot signature key trait temporarily lacks the trait bounds required to convert
+    // directly from TaggedBase64. As a workaround, we parse the TaggedBase64 as an
+    // EncodedPublicKey and then decode to the actual signature key type.
+    //
+    // This can be simplified after https://github.com/EspressoSystems/HotShot/issues/2374.
+    let encoded: EncodedPublicKey = req.blob_param(param)?;
+    SignatureKey::<Types>::from_bytes(&encoded).context(InvalidSignatureKeySnafu)
+}
+
 fn handle_stream_errors<T, S, F>(
     height: usize,
     stream: QueryResult<S>,
@@ -1098,7 +1136,7 @@
 
             // Check that this block is included as a proposal by the proposer listed in the leaf.
             let proposals: Vec<LeafQueryData<MockTypes>> = client
-                .get(&format!("proposals/{}", leaf.proposer()))
+                .get(&format!("proposals/{}", leaf.proposer().to_bytes()))
                 .send()
                 .await
                 .unwrap();
@@ -1106,7 +1144,7 @@
             // Check the `proposals/limit` and `proposals/count` features.
             assert!(
                 client
-                    .get::<u64>(&format!("proposals/{}/count", leaf.proposer()))
+                    .get::<u64>(&format!("proposals/{}/count", leaf.proposer().to_bytes()))
                     .send()
                     .await
                     .unwrap()
@@ -1119,7 +1157,7 @@
                 client
                     .get::<Vec<LeafQueryData<MockTypes>>>(&format!(
                         "proposals/{}/limit/1",
-                        leaf.proposer()
+                        leaf.proposer().to_bytes()
                     ))
                     .send()
                     .await
@@ -1131,7 +1169,7 @@
                 client
                     .get::<Vec<LeafQueryData<MockTypes>>>(&format!(
                         "proposals/{}/limit/0",
-                        leaf.proposer()
+                        leaf.proposer().to_bytes()
                     ))
                     .send()
                     .await
@@ -1142,7 +1180,7 @@
 
             // Check that looking up each transaction in the block various ways returns the correct
             // transaction.
-            for (j, txn_from_block) in block.payload().enumerate() {
+            for (j, txn_from_block) in block.enumerate() {
                 let txn: TransactionQueryData<MockTypes> = client
                     .get(&format!("transaction/{}/{}", i, j))
                     .send()
diff --git a/src/hotshot_query_service/availability/data_source.rs.html b/src/hotshot_query_service/availability/data_source.rs.html
index f92deb4e1..460e3daef 100644
--- a/src/hotshot_query_service/availability/data_source.rs.html
+++ b/src/hotshot_query_service/availability/data_source.rs.html
@@ -129,13 +129,13 @@
 use super::query_data::{
     BlockQueryData, LeafQueryData, QueryablePayload, TransactionHash, TransactionIndex,
 };
-use crate::{Header, Leaf, Payload, QueryResult};
+use crate::{Header, Leaf, Payload, QueryResult, SignatureKey};
 use async_trait::async_trait;
 use commit::{Commitment, Committable};
 use derivative::Derivative;
 use derive_more::{Display, From};
 use futures::stream::Stream;
-use hotshot_types::traits::{node_implementation::NodeType, signature_key::EncodedPublicKey};
+use hotshot_types::traits::node_implementation::NodeType;
 use std::cmp::Ordering;
 use std::error::Error;
 use std::fmt::Debug;
@@ -215,10 +215,10 @@
 
     async fn get_proposals(
         &self,
-        proposer: &EncodedPublicKey,
+        proposer: &SignatureKey<Types>,
         limit: Option<usize>,
     ) -> QueryResult<Vec<LeafQueryData<Types>>>;
-    async fn count_proposals(&self, proposer: &EncodedPublicKey) -> QueryResult<usize>;
+    async fn count_proposals(&self, proposer: &SignatureKey<Types>) -> QueryResult<usize>;
 
     async fn subscribe_leaves(&self, height: usize) -> QueryResult<Self::LeafStream>;
     async fn subscribe_blocks(&self, height: usize) -> QueryResult<Self::BlockStream>;
diff --git a/src/hotshot_query_service/availability/query_data.rs.html b/src/hotshot_query_service/availability/query_data.rs.html
index 1eff35e4f..394f24a32 100644
--- a/src/hotshot_query_service/availability/query_data.rs.html
+++ b/src/hotshot_query_service/availability/query_data.rs.html
@@ -373,6 +373,28 @@
 373
 374
 375
+376
+377
+378
+379
+380
+381
+382
+383
+384
+385
+386
+387
+388
+389
+390
+391
+392
+393
+394
+395
+396
+397
 

// Copyright (c) 2022 Espresso Systems (espressosys.com)
 // This file is part of the HotShot Query Service library.
 //
@@ -385,7 +407,7 @@
 // You should have received a copy of the GNU General Public License along with this program. If not,
 // see <https://www.gnu.org/licenses/>.
 
-use crate::{Header, Payload, Transaction};
+use crate::{Header, Metadata, Payload, SignatureKey, Transaction};
 use commit::{Commitment, Committable};
 use hotshot_types::{
     data::Leaf,
@@ -394,7 +416,6 @@
         self,
         block_contents::{BlockHeader, BlockPayload},
         node_implementation::NodeType,
-        signature_key::EncodedPublicKey,
     },
 };
 use serde::{de::DeserializeOwned, Deserialize, Serialize};
@@ -454,24 +475,25 @@
     type InclusionProof: Clone + Debug + PartialEq + Eq + Serialize + DeserializeOwned;
 
     /// The number of transactions in the block.
-    fn len(&self) -> usize;
+    fn len(&self, meta: &Self::Metadata) -> usize;
 
     /// Whether this block is empty of transactions.
-    fn is_empty(&self) -> bool {
-        self.len() == 0
+    fn is_empty(&self, meta: &Self::Metadata) -> bool {
+        self.len(meta) == 0
     }
 
     /// List the transaction indices in the block.
-    fn iter(&self) -> Self::Iter<'_>;
+    fn iter(&self, meta: &Self::Metadata) -> Self::Iter<'_>;
 
     /// Enumerate the transactions in the block with their indices.
-    fn enumerate(
-        &self,
-    ) -> Box<dyn '_ + Iterator<Item = (Self::TransactionIndex, Self::Transaction)>> {
-        Box::new(self.iter().map(|ix| {
+    fn enumerate<'a>(
+        &'a self,
+        meta: &'a Self::Metadata,
+    ) -> Box<dyn 'a + Iterator<Item = (Self::TransactionIndex, Self::Transaction)>> {
+        Box::new(self.iter(meta).map(|ix| {
             // `self.transaction` should always return `Some` if we are using an index which was
             // yielded by `self.iter`.
-            let tx = self.transaction(&ix).unwrap();
+            let tx = self.transaction(meta, &ix).unwrap();
             (ix, tx)
         }))
     }
@@ -479,41 +501,55 @@
     /// Get a transaction by its block-specific index, along with an inclusion proof.
     fn transaction_with_proof(
         &self,
+        meta: &Self::Metadata,
         index: &Self::TransactionIndex,
     ) -> Option<(Self::Transaction, Self::InclusionProof)>;
 
     /// Get a transaction by its block-specific index.
-    fn transaction(&self, index: &Self::TransactionIndex) -> Option<Self::Transaction> {
-        Some(self.transaction_with_proof(index)?.0)
+    fn transaction(
+        &self,
+        meta: &Self::Metadata,
+        index: &Self::TransactionIndex,
+    ) -> Option<Self::Transaction> {
+        Some(self.transaction_with_proof(meta, index)?.0)
     }
 
     /// Get an inclusion proof for a transaction with a given index.
-    fn proof(&self, index: &Self::TransactionIndex) -> Option<Self::InclusionProof> {
-        Some(self.transaction_with_proof(index)?.1)
+    fn proof(
+        &self,
+        meta: &Self::Metadata,
+        index: &Self::TransactionIndex,
+    ) -> Option<Self::InclusionProof> {
+        Some(self.transaction_with_proof(meta, index)?.1)
     }
 
     /// Get the index of the `nth` transaction.
-    fn nth(&self, n: usize) -> Option<Self::TransactionIndex> {
-        self.iter().nth(n)
+    fn nth(&self, meta: &Self::Metadata, n: usize) -> Option<Self::TransactionIndex> {
+        self.iter(meta).nth(n)
     }
 
     /// Get the `nth` transaction.
-    fn nth_transaction(&self, n: usize) -> Option<Self::Transaction> {
-        self.transaction(&self.nth(n)?)
+    fn nth_transaction(&self, meta: &Self::Metadata, n: usize) -> Option<Self::Transaction> {
+        self.transaction(meta, &self.nth(meta, n)?)
     }
 
     /// Get the `nth` transaction, along with an inclusion proof.
     fn nth_transaction_with_proof(
         &self,
+        meta: &Self::Metadata,
         n: usize,
     ) -> Option<(Self::Transaction, Self::InclusionProof)> {
-        self.transaction_with_proof(&self.nth(n)?)
+        self.transaction_with_proof(meta, &self.nth(meta, n)?)
     }
 
     /// Get the index of the transaction with a given hash, if it is in the block.
-    fn by_hash(&self, hash: Commitment<Self::Transaction>) -> Option<Self::TransactionIndex> {
-        self.iter().find(|i| {
-            if let Some(tx) = self.transaction(i) {
+    fn by_hash(
+        &self,
+        meta: &Self::Metadata,
+        hash: Commitment<Self::Transaction>,
+    ) -> Option<Self::TransactionIndex> {
+        self.iter(meta).find(|i| {
+            if let Some(tx) = self.transaction(meta, i) {
                 tx.commit() == hash
             } else {
                 false
@@ -524,17 +560,19 @@
     /// Get the transaction with a given hash, if it is in the block.
     fn transaction_by_hash(
         &self,
+        meta: &Self::Metadata,
         hash: Commitment<Self::Transaction>,
     ) -> Option<Self::Transaction> {
-        self.transaction(&self.by_hash(hash)?)
+        self.transaction(meta, &self.by_hash(meta, hash)?)
     }
 
     /// Get the transaction with a given hash, if it is in the block, along with an inclusion proof.
     fn transaction_by_hash_with_proof(
         &self,
+        meta: &Self::Metadata,
         hash: Commitment<Self::Transaction>,
     ) -> Option<(Self::Transaction, Self::InclusionProof)> {
-        self.transaction_with_proof(&self.by_hash(hash)?)
+        self.transaction_with_proof(meta, &self.by_hash(meta, hash)?)
     }
 }
 
@@ -601,7 +639,7 @@
         self.leaf.block_header.commit()
     }
 
-    pub fn proposer(&self) -> EncodedPublicKey {
+    pub fn proposer(&self) -> SignatureKey<Types> {
         self.leaf.get_proposer_id()
     }
 }
@@ -663,6 +701,10 @@
         &self.header
     }
 
+    pub fn metadata(&self) -> &Metadata<Types> {
+        self.header.metadata()
+    }
+
     pub fn payload(&self) -> &Payload<Types> {
         &self.payload
     }
@@ -678,26 +720,14 @@
     pub fn size(&self) -> u64 {
         self.size
     }
+}
 
-    pub fn len(&self) -> usize
-    where
-        Payload<Types>: QueryablePayload,
-    {
-        self.payload.len()
-    }
-
-    pub fn is_empty(&self) -> bool
-    where
-        Payload<Types>: QueryablePayload,
-    {
-        self.len() == 0
-    }
-
-    pub fn transaction(&self, i: &TransactionIndex<Types>) -> Option<TransactionQueryData<Types>>
-    where
-        Payload<Types>: QueryablePayload,
-    {
-        let (transaction, proof) = self.payload.transaction_with_proof(i)?;
+impl<Types: NodeType> BlockQueryData<Types>
+where
+    Payload<Types>: QueryablePayload,
+{
+    pub fn transaction(&self, i: &TransactionIndex<Types>) -> Option<TransactionQueryData<Types>> {
+        let (transaction, proof) = self.payload.transaction_with_proof(self.metadata(), i)?;
         Some(TransactionQueryData {
             transaction: transaction.clone(),
             block_hash: self.hash(),
@@ -706,6 +736,20 @@
             hash: transaction.commit(),
         })
     }
+
+    pub fn len(&self) -> usize {
+        self.payload.len(self.metadata())
+    }
+
+    pub fn is_empty(&self) -> bool {
+        self.len() == 0
+    }
+
+    pub fn enumerate(
+        &self,
+    ) -> impl '_ + Iterator<Item = (TransactionIndex<Types>, Transaction<Types>)> {
+        self.payload.enumerate(self.metadata())
+    }
 }
 
 #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
diff --git a/src/hotshot_query_service/data_source.rs.html b/src/hotshot_query_service/data_source.rs.html
index faf6566bd..d707308f8 100644
--- a/src/hotshot_query_service/data_source.rs.html
+++ b/src/hotshot_query_service/data_source.rs.html
@@ -561,7 +561,7 @@
 #[espresso_macros::generic_tests]
 pub mod availability_tests {
     use crate::{
-        availability::{payload_size, BlockQueryData, LeafQueryData, QueryablePayload},
+        availability::{payload_size, BlockQueryData, LeafQueryData},
         testing::{
             consensus::MockNetwork,
             mocks::{mock_transaction, MockPayload, MockTypes, TestableDataSource},
@@ -628,7 +628,7 @@
             assert_eq!(block, ds.get_block(i).await.unwrap());
             assert_eq!(ds.get_block(block.hash()).await.unwrap().height(), i as u64);
 
-            for (j, txn) in block.payload().enumerate() {
+            for (j, txn) in block.enumerate() {
                 // We should be able to look up the transaction by hash unless it is a duplicate.
                 // For duplicate transactions, this function returns the index of the first
                 // duplicate.
diff --git a/src/hotshot_query_service/data_source/extension.rs.html b/src/hotshot_query_service/data_source/extension.rs.html
index 9f65afd1b..fa4c6077c 100644
--- a/src/hotshot_query_service/data_source/extension.rs.html
+++ b/src/hotshot_query_service/data_source/extension.rs.html
@@ -291,10 +291,10 @@
     },
     metrics::PrometheusMetrics,
     status::StatusDataSource,
-    Payload, QueryResult,
+    Payload, QueryResult, SignatureKey,
 };
 use async_trait::async_trait;
-use hotshot_types::traits::{node_implementation::NodeType, signature_key::EncodedPublicKey};
+use hotshot_types::traits::node_implementation::NodeType;
 use std::ops::RangeBounds;
 
 /// Wrapper to add extensibility to an existing data source.
@@ -447,12 +447,12 @@
     }
     async fn get_proposals(
         &self,
-        proposer: &EncodedPublicKey,
+        proposer: &SignatureKey<Types>,
         limit: Option<usize>,
     ) -> QueryResult<Vec<LeafQueryData<Types>>> {
         self.data_source.get_proposals(proposer, limit).await
     }
-    async fn count_proposals(&self, proposer: &EncodedPublicKey) -> QueryResult<usize> {
+    async fn count_proposals(&self, proposer: &SignatureKey<Types>) -> QueryResult<usize> {
         self.data_source.count_proposals(proposer).await
     }
     async fn subscribe_leaves(&self, height: usize) -> QueryResult<Self::LeafStream> {
diff --git a/src/hotshot_query_service/data_source/fs.rs.html b/src/hotshot_query_service/data_source/fs.rs.html
index 2db90c3eb..36e0b989d 100644
--- a/src/hotshot_query_service/data_source/fs.rs.html
+++ b/src/hotshot_query_service/data_source/fs.rs.html
@@ -629,6 +629,7 @@
 629
 630
 631
+632
 
// Copyright (c) 2022 Espresso Systems (espressosys.com)
 // This file is part of the HotShot Query Service library.
 //
@@ -659,13 +660,13 @@
     },
     metrics::PrometheusMetrics,
     status::data_source::StatusDataSource,
-    MissingSnafu, NotFoundSnafu, Payload, QueryResult,
+    MissingSnafu, NotFoundSnafu, Payload, QueryResult, SignatureKey,
 };
 use async_trait::async_trait;
 use atomic_store::{AtomicStore, AtomicStoreLoader, PersistenceError};
 use commit::Committable;
 use futures::stream::{self, BoxStream, Stream, StreamExt, TryStreamExt};
-use hotshot_types::traits::{node_implementation::NodeType, signature_key::EncodedPublicKey};
+use hotshot_types::traits::node_implementation::NodeType;
 use serde::{de::DeserializeOwned, Serialize};
 use snafu::OptionExt;
 use std::collections::hash_map::{Entry, HashMap};
@@ -802,7 +803,7 @@
     index_by_leaf_hash: HashMap<LeafHash<Types>, u64>,
     index_by_block_hash: HashMap<BlockHash<Types>, u64>,
     index_by_txn_hash: HashMap<TransactionHash<Types>, (u64, TransactionIndex<Types>)>,
-    index_by_proposer_id: HashMap<EncodedPublicKey, Vec<u64>>,
+    index_by_proposer_id: HashMap<SignatureKey<Types>, Vec<u64>>,
     #[debug(skip)]
     top_storage: Option<AtomicStore>,
     leaf_storage: LedgerLog<LeafQueryData<Types>>,
@@ -899,7 +900,8 @@
         let mut index_by_txn_hash = HashMap::new();
         for block in block_storage.iter().flatten() {
             let height = block.height();
-            for (txn_ix, txn) in block.payload().enumerate() {
+            let meta = &block.metadata();
+            for (txn_ix, txn) in block.payload().enumerate(meta) {
                 update_index_by_hash(&mut index_by_txn_hash, txn.commit(), (height, txn_ix));
             }
         }
@@ -1101,7 +1103,7 @@
 
     async fn get_proposals(
         &self,
-        id: &EncodedPublicKey,
+        id: &SignatureKey<Types>,
         limit: Option<usize>,
     ) -> QueryResult<Vec<LeafQueryData<Types>>> {
         let all_ids = self
@@ -1120,7 +1122,7 @@
             .await
     }
 
-    async fn count_proposals(&self, id: &EncodedPublicKey) -> QueryResult<usize> {
+    async fn count_proposals(&self, id: &SignatureKey<Types>) -> QueryResult<usize> {
         Ok(match self.index_by_proposer_id.get(id) {
             Some(ids) => ids.len(),
             None => 0,
@@ -1172,7 +1174,7 @@
     async fn insert_block(&mut self, block: BlockQueryData<Types>) -> Result<(), Self::Error> {
         self.block_storage
             .insert(block.height() as usize, block.clone())?;
-        for (txn_ix, txn) in block.payload().enumerate() {
+        for (txn_ix, txn) in block.enumerate() {
             update_index_by_hash(
                 &mut self.index_by_txn_hash,
                 txn.commit(),
diff --git a/src/hotshot_query_service/data_source/sql.rs.html b/src/hotshot_query_service/data_source/sql.rs.html
index 2eadea708..8c8426c91 100644
--- a/src/hotshot_query_service/data_source/sql.rs.html
+++ b/src/hotshot_query_service/data_source/sql.rs.html
@@ -1639,6 +1639,15 @@
 1639
 1640
 1641
+1642
+1643
+1644
+1645
+1646
+1647
+1648
+1649
+1650
 
// Copyright (c) 2022 Espresso Systems (espressosys.com)
 // This file is part of the HotShot Query Service library.
 //
@@ -1661,7 +1670,7 @@
     },
     metrics::PrometheusMetrics,
     status::StatusDataSource,
-    Header, Leaf, MissingSnafu, NotFoundSnafu, Payload, QueryError, QueryResult,
+    Header, Leaf, MissingSnafu, NotFoundSnafu, Payload, QueryError, QueryResult, SignatureKey,
 };
 use async_std::{net::ToSocketAddrs, task::spawn};
 use async_trait::async_trait;
@@ -1678,7 +1687,6 @@
     traits::{
         block_contents::{BlockHeader, BlockPayload},
         node_implementation::NodeType,
-        signature_key::EncodedPublicKey,
     },
 };
 use itertools::Itertools;
@@ -2499,7 +2507,7 @@
 
     async fn get_proposals(
         &self,
-        proposer: &EncodedPublicKey,
+        proposer: &SignatureKey<Types>,
         limit: Option<usize>,
     ) -> QueryResult<Vec<LeafQueryData<Types>>> {
         let mut query = "SELECT leaf, qc FROM leaf WHERE proposer = $1".to_owned();
@@ -2508,7 +2516,10 @@
             // recent leaves, so order by descending height.
             query = format!("{query} ORDER BY height DESC limit {limit}");
         }
-        let rows = self.query(&query, &[&proposer.to_string()]).await?;
+        let proposer_json = serde_json::to_value(proposer).map_err(|err| QueryError::Error {
+            message: format!("failed to serialize proposer ID: {err}"),
+        })?;
+        let rows = self.query(&query, &[&proposer_json]).await?;
         let mut leaves: Vec<_> = rows.map(|res| parse_leaf(res?)).try_collect().await?;
 
         if limit.is_some() {
@@ -2520,9 +2531,12 @@
         Ok(leaves)
     }
 
-    async fn count_proposals(&self, proposer: &EncodedPublicKey) -> QueryResult<usize> {
+    async fn count_proposals(&self, proposer: &SignatureKey<Types>) -> QueryResult<usize> {
         let query = "SELECT count(*) FROM leaf WHERE proposer = $1";
-        let row = self.query_one(query, &[&proposer.to_string()]).await?;
+        let proposer_json = serde_json::to_value(proposer).map_err(|err| QueryError::Error {
+            message: format!("failed to serialize proposer ID: {err}"),
+        })?;
+        let row = self.query_one(query, &[&proposer_json]).await?;
         let count: i64 = row.get(0);
         Ok(count as usize)
     }
@@ -2586,6 +2600,10 @@
         let qc_json = serde_json::to_value(leaf.qc()).map_err(|err| QueryError::Error {
             message: format!("failed to serialize QC: {err}"),
         })?;
+        let proposer_json =
+            serde_json::to_value(&leaf.proposer()).map_err(|err| QueryError::Error {
+                message: format!("failed to serialize proposer ID: {err}"),
+            })?;
         stmts.push((
             "INSERT INTO leaf (height, hash, proposer, block_hash, leaf, qc)
              VALUES ($1, $2, $3, $4, $5, $6)"
@@ -2593,7 +2611,7 @@
             vec![
                 Box::new(leaf.height() as i64),
                 Box::new(leaf.hash().to_string()),
-                Box::new(leaf.proposer().to_string()),
+                Box::new(proposer_json),
                 Box::new(leaf.block_hash().to_string()),
                 Box::new(leaf_json),
                 Box::new(qc_json),
@@ -2632,7 +2650,7 @@
         // Index the transactions in the block.
         let mut values = vec![];
         let mut params: Vec<Box<dyn ToSql + Send + Sync>> = vec![];
-        for (txn_ix, txn) in block.payload().enumerate() {
+        for (txn_ix, txn) in block.enumerate() {
             let txn_ix = serde_json::to_value(&txn_ix).map_err(|err| QueryError::Error {
                 message: format!("failed to serialize transaction index: {err}"),
             })?;
diff --git a/src/hotshot_query_service/lib.rs.html b/src/hotshot_query_service/lib.rs.html
index 651e21939..4129ac534 100644
--- a/src/hotshot_query_service/lib.rs.html
+++ b/src/hotshot_query_service/lib.rs.html
@@ -916,8 +916,7 @@
 //!
 //! ```
 //! # use async_trait::async_trait;
-//! # use hotshot_types::traits::signature_key::EncodedPublicKey;
-//! # use hotshot_query_service::QueryResult;
+//! # use hotshot_query_service::{QueryResult, SignatureKey};
 //! # use hotshot_query_service::availability::{
 //! #   AvailabilityDataSource, BlockId, BlockQueryData, LeafId, LeafQueryData, TransactionHash,
 //! #   TransactionIndex,
@@ -969,8 +968,8 @@
 //! #   async fn get_block_range<R>(&self, range: R) -> QueryResult<Self::BlockRange<'_, R>>
 //! #   where
 //! #       R: RangeBounds<usize> + Send { todo!() }
-//! #   async fn get_proposals(&self, id: &EncodedPublicKey, limit: Option<usize>) -> QueryResult<Vec<LeafQueryData<AppTypes>>> { todo!() }
-//! #   async fn count_proposals(&self, id: &EncodedPublicKey) -> QueryResult<usize> { todo!() }
+//! #   async fn get_proposals(&self, id: &SignatureKey<AppTypes>, limit: Option<usize>) -> QueryResult<Vec<LeafQueryData<AppTypes>>> { todo!() }
+//! #   async fn count_proposals(&self, id: &SignatureKey<AppTypes>) -> QueryResult<usize> { todo!() }
 //! #   async fn subscribe_leaves(&self, height: usize) -> QueryResult<Self::LeafStream> { todo!() }
 //! #   async fn subscribe_blocks(&self, height: usize) -> QueryResult<Self::BlockStream> { todo!() }
 //! }
@@ -1041,8 +1040,10 @@
 
 pub type Payload<Types> = <Types as NodeType>::BlockPayload;
 pub type Header<Types> = <Types as NodeType>::BlockHeader;
+pub type Metadata<Types> = <Payload<Types> as BlockPayload>::Metadata;
 /// Item within a [`Payload`].
 pub type Transaction<Types> = <Payload<Types> as BlockPayload>::Transaction;
+pub type SignatureKey<Types> = <Types as NodeType>::SignatureKey;
 
 #[derive(Clone, Debug, Snafu, Deserialize, Serialize)]
 #[snafu(visibility(pub))]
@@ -1145,9 +1146,8 @@
     use async_trait::async_trait;
     use atomic_store::{load_store::BincodeLoadStore, AtomicStore, AtomicStoreLoader, RollingLog};
     use futures::FutureExt;
-    use hotshot::types::SignatureKey;
+    use hotshot::types::SignatureKey as _;
     use hotshot_signature_key::bn254::BLSPubKey;
-    use hotshot_types::traits::signature_key::EncodedPublicKey;
     use portpicker::pick_unused_port;
     use std::ops::RangeBounds;
     use std::time::Duration;
@@ -1214,12 +1214,12 @@
         }
         async fn get_proposals(
             &self,
-            proposer: &EncodedPublicKey,
+            proposer: &SignatureKey<MockTypes>,
             limit: Option<usize>,
         ) -> QueryResult<Vec<LeafQueryData<MockTypes>>> {
             self.hotshot_qs.get_proposals(proposer, limit).await
         }
-        async fn count_proposals(&self, proposer: &EncodedPublicKey) -> QueryResult<usize> {
+        async fn count_proposals(&self, proposer: &SignatureKey<MockTypes>) -> QueryResult<usize> {
             self.hotshot_qs.count_proposals(proposer).await
         }
         async fn subscribe_leaves(&self, height: usize) -> QueryResult<Self::LeafStream> {
diff --git a/trait.impl/clap_builder/derive/trait.Args.js b/trait.impl/clap_builder/derive/trait.Args.js
index 7466257e7..88128810f 100644
--- a/trait.impl/clap_builder/derive/trait.Args.js
+++ b/trait.impl/clap_builder/derive/trait.Args.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl Args for Options"],["impl Args for Options"],["impl Args for Options"]]
+"hotshot_query_service":[["impl Args for Options"],["impl Args for Options"],["impl Args for Options"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/clap_builder/derive/trait.FromArgMatches.js b/trait.impl/clap_builder/derive/trait.FromArgMatches.js
index 076c4c50a..a14b299bd 100644
--- a/trait.impl/clap_builder/derive/trait.FromArgMatches.js
+++ b/trait.impl/clap_builder/derive/trait.FromArgMatches.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl FromArgMatches for Options"],["impl FromArgMatches for Options"],["impl FromArgMatches for Options"]]
+"hotshot_query_service":[["impl FromArgMatches for Options"],["impl FromArgMatches for Options"],["impl FromArgMatches for Options"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/clone/trait.Clone.js b/trait.impl/core/clone/trait.Clone.js
index 36448e495..222023648 100644
--- a/trait.impl/core/clone/trait.Clone.js
+++ b/trait.impl/core/clone/trait.Clone.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl Clone for MempoolQueryData"],["impl<__T0: Clone> Clone for QueryBlockSnafu<__T0>"],["impl Clone for Error"],["impl Clone for Error"],["impl<Types: Clone + NodeType> Clone for TransactionQueryData<Types>where\n    Payload<Types>: QueryablePayload,"],["impl Clone for StreamBlockSnafu"],["impl<__T0: Clone> Clone for QueryProposalsSnafu<__T0>"],["impl<D: Clone, U: Clone> Clone for ExtensibleDataSource<D, U>"],["impl<__T0: Clone> Clone for Snafu<__T0>"],["impl Clone for Counter"],["impl<__T0: Clone> Clone for QueryTransactionSnafu<__T0>"],["impl<Types: Clone + NodeType> Clone for InconsistentLeafError<Types>"],["impl<Types: Clone + NodeType> Clone for BlockQueryData<Types>"],["impl Clone for Error"],["impl<__T0: Clone, __T1: Clone> Clone for InvalidTransactionIndexSnafu<__T0, __T1>"],["impl<T: Committable> Clone for ResourceId<T>"],["impl Clone for RequestSnafu"],["impl Clone for MissingSnafu"],["impl Clone for Label"],["impl<__T0: Clone, __T1: Clone> Clone for BlockStreamSnafu<__T0, __T1>"],["impl Clone for PrometheusMetrics"],["impl Clone for MetricsDataSource"],["impl Clone for StreamLeafSnafu"],["impl Clone for Config"],["impl<__T0: Clone, __T1: Clone> Clone for LeafStreamSnafu<__T0, __T1>"],["impl<__T0: Clone, __T1: Clone> Clone for CustomSnafu<__T0, __T1>"],["impl Clone for QueryError"],["impl Clone for Gauge"],["impl<__T0: Clone> Clone for QueryLeafSnafu<__T0>"],["impl<Types: Clone + NodeType> Clone for LeafQueryData<Types>"],["impl Clone for NotFoundSnafu"],["impl Clone for Histogram"]]
+"hotshot_query_service":[["impl Clone for Counter"],["impl Clone for NotFoundSnafu"],["impl<__T0: Clone, __T1: Clone> Clone for LeafStreamSnafu<__T0, __T1>"],["impl<__T0: Clone, __T1: Clone> Clone for BlockStreamSnafu<__T0, __T1>"],["impl<__T0: Clone> Clone for QueryTransactionSnafu<__T0>"],["impl Clone for StreamBlockSnafu"],["impl Clone for MetricsDataSource"],["impl Clone for Label"],["impl<__T0: Clone> Clone for QueryBlockSnafu<__T0>"],["impl<D: Clone, U: Clone> Clone for ExtensibleDataSource<D, U>"],["impl<__T0: Clone> Clone for Snafu<__T0>"],["impl<__T0: Clone, __T1: Clone> Clone for InvalidTransactionIndexSnafu<__T0, __T1>"],["impl<Types: Clone + NodeType> Clone for LeafQueryData<Types>"],["impl Clone for PrometheusMetrics"],["impl Clone for InvalidSignatureKeySnafu"],["impl<Types: Clone + NodeType> Clone for BlockQueryData<Types>"],["impl Clone for Config"],["impl<Types: Clone + NodeType> Clone for TransactionQueryData<Types>where\n    Payload<Types>: QueryablePayload,"],["impl<__T0: Clone> Clone for QueryProposalsSnafu<__T0>"],["impl<T: Committable> Clone for ResourceId<T>"],["impl<__T0: Clone> Clone for QueryLeafSnafu<__T0>"],["impl Clone for Error"],["impl Clone for RequestSnafu"],["impl Clone for Gauge"],["impl Clone for StreamLeafSnafu"],["impl Clone for QueryError"],["impl Clone for MissingSnafu"],["impl<Types: Clone + NodeType> Clone for InconsistentLeafError<Types>"],["impl Clone for Histogram"],["impl Clone for Error"],["impl<__T0: Clone, __T1: Clone> Clone for CustomSnafu<__T0, __T1>"],["impl Clone for MempoolQueryData"],["impl Clone for Error"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/cmp/trait.Eq.js b/trait.impl/core/cmp/trait.Eq.js
index 9e201b660..ee2308e86 100644
--- a/trait.impl/core/cmp/trait.Eq.js
+++ b/trait.impl/core/cmp/trait.Eq.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl<T: Committable> Eq for ResourceId<T>"],["impl<Types: Eq + NodeType> Eq for BlockQueryData<Types>"],["impl<Types: Eq + NodeType> Eq for TransactionQueryData<Types>where\n    Payload<Types>: QueryablePayload,"],["impl Eq for MempoolQueryData"],["impl<Types: Eq + NodeType> Eq for LeafQueryData<Types>"]]
+"hotshot_query_service":[["impl Eq for MempoolQueryData"],["impl<Types: Eq + NodeType> Eq for TransactionQueryData<Types>where\n    Payload<Types>: QueryablePayload,"],["impl<T: Committable> Eq for ResourceId<T>"],["impl<Types: Eq + NodeType> Eq for BlockQueryData<Types>"],["impl<Types: Eq + NodeType> Eq for LeafQueryData<Types>"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/cmp/trait.Ord.js b/trait.impl/core/cmp/trait.Ord.js
index 3d60bd87f..8088a6cba 100644
--- a/trait.impl/core/cmp/trait.Ord.js
+++ b/trait.impl/core/cmp/trait.Ord.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl Ord for MempoolQueryData"],["impl<T: Committable> Ord for ResourceId<T>"]]
+"hotshot_query_service":[["impl<T: Committable> Ord for ResourceId<T>"],["impl Ord for MempoolQueryData"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/cmp/trait.PartialEq.js b/trait.impl/core/cmp/trait.PartialEq.js
index 6f7f7a1ac..7ad73eff2 100644
--- a/trait.impl/core/cmp/trait.PartialEq.js
+++ b/trait.impl/core/cmp/trait.PartialEq.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl PartialEq for MempoolQueryData"],["impl<Types: PartialEq + NodeType> PartialEq for LeafQueryData<Types>"],["impl<T: Committable> PartialEq for ResourceId<T>"],["impl<Types: PartialEq + NodeType> PartialEq for BlockQueryData<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for TransactionQueryData<Types>where\n    Payload<Types>: QueryablePayload,"]]
+"hotshot_query_service":[["impl<Types: PartialEq + NodeType> PartialEq for BlockQueryData<Types>"],["impl<T: Committable> PartialEq for ResourceId<T>"],["impl<Types: PartialEq + NodeType> PartialEq for TransactionQueryData<Types>where\n    Payload<Types>: QueryablePayload,"],["impl PartialEq for MempoolQueryData"],["impl<Types: PartialEq + NodeType> PartialEq for LeafQueryData<Types>"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/cmp/trait.PartialOrd.js b/trait.impl/core/cmp/trait.PartialOrd.js
index 74a5081b6..61a19d493 100644
--- a/trait.impl/core/cmp/trait.PartialOrd.js
+++ b/trait.impl/core/cmp/trait.PartialOrd.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl PartialOrd for MempoolQueryData"],["impl<T: Committable> PartialOrd for ResourceId<T>"]]
+"hotshot_query_service":[["impl<T: Committable> PartialOrd for ResourceId<T>"],["impl PartialOrd for MempoolQueryData"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/convert/trait.From.js b/trait.impl/core/convert/trait.From.js
index 5a50ca4d2..0e9d922d0 100644
--- a/trait.impl/core/convert/trait.From.js
+++ b/trait.impl/core/convert/trait.From.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl From<(String, StatusCode)> for Error"],["impl From<RequestError> for Error"],["impl<T: Committable> From<usize> for ResourceId<T>"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for MetricsError"],["impl From<RequestError> for Error"],["impl From<String> for Error"],["impl<T: Committable> From<Commitment<T>> for ResourceId<T>"],["impl From<Config> for Config"],["impl From<(String, StatusCode)> for Error"]]
+"hotshot_query_service":[["impl From<String> for Error"],["impl From<Error> for Error"],["impl From<RequestError> for Error"],["impl From<(String, StatusCode)> for Error"],["impl From<(String, StatusCode)> for Error"],["impl<T: Committable> From<Commitment<T>> for ResourceId<T>"],["impl From<RequestError> for Error"],["impl From<Config> for Config"],["impl<T: Committable> From<usize> for ResourceId<T>"],["impl From<Error> for Error"],["impl From<Error> for MetricsError"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/default/trait.Default.js b/trait.impl/core/default/trait.Default.js
index 88c14a0d3..ad42e8b9d 100644
--- a/trait.impl/core/default/trait.Default.js
+++ b/trait.impl/core/default/trait.Default.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl Default for Config"],["impl Default for MetricsDataSource"],["impl Default for PrometheusMetrics"],["impl Default for Options"],["impl Default for Options"],["impl Default for MempoolQueryData"],["impl Default for Options"]]
+"hotshot_query_service":[["impl Default for Options"],["impl Default for Options"],["impl Default for PrometheusMetrics"],["impl Default for Options"],["impl Default for Config"],["impl Default for MetricsDataSource"],["impl Default for MempoolQueryData"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/error/trait.Error.js b/trait.impl/core/error/trait.Error.js
index 8a8d8ad0d..6e77647fd 100644
--- a/trait.impl/core/error/trait.Error.js
+++ b/trait.impl/core/error/trait.Error.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl Error for Errorwhere\n    Self: Debug + Display,"],["impl Error for Errorwhere\n    Self: Debug + Display,"],["impl Error for MetricsErrorwhere\n    Self: Debug + Display,"],["impl<Types: NodeType> Error for InconsistentLeafError<Types>where\n    Self: Debug + Display,"],["impl Error for Errorwhere\n    Self: Debug + Display,"],["impl Error for QueryErrorwhere\n    Self: Debug + Display,"]]
+"hotshot_query_service":[["impl Error for QueryErrorwhere\n    Self: Debug + Display,"],["impl Error for Errorwhere\n    Self: Debug + Display,"],["impl Error for Errorwhere\n    Self: Debug + Display,"],["impl Error for Errorwhere\n    Self: Debug + Display,"],["impl Error for MetricsErrorwhere\n    Self: Debug + Display,"],["impl<Types: NodeType> Error for InconsistentLeafError<Types>where\n    Self: Debug + Display,"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/fmt/trait.Debug.js b/trait.impl/core/fmt/trait.Debug.js
index c29315d88..f691eac18 100644
--- a/trait.impl/core/fmt/trait.Debug.js
+++ b/trait.impl/core/fmt/trait.Debug.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl<Types> Debug for SqlDataSource<Types>where\n    Types: NodeType + Debug,"],["impl<__T0: Debug> Debug for QueryTransactionSnafu<__T0>"],["impl<Types: Debug + NodeType> Debug for TransactionQueryData<Types>where\n    Payload<Types>: QueryablePayload,"],["impl Debug for Error"],["impl<__T0: Debug, __T1: Debug> Debug for LeafStreamSnafu<__T0, __T1>"],["impl Debug for Label"],["impl Debug for Gauge"],["impl<Types: Debug + NodeType> Debug for InconsistentLeafError<Types>"],["impl Debug for StreamLeafSnafu"],["impl<__T0: Debug> Debug for QueryBlockSnafu<__T0>"],["impl Debug for MetricsDataSource"],["impl<__T0: Debug, __T1: Debug> Debug for InvalidTransactionIndexSnafu<__T0, __T1>"],["impl<__T0: Debug> Debug for Snafu<__T0>"],["impl Debug for MetricsError"],["impl<Types: Debug + NodeType> Debug for BlockQueryData<Types>"],["impl<__T0: Debug> Debug for QueryProposalsSnafu<__T0>"],["impl<Types: NodeType> Debug for FileSystemDataSource<Types>where\n    Payload<Types>: QueryablePayload,\n    HashMap<LeafHash<Types>, u64>: Debug,\n    HashMap<BlockHash<Types>, u64>: Debug,\n    HashMap<TransactionHash<Types>, (u64, TransactionIndex<Types>)>: Debug,\n    LedgerLog<LeafQueryData<Types>>: Debug,\n    LedgerLog<BlockQueryData<Types>>: Debug,"],["impl Debug for MissingSnafu"],["impl Debug for RequestSnafu"],["impl Debug for Histogram"],["impl Debug for MempoolQueryData"],["impl Debug for QueryError"],["impl<Types: Debug + NodeType> Debug for LeafQueryData<Types>"],["impl Debug for StreamBlockSnafu"],["impl Debug for Config"],["impl<__T0: Debug, __T1: Debug> Debug for CustomSnafu<__T0, __T1>"],["impl<__T0: Debug, __T1: Debug> Debug for BlockStreamSnafu<__T0, __T1>"],["impl<D: Debug, U: Debug> Debug for ExtensibleDataSource<D, U>"],["impl<__T0: Debug> Debug for QueryLeafSnafu<__T0>"],["impl Debug for Counter"],["impl Debug for Error"],["impl<T: Committable> Debug for ResourceId<T>"],["impl Debug for Error"],["impl Debug for NotFoundSnafu"],["impl Debug for PrometheusMetrics"]]
+"hotshot_query_service":[["impl Debug for PrometheusMetrics"],["impl Debug for Error"],["impl<T: Committable> Debug for ResourceId<T>"],["impl Debug for MempoolQueryData"],["impl<__T0: Debug> Debug for QueryProposalsSnafu<__T0>"],["impl<__T0: Debug> Debug for Snafu<__T0>"],["impl Debug for QueryError"],["impl Debug for Counter"],["impl Debug for Label"],["impl<__T0: Debug> Debug for QueryTransactionSnafu<__T0>"],["impl Debug for MissingSnafu"],["impl Debug for MetricsDataSource"],["impl<Types: Debug + NodeType> Debug for LeafQueryData<Types>"],["impl Debug for Error"],["impl<__T0: Debug> Debug for QueryBlockSnafu<__T0>"],["impl<Types: Debug + NodeType> Debug for BlockQueryData<Types>"],["impl<__T0: Debug, __T1: Debug> Debug for BlockStreamSnafu<__T0, __T1>"],["impl<__T0: Debug> Debug for QueryLeafSnafu<__T0>"],["impl Debug for Histogram"],["impl Debug for InvalidSignatureKeySnafu"],["impl<Types> Debug for SqlDataSource<Types>where\n    Types: NodeType + Debug,"],["impl<Types: NodeType> Debug for FileSystemDataSource<Types>where\n    Payload<Types>: QueryablePayload,\n    HashMap<LeafHash<Types>, u64>: Debug,\n    HashMap<BlockHash<Types>, u64>: Debug,\n    HashMap<TransactionHash<Types>, (u64, TransactionIndex<Types>)>: Debug,\n    HashMap<SignatureKey<Types>, Vec<u64>>: Debug,\n    LedgerLog<LeafQueryData<Types>>: Debug,\n    LedgerLog<BlockQueryData<Types>>: Debug,"],["impl Debug for RequestSnafu"],["impl Debug for Error"],["impl<Types: Debug + NodeType> Debug for InconsistentLeafError<Types>"],["impl<Types: Debug + NodeType> Debug for TransactionQueryData<Types>where\n    Payload<Types>: QueryablePayload,"],["impl Debug for MetricsError"],["impl Debug for Gauge"],["impl<__T0: Debug, __T1: Debug> Debug for CustomSnafu<__T0, __T1>"],["impl<__T0: Debug, __T1: Debug> Debug for LeafStreamSnafu<__T0, __T1>"],["impl<D: Debug, U: Debug> Debug for ExtensibleDataSource<D, U>"],["impl Debug for NotFoundSnafu"],["impl Debug for StreamLeafSnafu"],["impl<__T0: Debug, __T1: Debug> Debug for InvalidTransactionIndexSnafu<__T0, __T1>"],["impl Debug for StreamBlockSnafu"],["impl Debug for Config"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/fmt/trait.Display.js b/trait.impl/core/fmt/trait.Display.js
index 1474e6aed..60dd415c2 100644
--- a/trait.impl/core/fmt/trait.Display.js
+++ b/trait.impl/core/fmt/trait.Display.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl Display for Error"],["impl Display for MetricsError"],["impl<T: Committable> Display for ResourceId<T>"],["impl Display for Error"],["impl<Types: NodeType> Display for InconsistentLeafError<Types>"],["impl Display for Error"],["impl Display for QueryError"]]
+"hotshot_query_service":[["impl<T: Committable> Display for ResourceId<T>"],["impl<Types: NodeType> Display for InconsistentLeafError<Types>"],["impl Display for Error"],["impl Display for QueryError"],["impl Display for Error"],["impl Display for Error"],["impl Display for MetricsError"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/marker/trait.Copy.js b/trait.impl/core/marker/trait.Copy.js
index 043a6215b..b395b6849 100644
--- a/trait.impl/core/marker/trait.Copy.js
+++ b/trait.impl/core/marker/trait.Copy.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl<__T0: Copy> Copy for QueryProposalsSnafu<__T0>"],["impl<__T0: Copy, __T1: Copy> Copy for LeafStreamSnafu<__T0, __T1>"],["impl<__T0: Copy, __T1: Copy> Copy for InvalidTransactionIndexSnafu<__T0, __T1>"],["impl Copy for RequestSnafu"],["impl<T: Committable> Copy for ResourceId<T>"],["impl Copy for StreamBlockSnafu"],["impl<__T0: Copy> Copy for QueryLeafSnafu<__T0>"],["impl<__T0: Copy> Copy for QueryTransactionSnafu<__T0>"],["impl<__T0: Copy> Copy for QueryBlockSnafu<__T0>"],["impl<__T0: Copy, __T1: Copy> Copy for CustomSnafu<__T0, __T1>"],["impl Copy for NotFoundSnafu"],["impl<__T0: Copy, __T1: Copy> Copy for BlockStreamSnafu<__T0, __T1>"],["impl Copy for StreamLeafSnafu"],["impl Copy for MissingSnafu"],["impl<__T0: Copy> Copy for Snafu<__T0>"],["impl<D: Copy, U: Copy> Copy for ExtensibleDataSource<D, U>"]]
+"hotshot_query_service":[["impl Copy for StreamBlockSnafu"],["impl<__T0: Copy, __T1: Copy> Copy for CustomSnafu<__T0, __T1>"],["impl Copy for MissingSnafu"],["impl Copy for NotFoundSnafu"],["impl Copy for InvalidSignatureKeySnafu"],["impl<D: Copy, U: Copy> Copy for ExtensibleDataSource<D, U>"],["impl<__T0: Copy> Copy for QueryBlockSnafu<__T0>"],["impl<__T0: Copy, __T1: Copy> Copy for BlockStreamSnafu<__T0, __T1>"],["impl<__T0: Copy> Copy for QueryProposalsSnafu<__T0>"],["impl<__T0: Copy> Copy for QueryLeafSnafu<__T0>"],["impl<__T0: Copy> Copy for QueryTransactionSnafu<__T0>"],["impl<__T0: Copy, __T1: Copy> Copy for LeafStreamSnafu<__T0, __T1>"],["impl Copy for RequestSnafu"],["impl<T: Committable> Copy for ResourceId<T>"],["impl Copy for StreamLeafSnafu"],["impl<__T0: Copy, __T1: Copy> Copy for InvalidTransactionIndexSnafu<__T0, __T1>"],["impl<__T0: Copy> Copy for Snafu<__T0>"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/marker/trait.Freeze.js b/trait.impl/core/marker/trait.Freeze.js
index 724ec0bb3..20d5177cf 100644
--- a/trait.impl/core/marker/trait.Freeze.js
+++ b/trait.impl/core/marker/trait.Freeze.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl<T> Freeze for ResourceId<T>",1,["hotshot_query_service::availability::data_source::ResourceId"]],["impl<Types> Freeze for LeafQueryData<Types>where\n    <Types as NodeType>::BlockHeader: Freeze,\n    <Types as NodeType>::BlockPayload: Freeze,\n    <<Types as NodeType>::SignatureKey as SignatureKey>::QCType: Freeze,\n    <Types as NodeType>::Time: Freeze,",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> Freeze for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> Freeze for BlockQueryData<Types>where\n    <Types as NodeType>::BlockHeader: Freeze,\n    <Types as NodeType>::BlockPayload: Freeze,",1,["hotshot_query_service::availability::query_data::BlockQueryData"]],["impl<Types> Freeze for TransactionQueryData<Types>where\n    <<Types as NodeType>::BlockPayload as QueryablePayload>::InclusionProof: Freeze,\n    <Types as NodeType>::Transaction: Freeze,",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl Freeze for Options",1,["hotshot_query_service::availability::Options"]],["impl Freeze for Error",1,["hotshot_query_service::availability::Error"]],["impl Freeze for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl<__T0> Freeze for QueryLeafSnafu<__T0>where\n    __T0: Freeze,",1,["hotshot_query_service::availability::QueryLeafSnafu"]],["impl Freeze for StreamLeafSnafu",1,["hotshot_query_service::availability::StreamLeafSnafu"]],["impl<__T0> Freeze for QueryBlockSnafu<__T0>where\n    __T0: Freeze,",1,["hotshot_query_service::availability::QueryBlockSnafu"]],["impl Freeze for StreamBlockSnafu",1,["hotshot_query_service::availability::StreamBlockSnafu"]],["impl<__T0> Freeze for QueryTransactionSnafu<__T0>where\n    __T0: Freeze,",1,["hotshot_query_service::availability::QueryTransactionSnafu"]],["impl<__T0> Freeze for QueryProposalsSnafu<__T0>where\n    __T0: Freeze,",1,["hotshot_query_service::availability::QueryProposalsSnafu"]],["impl<__T0, __T1> Freeze for InvalidTransactionIndexSnafu<__T0, __T1>where\n    __T0: Freeze,\n    __T1: Freeze,",1,["hotshot_query_service::availability::InvalidTransactionIndexSnafu"]],["impl<__T0, __T1> Freeze for LeafStreamSnafu<__T0, __T1>where\n    __T0: Freeze,\n    __T1: Freeze,",1,["hotshot_query_service::availability::LeafStreamSnafu"]],["impl<__T0, __T1> Freeze for BlockStreamSnafu<__T0, __T1>where\n    __T0: Freeze,\n    __T1: Freeze,",1,["hotshot_query_service::availability::BlockStreamSnafu"]],["impl<__T0, __T1> Freeze for CustomSnafu<__T0, __T1>where\n    __T0: Freeze,\n    __T1: Freeze,",1,["hotshot_query_service::availability::CustomSnafu"]],["impl<D, U> Freeze for ExtensibleDataSource<D, U>where\n    D: Freeze,\n    U: Freeze,",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<Types> Freeze for FileSystemDataSource<Types>",1,["hotshot_query_service::data_source::fs::FileSystemDataSource"]],["impl Freeze for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl Freeze for Config",1,["hotshot_query_service::data_source::sql::Config"]],["impl<Types> Freeze for SqlDataSource<Types>",1,["hotshot_query_service::data_source::sql::SqlDataSource"]],["impl<'a> Freeze for Transaction<'a>",1,["hotshot_query_service::data_source::sql::Transaction"]],["impl Freeze for Error",1,["hotshot_query_service::error::Error"]],["impl Freeze for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl Freeze for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl Freeze for Counter",1,["hotshot_query_service::metrics::Counter"]],["impl Freeze for Gauge",1,["hotshot_query_service::metrics::Gauge"]],["impl Freeze for Histogram",1,["hotshot_query_service::metrics::Histogram"]],["impl Freeze for Label",1,["hotshot_query_service::metrics::Label"]],["impl Freeze for MempoolQueryData",1,["hotshot_query_service::status::query_data::MempoolQueryData"]],["impl Freeze for Options",1,["hotshot_query_service::status::Options"]],["impl Freeze for Error",1,["hotshot_query_service::status::Error"]],["impl Freeze for QueryError",1,["hotshot_query_service::QueryError"]],["impl Freeze for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl Freeze for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl<__T0> Freeze for Snafu<__T0>where\n    __T0: Freeze,",1,["hotshot_query_service::Snafu"]],["impl Freeze for Options",1,["hotshot_query_service::Options"]]]
+"hotshot_query_service":[["impl<T> Freeze for ResourceId<T>",1,["hotshot_query_service::availability::data_source::ResourceId"]],["impl<Types> Freeze for LeafQueryData<Types>where\n    <Types as NodeType>::BlockHeader: Freeze,\n    <Types as NodeType>::BlockPayload: Freeze,\n    <<Types as NodeType>::SignatureKey as SignatureKey>::QCType: Freeze,\n    <Types as NodeType>::SignatureKey: Freeze,\n    <Types as NodeType>::Time: Freeze,",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> Freeze for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> Freeze for BlockQueryData<Types>where\n    <Types as NodeType>::BlockHeader: Freeze,\n    <Types as NodeType>::BlockPayload: Freeze,",1,["hotshot_query_service::availability::query_data::BlockQueryData"]],["impl<Types> Freeze for TransactionQueryData<Types>where\n    <<Types as NodeType>::BlockPayload as QueryablePayload>::InclusionProof: Freeze,\n    <Types as NodeType>::Transaction: Freeze,",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl Freeze for Options",1,["hotshot_query_service::availability::Options"]],["impl Freeze for Error",1,["hotshot_query_service::availability::Error"]],["impl Freeze for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl<__T0> Freeze for QueryLeafSnafu<__T0>where\n    __T0: Freeze,",1,["hotshot_query_service::availability::QueryLeafSnafu"]],["impl Freeze for StreamLeafSnafu",1,["hotshot_query_service::availability::StreamLeafSnafu"]],["impl<__T0> Freeze for QueryBlockSnafu<__T0>where\n    __T0: Freeze,",1,["hotshot_query_service::availability::QueryBlockSnafu"]],["impl Freeze for StreamBlockSnafu",1,["hotshot_query_service::availability::StreamBlockSnafu"]],["impl<__T0> Freeze for QueryTransactionSnafu<__T0>where\n    __T0: Freeze,",1,["hotshot_query_service::availability::QueryTransactionSnafu"]],["impl<__T0> Freeze for QueryProposalsSnafu<__T0>where\n    __T0: Freeze,",1,["hotshot_query_service::availability::QueryProposalsSnafu"]],["impl<__T0, __T1> Freeze for InvalidTransactionIndexSnafu<__T0, __T1>where\n    __T0: Freeze,\n    __T1: Freeze,",1,["hotshot_query_service::availability::InvalidTransactionIndexSnafu"]],["impl<__T0, __T1> Freeze for LeafStreamSnafu<__T0, __T1>where\n    __T0: Freeze,\n    __T1: Freeze,",1,["hotshot_query_service::availability::LeafStreamSnafu"]],["impl<__T0, __T1> Freeze for BlockStreamSnafu<__T0, __T1>where\n    __T0: Freeze,\n    __T1: Freeze,",1,["hotshot_query_service::availability::BlockStreamSnafu"]],["impl Freeze for InvalidSignatureKeySnafu",1,["hotshot_query_service::availability::InvalidSignatureKeySnafu"]],["impl<__T0, __T1> Freeze for CustomSnafu<__T0, __T1>where\n    __T0: Freeze,\n    __T1: Freeze,",1,["hotshot_query_service::availability::CustomSnafu"]],["impl<D, U> Freeze for ExtensibleDataSource<D, U>where\n    D: Freeze,\n    U: Freeze,",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<Types> Freeze for FileSystemDataSource<Types>",1,["hotshot_query_service::data_source::fs::FileSystemDataSource"]],["impl Freeze for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl Freeze for Config",1,["hotshot_query_service::data_source::sql::Config"]],["impl<Types> Freeze for SqlDataSource<Types>",1,["hotshot_query_service::data_source::sql::SqlDataSource"]],["impl<'a> Freeze for Transaction<'a>",1,["hotshot_query_service::data_source::sql::Transaction"]],["impl Freeze for Error",1,["hotshot_query_service::error::Error"]],["impl Freeze for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl Freeze for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl Freeze for Counter",1,["hotshot_query_service::metrics::Counter"]],["impl Freeze for Gauge",1,["hotshot_query_service::metrics::Gauge"]],["impl Freeze for Histogram",1,["hotshot_query_service::metrics::Histogram"]],["impl Freeze for Label",1,["hotshot_query_service::metrics::Label"]],["impl Freeze for MempoolQueryData",1,["hotshot_query_service::status::query_data::MempoolQueryData"]],["impl Freeze for Options",1,["hotshot_query_service::status::Options"]],["impl Freeze for Error",1,["hotshot_query_service::status::Error"]],["impl Freeze for QueryError",1,["hotshot_query_service::QueryError"]],["impl Freeze for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl Freeze for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl<__T0> Freeze for Snafu<__T0>where\n    __T0: Freeze,",1,["hotshot_query_service::Snafu"]],["impl Freeze for Options",1,["hotshot_query_service::Options"]]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/marker/trait.Send.js b/trait.impl/core/marker/trait.Send.js
index c70244465..2e294f85a 100644
--- a/trait.impl/core/marker/trait.Send.js
+++ b/trait.impl/core/marker/trait.Send.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl<T> Send for ResourceId<T>",1,["hotshot_query_service::availability::data_source::ResourceId"]],["impl<Types> Send for LeafQueryData<Types>",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> Send for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> Send for BlockQueryData<Types>",1,["hotshot_query_service::availability::query_data::BlockQueryData"]],["impl<Types> Send for TransactionQueryData<Types>where\n    <<Types as NodeType>::BlockPayload as QueryablePayload>::InclusionProof: Send,",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl Send for Options",1,["hotshot_query_service::availability::Options"]],["impl Send for Error",1,["hotshot_query_service::availability::Error"]],["impl Send for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl<__T0> Send for QueryLeafSnafu<__T0>where\n    __T0: Send,",1,["hotshot_query_service::availability::QueryLeafSnafu"]],["impl Send for StreamLeafSnafu",1,["hotshot_query_service::availability::StreamLeafSnafu"]],["impl<__T0> Send for QueryBlockSnafu<__T0>where\n    __T0: Send,",1,["hotshot_query_service::availability::QueryBlockSnafu"]],["impl Send for StreamBlockSnafu",1,["hotshot_query_service::availability::StreamBlockSnafu"]],["impl<__T0> Send for QueryTransactionSnafu<__T0>where\n    __T0: Send,",1,["hotshot_query_service::availability::QueryTransactionSnafu"]],["impl<__T0> Send for QueryProposalsSnafu<__T0>where\n    __T0: Send,",1,["hotshot_query_service::availability::QueryProposalsSnafu"]],["impl<__T0, __T1> Send for InvalidTransactionIndexSnafu<__T0, __T1>where\n    __T0: Send,\n    __T1: Send,",1,["hotshot_query_service::availability::InvalidTransactionIndexSnafu"]],["impl<__T0, __T1> Send for LeafStreamSnafu<__T0, __T1>where\n    __T0: Send,\n    __T1: Send,",1,["hotshot_query_service::availability::LeafStreamSnafu"]],["impl<__T0, __T1> Send for BlockStreamSnafu<__T0, __T1>where\n    __T0: Send,\n    __T1: Send,",1,["hotshot_query_service::availability::BlockStreamSnafu"]],["impl<__T0, __T1> Send for CustomSnafu<__T0, __T1>where\n    __T0: Send,\n    __T1: Send,",1,["hotshot_query_service::availability::CustomSnafu"]],["impl<D, U> Send for ExtensibleDataSource<D, U>where\n    D: Send,\n    U: Send,",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<Types> Send for FileSystemDataSource<Types>",1,["hotshot_query_service::data_source::fs::FileSystemDataSource"]],["impl Send for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl Send for Config",1,["hotshot_query_service::data_source::sql::Config"]],["impl<Types> Send for SqlDataSource<Types>",1,["hotshot_query_service::data_source::sql::SqlDataSource"]],["impl<'a> Send for Transaction<'a>",1,["hotshot_query_service::data_source::sql::Transaction"]],["impl Send for Error",1,["hotshot_query_service::error::Error"]],["impl Send for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl Send for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl Send for Counter",1,["hotshot_query_service::metrics::Counter"]],["impl Send for Gauge",1,["hotshot_query_service::metrics::Gauge"]],["impl Send for Histogram",1,["hotshot_query_service::metrics::Histogram"]],["impl Send for Label",1,["hotshot_query_service::metrics::Label"]],["impl Send for MempoolQueryData",1,["hotshot_query_service::status::query_data::MempoolQueryData"]],["impl Send for Options",1,["hotshot_query_service::status::Options"]],["impl Send for Error",1,["hotshot_query_service::status::Error"]],["impl Send for QueryError",1,["hotshot_query_service::QueryError"]],["impl Send for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl Send for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl<__T0> Send for Snafu<__T0>where\n    __T0: Send,",1,["hotshot_query_service::Snafu"]],["impl Send for Options",1,["hotshot_query_service::Options"]]]
+"hotshot_query_service":[["impl<T> Send for ResourceId<T>",1,["hotshot_query_service::availability::data_source::ResourceId"]],["impl<Types> Send for LeafQueryData<Types>",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> Send for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> Send for BlockQueryData<Types>",1,["hotshot_query_service::availability::query_data::BlockQueryData"]],["impl<Types> Send for TransactionQueryData<Types>where\n    <<Types as NodeType>::BlockPayload as QueryablePayload>::InclusionProof: Send,",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl Send for Options",1,["hotshot_query_service::availability::Options"]],["impl Send for Error",1,["hotshot_query_service::availability::Error"]],["impl Send for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl<__T0> Send for QueryLeafSnafu<__T0>where\n    __T0: Send,",1,["hotshot_query_service::availability::QueryLeafSnafu"]],["impl Send for StreamLeafSnafu",1,["hotshot_query_service::availability::StreamLeafSnafu"]],["impl<__T0> Send for QueryBlockSnafu<__T0>where\n    __T0: Send,",1,["hotshot_query_service::availability::QueryBlockSnafu"]],["impl Send for StreamBlockSnafu",1,["hotshot_query_service::availability::StreamBlockSnafu"]],["impl<__T0> Send for QueryTransactionSnafu<__T0>where\n    __T0: Send,",1,["hotshot_query_service::availability::QueryTransactionSnafu"]],["impl<__T0> Send for QueryProposalsSnafu<__T0>where\n    __T0: Send,",1,["hotshot_query_service::availability::QueryProposalsSnafu"]],["impl<__T0, __T1> Send for InvalidTransactionIndexSnafu<__T0, __T1>where\n    __T0: Send,\n    __T1: Send,",1,["hotshot_query_service::availability::InvalidTransactionIndexSnafu"]],["impl<__T0, __T1> Send for LeafStreamSnafu<__T0, __T1>where\n    __T0: Send,\n    __T1: Send,",1,["hotshot_query_service::availability::LeafStreamSnafu"]],["impl<__T0, __T1> Send for BlockStreamSnafu<__T0, __T1>where\n    __T0: Send,\n    __T1: Send,",1,["hotshot_query_service::availability::BlockStreamSnafu"]],["impl Send for InvalidSignatureKeySnafu",1,["hotshot_query_service::availability::InvalidSignatureKeySnafu"]],["impl<__T0, __T1> Send for CustomSnafu<__T0, __T1>where\n    __T0: Send,\n    __T1: Send,",1,["hotshot_query_service::availability::CustomSnafu"]],["impl<D, U> Send for ExtensibleDataSource<D, U>where\n    D: Send,\n    U: Send,",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<Types> Send for FileSystemDataSource<Types>",1,["hotshot_query_service::data_source::fs::FileSystemDataSource"]],["impl Send for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl Send for Config",1,["hotshot_query_service::data_source::sql::Config"]],["impl<Types> Send for SqlDataSource<Types>",1,["hotshot_query_service::data_source::sql::SqlDataSource"]],["impl<'a> Send for Transaction<'a>",1,["hotshot_query_service::data_source::sql::Transaction"]],["impl Send for Error",1,["hotshot_query_service::error::Error"]],["impl Send for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl Send for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl Send for Counter",1,["hotshot_query_service::metrics::Counter"]],["impl Send for Gauge",1,["hotshot_query_service::metrics::Gauge"]],["impl Send for Histogram",1,["hotshot_query_service::metrics::Histogram"]],["impl Send for Label",1,["hotshot_query_service::metrics::Label"]],["impl Send for MempoolQueryData",1,["hotshot_query_service::status::query_data::MempoolQueryData"]],["impl Send for Options",1,["hotshot_query_service::status::Options"]],["impl Send for Error",1,["hotshot_query_service::status::Error"]],["impl Send for QueryError",1,["hotshot_query_service::QueryError"]],["impl Send for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl Send for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl<__T0> Send for Snafu<__T0>where\n    __T0: Send,",1,["hotshot_query_service::Snafu"]],["impl Send for Options",1,["hotshot_query_service::Options"]]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/marker/trait.StructuralEq.js b/trait.impl/core/marker/trait.StructuralEq.js
index f3ad1acb0..4c431ed39 100644
--- a/trait.impl/core/marker/trait.StructuralEq.js
+++ b/trait.impl/core/marker/trait.StructuralEq.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl<Types: NodeType> StructuralEq for LeafQueryData<Types>"],["impl<Types: NodeType> StructuralEq for TransactionQueryData<Types>where\n    Payload<Types>: QueryablePayload,"],["impl StructuralEq for MempoolQueryData"],["impl<Types: NodeType> StructuralEq for BlockQueryData<Types>"]]
+"hotshot_query_service":[["impl<Types: NodeType> StructuralEq for TransactionQueryData<Types>where\n    Payload<Types>: QueryablePayload,"],["impl<Types: NodeType> StructuralEq for BlockQueryData<Types>"],["impl StructuralEq for MempoolQueryData"],["impl<Types: NodeType> StructuralEq for LeafQueryData<Types>"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/marker/trait.StructuralPartialEq.js b/trait.impl/core/marker/trait.StructuralPartialEq.js
index 47fb8c925..255aabf8d 100644
--- a/trait.impl/core/marker/trait.StructuralPartialEq.js
+++ b/trait.impl/core/marker/trait.StructuralPartialEq.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl<Types: NodeType> StructuralPartialEq for LeafQueryData<Types>"],["impl StructuralPartialEq for MempoolQueryData"],["impl<Types: NodeType> StructuralPartialEq for BlockQueryData<Types>"],["impl<Types: NodeType> StructuralPartialEq for TransactionQueryData<Types>where\n    Payload<Types>: QueryablePayload,"]]
+"hotshot_query_service":[["impl<Types: NodeType> StructuralPartialEq for TransactionQueryData<Types>where\n    Payload<Types>: QueryablePayload,"],["impl<Types: NodeType> StructuralPartialEq for BlockQueryData<Types>"],["impl<Types: NodeType> StructuralPartialEq for LeafQueryData<Types>"],["impl StructuralPartialEq for MempoolQueryData"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/marker/trait.Sync.js b/trait.impl/core/marker/trait.Sync.js
index 722f3ef8d..cda459b8c 100644
--- a/trait.impl/core/marker/trait.Sync.js
+++ b/trait.impl/core/marker/trait.Sync.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl<T> Sync for ResourceId<T>",1,["hotshot_query_service::availability::data_source::ResourceId"]],["impl<Types> Sync for LeafQueryData<Types>",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> Sync for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> Sync for BlockQueryData<Types>",1,["hotshot_query_service::availability::query_data::BlockQueryData"]],["impl<Types> Sync for TransactionQueryData<Types>where\n    <<Types as NodeType>::BlockPayload as QueryablePayload>::InclusionProof: Sync,",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl Sync for Options",1,["hotshot_query_service::availability::Options"]],["impl Sync for Error",1,["hotshot_query_service::availability::Error"]],["impl Sync for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl<__T0> Sync for QueryLeafSnafu<__T0>where\n    __T0: Sync,",1,["hotshot_query_service::availability::QueryLeafSnafu"]],["impl Sync for StreamLeafSnafu",1,["hotshot_query_service::availability::StreamLeafSnafu"]],["impl<__T0> Sync for QueryBlockSnafu<__T0>where\n    __T0: Sync,",1,["hotshot_query_service::availability::QueryBlockSnafu"]],["impl Sync for StreamBlockSnafu",1,["hotshot_query_service::availability::StreamBlockSnafu"]],["impl<__T0> Sync for QueryTransactionSnafu<__T0>where\n    __T0: Sync,",1,["hotshot_query_service::availability::QueryTransactionSnafu"]],["impl<__T0> Sync for QueryProposalsSnafu<__T0>where\n    __T0: Sync,",1,["hotshot_query_service::availability::QueryProposalsSnafu"]],["impl<__T0, __T1> Sync for InvalidTransactionIndexSnafu<__T0, __T1>where\n    __T0: Sync,\n    __T1: Sync,",1,["hotshot_query_service::availability::InvalidTransactionIndexSnafu"]],["impl<__T0, __T1> Sync for LeafStreamSnafu<__T0, __T1>where\n    __T0: Sync,\n    __T1: Sync,",1,["hotshot_query_service::availability::LeafStreamSnafu"]],["impl<__T0, __T1> Sync for BlockStreamSnafu<__T0, __T1>where\n    __T0: Sync,\n    __T1: Sync,",1,["hotshot_query_service::availability::BlockStreamSnafu"]],["impl<__T0, __T1> Sync for CustomSnafu<__T0, __T1>where\n    __T0: Sync,\n    __T1: Sync,",1,["hotshot_query_service::availability::CustomSnafu"]],["impl<D, U> Sync for ExtensibleDataSource<D, U>where\n    D: Sync,\n    U: Sync,",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<Types> Sync for FileSystemDataSource<Types>",1,["hotshot_query_service::data_source::fs::FileSystemDataSource"]],["impl Sync for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl Sync for Config",1,["hotshot_query_service::data_source::sql::Config"]],["impl<Types> Sync for SqlDataSource<Types>",1,["hotshot_query_service::data_source::sql::SqlDataSource"]],["impl<'a> Sync for Transaction<'a>",1,["hotshot_query_service::data_source::sql::Transaction"]],["impl Sync for Error",1,["hotshot_query_service::error::Error"]],["impl Sync for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl Sync for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl Sync for Counter",1,["hotshot_query_service::metrics::Counter"]],["impl Sync for Gauge",1,["hotshot_query_service::metrics::Gauge"]],["impl Sync for Histogram",1,["hotshot_query_service::metrics::Histogram"]],["impl Sync for Label",1,["hotshot_query_service::metrics::Label"]],["impl Sync for MempoolQueryData",1,["hotshot_query_service::status::query_data::MempoolQueryData"]],["impl Sync for Options",1,["hotshot_query_service::status::Options"]],["impl Sync for Error",1,["hotshot_query_service::status::Error"]],["impl Sync for QueryError",1,["hotshot_query_service::QueryError"]],["impl Sync for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl Sync for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl<__T0> Sync for Snafu<__T0>where\n    __T0: Sync,",1,["hotshot_query_service::Snafu"]],["impl Sync for Options",1,["hotshot_query_service::Options"]]]
+"hotshot_query_service":[["impl<T> Sync for ResourceId<T>",1,["hotshot_query_service::availability::data_source::ResourceId"]],["impl<Types> Sync for LeafQueryData<Types>",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> Sync for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> Sync for BlockQueryData<Types>",1,["hotshot_query_service::availability::query_data::BlockQueryData"]],["impl<Types> Sync for TransactionQueryData<Types>where\n    <<Types as NodeType>::BlockPayload as QueryablePayload>::InclusionProof: Sync,",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl Sync for Options",1,["hotshot_query_service::availability::Options"]],["impl Sync for Error",1,["hotshot_query_service::availability::Error"]],["impl Sync for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl<__T0> Sync for QueryLeafSnafu<__T0>where\n    __T0: Sync,",1,["hotshot_query_service::availability::QueryLeafSnafu"]],["impl Sync for StreamLeafSnafu",1,["hotshot_query_service::availability::StreamLeafSnafu"]],["impl<__T0> Sync for QueryBlockSnafu<__T0>where\n    __T0: Sync,",1,["hotshot_query_service::availability::QueryBlockSnafu"]],["impl Sync for StreamBlockSnafu",1,["hotshot_query_service::availability::StreamBlockSnafu"]],["impl<__T0> Sync for QueryTransactionSnafu<__T0>where\n    __T0: Sync,",1,["hotshot_query_service::availability::QueryTransactionSnafu"]],["impl<__T0> Sync for QueryProposalsSnafu<__T0>where\n    __T0: Sync,",1,["hotshot_query_service::availability::QueryProposalsSnafu"]],["impl<__T0, __T1> Sync for InvalidTransactionIndexSnafu<__T0, __T1>where\n    __T0: Sync,\n    __T1: Sync,",1,["hotshot_query_service::availability::InvalidTransactionIndexSnafu"]],["impl<__T0, __T1> Sync for LeafStreamSnafu<__T0, __T1>where\n    __T0: Sync,\n    __T1: Sync,",1,["hotshot_query_service::availability::LeafStreamSnafu"]],["impl<__T0, __T1> Sync for BlockStreamSnafu<__T0, __T1>where\n    __T0: Sync,\n    __T1: Sync,",1,["hotshot_query_service::availability::BlockStreamSnafu"]],["impl Sync for InvalidSignatureKeySnafu",1,["hotshot_query_service::availability::InvalidSignatureKeySnafu"]],["impl<__T0, __T1> Sync for CustomSnafu<__T0, __T1>where\n    __T0: Sync,\n    __T1: Sync,",1,["hotshot_query_service::availability::CustomSnafu"]],["impl<D, U> Sync for ExtensibleDataSource<D, U>where\n    D: Sync,\n    U: Sync,",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<Types> Sync for FileSystemDataSource<Types>",1,["hotshot_query_service::data_source::fs::FileSystemDataSource"]],["impl Sync for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl Sync for Config",1,["hotshot_query_service::data_source::sql::Config"]],["impl<Types> Sync for SqlDataSource<Types>",1,["hotshot_query_service::data_source::sql::SqlDataSource"]],["impl<'a> Sync for Transaction<'a>",1,["hotshot_query_service::data_source::sql::Transaction"]],["impl Sync for Error",1,["hotshot_query_service::error::Error"]],["impl Sync for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl Sync for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl Sync for Counter",1,["hotshot_query_service::metrics::Counter"]],["impl Sync for Gauge",1,["hotshot_query_service::metrics::Gauge"]],["impl Sync for Histogram",1,["hotshot_query_service::metrics::Histogram"]],["impl Sync for Label",1,["hotshot_query_service::metrics::Label"]],["impl Sync for MempoolQueryData",1,["hotshot_query_service::status::query_data::MempoolQueryData"]],["impl Sync for Options",1,["hotshot_query_service::status::Options"]],["impl Sync for Error",1,["hotshot_query_service::status::Error"]],["impl Sync for QueryError",1,["hotshot_query_service::QueryError"]],["impl Sync for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl Sync for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl<__T0> Sync for Snafu<__T0>where\n    __T0: Sync,",1,["hotshot_query_service::Snafu"]],["impl Sync for Options",1,["hotshot_query_service::Options"]]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/marker/trait.Unpin.js b/trait.impl/core/marker/trait.Unpin.js
index 7fac01274..a91d399f5 100644
--- a/trait.impl/core/marker/trait.Unpin.js
+++ b/trait.impl/core/marker/trait.Unpin.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl<T> Unpin for ResourceId<T>",1,["hotshot_query_service::availability::data_source::ResourceId"]],["impl<Types> Unpin for LeafQueryData<Types>where\n    Types: Unpin,\n    <Types as NodeType>::BlockHeader: Unpin,\n    <Types as NodeType>::BlockPayload: Unpin,\n    <<Types as NodeType>::SignatureKey as SignatureKey>::QCType: Unpin,\n    <Types as NodeType>::Time: Unpin,\n    <Types as NodeType>::Transaction: Unpin,",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> Unpin for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> Unpin for BlockQueryData<Types>where\n    <Types as NodeType>::BlockHeader: Unpin,\n    <Types as NodeType>::BlockPayload: Unpin,",1,["hotshot_query_service::availability::query_data::BlockQueryData"]],["impl<Types> Unpin for TransactionQueryData<Types>where\n    <<Types as NodeType>::BlockPayload as QueryablePayload>::InclusionProof: Unpin,\n    <Types as NodeType>::Transaction: Unpin,",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl Unpin for Options",1,["hotshot_query_service::availability::Options"]],["impl Unpin for Error",1,["hotshot_query_service::availability::Error"]],["impl Unpin for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl<__T0> Unpin for QueryLeafSnafu<__T0>where\n    __T0: Unpin,",1,["hotshot_query_service::availability::QueryLeafSnafu"]],["impl Unpin for StreamLeafSnafu",1,["hotshot_query_service::availability::StreamLeafSnafu"]],["impl<__T0> Unpin for QueryBlockSnafu<__T0>where\n    __T0: Unpin,",1,["hotshot_query_service::availability::QueryBlockSnafu"]],["impl Unpin for StreamBlockSnafu",1,["hotshot_query_service::availability::StreamBlockSnafu"]],["impl<__T0> Unpin for QueryTransactionSnafu<__T0>where\n    __T0: Unpin,",1,["hotshot_query_service::availability::QueryTransactionSnafu"]],["impl<__T0> Unpin for QueryProposalsSnafu<__T0>where\n    __T0: Unpin,",1,["hotshot_query_service::availability::QueryProposalsSnafu"]],["impl<__T0, __T1> Unpin for InvalidTransactionIndexSnafu<__T0, __T1>where\n    __T0: Unpin,\n    __T1: Unpin,",1,["hotshot_query_service::availability::InvalidTransactionIndexSnafu"]],["impl<__T0, __T1> Unpin for LeafStreamSnafu<__T0, __T1>where\n    __T0: Unpin,\n    __T1: Unpin,",1,["hotshot_query_service::availability::LeafStreamSnafu"]],["impl<__T0, __T1> Unpin for BlockStreamSnafu<__T0, __T1>where\n    __T0: Unpin,\n    __T1: Unpin,",1,["hotshot_query_service::availability::BlockStreamSnafu"]],["impl<__T0, __T1> Unpin for CustomSnafu<__T0, __T1>where\n    __T0: Unpin,\n    __T1: Unpin,",1,["hotshot_query_service::availability::CustomSnafu"]],["impl<D, U> Unpin for ExtensibleDataSource<D, U>where\n    D: Unpin,\n    U: Unpin,",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<Types> Unpin for FileSystemDataSource<Types>where\n    Types: Unpin,\n    <Types as NodeType>::BlockHeader: Unpin,\n    <Types as NodeType>::BlockPayload: Unpin,\n    <<Types as NodeType>::SignatureKey as SignatureKey>::QCType: Unpin,\n    <Types as NodeType>::Time: Unpin,\n    <Types as NodeType>::Transaction: Unpin,\n    <<Types as NodeType>::BlockPayload as QueryablePayload>::TransactionIndex: Unpin,",1,["hotshot_query_service::data_source::fs::FileSystemDataSource"]],["impl Unpin for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl Unpin for Config",1,["hotshot_query_service::data_source::sql::Config"]],["impl<Types> Unpin for SqlDataSource<Types>where\n    Types: Unpin,\n    <Types as NodeType>::BlockHeader: Unpin,\n    <Types as NodeType>::BlockPayload: Unpin,\n    <<Types as NodeType>::SignatureKey as SignatureKey>::QCType: Unpin,\n    <Types as NodeType>::Time: Unpin,\n    <Types as NodeType>::Transaction: Unpin,",1,["hotshot_query_service::data_source::sql::SqlDataSource"]],["impl<'a> Unpin for Transaction<'a>",1,["hotshot_query_service::data_source::sql::Transaction"]],["impl Unpin for Error",1,["hotshot_query_service::error::Error"]],["impl Unpin for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl Unpin for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl Unpin for Counter",1,["hotshot_query_service::metrics::Counter"]],["impl Unpin for Gauge",1,["hotshot_query_service::metrics::Gauge"]],["impl Unpin for Histogram",1,["hotshot_query_service::metrics::Histogram"]],["impl Unpin for Label",1,["hotshot_query_service::metrics::Label"]],["impl Unpin for MempoolQueryData",1,["hotshot_query_service::status::query_data::MempoolQueryData"]],["impl Unpin for Options",1,["hotshot_query_service::status::Options"]],["impl Unpin for Error",1,["hotshot_query_service::status::Error"]],["impl Unpin for QueryError",1,["hotshot_query_service::QueryError"]],["impl Unpin for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl Unpin for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl<__T0> Unpin for Snafu<__T0>where\n    __T0: Unpin,",1,["hotshot_query_service::Snafu"]],["impl Unpin for Options",1,["hotshot_query_service::Options"]]]
+"hotshot_query_service":[["impl<T> Unpin for ResourceId<T>",1,["hotshot_query_service::availability::data_source::ResourceId"]],["impl<Types> Unpin for LeafQueryData<Types>where\n    Types: Unpin,\n    <Types as NodeType>::BlockHeader: Unpin,\n    <Types as NodeType>::BlockPayload: Unpin,\n    <<Types as NodeType>::SignatureKey as SignatureKey>::QCType: Unpin,\n    <Types as NodeType>::SignatureKey: Unpin,\n    <Types as NodeType>::Time: Unpin,\n    <Types as NodeType>::Transaction: Unpin,",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> Unpin for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> Unpin for BlockQueryData<Types>where\n    <Types as NodeType>::BlockHeader: Unpin,\n    <Types as NodeType>::BlockPayload: Unpin,",1,["hotshot_query_service::availability::query_data::BlockQueryData"]],["impl<Types> Unpin for TransactionQueryData<Types>where\n    <<Types as NodeType>::BlockPayload as QueryablePayload>::InclusionProof: Unpin,\n    <Types as NodeType>::Transaction: Unpin,",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl Unpin for Options",1,["hotshot_query_service::availability::Options"]],["impl Unpin for Error",1,["hotshot_query_service::availability::Error"]],["impl Unpin for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl<__T0> Unpin for QueryLeafSnafu<__T0>where\n    __T0: Unpin,",1,["hotshot_query_service::availability::QueryLeafSnafu"]],["impl Unpin for StreamLeafSnafu",1,["hotshot_query_service::availability::StreamLeafSnafu"]],["impl<__T0> Unpin for QueryBlockSnafu<__T0>where\n    __T0: Unpin,",1,["hotshot_query_service::availability::QueryBlockSnafu"]],["impl Unpin for StreamBlockSnafu",1,["hotshot_query_service::availability::StreamBlockSnafu"]],["impl<__T0> Unpin for QueryTransactionSnafu<__T0>where\n    __T0: Unpin,",1,["hotshot_query_service::availability::QueryTransactionSnafu"]],["impl<__T0> Unpin for QueryProposalsSnafu<__T0>where\n    __T0: Unpin,",1,["hotshot_query_service::availability::QueryProposalsSnafu"]],["impl<__T0, __T1> Unpin for InvalidTransactionIndexSnafu<__T0, __T1>where\n    __T0: Unpin,\n    __T1: Unpin,",1,["hotshot_query_service::availability::InvalidTransactionIndexSnafu"]],["impl<__T0, __T1> Unpin for LeafStreamSnafu<__T0, __T1>where\n    __T0: Unpin,\n    __T1: Unpin,",1,["hotshot_query_service::availability::LeafStreamSnafu"]],["impl<__T0, __T1> Unpin for BlockStreamSnafu<__T0, __T1>where\n    __T0: Unpin,\n    __T1: Unpin,",1,["hotshot_query_service::availability::BlockStreamSnafu"]],["impl Unpin for InvalidSignatureKeySnafu",1,["hotshot_query_service::availability::InvalidSignatureKeySnafu"]],["impl<__T0, __T1> Unpin for CustomSnafu<__T0, __T1>where\n    __T0: Unpin,\n    __T1: Unpin,",1,["hotshot_query_service::availability::CustomSnafu"]],["impl<D, U> Unpin for ExtensibleDataSource<D, U>where\n    D: Unpin,\n    U: Unpin,",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<Types> Unpin for FileSystemDataSource<Types>where\n    Types: Unpin,\n    <Types as NodeType>::BlockHeader: Unpin,\n    <Types as NodeType>::BlockPayload: Unpin,\n    <<Types as NodeType>::SignatureKey as SignatureKey>::QCType: Unpin,\n    <Types as NodeType>::SignatureKey: Unpin,\n    <Types as NodeType>::Time: Unpin,\n    <Types as NodeType>::Transaction: Unpin,\n    <<Types as NodeType>::BlockPayload as QueryablePayload>::TransactionIndex: Unpin,",1,["hotshot_query_service::data_source::fs::FileSystemDataSource"]],["impl Unpin for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl Unpin for Config",1,["hotshot_query_service::data_source::sql::Config"]],["impl<Types> Unpin for SqlDataSource<Types>where\n    Types: Unpin,\n    <Types as NodeType>::BlockHeader: Unpin,\n    <Types as NodeType>::BlockPayload: Unpin,\n    <<Types as NodeType>::SignatureKey as SignatureKey>::QCType: Unpin,\n    <Types as NodeType>::SignatureKey: Unpin,\n    <Types as NodeType>::Time: Unpin,\n    <Types as NodeType>::Transaction: Unpin,",1,["hotshot_query_service::data_source::sql::SqlDataSource"]],["impl<'a> Unpin for Transaction<'a>",1,["hotshot_query_service::data_source::sql::Transaction"]],["impl Unpin for Error",1,["hotshot_query_service::error::Error"]],["impl Unpin for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl Unpin for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl Unpin for Counter",1,["hotshot_query_service::metrics::Counter"]],["impl Unpin for Gauge",1,["hotshot_query_service::metrics::Gauge"]],["impl Unpin for Histogram",1,["hotshot_query_service::metrics::Histogram"]],["impl Unpin for Label",1,["hotshot_query_service::metrics::Label"]],["impl Unpin for MempoolQueryData",1,["hotshot_query_service::status::query_data::MempoolQueryData"]],["impl Unpin for Options",1,["hotshot_query_service::status::Options"]],["impl Unpin for Error",1,["hotshot_query_service::status::Error"]],["impl Unpin for QueryError",1,["hotshot_query_service::QueryError"]],["impl Unpin for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl Unpin for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl<__T0> Unpin for Snafu<__T0>where\n    __T0: Unpin,",1,["hotshot_query_service::Snafu"]],["impl Unpin for Options",1,["hotshot_query_service::Options"]]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js b/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js
index f9a632077..71d96e993 100644
--- a/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js
+++ b/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl<T> RefUnwindSafe for ResourceId<T>",1,["hotshot_query_service::availability::data_source::ResourceId"]],["impl<Types> RefUnwindSafe for LeafQueryData<Types>where\n    Types: RefUnwindSafe,\n    <Types as NodeType>::BlockHeader: RefUnwindSafe,\n    <Types as NodeType>::BlockPayload: RefUnwindSafe,\n    <<Types as NodeType>::SignatureKey as SignatureKey>::QCType: RefUnwindSafe,\n    <Types as NodeType>::Time: RefUnwindSafe,\n    <Types as NodeType>::Transaction: RefUnwindSafe,",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> RefUnwindSafe for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> RefUnwindSafe for BlockQueryData<Types>where\n    <Types as NodeType>::BlockHeader: RefUnwindSafe,\n    <Types as NodeType>::BlockPayload: RefUnwindSafe,",1,["hotshot_query_service::availability::query_data::BlockQueryData"]],["impl<Types> RefUnwindSafe for TransactionQueryData<Types>where\n    <<Types as NodeType>::BlockPayload as QueryablePayload>::InclusionProof: RefUnwindSafe,\n    <Types as NodeType>::Transaction: RefUnwindSafe,",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl RefUnwindSafe for Options",1,["hotshot_query_service::availability::Options"]],["impl RefUnwindSafe for Error",1,["hotshot_query_service::availability::Error"]],["impl RefUnwindSafe for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl<__T0> RefUnwindSafe for QueryLeafSnafu<__T0>where\n    __T0: RefUnwindSafe,",1,["hotshot_query_service::availability::QueryLeafSnafu"]],["impl RefUnwindSafe for StreamLeafSnafu",1,["hotshot_query_service::availability::StreamLeafSnafu"]],["impl<__T0> RefUnwindSafe for QueryBlockSnafu<__T0>where\n    __T0: RefUnwindSafe,",1,["hotshot_query_service::availability::QueryBlockSnafu"]],["impl RefUnwindSafe for StreamBlockSnafu",1,["hotshot_query_service::availability::StreamBlockSnafu"]],["impl<__T0> RefUnwindSafe for QueryTransactionSnafu<__T0>where\n    __T0: RefUnwindSafe,",1,["hotshot_query_service::availability::QueryTransactionSnafu"]],["impl<__T0> RefUnwindSafe for QueryProposalsSnafu<__T0>where\n    __T0: RefUnwindSafe,",1,["hotshot_query_service::availability::QueryProposalsSnafu"]],["impl<__T0, __T1> RefUnwindSafe for InvalidTransactionIndexSnafu<__T0, __T1>where\n    __T0: RefUnwindSafe,\n    __T1: RefUnwindSafe,",1,["hotshot_query_service::availability::InvalidTransactionIndexSnafu"]],["impl<__T0, __T1> RefUnwindSafe for LeafStreamSnafu<__T0, __T1>where\n    __T0: RefUnwindSafe,\n    __T1: RefUnwindSafe,",1,["hotshot_query_service::availability::LeafStreamSnafu"]],["impl<__T0, __T1> RefUnwindSafe for BlockStreamSnafu<__T0, __T1>where\n    __T0: RefUnwindSafe,\n    __T1: RefUnwindSafe,",1,["hotshot_query_service::availability::BlockStreamSnafu"]],["impl<__T0, __T1> RefUnwindSafe for CustomSnafu<__T0, __T1>where\n    __T0: RefUnwindSafe,\n    __T1: RefUnwindSafe,",1,["hotshot_query_service::availability::CustomSnafu"]],["impl<D, U> RefUnwindSafe for ExtensibleDataSource<D, U>where\n    D: RefUnwindSafe,\n    U: RefUnwindSafe,",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<Types> !RefUnwindSafe for FileSystemDataSource<Types>",1,["hotshot_query_service::data_source::fs::FileSystemDataSource"]],["impl !RefUnwindSafe for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl RefUnwindSafe for Config",1,["hotshot_query_service::data_source::sql::Config"]],["impl<Types> !RefUnwindSafe for SqlDataSource<Types>",1,["hotshot_query_service::data_source::sql::SqlDataSource"]],["impl<'a> !RefUnwindSafe for Transaction<'a>",1,["hotshot_query_service::data_source::sql::Transaction"]],["impl RefUnwindSafe for Error",1,["hotshot_query_service::error::Error"]],["impl !RefUnwindSafe for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl !RefUnwindSafe for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl RefUnwindSafe for Counter",1,["hotshot_query_service::metrics::Counter"]],["impl RefUnwindSafe for Gauge",1,["hotshot_query_service::metrics::Gauge"]],["impl RefUnwindSafe for Histogram",1,["hotshot_query_service::metrics::Histogram"]],["impl RefUnwindSafe for Label",1,["hotshot_query_service::metrics::Label"]],["impl RefUnwindSafe for MempoolQueryData",1,["hotshot_query_service::status::query_data::MempoolQueryData"]],["impl RefUnwindSafe for Options",1,["hotshot_query_service::status::Options"]],["impl RefUnwindSafe for Error",1,["hotshot_query_service::status::Error"]],["impl RefUnwindSafe for QueryError",1,["hotshot_query_service::QueryError"]],["impl RefUnwindSafe for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl RefUnwindSafe for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl<__T0> RefUnwindSafe for Snafu<__T0>where\n    __T0: RefUnwindSafe,",1,["hotshot_query_service::Snafu"]],["impl RefUnwindSafe for Options",1,["hotshot_query_service::Options"]]]
+"hotshot_query_service":[["impl<T> RefUnwindSafe for ResourceId<T>",1,["hotshot_query_service::availability::data_source::ResourceId"]],["impl<Types> RefUnwindSafe for LeafQueryData<Types>where\n    Types: RefUnwindSafe,\n    <Types as NodeType>::BlockHeader: RefUnwindSafe,\n    <Types as NodeType>::BlockPayload: RefUnwindSafe,\n    <<Types as NodeType>::SignatureKey as SignatureKey>::QCType: RefUnwindSafe,\n    <Types as NodeType>::SignatureKey: RefUnwindSafe,\n    <Types as NodeType>::Time: RefUnwindSafe,\n    <Types as NodeType>::Transaction: RefUnwindSafe,",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> RefUnwindSafe for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> RefUnwindSafe for BlockQueryData<Types>where\n    <Types as NodeType>::BlockHeader: RefUnwindSafe,\n    <Types as NodeType>::BlockPayload: RefUnwindSafe,",1,["hotshot_query_service::availability::query_data::BlockQueryData"]],["impl<Types> RefUnwindSafe for TransactionQueryData<Types>where\n    <<Types as NodeType>::BlockPayload as QueryablePayload>::InclusionProof: RefUnwindSafe,\n    <Types as NodeType>::Transaction: RefUnwindSafe,",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl RefUnwindSafe for Options",1,["hotshot_query_service::availability::Options"]],["impl RefUnwindSafe for Error",1,["hotshot_query_service::availability::Error"]],["impl RefUnwindSafe for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl<__T0> RefUnwindSafe for QueryLeafSnafu<__T0>where\n    __T0: RefUnwindSafe,",1,["hotshot_query_service::availability::QueryLeafSnafu"]],["impl RefUnwindSafe for StreamLeafSnafu",1,["hotshot_query_service::availability::StreamLeafSnafu"]],["impl<__T0> RefUnwindSafe for QueryBlockSnafu<__T0>where\n    __T0: RefUnwindSafe,",1,["hotshot_query_service::availability::QueryBlockSnafu"]],["impl RefUnwindSafe for StreamBlockSnafu",1,["hotshot_query_service::availability::StreamBlockSnafu"]],["impl<__T0> RefUnwindSafe for QueryTransactionSnafu<__T0>where\n    __T0: RefUnwindSafe,",1,["hotshot_query_service::availability::QueryTransactionSnafu"]],["impl<__T0> RefUnwindSafe for QueryProposalsSnafu<__T0>where\n    __T0: RefUnwindSafe,",1,["hotshot_query_service::availability::QueryProposalsSnafu"]],["impl<__T0, __T1> RefUnwindSafe for InvalidTransactionIndexSnafu<__T0, __T1>where\n    __T0: RefUnwindSafe,\n    __T1: RefUnwindSafe,",1,["hotshot_query_service::availability::InvalidTransactionIndexSnafu"]],["impl<__T0, __T1> RefUnwindSafe for LeafStreamSnafu<__T0, __T1>where\n    __T0: RefUnwindSafe,\n    __T1: RefUnwindSafe,",1,["hotshot_query_service::availability::LeafStreamSnafu"]],["impl<__T0, __T1> RefUnwindSafe for BlockStreamSnafu<__T0, __T1>where\n    __T0: RefUnwindSafe,\n    __T1: RefUnwindSafe,",1,["hotshot_query_service::availability::BlockStreamSnafu"]],["impl RefUnwindSafe for InvalidSignatureKeySnafu",1,["hotshot_query_service::availability::InvalidSignatureKeySnafu"]],["impl<__T0, __T1> RefUnwindSafe for CustomSnafu<__T0, __T1>where\n    __T0: RefUnwindSafe,\n    __T1: RefUnwindSafe,",1,["hotshot_query_service::availability::CustomSnafu"]],["impl<D, U> RefUnwindSafe for ExtensibleDataSource<D, U>where\n    D: RefUnwindSafe,\n    U: RefUnwindSafe,",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<Types> !RefUnwindSafe for FileSystemDataSource<Types>",1,["hotshot_query_service::data_source::fs::FileSystemDataSource"]],["impl !RefUnwindSafe for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl RefUnwindSafe for Config",1,["hotshot_query_service::data_source::sql::Config"]],["impl<Types> !RefUnwindSafe for SqlDataSource<Types>",1,["hotshot_query_service::data_source::sql::SqlDataSource"]],["impl<'a> !RefUnwindSafe for Transaction<'a>",1,["hotshot_query_service::data_source::sql::Transaction"]],["impl RefUnwindSafe for Error",1,["hotshot_query_service::error::Error"]],["impl !RefUnwindSafe for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl !RefUnwindSafe for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl RefUnwindSafe for Counter",1,["hotshot_query_service::metrics::Counter"]],["impl RefUnwindSafe for Gauge",1,["hotshot_query_service::metrics::Gauge"]],["impl RefUnwindSafe for Histogram",1,["hotshot_query_service::metrics::Histogram"]],["impl RefUnwindSafe for Label",1,["hotshot_query_service::metrics::Label"]],["impl RefUnwindSafe for MempoolQueryData",1,["hotshot_query_service::status::query_data::MempoolQueryData"]],["impl RefUnwindSafe for Options",1,["hotshot_query_service::status::Options"]],["impl RefUnwindSafe for Error",1,["hotshot_query_service::status::Error"]],["impl RefUnwindSafe for QueryError",1,["hotshot_query_service::QueryError"]],["impl RefUnwindSafe for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl RefUnwindSafe for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl<__T0> RefUnwindSafe for Snafu<__T0>where\n    __T0: RefUnwindSafe,",1,["hotshot_query_service::Snafu"]],["impl RefUnwindSafe for Options",1,["hotshot_query_service::Options"]]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js b/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js
index cf0d6148c..1a67a8286 100644
--- a/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js
+++ b/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl<T> UnwindSafe for ResourceId<T>",1,["hotshot_query_service::availability::data_source::ResourceId"]],["impl<Types> UnwindSafe for LeafQueryData<Types>where\n    Types: UnwindSafe,\n    <Types as NodeType>::BlockHeader: UnwindSafe,\n    <Types as NodeType>::BlockPayload: UnwindSafe,\n    <<Types as NodeType>::SignatureKey as SignatureKey>::QCType: UnwindSafe,\n    <Types as NodeType>::Time: UnwindSafe,\n    <Types as NodeType>::Transaction: UnwindSafe,",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> UnwindSafe for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> UnwindSafe for BlockQueryData<Types>where\n    <Types as NodeType>::BlockHeader: UnwindSafe,\n    <Types as NodeType>::BlockPayload: UnwindSafe,",1,["hotshot_query_service::availability::query_data::BlockQueryData"]],["impl<Types> UnwindSafe for TransactionQueryData<Types>where\n    <<Types as NodeType>::BlockPayload as QueryablePayload>::InclusionProof: UnwindSafe,\n    <Types as NodeType>::Transaction: UnwindSafe,",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl UnwindSafe for Options",1,["hotshot_query_service::availability::Options"]],["impl UnwindSafe for Error",1,["hotshot_query_service::availability::Error"]],["impl UnwindSafe for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl<__T0> UnwindSafe for QueryLeafSnafu<__T0>where\n    __T0: UnwindSafe,",1,["hotshot_query_service::availability::QueryLeafSnafu"]],["impl UnwindSafe for StreamLeafSnafu",1,["hotshot_query_service::availability::StreamLeafSnafu"]],["impl<__T0> UnwindSafe for QueryBlockSnafu<__T0>where\n    __T0: UnwindSafe,",1,["hotshot_query_service::availability::QueryBlockSnafu"]],["impl UnwindSafe for StreamBlockSnafu",1,["hotshot_query_service::availability::StreamBlockSnafu"]],["impl<__T0> UnwindSafe for QueryTransactionSnafu<__T0>where\n    __T0: UnwindSafe,",1,["hotshot_query_service::availability::QueryTransactionSnafu"]],["impl<__T0> UnwindSafe for QueryProposalsSnafu<__T0>where\n    __T0: UnwindSafe,",1,["hotshot_query_service::availability::QueryProposalsSnafu"]],["impl<__T0, __T1> UnwindSafe for InvalidTransactionIndexSnafu<__T0, __T1>where\n    __T0: UnwindSafe,\n    __T1: UnwindSafe,",1,["hotshot_query_service::availability::InvalidTransactionIndexSnafu"]],["impl<__T0, __T1> UnwindSafe for LeafStreamSnafu<__T0, __T1>where\n    __T0: UnwindSafe,\n    __T1: UnwindSafe,",1,["hotshot_query_service::availability::LeafStreamSnafu"]],["impl<__T0, __T1> UnwindSafe for BlockStreamSnafu<__T0, __T1>where\n    __T0: UnwindSafe,\n    __T1: UnwindSafe,",1,["hotshot_query_service::availability::BlockStreamSnafu"]],["impl<__T0, __T1> UnwindSafe for CustomSnafu<__T0, __T1>where\n    __T0: UnwindSafe,\n    __T1: UnwindSafe,",1,["hotshot_query_service::availability::CustomSnafu"]],["impl<D, U> UnwindSafe for ExtensibleDataSource<D, U>where\n    D: UnwindSafe,\n    U: UnwindSafe,",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<Types> !UnwindSafe for FileSystemDataSource<Types>",1,["hotshot_query_service::data_source::fs::FileSystemDataSource"]],["impl !UnwindSafe for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl UnwindSafe for Config",1,["hotshot_query_service::data_source::sql::Config"]],["impl<Types> !UnwindSafe for SqlDataSource<Types>",1,["hotshot_query_service::data_source::sql::SqlDataSource"]],["impl<'a> !UnwindSafe for Transaction<'a>",1,["hotshot_query_service::data_source::sql::Transaction"]],["impl UnwindSafe for Error",1,["hotshot_query_service::error::Error"]],["impl !UnwindSafe for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl !UnwindSafe for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl UnwindSafe for Counter",1,["hotshot_query_service::metrics::Counter"]],["impl UnwindSafe for Gauge",1,["hotshot_query_service::metrics::Gauge"]],["impl UnwindSafe for Histogram",1,["hotshot_query_service::metrics::Histogram"]],["impl UnwindSafe for Label",1,["hotshot_query_service::metrics::Label"]],["impl UnwindSafe for MempoolQueryData",1,["hotshot_query_service::status::query_data::MempoolQueryData"]],["impl UnwindSafe for Options",1,["hotshot_query_service::status::Options"]],["impl UnwindSafe for Error",1,["hotshot_query_service::status::Error"]],["impl UnwindSafe for QueryError",1,["hotshot_query_service::QueryError"]],["impl UnwindSafe for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl UnwindSafe for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl<__T0> UnwindSafe for Snafu<__T0>where\n    __T0: UnwindSafe,",1,["hotshot_query_service::Snafu"]],["impl UnwindSafe for Options",1,["hotshot_query_service::Options"]]]
+"hotshot_query_service":[["impl<T> UnwindSafe for ResourceId<T>",1,["hotshot_query_service::availability::data_source::ResourceId"]],["impl<Types> UnwindSafe for LeafQueryData<Types>where\n    Types: UnwindSafe,\n    <Types as NodeType>::BlockHeader: UnwindSafe,\n    <Types as NodeType>::BlockPayload: UnwindSafe,\n    <<Types as NodeType>::SignatureKey as SignatureKey>::QCType: UnwindSafe,\n    <Types as NodeType>::SignatureKey: UnwindSafe,\n    <Types as NodeType>::Time: UnwindSafe,\n    <Types as NodeType>::Transaction: UnwindSafe,",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> UnwindSafe for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> UnwindSafe for BlockQueryData<Types>where\n    <Types as NodeType>::BlockHeader: UnwindSafe,\n    <Types as NodeType>::BlockPayload: UnwindSafe,",1,["hotshot_query_service::availability::query_data::BlockQueryData"]],["impl<Types> UnwindSafe for TransactionQueryData<Types>where\n    <<Types as NodeType>::BlockPayload as QueryablePayload>::InclusionProof: UnwindSafe,\n    <Types as NodeType>::Transaction: UnwindSafe,",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl UnwindSafe for Options",1,["hotshot_query_service::availability::Options"]],["impl UnwindSafe for Error",1,["hotshot_query_service::availability::Error"]],["impl UnwindSafe for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl<__T0> UnwindSafe for QueryLeafSnafu<__T0>where\n    __T0: UnwindSafe,",1,["hotshot_query_service::availability::QueryLeafSnafu"]],["impl UnwindSafe for StreamLeafSnafu",1,["hotshot_query_service::availability::StreamLeafSnafu"]],["impl<__T0> UnwindSafe for QueryBlockSnafu<__T0>where\n    __T0: UnwindSafe,",1,["hotshot_query_service::availability::QueryBlockSnafu"]],["impl UnwindSafe for StreamBlockSnafu",1,["hotshot_query_service::availability::StreamBlockSnafu"]],["impl<__T0> UnwindSafe for QueryTransactionSnafu<__T0>where\n    __T0: UnwindSafe,",1,["hotshot_query_service::availability::QueryTransactionSnafu"]],["impl<__T0> UnwindSafe for QueryProposalsSnafu<__T0>where\n    __T0: UnwindSafe,",1,["hotshot_query_service::availability::QueryProposalsSnafu"]],["impl<__T0, __T1> UnwindSafe for InvalidTransactionIndexSnafu<__T0, __T1>where\n    __T0: UnwindSafe,\n    __T1: UnwindSafe,",1,["hotshot_query_service::availability::InvalidTransactionIndexSnafu"]],["impl<__T0, __T1> UnwindSafe for LeafStreamSnafu<__T0, __T1>where\n    __T0: UnwindSafe,\n    __T1: UnwindSafe,",1,["hotshot_query_service::availability::LeafStreamSnafu"]],["impl<__T0, __T1> UnwindSafe for BlockStreamSnafu<__T0, __T1>where\n    __T0: UnwindSafe,\n    __T1: UnwindSafe,",1,["hotshot_query_service::availability::BlockStreamSnafu"]],["impl UnwindSafe for InvalidSignatureKeySnafu",1,["hotshot_query_service::availability::InvalidSignatureKeySnafu"]],["impl<__T0, __T1> UnwindSafe for CustomSnafu<__T0, __T1>where\n    __T0: UnwindSafe,\n    __T1: UnwindSafe,",1,["hotshot_query_service::availability::CustomSnafu"]],["impl<D, U> UnwindSafe for ExtensibleDataSource<D, U>where\n    D: UnwindSafe,\n    U: UnwindSafe,",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<Types> !UnwindSafe for FileSystemDataSource<Types>",1,["hotshot_query_service::data_source::fs::FileSystemDataSource"]],["impl !UnwindSafe for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl UnwindSafe for Config",1,["hotshot_query_service::data_source::sql::Config"]],["impl<Types> !UnwindSafe for SqlDataSource<Types>",1,["hotshot_query_service::data_source::sql::SqlDataSource"]],["impl<'a> !UnwindSafe for Transaction<'a>",1,["hotshot_query_service::data_source::sql::Transaction"]],["impl UnwindSafe for Error",1,["hotshot_query_service::error::Error"]],["impl !UnwindSafe for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl !UnwindSafe for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl UnwindSafe for Counter",1,["hotshot_query_service::metrics::Counter"]],["impl UnwindSafe for Gauge",1,["hotshot_query_service::metrics::Gauge"]],["impl UnwindSafe for Histogram",1,["hotshot_query_service::metrics::Histogram"]],["impl UnwindSafe for Label",1,["hotshot_query_service::metrics::Label"]],["impl UnwindSafe for MempoolQueryData",1,["hotshot_query_service::status::query_data::MempoolQueryData"]],["impl UnwindSafe for Options",1,["hotshot_query_service::status::Options"]],["impl UnwindSafe for Error",1,["hotshot_query_service::status::Error"]],["impl UnwindSafe for QueryError",1,["hotshot_query_service::QueryError"]],["impl UnwindSafe for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl UnwindSafe for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl<__T0> UnwindSafe for Snafu<__T0>where\n    __T0: UnwindSafe,",1,["hotshot_query_service::Snafu"]],["impl UnwindSafe for Options",1,["hotshot_query_service::Options"]]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/serde/de/trait.Deserialize.js b/trait.impl/serde/de/trait.Deserialize.js
index 14fbc3074..c10ba9410 100644
--- a/trait.impl/serde/de/trait.Deserialize.js
+++ b/trait.impl/serde/de/trait.Deserialize.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl<'de, Types: NodeType> Deserialize<'de> for TransactionQueryData<Types>where\n    Payload<Types>: QueryablePayload,"],["impl<'de, Types: NodeType> Deserialize<'de> for LeafQueryData<Types>"],["impl<'de> Deserialize<'de> for Error"],["impl<'de> Deserialize<'de> for Error"],["impl<'de, Types: NodeType> Deserialize<'de> for BlockQueryData<Types>"],["impl<'de> Deserialize<'de> for QueryError"],["impl<'de> Deserialize<'de> for MempoolQueryData"],["impl<'de> Deserialize<'de> for Error"]]
+"hotshot_query_service":[["impl<'de> Deserialize<'de> for MempoolQueryData"],["impl<'de> Deserialize<'de> for Error"],["impl<'de> Deserialize<'de> for Error"],["impl<'de, Types: NodeType> Deserialize<'de> for LeafQueryData<Types>"],["impl<'de, Types: NodeType> Deserialize<'de> for TransactionQueryData<Types>where\n    Payload<Types>: QueryablePayload,"],["impl<'de> Deserialize<'de> for Error"],["impl<'de, Types: NodeType> Deserialize<'de> for BlockQueryData<Types>"],["impl<'de> Deserialize<'de> for QueryError"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/serde/ser/trait.Serialize.js b/trait.impl/serde/ser/trait.Serialize.js
index 3e935275b..7e69f384b 100644
--- a/trait.impl/serde/ser/trait.Serialize.js
+++ b/trait.impl/serde/ser/trait.Serialize.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl Serialize for Error"],["impl Serialize for MempoolQueryData"],["impl Serialize for QueryError"],["impl<Types: NodeType> Serialize for LeafQueryData<Types>"],["impl Serialize for Error"],["impl<Types: NodeType> Serialize for TransactionQueryData<Types>where\n    Payload<Types>: QueryablePayload,"],["impl Serialize for Error"],["impl<Types: NodeType> Serialize for BlockQueryData<Types>"]]
+"hotshot_query_service":[["impl Serialize for MempoolQueryData"],["impl Serialize for Error"],["impl<Types: NodeType> Serialize for LeafQueryData<Types>"],["impl Serialize for Error"],["impl<Types: NodeType> Serialize for TransactionQueryData<Types>where\n    Payload<Types>: QueryablePayload,"],["impl Serialize for Error"],["impl<Types: NodeType> Serialize for BlockQueryData<Types>"],["impl Serialize for QueryError"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/snafu/trait.ErrorCompat.js b/trait.impl/snafu/trait.ErrorCompat.js
index 3147fcc2d..c464c03ea 100644
--- a/trait.impl/snafu/trait.ErrorCompat.js
+++ b/trait.impl/snafu/trait.ErrorCompat.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl ErrorCompat for MetricsError"],["impl ErrorCompat for Error"],["impl ErrorCompat for Error"],["impl ErrorCompat for Error"],["impl ErrorCompat for QueryError"],["impl<Types: NodeType> ErrorCompat for InconsistentLeafError<Types>"]]
+"hotshot_query_service":[["impl ErrorCompat for MetricsError"],["impl ErrorCompat for Error"],["impl<Types: NodeType> ErrorCompat for InconsistentLeafError<Types>"],["impl ErrorCompat for Error"],["impl ErrorCompat for QueryError"],["impl ErrorCompat for Error"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/snafu/trait.IntoError.js b/trait.impl/snafu/trait.IntoError.js
index 4a1fdb2bf..c98c5096b 100644
--- a/trait.impl/snafu/trait.IntoError.js
+++ b/trait.impl/snafu/trait.IntoError.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"hotshot_query_service":[["impl<__T0, __T1> IntoError<Error> for BlockStreamSnafu<__T0, __T1>where\n    Error: Error + ErrorCompat,\n    __T0: Into<usize>,\n    __T1: Into<String>,"],["impl<__T0> IntoError<Error> for QueryBlockSnafu<__T0>where\n    Error: Error + ErrorCompat,\n    __T0: Into<String>,"],["impl<__T0> IntoError<Error> for QueryLeafSnafu<__T0>where\n    Error: Error + ErrorCompat,\n    __T0: Into<String>,"],["impl<__T0> IntoError<QueryError> for Snafu<__T0>where\n    QueryError: Error + ErrorCompat,\n    __T0: Into<String>,"],["impl IntoError<Error> for StreamBlockSnafuwhere\n    Error: Error + ErrorCompat,"],["impl IntoError<Error> for StreamLeafSnafuwhere\n    Error: Error + ErrorCompat,"],["impl<__T0, __T1> IntoError<Error> for CustomSnafu<__T0, __T1>where\n    Error: Error + ErrorCompat,\n    __T0: Into<String>,\n    __T1: Into<StatusCode>,"],["impl<__T0, __T1> IntoError<Error> for LeafStreamSnafu<__T0, __T1>where\n    Error: Error + ErrorCompat,\n    __T0: Into<usize>,\n    __T1: Into<String>,"],["impl<__T0> IntoError<Error> for QueryProposalsSnafu<__T0>where\n    Error: Error + ErrorCompat,\n    __T0: Into<EncodedPublicKey>,"],["impl IntoError<Error> for RequestSnafuwhere\n    Error: Error + ErrorCompat,"],["impl IntoError<QueryError> for MissingSnafuwhere\n    QueryError: Error + ErrorCompat,"],["impl IntoError<QueryError> for NotFoundSnafuwhere\n    QueryError: Error + ErrorCompat,"],["impl<__T0, __T1> IntoError<Error> for InvalidTransactionIndexSnafu<__T0, __T1>where\n    Error: Error + ErrorCompat,\n    __T0: Into<u64>,\n    __T1: Into<u64>,"],["impl<__T0> IntoError<Error> for QueryTransactionSnafu<__T0>where\n    Error: Error + ErrorCompat,\n    __T0: Into<String>,"]]
+"hotshot_query_service":[["impl<__T0, __T1> IntoError<Error> for LeafStreamSnafu<__T0, __T1>where\n    Error: Error + ErrorCompat,\n    __T0: Into<usize>,\n    __T1: Into<String>,"],["impl<__T0, __T1> IntoError<Error> for BlockStreamSnafu<__T0, __T1>where\n    Error: Error + ErrorCompat,\n    __T0: Into<usize>,\n    __T1: Into<String>,"],["impl<__T0> IntoError<Error> for QueryProposalsSnafu<__T0>where\n    Error: Error + ErrorCompat,\n    __T0: Into<EncodedPublicKey>,"],["impl<__T0> IntoError<Error> for QueryBlockSnafu<__T0>where\n    Error: Error + ErrorCompat,\n    __T0: Into<String>,"],["impl IntoError<Error> for InvalidSignatureKeySnafuwhere\n    Error: Error + ErrorCompat,"],["impl<__T0> IntoError<Error> for QueryLeafSnafu<__T0>where\n    Error: Error + ErrorCompat,\n    __T0: Into<String>,"],["impl<__T0, __T1> IntoError<Error> for InvalidTransactionIndexSnafu<__T0, __T1>where\n    Error: Error + ErrorCompat,\n    __T0: Into<u64>,\n    __T1: Into<u64>,"],["impl IntoError<QueryError> for NotFoundSnafuwhere\n    QueryError: Error + ErrorCompat,"],["impl<__T0> IntoError<Error> for QueryTransactionSnafu<__T0>where\n    Error: Error + ErrorCompat,\n    __T0: Into<String>,"],["impl IntoError<Error> for StreamBlockSnafuwhere\n    Error: Error + ErrorCompat,"],["impl IntoError<Error> for RequestSnafuwhere\n    Error: Error + ErrorCompat,"],["impl<__T0> IntoError<QueryError> for Snafu<__T0>where\n    QueryError: Error + ErrorCompat,\n    __T0: Into<String>,"],["impl IntoError<Error> for StreamLeafSnafuwhere\n    Error: Error + ErrorCompat,"],["impl IntoError<QueryError> for MissingSnafuwhere\n    QueryError: Error + ErrorCompat,"],["impl<__T0, __T1> IntoError<Error> for CustomSnafu<__T0, __T1>where\n    Error: Error + ErrorCompat,\n    __T0: Into<String>,\n    __T1: Into<StatusCode>,"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/type.impl/commit/struct.Commitment.js b/type.impl/commit/struct.Commitment.js
index 420d8440d..f5dff7d2a 100644
--- a/type.impl/commit/struct.Commitment.js
+++ b/type.impl/commit/struct.Commitment.js
@@ -1,3 +1,3 @@
 (function() {var type_impls = {
-"hotshot_query_service":[["
§

impl<T> Commitment<T>where\n T: Committable + ?Sized,

pub fn into_bits(self) -> BitVec<u8>

",0,"hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> Debug for Commitment<T>where\n T: Committable + ?Sized,

§

fn fmt(&self, __f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> CommitmentBounds for Commitment<T>where\n T: Committable + 'static,

","CommitmentBounds","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> CommitmentBoundsSerdeless for Commitment<T>where\n T: Committable + 'static,

","CommitmentBoundsSerdeless","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> Clone for Commitment<T>where\n T: Committable + ?Sized,

§

fn clone(&self) -> Commitment<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> Eq for Commitment<T>where\n T: Committable + ?Sized,

","Eq","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> PartialOrd for Commitment<T>where\n T: Committable + ?Sized,

§

fn partial_cmp(&self, other: &Commitment<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <=\noperator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >=\noperator. Read more
","PartialOrd","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> CommitmentBoundsArkless for Commitment<T>where\n T: Committable + 'static,

§

fn default_commitment_no_preimage() -> Commitment<T>

Create a default commitment with no preimage. Read more
","CommitmentBoundsArkless","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> CanonicalDeserialize for Commitment<T>where\n T: Committable + ?Sized,

§

fn deserialize_with_mode<R>(\n reader: R,\n compress: Compress,\n validate: Validate\n) -> Result<Commitment<T>, SerializationError>where\n R: Read,

The general deserialize method that takes in customization flags.
§

fn deserialize_compressed<R>(reader: R) -> Result<Self, SerializationError>where\n R: Read,

§

fn deserialize_compressed_unchecked<R>(\n reader: R\n) -> Result<Self, SerializationError>where\n R: Read,

§

fn deserialize_uncompressed<R>(reader: R) -> Result<Self, SerializationError>where\n R: Read,

§

fn deserialize_uncompressed_unchecked<R>(\n reader: R\n) -> Result<Self, SerializationError>where\n R: Read,

","CanonicalDeserialize","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> AsRef<PhantomData<fn(_: &T)>> for Commitment<T>where\n T: Committable + ?Sized,

§

fn as_ref(&self) -> &PhantomData<fn(_: &T)>

Converts this type into a shared reference of the (usually inferred) input type.
","AsRef>","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> AsRef<[u8]> for Commitment<T>where\n T: Committable + ?Sized,

§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
","AsRef<[u8]>","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> AsRef<[u8; 32]> for Commitment<T>where\n T: Committable + ?Sized,

§

fn as_ref(&self) -> &[u8; 32]

Converts this type into a shared reference of the (usually inferred) input type.
","AsRef<[u8; 32]>","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> Copy for Commitment<T>where\n T: Committable + ?Sized,

","Copy","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> Ord for Commitment<T>where\n T: Committable + ?Sized,

§

fn cmp(&self, other: &Commitment<T>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere\n Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
","Ord","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> Serialize for Commitment<T>where\n T: Committable + ?Sized,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> Display for Commitment<T>where\n T: Committable + ?Sized,

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Display","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> FromStr for Commitment<T>where\n T: Committable + ?Sized,

§

type Err = Tb64Error

The associated error which can be returned from parsing.
§

fn from_str(s: &str) -> Result<Commitment<T>, <Commitment<T> as FromStr>::Err>

Parses a string s to return a value of this type. Read more
","FromStr","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> PartialEq for Commitment<T>where\n T: Committable + ?Sized,

§

fn eq(&self, other: &Commitment<T>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<'de, T> Deserialize<'de> for Commitment<T>where\n T: Committable + ?Sized,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<Commitment<T>, <__D as Deserializer<'de>>::Error>where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> Valid for Commitment<T>where\n T: Committable + ?Sized,

§

fn check(&self) -> Result<(), SerializationError>

§

fn batch_check<'a>(\n batch: impl Iterator<Item = &'a Commitment<T>> + Send\n) -> Result<(), SerializationError>where\n Commitment<T>: 'a,

","Valid","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> CanonicalSerialize for Commitment<T>where\n T: Committable + ?Sized,

§

fn serialize_with_mode<W>(\n &self,\n writer: W,\n compress: Compress\n) -> Result<(), SerializationError>where\n W: Write,

The general serialize method that takes in customization flags.
§

fn serialized_size(&self, compress: Compress) -> usize

§

fn serialize_compressed<W>(&self, writer: W) -> Result<(), SerializationError>where\n W: Write,

§

fn compressed_size(&self) -> usize

§

fn serialize_uncompressed<W>(&self, writer: W) -> Result<(), SerializationError>where\n W: Write,

§

fn uncompressed_size(&self) -> usize

","CanonicalSerialize","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> Hash for Commitment<T>where\n T: Committable + ?Sized,

§

fn hash<__HT>(&self, __state: &mut __HT)where\n __HT: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<'a, T> Arbitrary<'a> for Commitment<T>where\n T: Committable + ?Sized,

§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Commitment<T>, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given\nunstructured data. Read more
§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type\nneeds to construct itself. Read more
","Arbitrary<'a>","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> Tagged for Commitment<T>where\n T: Committable + ?Sized,

§

fn tag() -> String

","Tagged","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> TryFrom<TaggedBase64> for Commitment<T>where\n T: Committable + ?Sized,

§

type Error = Tb64Error

The type returned in the event of a conversion error.
§

fn try_from(\n v: TaggedBase64\n) -> Result<Commitment<T>, <Commitment<T> as TryFrom<TaggedBase64>>::Error>

Performs the conversion.
","TryFrom","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> TryFrom<&TaggedBase64> for Commitment<T>where\n T: Committable + ?Sized,

§

type Error = Tb64Error

The type returned in the event of a conversion error.
§

fn try_from(\n v: &TaggedBase64\n) -> Result<Commitment<T>, <Commitment<T> as TryFrom<&TaggedBase64>>::Error>

Performs the conversion.
","TryFrom<&TaggedBase64>","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"]] +"hotshot_query_service":[["
§

impl<T> Commitment<T>where\n T: Committable + ?Sized,

pub fn into_bits(self) -> BitVec<u8>

",0,"hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> Debug for Commitment<T>where\n T: Committable + ?Sized,

§

fn fmt(&self, __f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> CanonicalDeserialize for Commitment<T>where\n T: Committable + ?Sized,

§

fn deserialize_with_mode<R>(\n reader: R,\n compress: Compress,\n validate: Validate\n) -> Result<Commitment<T>, SerializationError>where\n R: Read,

The general deserialize method that takes in customization flags.
§

fn deserialize_compressed<R>(reader: R) -> Result<Self, SerializationError>where\n R: Read,

§

fn deserialize_compressed_unchecked<R>(\n reader: R\n) -> Result<Self, SerializationError>where\n R: Read,

§

fn deserialize_uncompressed<R>(reader: R) -> Result<Self, SerializationError>where\n R: Read,

§

fn deserialize_uncompressed_unchecked<R>(\n reader: R\n) -> Result<Self, SerializationError>where\n R: Read,

","CanonicalDeserialize","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> CommitmentBounds for Commitment<T>where\n T: Committable + 'static,

","CommitmentBounds","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> Clone for Commitment<T>where\n T: Committable + ?Sized,

§

fn clone(&self) -> Commitment<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> Eq for Commitment<T>where\n T: Committable + ?Sized,

","Eq","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> PartialOrd for Commitment<T>where\n T: Committable + ?Sized,

§

fn partial_cmp(&self, other: &Commitment<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <=\noperator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >=\noperator. Read more
","PartialOrd","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> CommitmentBoundsArkless for Commitment<T>where\n T: Committable + 'static,

§

fn default_commitment_no_preimage() -> Commitment<T>

Create a default commitment with no preimage. Read more
","CommitmentBoundsArkless","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> CommitmentBoundsSerdeless for Commitment<T>where\n T: Committable + 'static,

","CommitmentBoundsSerdeless","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> AsRef<[u8]> for Commitment<T>where\n T: Committable + ?Sized,

§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
","AsRef<[u8]>","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> AsRef<PhantomData<fn(_: &T)>> for Commitment<T>where\n T: Committable + ?Sized,

§

fn as_ref(&self) -> &PhantomData<fn(_: &T)>

Converts this type into a shared reference of the (usually inferred) input type.
","AsRef>","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> AsRef<[u8; 32]> for Commitment<T>where\n T: Committable + ?Sized,

§

fn as_ref(&self) -> &[u8; 32]

Converts this type into a shared reference of the (usually inferred) input type.
","AsRef<[u8; 32]>","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> Copy for Commitment<T>where\n T: Committable + ?Sized,

","Copy","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> Ord for Commitment<T>where\n T: Committable + ?Sized,

§

fn cmp(&self, other: &Commitment<T>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere\n Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
","Ord","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> CanonicalSerialize for Commitment<T>where\n T: Committable + ?Sized,

§

fn serialize_with_mode<W>(\n &self,\n writer: W,\n compress: Compress\n) -> Result<(), SerializationError>where\n W: Write,

The general serialize method that takes in customization flags.
§

fn serialized_size(&self, compress: Compress) -> usize

§

fn serialize_compressed<W>(&self, writer: W) -> Result<(), SerializationError>where\n W: Write,

§

fn compressed_size(&self) -> usize

§

fn serialize_uncompressed<W>(&self, writer: W) -> Result<(), SerializationError>where\n W: Write,

§

fn uncompressed_size(&self) -> usize

","CanonicalSerialize","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> Display for Commitment<T>where\n T: Committable + ?Sized,

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Display","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> FromStr for Commitment<T>where\n T: Committable + ?Sized,

§

type Err = Tb64Error

The associated error which can be returned from parsing.
§

fn from_str(s: &str) -> Result<Commitment<T>, <Commitment<T> as FromStr>::Err>

Parses a string s to return a value of this type. Read more
","FromStr","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> PartialEq for Commitment<T>where\n T: Committable + ?Sized,

§

fn eq(&self, other: &Commitment<T>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> Valid for Commitment<T>where\n T: Committable + ?Sized,

§

fn check(&self) -> Result<(), SerializationError>

§

fn batch_check<'a>(\n batch: impl Iterator<Item = &'a Commitment<T>> + Send\n) -> Result<(), SerializationError>where\n Commitment<T>: 'a,

","Valid","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> Serialize for Commitment<T>where\n T: Committable + ?Sized,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> Tagged for Commitment<T>where\n T: Committable + ?Sized,

§

fn tag() -> String

","Tagged","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> Hash for Commitment<T>where\n T: Committable + ?Sized,

§

fn hash<__HT>(&self, __state: &mut __HT)where\n __HT: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<'a, T> Arbitrary<'a> for Commitment<T>where\n T: Committable + ?Sized,

§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Commitment<T>, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given\nunstructured data. Read more
§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type\nneeds to construct itself. Read more
","Arbitrary<'a>","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<'de, T> Deserialize<'de> for Commitment<T>where\n T: Committable + ?Sized,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<Commitment<T>, <__D as Deserializer<'de>>::Error>where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> TryFrom<&TaggedBase64> for Commitment<T>where\n T: Committable + ?Sized,

§

type Error = Tb64Error

The type returned in the event of a conversion error.
§

fn try_from(\n v: &TaggedBase64\n) -> Result<Commitment<T>, <Commitment<T> as TryFrom<&TaggedBase64>>::Error>

Performs the conversion.
","TryFrom<&TaggedBase64>","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"],["
§

impl<T> TryFrom<TaggedBase64> for Commitment<T>where\n T: Committable + ?Sized,

§

type Error = Tb64Error

The type returned in the event of a conversion error.
§

fn try_from(\n v: TaggedBase64\n) -> Result<Commitment<T>, <Commitment<T> as TryFrom<TaggedBase64>>::Error>

Performs the conversion.
","TryFrom","hotshot_query_service::availability::query_data::LeafHash","hotshot_query_service::availability::query_data::BlockHash","hotshot_query_service::availability::query_data::TransactionHash"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/type.impl/core/result/enum.Result.js b/type.impl/core/result/enum.Result.js index 592369a2a..73be28786 100644 --- a/type.impl/core/result/enum.Result.js +++ b/type.impl/core/result/enum.Result.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"hotshot_query_service":[["
source§

impl<T, E> Result<T, E>

1.0.0 (const: 1.48.0) · source

pub const fn is_ok(&self) -> bool

Returns true if the result is Ok.

\n
Examples
\n
let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_ok(), true);\n\nlet x: Result<i32, &str> = Err("Some error message");\nassert_eq!(x.is_ok(), false);
\n
1.70.0 · source

pub fn is_ok_and(self, f: impl FnOnce(T) -> bool) -> bool

Returns true if the result is Ok and the value inside of it matches a predicate.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.is_ok_and(|x| x > 1), true);\n\nlet x: Result<u32, &str> = Ok(0);\nassert_eq!(x.is_ok_and(|x| x > 1), false);\n\nlet x: Result<u32, &str> = Err("hey");\nassert_eq!(x.is_ok_and(|x| x > 1), false);
\n
1.0.0 (const: 1.48.0) · source

pub const fn is_err(&self) -> bool

Returns true if the result is Err.

\n
Examples
\n
let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_err(), false);\n\nlet x: Result<i32, &str> = Err("Some error message");\nassert_eq!(x.is_err(), true);
\n
1.70.0 · source

pub fn is_err_and(self, f: impl FnOnce(E) -> bool) -> bool

Returns true if the result is Err and the value inside of it matches a predicate.

\n
Examples
\n
use std::io::{Error, ErrorKind};\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::NotFound, "!"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), true);\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::PermissionDenied, "!"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);\n\nlet x: Result<u32, Error> = Ok(123);\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);
\n
1.0.0 · source

pub fn ok(self) -> Option<T>

Converts from Result<T, E> to Option<T>.

\n

Converts self into an Option<T>, consuming self,\nand discarding the error, if any.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.ok(), Some(2));\n\nlet x: Result<u32, &str> = Err("Nothing here");\nassert_eq!(x.ok(), None);
\n
1.0.0 · source

pub fn err(self) -> Option<E>

Converts from Result<T, E> to Option<E>.

\n

Converts self into an Option<E>, consuming self,\nand discarding the success value, if any.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.err(), None);\n\nlet x: Result<u32, &str> = Err("Nothing here");\nassert_eq!(x.err(), Some("Nothing here"));
\n
1.0.0 (const: 1.48.0) · source

pub const fn as_ref(&self) -> Result<&T, &E>

Converts from &Result<T, E> to Result<&T, &E>.

\n

Produces a new Result, containing a reference\ninto the original, leaving the original in place.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.as_ref(), Ok(&2));\n\nlet x: Result<u32, &str> = Err("Error");\nassert_eq!(x.as_ref(), Err(&"Error"));
\n
1.0.0 (const: unstable) · source

pub fn as_mut(&mut self) -> Result<&mut T, &mut E>

Converts from &mut Result<T, E> to Result<&mut T, &mut E>.

\n
Examples
\n
fn mutate(r: &mut Result<i32, i32>) {\n    match r.as_mut() {\n        Ok(v) => *v = 42,\n        Err(e) => *e = 0,\n    }\n}\n\nlet mut x: Result<i32, i32> = Ok(2);\nmutate(&mut x);\nassert_eq!(x.unwrap(), 42);\n\nlet mut x: Result<i32, i32> = Err(13);\nmutate(&mut x);\nassert_eq!(x.unwrap_err(), 0);
\n
1.0.0 · source

pub fn map<U, F>(self, op: F) -> Result<U, E>where\n F: FnOnce(T) -> U,

Maps a Result<T, E> to Result<U, E> by applying a function to a\ncontained Ok value, leaving an Err value untouched.

\n

This function can be used to compose the results of two functions.

\n
Examples
\n

Print the numbers on each line of a string multiplied by two.

\n\n
let line = "1\\n2\\n3\\n4\\n";\n\nfor num in line.lines() {\n    match num.parse::<i32>().map(|i| i * 2) {\n        Ok(n) => println!("{n}"),\n        Err(..) => {}\n    }\n}
\n
1.41.0 · source

pub fn map_or<U, F>(self, default: U, f: F) -> Uwhere\n F: FnOnce(T) -> U,

Returns the provided default (if Err), or\napplies a function to the contained value (if Ok).

\n

Arguments passed to map_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use map_or_else,\nwhich is lazily evaluated.

\n
Examples
\n
let x: Result<_, &str> = Ok("foo");\nassert_eq!(x.map_or(42, |v| v.len()), 3);\n\nlet x: Result<&str, _> = Err("bar");\nassert_eq!(x.map_or(42, |v| v.len()), 42);
\n
1.41.0 · source

pub fn map_or_else<U, D, F>(self, default: D, f: F) -> Uwhere\n D: FnOnce(E) -> U,\n F: FnOnce(T) -> U,

Maps a Result<T, E> to U by applying fallback function default to\na contained Err value, or function f to a contained Ok value.

\n

This function can be used to unpack a successful result\nwhile handling an error.

\n
Examples
\n
let k = 21;\n\nlet x : Result<_, &str> = Ok("foo");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 3);\n\nlet x : Result<&str, _> = Err("bar");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 42);
\n
1.0.0 · source

pub fn map_err<F, O>(self, op: O) -> Result<T, F>where\n O: FnOnce(E) -> F,

Maps a Result<T, E> to Result<T, F> by applying a function to a\ncontained Err value, leaving an Ok value untouched.

\n

This function can be used to pass through a successful result while handling\nan error.

\n
Examples
\n
fn stringify(x: u32) -> String { format!("error code: {x}") }\n\nlet x: Result<u32, u32> = Ok(2);\nassert_eq!(x.map_err(stringify), Ok(2));\n\nlet x: Result<u32, u32> = Err(13);\nassert_eq!(x.map_err(stringify), Err("error code: 13".to_string()));
\n
source

pub fn inspect<F>(self, f: F) -> Result<T, E>where\n F: FnOnce(&T),

🔬This is a nightly-only experimental API. (result_option_inspect)

Calls the provided closure with a reference to the contained value (if Ok).

\n
Examples
\n
#![feature(result_option_inspect)]\n\nlet x: u8 = "4"\n    .parse::<u8>()\n    .inspect(|x| println!("original: {x}"))\n    .map(|x| x.pow(3))\n    .expect("failed to parse number");
\n
source

pub fn inspect_err<F>(self, f: F) -> Result<T, E>where\n F: FnOnce(&E),

🔬This is a nightly-only experimental API. (result_option_inspect)

Calls the provided closure with a reference to the contained error (if Err).

\n
Examples
\n
#![feature(result_option_inspect)]\n\nuse std::{fs, io};\n\nfn read() -> io::Result<String> {\n    fs::read_to_string("address.txt")\n        .inspect_err(|e| eprintln!("failed to read file: {e}"))\n}
\n
1.47.0 · source

pub fn as_deref(&self) -> Result<&<T as Deref>::Target, &E>where\n T: Deref,

Converts from Result<T, E> (or &Result<T, E>) to Result<&<T as Deref>::Target, &E>.

\n

Coerces the Ok variant of the original Result via Deref\nand returns the new Result.

\n
Examples
\n
let x: Result<String, u32> = Ok("hello".to_string());\nlet y: Result<&str, &u32> = Ok("hello");\nassert_eq!(x.as_deref(), y);\n\nlet x: Result<String, u32> = Err(42);\nlet y: Result<&str, &u32> = Err(&42);\nassert_eq!(x.as_deref(), y);
\n
1.47.0 · source

pub fn as_deref_mut(&mut self) -> Result<&mut <T as Deref>::Target, &mut E>where\n T: DerefMut,

Converts from Result<T, E> (or &mut Result<T, E>) to Result<&mut <T as DerefMut>::Target, &mut E>.

\n

Coerces the Ok variant of the original Result via DerefMut\nand returns the new Result.

\n
Examples
\n
let mut s = "HELLO".to_string();\nlet mut x: Result<String, u32> = Ok("hello".to_string());\nlet y: Result<&mut str, &mut u32> = Ok(&mut s);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);\n\nlet mut i = 42;\nlet mut x: Result<String, u32> = Err(42);\nlet y: Result<&mut str, &mut u32> = Err(&mut i);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);
\n
1.0.0 · source

pub fn iter(&self) -> Iter<'_, T>

Returns an iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let x: Result<u32, &str> = Ok(7);\nassert_eq!(x.iter().next(), Some(&7));\n\nlet x: Result<u32, &str> = Err("nothing!");\nassert_eq!(x.iter().next(), None);
\n
1.0.0 · source

pub fn iter_mut(&mut self) -> IterMut<'_, T>

Returns a mutable iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let mut x: Result<u32, &str> = Ok(7);\nmatch x.iter_mut().next() {\n    Some(v) => *v = 40,\n    None => {},\n}\nassert_eq!(x, Ok(40));\n\nlet mut x: Result<u32, &str> = Err("nothing!");\nassert_eq!(x.iter_mut().next(), None);
\n
1.4.0 · source

pub fn expect(self, msg: &str) -> Twhere\n E: Debug,

Returns the contained Ok value, consuming the self value.

\n

Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

\n
Panics
\n

Panics if the value is an Err, with a panic message including the\npassed message, and the content of the Err.

\n
Examples
\n
let x: Result<u32, &str> = Err("emergency failure");\nx.expect("Testing expect"); // panics with `Testing expect: emergency failure`
\n
Recommended Message Style
\n

We recommend that expect messages are used to describe the reason you\nexpect the Result should be Ok.

\n\n
let path = std::env::var("IMPORTANT_PATH")\n    .expect("env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`");
\n

Hint: If you’re having trouble remembering how to phrase expect\nerror messages remember to focus on the word “should” as in “env\nvariable should be set by blah” or “the given binary should be available\nand executable by the current user”.

\n

For more detail on expect message styles and the reasoning behind our recommendation please\nrefer to the section on “Common Message\nStyles” in the\nstd::error module docs.

\n
1.0.0 · source

pub fn unwrap(self) -> Twhere\n E: Debug,

Returns the contained Ok value, consuming the self value.

\n

Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

\n
Panics
\n

Panics if the value is an Err, with a panic message provided by the\nErr’s value.

\n
Examples
\n

Basic usage:

\n\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.unwrap(), 2);
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nx.unwrap(); // panics with `emergency failure`
\n
1.16.0 · source

pub fn unwrap_or_default(self) -> Twhere\n T: Default,

Returns the contained Ok value or a default

\n

Consumes the self argument then, if Ok, returns the contained\nvalue, otherwise if Err, returns the default value for that\ntype.

\n
Examples
\n

Converts a string to an integer, turning poorly-formed strings\ninto 0 (the default value for integers). parse converts\na string to any other type that implements FromStr, returning an\nErr on error.

\n\n
let good_year_from_input = "1909";\nlet bad_year_from_input = "190blarg";\nlet good_year = good_year_from_input.parse().unwrap_or_default();\nlet bad_year = bad_year_from_input.parse().unwrap_or_default();\n\nassert_eq!(1909, good_year);\nassert_eq!(0, bad_year);
\n
1.17.0 · source

pub fn expect_err(self, msg: &str) -> Ewhere\n T: Debug,

Returns the contained Err value, consuming the self value.

\n
Panics
\n

Panics if the value is an Ok, with a panic message including the\npassed message, and the content of the Ok.

\n
Examples
\n
let x: Result<u32, &str> = Ok(10);\nx.expect_err("Testing expect_err"); // panics with `Testing expect_err: 10`
\n
1.0.0 · source

pub fn unwrap_err(self) -> Ewhere\n T: Debug,

Returns the contained Err value, consuming the self value.

\n
Panics
\n

Panics if the value is an Ok, with a custom panic message provided\nby the Ok’s value.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nx.unwrap_err(); // panics with `2`
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nassert_eq!(x.unwrap_err(), "emergency failure");
\n
source

pub fn into_ok(self) -> Twhere\n E: Into<!>,

🔬This is a nightly-only experimental API. (unwrap_infallible)

Returns the contained Ok value, but never panics.

\n

Unlike unwrap, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap as a maintainability safeguard that will fail\nto compile if the error type of the Result is later changed\nto an error that can actually occur.

\n
Examples
\n
\nfn only_good_news() -> Result<String, !> {\n    Ok("this is fine".into())\n}\n\nlet s: String = only_good_news().into_ok();\nprintln!("{s}");
\n
source

pub fn into_err(self) -> Ewhere\n T: Into<!>,

🔬This is a nightly-only experimental API. (unwrap_infallible)

Returns the contained Err value, but never panics.

\n

Unlike unwrap_err, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap_err as a maintainability safeguard that will fail\nto compile if the ok type of the Result is later changed\nto a type that can actually occur.

\n
Examples
\n
\nfn only_bad_news() -> Result<!, String> {\n    Err("Oops, it failed".into())\n}\n\nlet error: String = only_bad_news().into_err();\nprintln!("{error}");
\n
1.0.0 · source

pub fn and<U>(self, res: Result<U, E>) -> Result<U, E>

Returns res if the result is Ok, otherwise returns the Err value of self.

\n

Arguments passed to and are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use and_then, which is\nlazily evaluated.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Err("late error");\nassert_eq!(x.and(y), Err("late error"));\n\nlet x: Result<u32, &str> = Err("early error");\nlet y: Result<&str, &str> = Ok("foo");\nassert_eq!(x.and(y), Err("early error"));\n\nlet x: Result<u32, &str> = Err("not a 2");\nlet y: Result<&str, &str> = Err("late error");\nassert_eq!(x.and(y), Err("not a 2"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Ok("different result type");\nassert_eq!(x.and(y), Ok("different result type"));
\n
1.0.0 · source

pub fn and_then<U, F>(self, op: F) -> Result<U, E>where\n F: FnOnce(T) -> Result<U, E>,

Calls op if the result is Ok, otherwise returns the Err value of self.

\n

This function can be used for control flow based on Result values.

\n
Examples
\n
fn sq_then_to_string(x: u32) -> Result<String, &'static str> {\n    x.checked_mul(x).map(|sq| sq.to_string()).ok_or("overflowed")\n}\n\nassert_eq!(Ok(2).and_then(sq_then_to_string), Ok(4.to_string()));\nassert_eq!(Ok(1_000_000).and_then(sq_then_to_string), Err("overflowed"));\nassert_eq!(Err("not a number").and_then(sq_then_to_string), Err("not a number"));
\n

Often used to chain fallible operations that may return Err.

\n\n
use std::{io::ErrorKind, path::Path};\n\n// Note: on Windows "/" maps to "C:\\"\nlet root_modified_time = Path::new("/").metadata().and_then(|md| md.modified());\nassert!(root_modified_time.is_ok());\n\nlet should_fail = Path::new("/bad/path").metadata().and_then(|md| md.modified());\nassert!(should_fail.is_err());\nassert_eq!(should_fail.unwrap_err().kind(), ErrorKind::NotFound);
\n
1.0.0 · source

pub fn or<F>(self, res: Result<T, F>) -> Result<T, F>

Returns res if the result is Err, otherwise returns the Ok value of self.

\n

Arguments passed to or are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use or_else, which is\nlazily evaluated.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Err("late error");\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err("early error");\nlet y: Result<u32, &str> = Ok(2);\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err("not a 2");\nlet y: Result<u32, &str> = Err("late error");\nassert_eq!(x.or(y), Err("late error"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Ok(100);\nassert_eq!(x.or(y), Ok(2));
\n
1.0.0 · source

pub fn or_else<F, O>(self, op: O) -> Result<T, F>where\n O: FnOnce(E) -> Result<T, F>,

Calls op if the result is Err, otherwise returns the Ok value of self.

\n

This function can be used for control flow based on result values.

\n
Examples
\n
fn sq(x: u32) -> Result<u32, u32> { Ok(x * x) }\nfn err(x: u32) -> Result<u32, u32> { Err(x) }\n\nassert_eq!(Ok(2).or_else(sq).or_else(sq), Ok(2));\nassert_eq!(Ok(2).or_else(err).or_else(sq), Ok(2));\nassert_eq!(Err(3).or_else(sq).or_else(err), Ok(9));\nassert_eq!(Err(3).or_else(err).or_else(err), Err(3));
\n
1.0.0 · source

pub fn unwrap_or(self, default: T) -> T

Returns the contained Ok value or a provided default.

\n

Arguments passed to unwrap_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use unwrap_or_else,\nwhich is lazily evaluated.

\n
Examples
\n
let default = 2;\nlet x: Result<u32, &str> = Ok(9);\nassert_eq!(x.unwrap_or(default), 9);\n\nlet x: Result<u32, &str> = Err("error");\nassert_eq!(x.unwrap_or(default), default);
\n
1.0.0 · source

pub fn unwrap_or_else<F>(self, op: F) -> Twhere\n F: FnOnce(E) -> T,

Returns the contained Ok value or computes it from a closure.

\n
Examples
\n
fn count(x: &str) -> usize { x.len() }\n\nassert_eq!(Ok(2).unwrap_or_else(count), 2);\nassert_eq!(Err("foo").unwrap_or_else(count), 3);
\n
1.58.0 · source

pub unsafe fn unwrap_unchecked(self) -> T

Returns the contained Ok value, consuming the self value,\nwithout checking that the value is not an Err.

\n
Safety
\n

Calling this method on an Err is undefined behavior.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(unsafe { x.unwrap_unchecked() }, 2);
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nunsafe { x.unwrap_unchecked(); } // Undefined behavior!
\n
1.58.0 · source

pub unsafe fn unwrap_err_unchecked(self) -> E

Returns the contained Err value, consuming the self value,\nwithout checking that the value is not an Ok.

\n
Safety
\n

Calling this method on an Ok is undefined behavior.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nunsafe { x.unwrap_err_unchecked() }; // Undefined behavior!
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nassert_eq!(unsafe { x.unwrap_err_unchecked() }, "emergency failure");
\n
",0,"hotshot_query_service::QueryResult"],["
source§

impl<T, E> Result<&T, E>

1.59.0 · source

pub fn copied(self) -> Result<T, E>where\n T: Copy,

Maps a Result<&T, E> to a Result<T, E> by copying the contents of the\nOk part.

\n
Examples
\n
let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
\n
1.59.0 · source

pub fn cloned(self) -> Result<T, E>where\n T: Clone,

Maps a Result<&T, E> to a Result<T, E> by cloning the contents of the\nOk part.

\n
Examples
\n
let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
\n
",0,"hotshot_query_service::QueryResult"],["
source§

impl<T, E> Result<&mut T, E>

1.59.0 · source

pub fn copied(self) -> Result<T, E>where\n T: Copy,

Maps a Result<&mut T, E> to a Result<T, E> by copying the contents of the\nOk part.

\n
Examples
\n
let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
\n
1.59.0 · source

pub fn cloned(self) -> Result<T, E>where\n T: Clone,

Maps a Result<&mut T, E> to a Result<T, E> by cloning the contents of the\nOk part.

\n
Examples
\n
let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
\n
",0,"hotshot_query_service::QueryResult"],["
source§

impl<T, E> Result<Option<T>, E>

1.33.0 (const: unstable) · source

pub fn transpose(self) -> Option<Result<T, E>>

Transposes a Result of an Option into an Option of a Result.

\n

Ok(None) will be mapped to None.\nOk(Some(_)) and Err(_) will be mapped to Some(Ok(_)) and Some(Err(_)).

\n
Examples
\n
#[derive(Debug, Eq, PartialEq)]\nstruct SomeErr;\n\nlet x: Result<Option<i32>, SomeErr> = Ok(Some(5));\nlet y: Option<Result<i32, SomeErr>> = Some(Ok(5));\nassert_eq!(x.transpose(), y);
\n
",0,"hotshot_query_service::QueryResult"],["
source§

impl<T, E> Result<Result<T, E>, E>

source

pub fn flatten(self) -> Result<T, E>

🔬This is a nightly-only experimental API. (result_flattening)

Converts from Result<Result<T, E>, E> to Result<T, E>

\n
Examples
\n
#![feature(result_flattening)]\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Ok("hello"));\nassert_eq!(Ok("hello"), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Err(6));\nassert_eq!(Err(6), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Err(6);\nassert_eq!(Err(6), x.flatten());
\n

Flattening only removes one level of nesting at a time:

\n\n
#![feature(result_flattening)]\nlet x: Result<Result<Result<&'static str, u32>, u32>, u32> = Ok(Ok(Ok("hello")));\nassert_eq!(Ok(Ok("hello")), x.flatten());\nassert_eq!(Ok("hello"), x.flatten().flatten());
\n
",0,"hotshot_query_service::QueryResult"],["
1.61.0 · source§

impl<T, E> Termination for Result<T, E>where\n T: Termination,\n E: Debug,

source§

fn report(self) -> ExitCode

Is called to get the representation of the value as status code.\nThis status code is returned to the operating system.
","Termination","hotshot_query_service::QueryResult"],["
source§

impl<T, E, F> FromResidual<Yeet<E>> for Result<T, F>where\n F: From<E>,

source§

fn from_residual(_: Yeet<E>) -> Result<T, F>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from a compatible Residual type. Read more
","FromResidual>","hotshot_query_service::QueryResult"],["
source§

impl<T, E, F> FromResidual<Result<Infallible, E>> for Result<T, F>where\n F: From<E>,

source§

fn from_residual(residual: Result<Infallible, E>) -> Result<T, F>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from a compatible Residual type. Read more
","FromResidual>","hotshot_query_service::QueryResult"],["
source§

impl<T, E> Try for Result<T, E>

§

type Output = T

🔬This is a nightly-only experimental API. (try_trait_v2)
The type of the value produced by ? when not short-circuiting.
§

type Residual = Result<Infallible, E>

🔬This is a nightly-only experimental API. (try_trait_v2)
The type of the value passed to FromResidual::from_residual\nas part of ? when short-circuiting. Read more
source§

fn from_output(output: <Result<T, E> as Try>::Output) -> Result<T, E>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from its Output type. Read more
source§

fn branch(\n self\n) -> ControlFlow<<Result<T, E> as Try>::Residual, <Result<T, E> as Try>::Output>

🔬This is a nightly-only experimental API. (try_trait_v2)
Used in ? to decide whether the operator should produce a value\n(because this returned ControlFlow::Continue)\nor propagate a value back to the caller\n(because this returned ControlFlow::Break). Read more
","Try","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> StructuralEq for Result<T, E>

","StructuralEq","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> Eq for Result<T, E>where\n T: Eq,\n E: Eq,

","Eq","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<A, E, V> FromIterator<Result<A, E>> for Result<V, E>where\n V: FromIterator<A>,

source§

fn from_iter<I>(iter: I) -> Result<V, E>where\n I: IntoIterator<Item = Result<A, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err occur, a\ncontainer with the values of each Result is returned.

\n

Here is an example which increments every integer in a vector,\nchecking for overflow:

\n\n
let v = vec![1, 2];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_add(1).ok_or("Overflow!")\n).collect();\nassert_eq!(res, Ok(vec![2, 3]));
\n

Here is another example that tries to subtract one from another list\nof integers, this time checking for underflow:

\n\n
let v = vec![1, 2, 0];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_sub(1).ok_or("Underflow!")\n).collect();\nassert_eq!(res, Err("Underflow!"));
\n

Here is a variation on the previous example, showing that no\nfurther elements are taken from iter after the first Err.

\n\n
let v = vec![3, 2, 1, 10];\nlet mut shared = 0;\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32| {\n    shared += x;\n    x.checked_sub(2).ok_or("Underflow!")\n}).collect();\nassert_eq!(res, Err("Underflow!"));\nassert_eq!(shared, 6);
\n

Since the third element caused an underflow, no further elements were taken,\nso the final value of shared is 6 (= 3 + 2 + 1), not 16.

\n
","FromIterator>","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> Ord for Result<T, E>where\n T: Ord,\n E: Ord,

source§

fn cmp(&self, other: &Result<T, E>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere\n Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
","Ord","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> PartialEq for Result<T, E>where\n T: PartialEq,\n E: PartialEq,

source§

fn eq(&self, other: &Result<T, E>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> Clone for Result<T, E>where\n T: Clone,\n E: Clone,

source§

fn clone(&self) -> Result<T, E>

Returns a copy of the value. Read more
source§

fn clone_from(&mut self, source: &Result<T, E>)

Performs copy-assignment from source. Read more
","Clone","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> Hash for Result<T, E>where\n T: Hash,\n E: Hash,

source§

fn hash<__H>(&self, state: &mut __H)where\n __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> IntoIterator for Result<T, E>

source§

fn into_iter(self) -> IntoIter<T>

Returns a consuming iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let x: Result<u32, &str> = Ok(5);\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, [5]);\n\nlet x: Result<u32, &str> = Err("nothing!");\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, []);
\n
§

type Item = T

The type of the elements being iterated over.
§

type IntoIter = IntoIter<T>

Which kind of iterator are we turning this into?
","IntoIterator","hotshot_query_service::QueryResult"],["
source§

impl<T, E> Residual<T> for Result<Infallible, E>

§

type TryType = Result<T, E>

🔬This is a nightly-only experimental API. (try_trait_v2_residual)
The “return” type of this meta-function.
","Residual","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> StructuralPartialEq for Result<T, E>

","StructuralPartialEq","hotshot_query_service::QueryResult"],["
1.16.0 · source§

impl<T, U, E> Sum<Result<U, E>> for Result<T, E>where\n T: Sum<U>,

source§

fn sum<I>(iter: I) -> Result<T, E>where\n I: Iterator<Item = Result<U, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the sum of all elements is returned.

\n
Examples
\n

This sums up every integer in a vector, rejecting the sum if a negative\nelement is encountered:

\n\n
let f = |&x: &i32| if x < 0 { Err("Negative element found") } else { Ok(x) };\nlet v = vec![1, 2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Ok(3));\nlet v = vec![1, -2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Err("Negative element found"));
\n
","Sum>","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> Debug for Result<T, E>where\n T: Debug,\n E: Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> PartialOrd for Result<T, E>where\n T: PartialOrd,\n E: PartialOrd,

source§

fn partial_cmp(&self, other: &Result<T, E>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <=\noperator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >=\noperator. Read more
","PartialOrd","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> Copy for Result<T, E>where\n T: Copy,\n E: Copy,

","Copy","hotshot_query_service::QueryResult"],["
1.16.0 · source§

impl<T, U, E> Product<Result<U, E>> for Result<T, E>where\n T: Product<U>,

source§

fn product<I>(iter: I) -> Result<T, E>where\n I: Iterator<Item = Result<U, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the product of all elements is returned.

\n
Examples
\n

This multiplies each number in a vector of strings,\nif a string could not be parsed the operation returns Err:

\n\n
let nums = vec!["5", "10", "1", "2"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert_eq!(total, Ok(100));\nlet nums = vec!["5", "10", "one", "2"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert!(total.is_err());
\n
","Product>","hotshot_query_service::QueryResult"],["
§

impl<T, U, E> Product<Result<U, E>> for Result<T, E>where\n T: Product<U>,

§

fn product<'a, S>(stream: S) -> Pin<Box<dyn Future<Output = Result<T, E>> + 'a>>where\n S: Stream<Item = Result<U, E>> + 'a,

Takes each element in the Stream: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err occur,\nthe product of all elements is returned.

\n
Examples
\n

This multiplies every integer in a vector, rejecting the product if a negative element is\nencountered:

\n\n
use async_std::prelude::*;\nuse async_std::stream;\n\nlet v = stream::from_iter(vec![1, 2, 4]);\nlet res: Result<i32, &'static str> = v.map(|x|\n    if x < 0 {\n        Err("Negative element found")\n    } else {\n        Ok(x)\n    }).product().await;\nassert_eq!(res, Ok(8));
\n
","Product>","hotshot_query_service::QueryResult"],["
§

impl<T, U, E> Sum<Result<U, E>> for Result<T, E>where\n T: Sum<U>,

§

fn sum<'a, S>(stream: S) -> Pin<Box<dyn Future<Output = Result<T, E>> + 'a>>where\n S: Stream<Item = Result<U, E>> + 'a,

Takes each element in the Stream: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err occur,\nthe sum of all elements is returned.

\n
Examples
\n

This sums up every integer in a vector, rejecting the sum if a negative\nelement is encountered:

\n\n
use async_std::prelude::*;\nuse async_std::stream;\n\nlet v = stream::from_iter(vec![1, 2]);\nlet res: Result<i32, &'static str> = v.map(|x|\n    if x < 0 {\n        Err("Negative element found")\n    } else {\n        Ok(x)\n    }).sum().await;\nassert_eq!(res, Ok(3));
\n
","Sum>","hotshot_query_service::QueryResult"],["
§

impl<T, E, V> FromStream<Result<T, E>> for Result<V, E>where\n T: Send,\n E: Send,\n V: FromStream<T>,

§

fn from_stream<'a, S>(\n stream: S\n) -> Pin<Box<dyn Future<Output = Result<V, E>> + Send + 'a>>where\n S: IntoStream<Item = Result<T, E>> + 'a,\n <S as IntoStream>::IntoStream: Send,

Takes each element in the stream: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, a container with the values of each Result is returned.

\n
Examples
\n
use async_std::prelude::*;\nuse async_std::stream;\n\nlet v = stream::from_iter(vec![1, 2]);\nlet res: Result<Vec<u32>, &'static str> = v.map(|x: u32|\n    x.checked_add(1).ok_or("Overflow!")\n).collect().await;\nassert_eq!(res, Ok(vec![2, 3]));
\n
","FromStream>","hotshot_query_service::QueryResult"],["
source§

impl<'de, T, E> Deserialize<'de> for Result<T, E>where\n T: Deserialize<'de>,\n E: Deserialize<'de>,

source§

fn deserialize<D>(\n deserializer: D\n) -> Result<Result<T, E>, <D as Deserializer<'de>>::Error>where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","hotshot_query_service::QueryResult"],["
source§

impl<T, E> Serialize for Result<T, E>where\n T: Serialize,\n E: Serialize,

source§

fn serialize<S>(\n &self,\n serializer: S\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where\n S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","hotshot_query_service::QueryResult"],["
§

impl<T, E> ResultExt<T, E> for Result<T, E>

§

fn context<C, E2>(self, context: C) -> Result<T, E2>where\n C: IntoError<E2, Source = E>,\n E2: Error + ErrorCompat,

Extend a Result’s error with additional context-sensitive information. Read more
§

fn with_context<F, C, E2>(self, context: F) -> Result<T, E2>where\n F: FnOnce(&mut E) -> C,\n C: IntoError<E2, Source = E>,\n E2: Error + ErrorCompat,

Extend a Result’s error with lazily-generated context-sensitive information. Read more
§

fn whatever_context<S, E2>(self, context: S) -> Result<T, E2>where\n S: Into<String>,\n E2: FromString,\n E: Into<<E2 as FromString>::Source>,

Extend a Result’s error with information from a string. Read more
§

fn with_whatever_context<F, S, E2>(self, context: F) -> Result<T, E2>where\n F: FnOnce(&mut E) -> S,\n S: Into<String>,\n E2: FromString,\n E: Into<<E2 as FromString>::Source>,

Extend a Result’s error with information from a\nlazily-generated string. Read more
","ResultExt","hotshot_query_service::QueryResult"],["
§

impl<T, E> Status<T, E> for Result<T, E>where\n E: Error + Send + Sync + 'static,

§

fn status<S>(self, status: S) -> Result<T, Error>where\n S: TryInto<StatusCode>,\n <S as TryInto<StatusCode>>::Error: Debug,

Wrap the error value with an additional status code.

\n
Panics
\n

Panics if Status is not a valid StatusCode.

\n
§

fn with_status<S, F>(self, f: F) -> Result<T, Error>where\n S: TryInto<StatusCode>,\n <S as TryInto<StatusCode>>::Error: Debug,\n F: FnOnce() -> S,

Wrap the error value with an additional status code that is evaluated\nlazily only once an error does occur.

\n
Panics
\n

Panics if Status is not a valid StatusCode.

\n
","Status","hotshot_query_service::QueryResult"],["
source§

impl<T, E> Context<T, E> for Result<T, E>where\n E: StdError + Send + Sync + 'static,

source§

fn context<C>(self, context: C) -> Result<T, Error>where\n C: Display + Send + Sync + 'static,

Wrap the error value with additional context.
source§

fn with_context<C, F>(self, context: F) -> Result<T, Error>where\n C: Display + Send + Sync + 'static,\n F: FnOnce() -> C,

Wrap the error value with additional context that is evaluated lazily\nonly once an error does occur.
","Context","hotshot_query_service::QueryResult"],["
source§

impl<'de, T, TAs, E, EAs> DeserializeAs<'de, Result<T, E>> for Result<TAs, EAs>where\n TAs: DeserializeAs<'de, T>,\n EAs: DeserializeAs<'de, E>,

source§

fn deserialize_as<D>(\n deserializer: D\n) -> Result<Result<T, E>, <D as Deserializer<'de>>::Error>where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer.
","DeserializeAs<'de, Result>","hotshot_query_service::QueryResult"],["
source§

impl<T, TAs, E, EAs> SerializeAs<Result<T, E>> for Result<TAs, EAs>where\n TAs: SerializeAs<T>,\n EAs: SerializeAs<E>,

source§

fn serialize_as<S>(\n source: &Result<T, E>,\n serializer: S\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where\n S: Serializer,

Serialize this value into the given Serde serializer.
","SerializeAs>","hotshot_query_service::QueryResult"],["
§

impl<T, E> NonBlockingResult for Result<T, E>where\n E: NonBlockingError,

§

type Result = Result<Option<T>, E>

Type of the converted result: Result<Option<T>, E>
§

fn no_block(self) -> <Result<T, E> as NonBlockingResult>::Result

Perform the non-block conversion.
","NonBlockingResult","hotshot_query_service::QueryResult"],["
§

impl<'a, A, B> Arbitrary<'a> for Result<A, B>where\n A: Arbitrary<'a>,\n B: Arbitrary<'a>,

§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Result<A, B>, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type\nneeds to construct itself. Read more
§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given\nunstructured data. Read more
","Arbitrary<'a>","hotshot_query_service::QueryResult"],["
§

impl<T, E> TapFallible for Result<T, E>

§

type Ok = T

The interior type used to indicate a successful construction.
§

type Err = E

The interior type used to indicate a failed construction.
§

fn tap_ok(self, func: impl FnOnce(&T)) -> Result<T, E>

Immutably accesses an interior success value. Read more
§

fn tap_ok_mut(self, func: impl FnOnce(&mut T)) -> Result<T, E>

Mutably accesses an interior success value. Read more
§

fn tap_err(self, func: impl FnOnce(&E)) -> Result<T, E>

Immutably accesses an interior failure value. Read more
§

fn tap_err_mut(self, func: impl FnOnce(&mut E)) -> Result<T, E>

Mutably accesses an interior failure value. Read more
§

fn tap_ok_dbg(self, func: impl FnOnce(&Self::Ok)) -> Self

Calls .tap_ok() only in debug builds, and is erased in release builds.
§

fn tap_ok_mut_dbg(self, func: impl FnOnce(&mut Self::Ok)) -> Self

Calls .tap_ok_mut() only in debug builds, and is erased in release\nbuilds.
§

fn tap_err_dbg(self, func: impl FnOnce(&Self::Err)) -> Self

Calls .tap_err() only in debug builds, and is erased in release\nbuilds.
§

fn tap_err_mut_dbg(self, func: impl FnOnce(&mut Self::Err)) -> Self

Calls .tap_err_mut() only in debug builds, and is erased in release\nbuilds.
","TapFallible","hotshot_query_service::QueryResult"],["
§

impl<C, T, E> FromParallelIterator<Result<T, E>> for Result<C, E>where\n C: FromParallelIterator<T>,\n T: Send,\n E: Send,

Collect an arbitrary Result-wrapped collection.

\n

If any item is Err, then all previous Ok items collected are\ndiscarded, and it returns that error. If there are multiple errors, the\none returned is not deterministic.

\n
§

fn from_par_iter<I>(par_iter: I) -> Result<C, E>where\n I: IntoParallelIterator<Item = Result<T, E>>,

Creates an instance of the collection from the parallel iterator par_iter. Read more
","FromParallelIterator>","hotshot_query_service::QueryResult"],["
§

impl<T, E> IntoParallelIterator for Result<T, E>where\n T: Send,

§

type Item = T

The type of item that the parallel iterator will produce.
§

type Iter = IntoIter<T>

The parallel iterator type that will be created.
§

fn into_par_iter(self) -> <Result<T, E> as IntoParallelIterator>::Iter

Converts self into a parallel iterator. Read more
","IntoParallelIterator","hotshot_query_service::QueryResult"],["
source§

impl<T, E> InstrumentResult<T> for Result<T, E>where\n E: InstrumentError,

§

type Instrumented = <E as InstrumentError>::Instrumented

The type of the wrapped error after instrumentation
source§

fn in_current_span(\n self\n) -> Result<T, <Result<T, E> as InstrumentResult<T>>::Instrumented>

Instrument an Error by bundling it with a SpanTrace Read more
","InstrumentResult","hotshot_query_service::QueryResult"],["
source§

impl<T, E> Section for Result<T, E>where\n E: Into<Report>,

§

type Return = Result<T, Report>

The return type of each method after adding context
source§

fn note<D>(self, note: D) -> <Result<T, E> as Section>::Returnwhere\n D: Display + Send + Sync + 'static,

Add a Note to an error report, to be displayed after the chain of errors. Read more
source§

fn with_note<D, F>(self, note: F) -> <Result<T, E> as Section>::Returnwhere\n D: Display + Send + Sync + 'static,\n F: FnOnce() -> D,

Add a Note to an error report, to be displayed after the chain of errors. The closure to\ncreate the Note is lazily evaluated only in the case of an error. Read more
source§

fn warning<D>(self, warning: D) -> <Result<T, E> as Section>::Returnwhere\n D: Display + Send + Sync + 'static,

Add a Warning to an error report, to be displayed after the chain of errors.
source§

fn with_warning<D, F>(self, warning: F) -> <Result<T, E> as Section>::Returnwhere\n D: Display + Send + Sync + 'static,\n F: FnOnce() -> D,

Add a Warning to an error report, to be displayed after the chain of errors. The closure to\ncreate the Warning is lazily evaluated only in the case of an error.
source§

fn suggestion<D>(self, suggestion: D) -> <Result<T, E> as Section>::Returnwhere\n D: Display + Send + Sync + 'static,

Add a Suggestion to an error report, to be displayed after the chain of errors.
source§

fn with_suggestion<D, F>(\n self,\n suggestion: F\n) -> <Result<T, E> as Section>::Returnwhere\n D: Display + Send + Sync + 'static,\n F: FnOnce() -> D,

Add a Suggestion to an error report, to be displayed after the chain of errors. The closure\nto create the Suggestion is lazily evaluated only in the case of an error.
source§

fn with_section<D, F>(self, section: F) -> <Result<T, E> as Section>::Returnwhere\n D: Display + Send + Sync + 'static,\n F: FnOnce() -> D,

Add a Section to an error report, to be displayed after the chain of errors. The closure to\ncreate the Section is lazily evaluated only in the case of an error. Read more
source§

fn section<D>(self, section: D) -> <Result<T, E> as Section>::Returnwhere\n D: Display + Send + Sync + 'static,

Add a section to an error report, to be displayed after the chain of errors. Read more
source§

fn error<E2>(self, error: E2) -> <Result<T, E> as Section>::Returnwhere\n E2: Error + Send + Sync + 'static,

Add an error section to an error report, to be displayed after the primary error message\nsection. Read more
source§

fn with_error<E2, F>(self, error: F) -> <Result<T, E> as Section>::Returnwhere\n F: FnOnce() -> E2,\n E2: Error + Send + Sync + 'static,

Add an error section to an error report, to be displayed after the primary error message\nsection. The closure to create the Section is lazily evaluated only in the case of an error. Read more
","Section","hotshot_query_service::QueryResult"],["
source§

impl<T, E> WrapErr<T, E> for Result<T, E>where\n E: StdError + Send + Sync + 'static,

source§

fn wrap_err<D>(self, msg: D) -> Result<T, Report>where\n D: Display + Send + Sync + 'static,

Wrap the error value with a new adhoc error
source§

fn wrap_err_with<D, F>(self, msg: F) -> Result<T, Report>where\n D: Display + Send + Sync + 'static,\n F: FnOnce() -> D,

Wrap the error value with a new adhoc error that is evaluated lazily\nonly once an error does occur.
source§

fn context<D>(self, msg: D) -> Result<T, Report>where\n D: Display + Send + Sync + 'static,

Compatibility re-export of wrap_err for interop with anyhow
source§

fn with_context<D, F>(self, msg: F) -> Result<T, Report>where\n D: Display + Send + Sync + 'static,\n F: FnOnce() -> D,

Compatibility re-export of wrap_err_with for interop with anyhow
","WrapErr","hotshot_query_service::QueryResult"],["
§

impl<E> ResultVoidErrExt<E> for Result<Void, E>

§

fn void_unwrap_err(self) -> E

Get the error out of an always-err Result.

\n

Never panics, since it is statically known to be Err.

\n
","ResultVoidErrExt","hotshot_query_service::QueryResult"],["
§

impl<R, A> RestrictedMath for Result<R, A>where\n R: RestrictedMath,\n A: 'static + Copy,

§

type Arg = <R as RestrictedMath>::Arg

Argument for the math operations
§

type Value = <R as RestrictedMath>::Value

Return value, generally the same as Arg
§

fn checked_add(\n &self,\n arg: <Result<R, A> as RestrictedMath>::Arg\n) -> Result<Restrict<<Result<R, A> as RestrictedMath>::Value>, <Result<R, A> as RestrictedMath>::Arg>

Checked addition, see usize::checked_add
§

fn checked_sub(\n &self,\n arg: <Result<R, A> as RestrictedMath>::Arg\n) -> Result<Restrict<<Result<R, A> as RestrictedMath>::Value>, <Result<R, A> as RestrictedMath>::Arg>

Checked subtraction, see usize::checked_sub
§

fn checked_mul(\n &self,\n arg: <Result<R, A> as RestrictedMath>::Arg\n) -> Result<Restrict<<Result<R, A> as RestrictedMath>::Value>, <Result<R, A> as RestrictedMath>::Arg>

Checked multiplication, see usize::checked_mul
","RestrictedMath","hotshot_query_service::QueryResult"],["
§

impl<T, E> ResultExt<T, E> for Result<T, E>

§

fn context<X>(self, x: X) -> Result<T, Context<X, E>>

The method is use to add context information to current operation Read more
","ResultExt","hotshot_query_service::QueryResult"],["
§

impl<R, A> RestrictedMath for Result<R, A>where\n R: RestrictedMath,\n A: 'static + Copy,

§

type Arg = <R as RestrictedMath>::Arg

Argument for the math operations
§

type Value = <R as RestrictedMath>::Value

Return value, generally the same as Arg
§

fn checked_add(\n &self,\n arg: <Result<R, A> as RestrictedMath>::Arg\n) -> Result<Restrict<<Result<R, A> as RestrictedMath>::Value>, <Result<R, A> as RestrictedMath>::Arg>

Checked addition, see usize::checked_add
§

fn checked_sub(\n &self,\n arg: <Result<R, A> as RestrictedMath>::Arg\n) -> Result<Restrict<<Result<R, A> as RestrictedMath>::Value>, <Result<R, A> as RestrictedMath>::Arg>

Checked subtraction, see usize::checked_sub
§

fn checked_mul(\n &self,\n arg: <Result<R, A> as RestrictedMath>::Arg\n) -> Result<Restrict<<Result<R, A> as RestrictedMath>::Value>, <Result<R, A> as RestrictedMath>::Arg>

Checked multiplication, see usize::checked_mul
","RestrictedMath","hotshot_query_service::QueryResult"],["
source§

impl<T, E> UnwrapThrowExt<T> for Result<T, E>where\n E: Debug,

source§

fn expect_throw(self, message: &str) -> T

Unwrap this container’s T value, or throw an error to JS with the\ngiven message if the T value is unavailable (e.g. an Option<T> is\nNone).
source§

fn unwrap_throw(self) -> T

Unwrap this Option or Result, but instead of panicking on failure,\nthrow an exception to JavaScript.
","UnwrapThrowExt","hotshot_query_service::QueryResult"],["
source§

impl<T, E> ReturnWasmAbi for Result<T, E>where\n T: IntoWasmAbi,\n E: Into<JsValue>,\n <T as IntoWasmAbi>::Abi: WasmAbi<Prim3 = (), Prim4 = ()>,

§

type Abi = Result<<T as IntoWasmAbi>::Abi, u32>

Same as IntoWasmAbi::Abi
source§

fn return_abi(self) -> <Result<T, E> as ReturnWasmAbi>::Abi

Same as IntoWasmAbi::into_abi, except that it may throw and never\nreturn in the case of Err.
","ReturnWasmAbi","hotshot_query_service::QueryResult"],["
§

impl<T, E> WrapMigrationError<T, E> for Result<T, E>where\n E: Error + Send + Sync + 'static,

§

fn migration_err(\n self,\n msg: &str,\n applied_migrations: Option<&[Migration]>\n) -> Result<T, Error>

","WrapMigrationError","hotshot_query_service::QueryResult"],["
§

impl<T, E> NonBlockingResult for Result<T, E>where\n E: NonBlockingError,

§

type Result = Result<Option<T>, E>

Type of the converted result: Result<Option<T>, E>
§

fn no_block(self) -> <Result<T, E> as NonBlockingResult>::Result

Perform the non-block conversion.
","NonBlockingResult","hotshot_query_service::QueryResult"]] +"hotshot_query_service":[["
source§

impl<T, E> Result<T, E>

1.0.0 (const: 1.48.0) · source

pub const fn is_ok(&self) -> bool

Returns true if the result is Ok.

\n
Examples
\n
let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_ok(), true);\n\nlet x: Result<i32, &str> = Err("Some error message");\nassert_eq!(x.is_ok(), false);
\n
1.70.0 · source

pub fn is_ok_and(self, f: impl FnOnce(T) -> bool) -> bool

Returns true if the result is Ok and the value inside of it matches a predicate.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.is_ok_and(|x| x > 1), true);\n\nlet x: Result<u32, &str> = Ok(0);\nassert_eq!(x.is_ok_and(|x| x > 1), false);\n\nlet x: Result<u32, &str> = Err("hey");\nassert_eq!(x.is_ok_and(|x| x > 1), false);
\n
1.0.0 (const: 1.48.0) · source

pub const fn is_err(&self) -> bool

Returns true if the result is Err.

\n
Examples
\n
let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_err(), false);\n\nlet x: Result<i32, &str> = Err("Some error message");\nassert_eq!(x.is_err(), true);
\n
1.70.0 · source

pub fn is_err_and(self, f: impl FnOnce(E) -> bool) -> bool

Returns true if the result is Err and the value inside of it matches a predicate.

\n
Examples
\n
use std::io::{Error, ErrorKind};\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::NotFound, "!"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), true);\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::PermissionDenied, "!"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);\n\nlet x: Result<u32, Error> = Ok(123);\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);
\n
1.0.0 · source

pub fn ok(self) -> Option<T>

Converts from Result<T, E> to Option<T>.

\n

Converts self into an Option<T>, consuming self,\nand discarding the error, if any.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.ok(), Some(2));\n\nlet x: Result<u32, &str> = Err("Nothing here");\nassert_eq!(x.ok(), None);
\n
1.0.0 · source

pub fn err(self) -> Option<E>

Converts from Result<T, E> to Option<E>.

\n

Converts self into an Option<E>, consuming self,\nand discarding the success value, if any.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.err(), None);\n\nlet x: Result<u32, &str> = Err("Nothing here");\nassert_eq!(x.err(), Some("Nothing here"));
\n
1.0.0 (const: 1.48.0) · source

pub const fn as_ref(&self) -> Result<&T, &E>

Converts from &Result<T, E> to Result<&T, &E>.

\n

Produces a new Result, containing a reference\ninto the original, leaving the original in place.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.as_ref(), Ok(&2));\n\nlet x: Result<u32, &str> = Err("Error");\nassert_eq!(x.as_ref(), Err(&"Error"));
\n
1.0.0 (const: unstable) · source

pub fn as_mut(&mut self) -> Result<&mut T, &mut E>

Converts from &mut Result<T, E> to Result<&mut T, &mut E>.

\n
Examples
\n
fn mutate(r: &mut Result<i32, i32>) {\n    match r.as_mut() {\n        Ok(v) => *v = 42,\n        Err(e) => *e = 0,\n    }\n}\n\nlet mut x: Result<i32, i32> = Ok(2);\nmutate(&mut x);\nassert_eq!(x.unwrap(), 42);\n\nlet mut x: Result<i32, i32> = Err(13);\nmutate(&mut x);\nassert_eq!(x.unwrap_err(), 0);
\n
1.0.0 · source

pub fn map<U, F>(self, op: F) -> Result<U, E>where\n F: FnOnce(T) -> U,

Maps a Result<T, E> to Result<U, E> by applying a function to a\ncontained Ok value, leaving an Err value untouched.

\n

This function can be used to compose the results of two functions.

\n
Examples
\n

Print the numbers on each line of a string multiplied by two.

\n\n
let line = "1\\n2\\n3\\n4\\n";\n\nfor num in line.lines() {\n    match num.parse::<i32>().map(|i| i * 2) {\n        Ok(n) => println!("{n}"),\n        Err(..) => {}\n    }\n}
\n
1.41.0 · source

pub fn map_or<U, F>(self, default: U, f: F) -> Uwhere\n F: FnOnce(T) -> U,

Returns the provided default (if Err), or\napplies a function to the contained value (if Ok).

\n

Arguments passed to map_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use map_or_else,\nwhich is lazily evaluated.

\n
Examples
\n
let x: Result<_, &str> = Ok("foo");\nassert_eq!(x.map_or(42, |v| v.len()), 3);\n\nlet x: Result<&str, _> = Err("bar");\nassert_eq!(x.map_or(42, |v| v.len()), 42);
\n
1.41.0 · source

pub fn map_or_else<U, D, F>(self, default: D, f: F) -> Uwhere\n D: FnOnce(E) -> U,\n F: FnOnce(T) -> U,

Maps a Result<T, E> to U by applying fallback function default to\na contained Err value, or function f to a contained Ok value.

\n

This function can be used to unpack a successful result\nwhile handling an error.

\n
Examples
\n
let k = 21;\n\nlet x : Result<_, &str> = Ok("foo");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 3);\n\nlet x : Result<&str, _> = Err("bar");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 42);
\n
1.0.0 · source

pub fn map_err<F, O>(self, op: O) -> Result<T, F>where\n O: FnOnce(E) -> F,

Maps a Result<T, E> to Result<T, F> by applying a function to a\ncontained Err value, leaving an Ok value untouched.

\n

This function can be used to pass through a successful result while handling\nan error.

\n
Examples
\n
fn stringify(x: u32) -> String { format!("error code: {x}") }\n\nlet x: Result<u32, u32> = Ok(2);\nassert_eq!(x.map_err(stringify), Ok(2));\n\nlet x: Result<u32, u32> = Err(13);\nassert_eq!(x.map_err(stringify), Err("error code: 13".to_string()));
\n
source

pub fn inspect<F>(self, f: F) -> Result<T, E>where\n F: FnOnce(&T),

🔬This is a nightly-only experimental API. (result_option_inspect)

Calls the provided closure with a reference to the contained value (if Ok).

\n
Examples
\n
#![feature(result_option_inspect)]\n\nlet x: u8 = "4"\n    .parse::<u8>()\n    .inspect(|x| println!("original: {x}"))\n    .map(|x| x.pow(3))\n    .expect("failed to parse number");
\n
source

pub fn inspect_err<F>(self, f: F) -> Result<T, E>where\n F: FnOnce(&E),

🔬This is a nightly-only experimental API. (result_option_inspect)

Calls the provided closure with a reference to the contained error (if Err).

\n
Examples
\n
#![feature(result_option_inspect)]\n\nuse std::{fs, io};\n\nfn read() -> io::Result<String> {\n    fs::read_to_string("address.txt")\n        .inspect_err(|e| eprintln!("failed to read file: {e}"))\n}
\n
1.47.0 · source

pub fn as_deref(&self) -> Result<&<T as Deref>::Target, &E>where\n T: Deref,

Converts from Result<T, E> (or &Result<T, E>) to Result<&<T as Deref>::Target, &E>.

\n

Coerces the Ok variant of the original Result via Deref\nand returns the new Result.

\n
Examples
\n
let x: Result<String, u32> = Ok("hello".to_string());\nlet y: Result<&str, &u32> = Ok("hello");\nassert_eq!(x.as_deref(), y);\n\nlet x: Result<String, u32> = Err(42);\nlet y: Result<&str, &u32> = Err(&42);\nassert_eq!(x.as_deref(), y);
\n
1.47.0 · source

pub fn as_deref_mut(&mut self) -> Result<&mut <T as Deref>::Target, &mut E>where\n T: DerefMut,

Converts from Result<T, E> (or &mut Result<T, E>) to Result<&mut <T as DerefMut>::Target, &mut E>.

\n

Coerces the Ok variant of the original Result via DerefMut\nand returns the new Result.

\n
Examples
\n
let mut s = "HELLO".to_string();\nlet mut x: Result<String, u32> = Ok("hello".to_string());\nlet y: Result<&mut str, &mut u32> = Ok(&mut s);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);\n\nlet mut i = 42;\nlet mut x: Result<String, u32> = Err(42);\nlet y: Result<&mut str, &mut u32> = Err(&mut i);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);
\n
1.0.0 · source

pub fn iter(&self) -> Iter<'_, T>

Returns an iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let x: Result<u32, &str> = Ok(7);\nassert_eq!(x.iter().next(), Some(&7));\n\nlet x: Result<u32, &str> = Err("nothing!");\nassert_eq!(x.iter().next(), None);
\n
1.0.0 · source

pub fn iter_mut(&mut self) -> IterMut<'_, T>

Returns a mutable iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let mut x: Result<u32, &str> = Ok(7);\nmatch x.iter_mut().next() {\n    Some(v) => *v = 40,\n    None => {},\n}\nassert_eq!(x, Ok(40));\n\nlet mut x: Result<u32, &str> = Err("nothing!");\nassert_eq!(x.iter_mut().next(), None);
\n
1.4.0 · source

pub fn expect(self, msg: &str) -> Twhere\n E: Debug,

Returns the contained Ok value, consuming the self value.

\n

Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

\n
Panics
\n

Panics if the value is an Err, with a panic message including the\npassed message, and the content of the Err.

\n
Examples
\n
let x: Result<u32, &str> = Err("emergency failure");\nx.expect("Testing expect"); // panics with `Testing expect: emergency failure`
\n
Recommended Message Style
\n

We recommend that expect messages are used to describe the reason you\nexpect the Result should be Ok.

\n\n
let path = std::env::var("IMPORTANT_PATH")\n    .expect("env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`");
\n

Hint: If you’re having trouble remembering how to phrase expect\nerror messages remember to focus on the word “should” as in “env\nvariable should be set by blah” or “the given binary should be available\nand executable by the current user”.

\n

For more detail on expect message styles and the reasoning behind our recommendation please\nrefer to the section on “Common Message\nStyles” in the\nstd::error module docs.

\n
1.0.0 · source

pub fn unwrap(self) -> Twhere\n E: Debug,

Returns the contained Ok value, consuming the self value.

\n

Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

\n
Panics
\n

Panics if the value is an Err, with a panic message provided by the\nErr’s value.

\n
Examples
\n

Basic usage:

\n\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.unwrap(), 2);
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nx.unwrap(); // panics with `emergency failure`
\n
1.16.0 · source

pub fn unwrap_or_default(self) -> Twhere\n T: Default,

Returns the contained Ok value or a default

\n

Consumes the self argument then, if Ok, returns the contained\nvalue, otherwise if Err, returns the default value for that\ntype.

\n
Examples
\n

Converts a string to an integer, turning poorly-formed strings\ninto 0 (the default value for integers). parse converts\na string to any other type that implements FromStr, returning an\nErr on error.

\n\n
let good_year_from_input = "1909";\nlet bad_year_from_input = "190blarg";\nlet good_year = good_year_from_input.parse().unwrap_or_default();\nlet bad_year = bad_year_from_input.parse().unwrap_or_default();\n\nassert_eq!(1909, good_year);\nassert_eq!(0, bad_year);
\n
1.17.0 · source

pub fn expect_err(self, msg: &str) -> Ewhere\n T: Debug,

Returns the contained Err value, consuming the self value.

\n
Panics
\n

Panics if the value is an Ok, with a panic message including the\npassed message, and the content of the Ok.

\n
Examples
\n
let x: Result<u32, &str> = Ok(10);\nx.expect_err("Testing expect_err"); // panics with `Testing expect_err: 10`
\n
1.0.0 · source

pub fn unwrap_err(self) -> Ewhere\n T: Debug,

Returns the contained Err value, consuming the self value.

\n
Panics
\n

Panics if the value is an Ok, with a custom panic message provided\nby the Ok’s value.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nx.unwrap_err(); // panics with `2`
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nassert_eq!(x.unwrap_err(), "emergency failure");
\n
source

pub fn into_ok(self) -> Twhere\n E: Into<!>,

🔬This is a nightly-only experimental API. (unwrap_infallible)

Returns the contained Ok value, but never panics.

\n

Unlike unwrap, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap as a maintainability safeguard that will fail\nto compile if the error type of the Result is later changed\nto an error that can actually occur.

\n
Examples
\n
\nfn only_good_news() -> Result<String, !> {\n    Ok("this is fine".into())\n}\n\nlet s: String = only_good_news().into_ok();\nprintln!("{s}");
\n
source

pub fn into_err(self) -> Ewhere\n T: Into<!>,

🔬This is a nightly-only experimental API. (unwrap_infallible)

Returns the contained Err value, but never panics.

\n

Unlike unwrap_err, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap_err as a maintainability safeguard that will fail\nto compile if the ok type of the Result is later changed\nto a type that can actually occur.

\n
Examples
\n
\nfn only_bad_news() -> Result<!, String> {\n    Err("Oops, it failed".into())\n}\n\nlet error: String = only_bad_news().into_err();\nprintln!("{error}");
\n
1.0.0 · source

pub fn and<U>(self, res: Result<U, E>) -> Result<U, E>

Returns res if the result is Ok, otherwise returns the Err value of self.

\n

Arguments passed to and are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use and_then, which is\nlazily evaluated.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Err("late error");\nassert_eq!(x.and(y), Err("late error"));\n\nlet x: Result<u32, &str> = Err("early error");\nlet y: Result<&str, &str> = Ok("foo");\nassert_eq!(x.and(y), Err("early error"));\n\nlet x: Result<u32, &str> = Err("not a 2");\nlet y: Result<&str, &str> = Err("late error");\nassert_eq!(x.and(y), Err("not a 2"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Ok("different result type");\nassert_eq!(x.and(y), Ok("different result type"));
\n
1.0.0 · source

pub fn and_then<U, F>(self, op: F) -> Result<U, E>where\n F: FnOnce(T) -> Result<U, E>,

Calls op if the result is Ok, otherwise returns the Err value of self.

\n

This function can be used for control flow based on Result values.

\n
Examples
\n
fn sq_then_to_string(x: u32) -> Result<String, &'static str> {\n    x.checked_mul(x).map(|sq| sq.to_string()).ok_or("overflowed")\n}\n\nassert_eq!(Ok(2).and_then(sq_then_to_string), Ok(4.to_string()));\nassert_eq!(Ok(1_000_000).and_then(sq_then_to_string), Err("overflowed"));\nassert_eq!(Err("not a number").and_then(sq_then_to_string), Err("not a number"));
\n

Often used to chain fallible operations that may return Err.

\n\n
use std::{io::ErrorKind, path::Path};\n\n// Note: on Windows "/" maps to "C:\\"\nlet root_modified_time = Path::new("/").metadata().and_then(|md| md.modified());\nassert!(root_modified_time.is_ok());\n\nlet should_fail = Path::new("/bad/path").metadata().and_then(|md| md.modified());\nassert!(should_fail.is_err());\nassert_eq!(should_fail.unwrap_err().kind(), ErrorKind::NotFound);
\n
1.0.0 · source

pub fn or<F>(self, res: Result<T, F>) -> Result<T, F>

Returns res if the result is Err, otherwise returns the Ok value of self.

\n

Arguments passed to or are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use or_else, which is\nlazily evaluated.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Err("late error");\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err("early error");\nlet y: Result<u32, &str> = Ok(2);\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err("not a 2");\nlet y: Result<u32, &str> = Err("late error");\nassert_eq!(x.or(y), Err("late error"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Ok(100);\nassert_eq!(x.or(y), Ok(2));
\n
1.0.0 · source

pub fn or_else<F, O>(self, op: O) -> Result<T, F>where\n O: FnOnce(E) -> Result<T, F>,

Calls op if the result is Err, otherwise returns the Ok value of self.

\n

This function can be used for control flow based on result values.

\n
Examples
\n
fn sq(x: u32) -> Result<u32, u32> { Ok(x * x) }\nfn err(x: u32) -> Result<u32, u32> { Err(x) }\n\nassert_eq!(Ok(2).or_else(sq).or_else(sq), Ok(2));\nassert_eq!(Ok(2).or_else(err).or_else(sq), Ok(2));\nassert_eq!(Err(3).or_else(sq).or_else(err), Ok(9));\nassert_eq!(Err(3).or_else(err).or_else(err), Err(3));
\n
1.0.0 · source

pub fn unwrap_or(self, default: T) -> T

Returns the contained Ok value or a provided default.

\n

Arguments passed to unwrap_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use unwrap_or_else,\nwhich is lazily evaluated.

\n
Examples
\n
let default = 2;\nlet x: Result<u32, &str> = Ok(9);\nassert_eq!(x.unwrap_or(default), 9);\n\nlet x: Result<u32, &str> = Err("error");\nassert_eq!(x.unwrap_or(default), default);
\n
1.0.0 · source

pub fn unwrap_or_else<F>(self, op: F) -> Twhere\n F: FnOnce(E) -> T,

Returns the contained Ok value or computes it from a closure.

\n
Examples
\n
fn count(x: &str) -> usize { x.len() }\n\nassert_eq!(Ok(2).unwrap_or_else(count), 2);\nassert_eq!(Err("foo").unwrap_or_else(count), 3);
\n
1.58.0 · source

pub unsafe fn unwrap_unchecked(self) -> T

Returns the contained Ok value, consuming the self value,\nwithout checking that the value is not an Err.

\n
Safety
\n

Calling this method on an Err is undefined behavior.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(unsafe { x.unwrap_unchecked() }, 2);
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nunsafe { x.unwrap_unchecked(); } // Undefined behavior!
\n
1.58.0 · source

pub unsafe fn unwrap_err_unchecked(self) -> E

Returns the contained Err value, consuming the self value,\nwithout checking that the value is not an Ok.

\n
Safety
\n

Calling this method on an Ok is undefined behavior.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nunsafe { x.unwrap_err_unchecked() }; // Undefined behavior!
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nassert_eq!(unsafe { x.unwrap_err_unchecked() }, "emergency failure");
\n
",0,"hotshot_query_service::QueryResult"],["
source§

impl<T, E> Result<&T, E>

1.59.0 · source

pub fn copied(self) -> Result<T, E>where\n T: Copy,

Maps a Result<&T, E> to a Result<T, E> by copying the contents of the\nOk part.

\n
Examples
\n
let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
\n
1.59.0 · source

pub fn cloned(self) -> Result<T, E>where\n T: Clone,

Maps a Result<&T, E> to a Result<T, E> by cloning the contents of the\nOk part.

\n
Examples
\n
let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
\n
",0,"hotshot_query_service::QueryResult"],["
source§

impl<T, E> Result<&mut T, E>

1.59.0 · source

pub fn copied(self) -> Result<T, E>where\n T: Copy,

Maps a Result<&mut T, E> to a Result<T, E> by copying the contents of the\nOk part.

\n
Examples
\n
let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
\n
1.59.0 · source

pub fn cloned(self) -> Result<T, E>where\n T: Clone,

Maps a Result<&mut T, E> to a Result<T, E> by cloning the contents of the\nOk part.

\n
Examples
\n
let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
\n
",0,"hotshot_query_service::QueryResult"],["
source§

impl<T, E> Result<Option<T>, E>

1.33.0 (const: unstable) · source

pub fn transpose(self) -> Option<Result<T, E>>

Transposes a Result of an Option into an Option of a Result.

\n

Ok(None) will be mapped to None.\nOk(Some(_)) and Err(_) will be mapped to Some(Ok(_)) and Some(Err(_)).

\n
Examples
\n
#[derive(Debug, Eq, PartialEq)]\nstruct SomeErr;\n\nlet x: Result<Option<i32>, SomeErr> = Ok(Some(5));\nlet y: Option<Result<i32, SomeErr>> = Some(Ok(5));\nassert_eq!(x.transpose(), y);
\n
",0,"hotshot_query_service::QueryResult"],["
source§

impl<T, E> Result<Result<T, E>, E>

source

pub fn flatten(self) -> Result<T, E>

🔬This is a nightly-only experimental API. (result_flattening)

Converts from Result<Result<T, E>, E> to Result<T, E>

\n
Examples
\n
#![feature(result_flattening)]\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Ok("hello"));\nassert_eq!(Ok("hello"), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Err(6));\nassert_eq!(Err(6), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Err(6);\nassert_eq!(Err(6), x.flatten());
\n

Flattening only removes one level of nesting at a time:

\n\n
#![feature(result_flattening)]\nlet x: Result<Result<Result<&'static str, u32>, u32>, u32> = Ok(Ok(Ok("hello")));\nassert_eq!(Ok(Ok("hello")), x.flatten());\nassert_eq!(Ok("hello"), x.flatten().flatten());
\n
",0,"hotshot_query_service::QueryResult"],["
1.61.0 · source§

impl<T, E> Termination for Result<T, E>where\n T: Termination,\n E: Debug,

source§

fn report(self) -> ExitCode

Is called to get the representation of the value as status code.\nThis status code is returned to the operating system.
","Termination","hotshot_query_service::QueryResult"],["
source§

impl<T, E, F> FromResidual<Yeet<E>> for Result<T, F>where\n F: From<E>,

source§

fn from_residual(_: Yeet<E>) -> Result<T, F>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from a compatible Residual type. Read more
","FromResidual>","hotshot_query_service::QueryResult"],["
source§

impl<T, E, F> FromResidual<Result<Infallible, E>> for Result<T, F>where\n F: From<E>,

source§

fn from_residual(residual: Result<Infallible, E>) -> Result<T, F>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from a compatible Residual type. Read more
","FromResidual>","hotshot_query_service::QueryResult"],["
source§

impl<T, E> Try for Result<T, E>

§

type Output = T

🔬This is a nightly-only experimental API. (try_trait_v2)
The type of the value produced by ? when not short-circuiting.
§

type Residual = Result<Infallible, E>

🔬This is a nightly-only experimental API. (try_trait_v2)
The type of the value passed to FromResidual::from_residual\nas part of ? when short-circuiting. Read more
source§

fn from_output(output: <Result<T, E> as Try>::Output) -> Result<T, E>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from its Output type. Read more
source§

fn branch(\n self\n) -> ControlFlow<<Result<T, E> as Try>::Residual, <Result<T, E> as Try>::Output>

🔬This is a nightly-only experimental API. (try_trait_v2)
Used in ? to decide whether the operator should produce a value\n(because this returned ControlFlow::Continue)\nor propagate a value back to the caller\n(because this returned ControlFlow::Break). Read more
","Try","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> StructuralEq for Result<T, E>

","StructuralEq","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> Eq for Result<T, E>where\n T: Eq,\n E: Eq,

","Eq","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<A, E, V> FromIterator<Result<A, E>> for Result<V, E>where\n V: FromIterator<A>,

source§

fn from_iter<I>(iter: I) -> Result<V, E>where\n I: IntoIterator<Item = Result<A, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err occur, a\ncontainer with the values of each Result is returned.

\n

Here is an example which increments every integer in a vector,\nchecking for overflow:

\n\n
let v = vec![1, 2];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_add(1).ok_or("Overflow!")\n).collect();\nassert_eq!(res, Ok(vec![2, 3]));
\n

Here is another example that tries to subtract one from another list\nof integers, this time checking for underflow:

\n\n
let v = vec![1, 2, 0];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_sub(1).ok_or("Underflow!")\n).collect();\nassert_eq!(res, Err("Underflow!"));
\n

Here is a variation on the previous example, showing that no\nfurther elements are taken from iter after the first Err.

\n\n
let v = vec![3, 2, 1, 10];\nlet mut shared = 0;\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32| {\n    shared += x;\n    x.checked_sub(2).ok_or("Underflow!")\n}).collect();\nassert_eq!(res, Err("Underflow!"));\nassert_eq!(shared, 6);
\n

Since the third element caused an underflow, no further elements were taken,\nso the final value of shared is 6 (= 3 + 2 + 1), not 16.

\n
","FromIterator>","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> Ord for Result<T, E>where\n T: Ord,\n E: Ord,

source§

fn cmp(&self, other: &Result<T, E>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere\n Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
","Ord","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> PartialEq for Result<T, E>where\n T: PartialEq,\n E: PartialEq,

source§

fn eq(&self, other: &Result<T, E>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> Clone for Result<T, E>where\n T: Clone,\n E: Clone,

source§

fn clone(&self) -> Result<T, E>

Returns a copy of the value. Read more
source§

fn clone_from(&mut self, source: &Result<T, E>)

Performs copy-assignment from source. Read more
","Clone","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> Hash for Result<T, E>where\n T: Hash,\n E: Hash,

source§

fn hash<__H>(&self, state: &mut __H)where\n __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> IntoIterator for Result<T, E>

source§

fn into_iter(self) -> IntoIter<T>

Returns a consuming iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let x: Result<u32, &str> = Ok(5);\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, [5]);\n\nlet x: Result<u32, &str> = Err("nothing!");\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, []);
\n
§

type Item = T

The type of the elements being iterated over.
§

type IntoIter = IntoIter<T>

Which kind of iterator are we turning this into?
","IntoIterator","hotshot_query_service::QueryResult"],["
source§

impl<T, E> Residual<T> for Result<Infallible, E>

§

type TryType = Result<T, E>

🔬This is a nightly-only experimental API. (try_trait_v2_residual)
The “return” type of this meta-function.
","Residual","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> StructuralPartialEq for Result<T, E>

","StructuralPartialEq","hotshot_query_service::QueryResult"],["
1.16.0 · source§

impl<T, U, E> Sum<Result<U, E>> for Result<T, E>where\n T: Sum<U>,

source§

fn sum<I>(iter: I) -> Result<T, E>where\n I: Iterator<Item = Result<U, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the sum of all elements is returned.

\n
Examples
\n

This sums up every integer in a vector, rejecting the sum if a negative\nelement is encountered:

\n\n
let f = |&x: &i32| if x < 0 { Err("Negative element found") } else { Ok(x) };\nlet v = vec![1, 2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Ok(3));\nlet v = vec![1, -2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Err("Negative element found"));
\n
","Sum>","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> Debug for Result<T, E>where\n T: Debug,\n E: Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> PartialOrd for Result<T, E>where\n T: PartialOrd,\n E: PartialOrd,

source§

fn partial_cmp(&self, other: &Result<T, E>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <=\noperator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >=\noperator. Read more
","PartialOrd","hotshot_query_service::QueryResult"],["
1.0.0 · source§

impl<T, E> Copy for Result<T, E>where\n T: Copy,\n E: Copy,

","Copy","hotshot_query_service::QueryResult"],["
1.16.0 · source§

impl<T, U, E> Product<Result<U, E>> for Result<T, E>where\n T: Product<U>,

source§

fn product<I>(iter: I) -> Result<T, E>where\n I: Iterator<Item = Result<U, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the product of all elements is returned.

\n
Examples
\n

This multiplies each number in a vector of strings,\nif a string could not be parsed the operation returns Err:

\n\n
let nums = vec!["5", "10", "1", "2"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert_eq!(total, Ok(100));\nlet nums = vec!["5", "10", "one", "2"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert!(total.is_err());
\n
","Product>","hotshot_query_service::QueryResult"],["
§

impl<T, U, E> Product<Result<U, E>> for Result<T, E>where\n T: Product<U>,

§

fn product<'a, S>(stream: S) -> Pin<Box<dyn Future<Output = Result<T, E>> + 'a>>where\n S: Stream<Item = Result<U, E>> + 'a,

Takes each element in the Stream: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err occur,\nthe product of all elements is returned.

\n
Examples
\n

This multiplies every integer in a vector, rejecting the product if a negative element is\nencountered:

\n\n
use async_std::prelude::*;\nuse async_std::stream;\n\nlet v = stream::from_iter(vec![1, 2, 4]);\nlet res: Result<i32, &'static str> = v.map(|x|\n    if x < 0 {\n        Err("Negative element found")\n    } else {\n        Ok(x)\n    }).product().await;\nassert_eq!(res, Ok(8));
\n
","Product>","hotshot_query_service::QueryResult"],["
§

impl<T, U, E> Sum<Result<U, E>> for Result<T, E>where\n T: Sum<U>,

§

fn sum<'a, S>(stream: S) -> Pin<Box<dyn Future<Output = Result<T, E>> + 'a>>where\n S: Stream<Item = Result<U, E>> + 'a,

Takes each element in the Stream: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err occur,\nthe sum of all elements is returned.

\n
Examples
\n

This sums up every integer in a vector, rejecting the sum if a negative\nelement is encountered:

\n\n
use async_std::prelude::*;\nuse async_std::stream;\n\nlet v = stream::from_iter(vec![1, 2]);\nlet res: Result<i32, &'static str> = v.map(|x|\n    if x < 0 {\n        Err("Negative element found")\n    } else {\n        Ok(x)\n    }).sum().await;\nassert_eq!(res, Ok(3));
\n
","Sum>","hotshot_query_service::QueryResult"],["
§

impl<T, E, V> FromStream<Result<T, E>> for Result<V, E>where\n T: Send,\n E: Send,\n V: FromStream<T>,

§

fn from_stream<'a, S>(\n stream: S\n) -> Pin<Box<dyn Future<Output = Result<V, E>> + Send + 'a>>where\n S: IntoStream<Item = Result<T, E>> + 'a,\n <S as IntoStream>::IntoStream: Send,

Takes each element in the stream: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, a container with the values of each Result is returned.

\n
Examples
\n
use async_std::prelude::*;\nuse async_std::stream;\n\nlet v = stream::from_iter(vec![1, 2]);\nlet res: Result<Vec<u32>, &'static str> = v.map(|x: u32|\n    x.checked_add(1).ok_or("Overflow!")\n).collect().await;\nassert_eq!(res, Ok(vec![2, 3]));
\n
","FromStream>","hotshot_query_service::QueryResult"],["
source§

impl<T, E> Serialize for Result<T, E>where\n T: Serialize,\n E: Serialize,

source§

fn serialize<S>(\n &self,\n serializer: S\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where\n S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","hotshot_query_service::QueryResult"],["
source§

impl<'de, T, E> Deserialize<'de> for Result<T, E>where\n T: Deserialize<'de>,\n E: Deserialize<'de>,

source§

fn deserialize<D>(\n deserializer: D\n) -> Result<Result<T, E>, <D as Deserializer<'de>>::Error>where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","hotshot_query_service::QueryResult"],["
§

impl<T, E> ResultExt<T, E> for Result<T, E>

§

fn context<C, E2>(self, context: C) -> Result<T, E2>where\n C: IntoError<E2, Source = E>,\n E2: Error + ErrorCompat,

Extend a Result’s error with additional context-sensitive information. Read more
§

fn with_context<F, C, E2>(self, context: F) -> Result<T, E2>where\n F: FnOnce(&mut E) -> C,\n C: IntoError<E2, Source = E>,\n E2: Error + ErrorCompat,

Extend a Result’s error with lazily-generated context-sensitive information. Read more
§

fn whatever_context<S, E2>(self, context: S) -> Result<T, E2>where\n S: Into<String>,\n E2: FromString,\n E: Into<<E2 as FromString>::Source>,

Extend a Result’s error with information from a string. Read more
§

fn with_whatever_context<F, S, E2>(self, context: F) -> Result<T, E2>where\n F: FnOnce(&mut E) -> S,\n S: Into<String>,\n E2: FromString,\n E: Into<<E2 as FromString>::Source>,

Extend a Result’s error with information from a\nlazily-generated string. Read more
","ResultExt","hotshot_query_service::QueryResult"],["
§

impl<T, E> Status<T, E> for Result<T, E>where\n E: Error + Send + Sync + 'static,

§

fn status<S>(self, status: S) -> Result<T, Error>where\n S: TryInto<StatusCode>,\n <S as TryInto<StatusCode>>::Error: Debug,

Wrap the error value with an additional status code.

\n
Panics
\n

Panics if Status is not a valid StatusCode.

\n
§

fn with_status<S, F>(self, f: F) -> Result<T, Error>where\n S: TryInto<StatusCode>,\n <S as TryInto<StatusCode>>::Error: Debug,\n F: FnOnce() -> S,

Wrap the error value with an additional status code that is evaluated\nlazily only once an error does occur.

\n
Panics
\n

Panics if Status is not a valid StatusCode.

\n
","Status","hotshot_query_service::QueryResult"],["
source§

impl<T, E> Context<T, E> for Result<T, E>where\n E: StdError + Send + Sync + 'static,

source§

fn context<C>(self, context: C) -> Result<T, Error>where\n C: Display + Send + Sync + 'static,

Wrap the error value with additional context.
source§

fn with_context<C, F>(self, context: F) -> Result<T, Error>where\n C: Display + Send + Sync + 'static,\n F: FnOnce() -> C,

Wrap the error value with additional context that is evaluated lazily\nonly once an error does occur.
","Context","hotshot_query_service::QueryResult"],["
source§

impl<'de, T, TAs, E, EAs> DeserializeAs<'de, Result<T, E>> for Result<TAs, EAs>where\n TAs: DeserializeAs<'de, T>,\n EAs: DeserializeAs<'de, E>,

source§

fn deserialize_as<D>(\n deserializer: D\n) -> Result<Result<T, E>, <D as Deserializer<'de>>::Error>where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer.
","DeserializeAs<'de, Result>","hotshot_query_service::QueryResult"],["
source§

impl<T, TAs, E, EAs> SerializeAs<Result<T, E>> for Result<TAs, EAs>where\n TAs: SerializeAs<T>,\n EAs: SerializeAs<E>,

source§

fn serialize_as<S>(\n source: &Result<T, E>,\n serializer: S\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where\n S: Serializer,

Serialize this value into the given Serde serializer.
","SerializeAs>","hotshot_query_service::QueryResult"],["
§

impl<T, E> NonBlockingResult for Result<T, E>where\n E: NonBlockingError,

§

type Result = Result<Option<T>, E>

Type of the converted result: Result<Option<T>, E>
§

fn no_block(self) -> <Result<T, E> as NonBlockingResult>::Result

Perform the non-block conversion.
","NonBlockingResult","hotshot_query_service::QueryResult"],["
§

impl<'a, A, B> Arbitrary<'a> for Result<A, B>where\n A: Arbitrary<'a>,\n B: Arbitrary<'a>,

§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Result<A, B>, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type\nneeds to construct itself. Read more
§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given\nunstructured data. Read more
","Arbitrary<'a>","hotshot_query_service::QueryResult"],["
§

impl<T, E> TapFallible for Result<T, E>

§

type Ok = T

The interior type used to indicate a successful construction.
§

type Err = E

The interior type used to indicate a failed construction.
§

fn tap_ok(self, func: impl FnOnce(&T)) -> Result<T, E>

Immutably accesses an interior success value. Read more
§

fn tap_ok_mut(self, func: impl FnOnce(&mut T)) -> Result<T, E>

Mutably accesses an interior success value. Read more
§

fn tap_err(self, func: impl FnOnce(&E)) -> Result<T, E>

Immutably accesses an interior failure value. Read more
§

fn tap_err_mut(self, func: impl FnOnce(&mut E)) -> Result<T, E>

Mutably accesses an interior failure value. Read more
§

fn tap_ok_dbg(self, func: impl FnOnce(&Self::Ok)) -> Self

Calls .tap_ok() only in debug builds, and is erased in release builds.
§

fn tap_ok_mut_dbg(self, func: impl FnOnce(&mut Self::Ok)) -> Self

Calls .tap_ok_mut() only in debug builds, and is erased in release\nbuilds.
§

fn tap_err_dbg(self, func: impl FnOnce(&Self::Err)) -> Self

Calls .tap_err() only in debug builds, and is erased in release\nbuilds.
§

fn tap_err_mut_dbg(self, func: impl FnOnce(&mut Self::Err)) -> Self

Calls .tap_err_mut() only in debug builds, and is erased in release\nbuilds.
","TapFallible","hotshot_query_service::QueryResult"],["
§

impl<C, T, E> FromParallelIterator<Result<T, E>> for Result<C, E>where\n C: FromParallelIterator<T>,\n T: Send,\n E: Send,

Collect an arbitrary Result-wrapped collection.

\n

If any item is Err, then all previous Ok items collected are\ndiscarded, and it returns that error. If there are multiple errors, the\none returned is not deterministic.

\n
§

fn from_par_iter<I>(par_iter: I) -> Result<C, E>where\n I: IntoParallelIterator<Item = Result<T, E>>,

Creates an instance of the collection from the parallel iterator par_iter. Read more
","FromParallelIterator>","hotshot_query_service::QueryResult"],["
§

impl<T, E> IntoParallelIterator for Result<T, E>where\n T: Send,

§

type Item = T

The type of item that the parallel iterator will produce.
§

type Iter = IntoIter<T>

The parallel iterator type that will be created.
§

fn into_par_iter(self) -> <Result<T, E> as IntoParallelIterator>::Iter

Converts self into a parallel iterator. Read more
","IntoParallelIterator","hotshot_query_service::QueryResult"],["
source§

impl<T, E> InstrumentResult<T> for Result<T, E>where\n E: InstrumentError,

§

type Instrumented = <E as InstrumentError>::Instrumented

The type of the wrapped error after instrumentation
source§

fn in_current_span(\n self\n) -> Result<T, <Result<T, E> as InstrumentResult<T>>::Instrumented>

Instrument an Error by bundling it with a SpanTrace Read more
","InstrumentResult","hotshot_query_service::QueryResult"],["
source§

impl<T, E> Section for Result<T, E>where\n E: Into<Report>,

§

type Return = Result<T, Report>

The return type of each method after adding context
source§

fn note<D>(self, note: D) -> <Result<T, E> as Section>::Returnwhere\n D: Display + Send + Sync + 'static,

Add a Note to an error report, to be displayed after the chain of errors. Read more
source§

fn with_note<D, F>(self, note: F) -> <Result<T, E> as Section>::Returnwhere\n D: Display + Send + Sync + 'static,\n F: FnOnce() -> D,

Add a Note to an error report, to be displayed after the chain of errors. The closure to\ncreate the Note is lazily evaluated only in the case of an error. Read more
source§

fn warning<D>(self, warning: D) -> <Result<T, E> as Section>::Returnwhere\n D: Display + Send + Sync + 'static,

Add a Warning to an error report, to be displayed after the chain of errors.
source§

fn with_warning<D, F>(self, warning: F) -> <Result<T, E> as Section>::Returnwhere\n D: Display + Send + Sync + 'static,\n F: FnOnce() -> D,

Add a Warning to an error report, to be displayed after the chain of errors. The closure to\ncreate the Warning is lazily evaluated only in the case of an error.
source§

fn suggestion<D>(self, suggestion: D) -> <Result<T, E> as Section>::Returnwhere\n D: Display + Send + Sync + 'static,

Add a Suggestion to an error report, to be displayed after the chain of errors.
source§

fn with_suggestion<D, F>(\n self,\n suggestion: F\n) -> <Result<T, E> as Section>::Returnwhere\n D: Display + Send + Sync + 'static,\n F: FnOnce() -> D,

Add a Suggestion to an error report, to be displayed after the chain of errors. The closure\nto create the Suggestion is lazily evaluated only in the case of an error.
source§

fn with_section<D, F>(self, section: F) -> <Result<T, E> as Section>::Returnwhere\n D: Display + Send + Sync + 'static,\n F: FnOnce() -> D,

Add a Section to an error report, to be displayed after the chain of errors. The closure to\ncreate the Section is lazily evaluated only in the case of an error. Read more
source§

fn section<D>(self, section: D) -> <Result<T, E> as Section>::Returnwhere\n D: Display + Send + Sync + 'static,

Add a section to an error report, to be displayed after the chain of errors. Read more
source§

fn error<E2>(self, error: E2) -> <Result<T, E> as Section>::Returnwhere\n E2: Error + Send + Sync + 'static,

Add an error section to an error report, to be displayed after the primary error message\nsection. Read more
source§

fn with_error<E2, F>(self, error: F) -> <Result<T, E> as Section>::Returnwhere\n F: FnOnce() -> E2,\n E2: Error + Send + Sync + 'static,

Add an error section to an error report, to be displayed after the primary error message\nsection. The closure to create the Section is lazily evaluated only in the case of an error. Read more
","Section","hotshot_query_service::QueryResult"],["
source§

impl<T, E> WrapErr<T, E> for Result<T, E>where\n E: StdError + Send + Sync + 'static,

source§

fn wrap_err<D>(self, msg: D) -> Result<T, Report>where\n D: Display + Send + Sync + 'static,

Wrap the error value with a new adhoc error
source§

fn wrap_err_with<D, F>(self, msg: F) -> Result<T, Report>where\n D: Display + Send + Sync + 'static,\n F: FnOnce() -> D,

Wrap the error value with a new adhoc error that is evaluated lazily\nonly once an error does occur.
source§

fn context<D>(self, msg: D) -> Result<T, Report>where\n D: Display + Send + Sync + 'static,

Compatibility re-export of wrap_err for interop with anyhow
source§

fn with_context<D, F>(self, msg: F) -> Result<T, Report>where\n D: Display + Send + Sync + 'static,\n F: FnOnce() -> D,

Compatibility re-export of wrap_err_with for interop with anyhow
","WrapErr","hotshot_query_service::QueryResult"],["
§

impl<E> ResultVoidErrExt<E> for Result<Void, E>

§

fn void_unwrap_err(self) -> E

Get the error out of an always-err Result.

\n

Never panics, since it is statically known to be Err.

\n
","ResultVoidErrExt","hotshot_query_service::QueryResult"],["
§

impl<R, A> RestrictedMath for Result<R, A>where\n R: RestrictedMath,\n A: 'static + Copy,

§

type Arg = <R as RestrictedMath>::Arg

Argument for the math operations
§

type Value = <R as RestrictedMath>::Value

Return value, generally the same as Arg
§

fn checked_add(\n &self,\n arg: <Result<R, A> as RestrictedMath>::Arg\n) -> Result<Restrict<<Result<R, A> as RestrictedMath>::Value>, <Result<R, A> as RestrictedMath>::Arg>

Checked addition, see usize::checked_add
§

fn checked_sub(\n &self,\n arg: <Result<R, A> as RestrictedMath>::Arg\n) -> Result<Restrict<<Result<R, A> as RestrictedMath>::Value>, <Result<R, A> as RestrictedMath>::Arg>

Checked subtraction, see usize::checked_sub
§

fn checked_mul(\n &self,\n arg: <Result<R, A> as RestrictedMath>::Arg\n) -> Result<Restrict<<Result<R, A> as RestrictedMath>::Value>, <Result<R, A> as RestrictedMath>::Arg>

Checked multiplication, see usize::checked_mul
","RestrictedMath","hotshot_query_service::QueryResult"],["
§

impl<T, E> ResultExt<T, E> for Result<T, E>

§

fn context<X>(self, x: X) -> Result<T, Context<X, E>>

The method is use to add context information to current operation Read more
","ResultExt","hotshot_query_service::QueryResult"],["
§

impl<R, A> RestrictedMath for Result<R, A>where\n R: RestrictedMath,\n A: 'static + Copy,

§

type Arg = <R as RestrictedMath>::Arg

Argument for the math operations
§

type Value = <R as RestrictedMath>::Value

Return value, generally the same as Arg
§

fn checked_add(\n &self,\n arg: <Result<R, A> as RestrictedMath>::Arg\n) -> Result<Restrict<<Result<R, A> as RestrictedMath>::Value>, <Result<R, A> as RestrictedMath>::Arg>

Checked addition, see usize::checked_add
§

fn checked_sub(\n &self,\n arg: <Result<R, A> as RestrictedMath>::Arg\n) -> Result<Restrict<<Result<R, A> as RestrictedMath>::Value>, <Result<R, A> as RestrictedMath>::Arg>

Checked subtraction, see usize::checked_sub
§

fn checked_mul(\n &self,\n arg: <Result<R, A> as RestrictedMath>::Arg\n) -> Result<Restrict<<Result<R, A> as RestrictedMath>::Value>, <Result<R, A> as RestrictedMath>::Arg>

Checked multiplication, see usize::checked_mul
","RestrictedMath","hotshot_query_service::QueryResult"],["
source§

impl<T, E> UnwrapThrowExt<T> for Result<T, E>where\n E: Debug,

source§

fn expect_throw(self, message: &str) -> T

Unwrap this container’s T value, or throw an error to JS with the\ngiven message if the T value is unavailable (e.g. an Option<T> is\nNone).
source§

fn unwrap_throw(self) -> T

Unwrap this Option or Result, but instead of panicking on failure,\nthrow an exception to JavaScript.
","UnwrapThrowExt","hotshot_query_service::QueryResult"],["
source§

impl<T, E> ReturnWasmAbi for Result<T, E>where\n T: IntoWasmAbi,\n E: Into<JsValue>,\n <T as IntoWasmAbi>::Abi: WasmAbi<Prim3 = (), Prim4 = ()>,

§

type Abi = Result<<T as IntoWasmAbi>::Abi, u32>

Same as IntoWasmAbi::Abi
source§

fn return_abi(self) -> <Result<T, E> as ReturnWasmAbi>::Abi

Same as IntoWasmAbi::into_abi, except that it may throw and never\nreturn in the case of Err.
","ReturnWasmAbi","hotshot_query_service::QueryResult"],["
§

impl<T, E> NonBlockingResult for Result<T, E>where\n E: NonBlockingError,

§

type Result = Result<Option<T>, E>

Type of the converted result: Result<Option<T>, E>
§

fn no_block(self) -> <Result<T, E> as NonBlockingResult>::Result

Perform the non-block conversion.
","NonBlockingResult","hotshot_query_service::QueryResult"],["
§

impl<T, E> WrapMigrationError<T, E> for Result<T, E>where\n E: Error + Send + Sync + 'static,

§

fn migration_err(\n self,\n msg: &str,\n applied_migrations: Option<&[Migration]>\n) -> Result<T, Error>

","WrapMigrationError","hotshot_query_service::QueryResult"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/type.impl/hotshot_query_service/availability/enum.ResourceId.js b/type.impl/hotshot_query_service/availability/enum.ResourceId.js index b7971b6ee..e48cb7b45 100644 --- a/type.impl/hotshot_query_service/availability/enum.ResourceId.js +++ b/type.impl/hotshot_query_service/availability/enum.ResourceId.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"hotshot_query_service":[["
source§

impl<T: Committable> Eq for ResourceId<T>

","Eq","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"],["
source§

impl<T: Committable> Copy for ResourceId<T>

","Copy","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"],["
source§

impl<T: Committable> Display for ResourceId<T>

source§

fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
","Display","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"],["
source§

impl<T: Committable> PartialOrd for ResourceId<T>

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <=\noperator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >=\noperator. Read more
","PartialOrd","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"],["
source§

impl<T: Committable> From<usize> for ResourceId<T>

source§

fn from(original: usize) -> ResourceId<T>

Converts to this type from the input type.
","From","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"],["
source§

impl<T: Committable> PartialEq for ResourceId<T>

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"],["
source§

impl<T: Committable> Clone for ResourceId<T>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"],["
source§

impl<T: Committable> Hash for ResourceId<T>

source§

fn hash<__HT>(&self, __state: &mut __HT)where\n __HT: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"],["
source§

impl<T: Committable> From<Commitment<T>> for ResourceId<T>

source§

fn from(original: Commitment<T>) -> ResourceId<T>

Converts to this type from the input type.
","From>","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"],["
source§

impl<T: Committable> Debug for ResourceId<T>

source§

fn fmt(&self, __f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
","Debug","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"],["
source§

impl<T: Committable> Ord for ResourceId<T>

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere\n Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
","Ord","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"]] +"hotshot_query_service":[["
source§

impl<T: Committable> Debug for ResourceId<T>

source§

fn fmt(&self, __f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
","Debug","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"],["
source§

impl<T: Committable> Display for ResourceId<T>

source§

fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
","Display","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"],["
source§

impl<T: Committable> PartialOrd for ResourceId<T>

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <=\noperator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >=\noperator. Read more
","PartialOrd","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"],["
source§

impl<T: Committable> Hash for ResourceId<T>

source§

fn hash<__HT>(&self, __state: &mut __HT)where\n __HT: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"],["
source§

impl<T: Committable> PartialEq for ResourceId<T>

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"],["
source§

impl<T: Committable> Eq for ResourceId<T>

","Eq","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"],["
source§

impl<T: Committable> Clone for ResourceId<T>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"],["
source§

impl<T: Committable> From<Commitment<T>> for ResourceId<T>

source§

fn from(original: Commitment<T>) -> ResourceId<T>

Converts to this type from the input type.
","From>","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"],["
source§

impl<T: Committable> From<usize> for ResourceId<T>

source§

fn from(original: usize) -> ResourceId<T>

Converts to this type from the input type.
","From","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"],["
source§

impl<T: Committable> Ord for ResourceId<T>

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere\n Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
","Ord","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"],["
source§

impl<T: Committable> Copy for ResourceId<T>

","Copy","hotshot_query_service::availability::data_source::BlockId","hotshot_query_service::availability::data_source::LeafId"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file