From bb07fca84f471efa53d46d1a2f9f401d17ecbd6d Mon Sep 17 00:00:00 2001 From: jparr721 Date: Mon, 12 Aug 2024 14:57:54 +0000 Subject: [PATCH] deploy: 8e0ee4e862de99f19b9cbadd029f0d952782a3dd --- help.html | 2 +- hotshot_query_service/all.html | 2 +- .../availability/enum.BlockId.html | 238 +++--- .../availability/enum.Error.html | 248 +++---- .../availability/enum.Fetch.html | 214 +++--- .../availability/enum.LeafId.html | 238 +++--- .../availability/fn.define_api.html | 8 +- hotshot_query_service/availability/index.html | 2 +- .../availability/struct.BlockQueryData.html | 236 +++--- .../struct.BlockSummaryQueryData.html | 216 +++--- .../availability/struct.CustomSnafu.html | 222 +++--- .../availability/struct.FetchBlockSnafu.html | 204 +++--- .../availability/struct.FetchLeafSnafu.html | 204 +++--- .../struct.FetchTransactionSnafu.html | 204 +++--- .../struct.InconsistentLeafError.html | 200 ++--- .../struct.InvalidTransactionIndexSnafu.html | 222 +++--- .../availability/struct.LeafQueryData.html | 248 +++---- .../availability/struct.Options.html | 188 ++--- .../availability/struct.PayloadQueryData.html | 216 +++--- .../availability/struct.RequestSnafu.html | 184 ++--- .../struct.TransactionQueryData.html | 254 +++---- .../struct.TransactionSummaryQueryData.html | 222 +++--- .../struct.VidCommonQueryData.html | 208 +++--- .../trait.AvailabilityDataSource.html | 176 ++--- .../availability/trait.QueryableHeader.html | 6 +- .../availability/trait.QueryablePayload.html | 74 +- .../trait.UpdateAvailabilityData.html | 32 +- .../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 +- .../availability_tests/fn.test_range.html | 2 +- .../availability_tests/fn.test_update.html | 2 +- .../data_source/availability_tests/index.html | 2 +- .../data_source/fetching/index.html | 2 +- .../data_source/fetching/struct.Builder.html | 230 +++--- .../fetching/struct.FetchingDataSource.html | 390 +++++----- .../data_source/fetching/struct.Pruner.html | 214 +++--- .../fetching/struct.StorageReadGuard.html | 202 ++--- .../fetching/struct.StorageWriteGuard.html | 692 +++++++++--------- .../fetching/trait.AvailabilityProvider.html | 4 +- hotshot_query_service/data_source/index.html | 2 +- .../node_tests/fn.test_counters.html | 2 +- .../node_tests/fn.test_sync_status.html | 2 +- .../node_tests/fn.test_timestamp_window.html | 2 +- .../node_tests/fn.test_vid_monotonicity.html | 2 +- .../node_tests/fn.test_vid_recovery.html | 2 +- .../node_tests/fn.test_vid_shares.html | 2 +- .../data_source/node_tests/index.html | 2 +- .../persistence_tests/fn.test_reset.html | 2 +- .../persistence_tests/fn.test_revert.html | 2 +- .../data_source/persistence_tests/index.html | 2 +- .../data_source/sql/index.html | 2 +- .../sql/macro.include_migrations.html | 2 +- .../data_source/sql/struct.Error.html | 212 +++--- .../data_source/sql/struct.Migration.html | 234 +++--- .../data_source/sql/testing/index.html | 2 +- .../data_source/sql/type.Builder.html | 2 +- .../data_source/sql/type.SqlDataSource.html | 88 +-- .../status_tests/fn.test_metrics.html | 2 +- .../data_source/status_tests/index.html | 2 +- .../data_source/storage/fs/index.html | 2 +- .../storage/fs/struct.FileSystemStorage.html | 320 ++++---- .../data_source/storage/index.html | 2 +- .../data_source/storage/no_storage/index.html | 2 +- .../storage/no_storage/struct.NoStorage.html | 268 +++---- .../no_storage/testing/enum.DataSource.html | 310 ++++---- .../no_storage/testing/enum.Storage.html | 180 ++--- .../storage/no_storage/testing/index.html | 2 +- .../data_source/storage/pruning/index.html | 2 +- .../storage/pruning/struct.PrunerCfg.html | 192 ++--- .../storage/pruning/trait.PruneStorage.html | 18 +- .../pruning/trait.PrunedHeightStorage.html | 30 +- .../storage/pruning/trait.PrunerConfig.html | 6 +- .../storage/sql/fn.default_migrations.html | 2 +- .../data_source/storage/sql/index.html | 2 +- .../storage/sql/macro.include_dir.html | 2 +- .../storage/sql/macro.include_migrations.html | 2 +- .../storage/sql/struct.Config.html | 202 ++--- .../data_source/storage/sql/struct.Error.html | 212 +++--- .../storage/sql/struct.Migration.html | 234 +++--- .../storage/sql/struct.Pruner.html | 176 ++--- .../storage/sql/struct.SqlStorage.html | 354 ++++----- .../storage/sql/struct.Transaction.html | 320 ++++---- .../storage/sql/testing/index.html | 2 +- .../struct.TestMerkleTreeMigration.html | 176 ++--- .../storage/sql/testing/struct.TmpDb.html | 176 ++--- .../data_source/storage/sql/trait.Query.html | 142 ++-- .../storage/trait.AvailabilityStorage.html | 62 +- .../storage/trait.ExplorerStorage.html | 40 +- .../struct.ExtensibleDataSource.html | 420 +++++------ .../data_source/struct.MetricsDataSource.html | 210 +++--- .../data_source/trait.UpdateDataSource.html | 10 +- .../trait.VersionedDataSource.html | 24 +- .../type.FileSystemDataSource.html | 22 +- hotshot_query_service/enum.Error.html | 216 +++--- hotshot_query_service/enum.QueryError.html | 220 +++--- .../explorer/enum.BlockIdentifier.html | 206 +++--- .../explorer/enum.CurrencyCode.html | 238 +++--- .../explorer/enum.Error.html | 206 +++--- .../explorer/enum.GetBlockDetailError.html | 206 +++--- .../explorer/enum.GetBlockSummariesError.html | 206 +++--- .../enum.GetExplorerSummaryError.html | 206 +++--- .../explorer/enum.GetSearchResultsError.html | 206 +++--- .../enum.GetTransactionDetailError.html | 206 +++--- .../enum.GetTransactionSummariesError.html | 206 +++--- .../enum.TimestampConversionError.html | 210 +++--- .../explorer/enum.TransactionIdentifier.html | 206 +++--- .../enum.TransactionSummaryFilter.html | 190 ++--- .../explorer/fn.define_api.html | 8 +- hotshot_query_service/explorer/index.html | 2 +- .../explorer/struct.BlockDetail.html | 254 +++---- .../explorer/struct.BlockDetailResponse.html | 222 +++--- .../explorer/struct.BlockRange.html | 200 ++--- .../explorer/struct.BlockSummary.html | 242 +++--- .../explorer/struct.BlockSummaryResponse.html | 214 +++--- .../struct.CurrencyMismatchError.html | 202 ++--- .../explorer/struct.ExplorerHistograms.html | 194 ++--- .../explorer/struct.ExplorerSummary.html | 232 +++--- .../struct.ExplorerSummaryResponse.html | 228 +++--- .../explorer/struct.FeeAttribution.html | 206 +++--- .../explorer/struct.GenesisOverview.html | 192 ++--- .../struct.GetBlockSummariesRequest.html | 194 ++--- ...struct.GetTransactionSummariesRequest.html | 178 ++--- .../struct.InvalidCurrencyCodeError.html | 204 +++--- .../explorer/struct.MonetaryValue.html | 244 +++--- .../explorer/struct.SearchResult.html | 222 +++--- .../explorer/struct.SearchResultResponse.html | 218 +++--- .../explorer/struct.Timestamp.html | 208 +++--- .../explorer/struct.TransactionDetail.html | 216 +++--- .../struct.TransactionDetailResponse.html | 192 ++--- .../explorer/struct.TransactionRange.html | 200 ++--- .../struct.TransactionSummariesResponse.html | 214 +++--- .../explorer/struct.TransactionSummary.html | 246 +++---- .../explorer/trait.ExplorerHeader.html | 24 +- .../explorer/trait.ExplorerTransaction.html | 8 +- .../explorer/type.BalanceAmount.html | 2 +- .../explorer/type.BlockNamespaceId.html | 2 +- .../explorer/type.ProposerId.html | 2 +- .../explorer/type.TransactionNamespaceId.html | 2 +- .../explorer/type.WalletAddress.html | 2 +- hotshot_query_service/fetching/index.html | 2 +- .../fetching/provider/index.html | 2 +- .../fetching/provider/struct.AnyProvider.html | 210 +++--- .../fetching/provider/struct.NoFetching.html | 188 ++--- .../provider/struct.QueryServiceProvider.html | 192 ++--- .../provider/struct.TestProvider.html | 196 ++--- .../fetching/provider/trait.Provider.html | 14 +- .../fetching/request/index.html | 2 +- .../fetching/request/struct.LeafRequest.html | 214 +++--- .../request/struct.PayloadRequest.html | 218 +++--- .../request/struct.VidCommonRequest.html | 218 +++--- .../fetching/request/trait.Request.html | 8 +- .../fetching/struct.Fetcher.html | 194 ++--- .../fetching/trait.Callback.html | 6 +- .../fetching/trait.LocalCallback.html | 4 +- .../fn.run_standalone_service.html | 6 +- hotshot_query_service/index.html | 2 +- .../macro.include_migrations.html | 2 +- .../macro.instantiate_availability_tests.html | 2 +- .../macro.instantiate_data_source_tests.html | 2 +- .../macro.instantiate_node_tests.html | 2 +- .../macro.instantiate_persistence_tests.html | 2 +- .../macro.instantiate_status_tests.html | 2 +- .../merklized_state/enum.Error.html | 212 +++--- .../merklized_state/enum.Snapshot.html | 246 +++---- .../merklized_state/fn.define_api.html | 10 +- .../merklized_state/index.html | 2 +- .../merklized_state/struct.Options.html | 184 ++--- .../merklized_state/trait.MerklizedState.html | 28 +- .../trait.MerklizedStateDataSource.html | 18 +- ...trait.MerklizedStateHeightPersistence.html | 22 +- .../trait.UpdateStateData.html | 26 +- .../metrics/enum.MetricsError.html | 202 ++--- hotshot_query_service/metrics/index.html | 2 +- .../metrics/struct.Counter.html | 182 ++--- .../metrics/struct.CounterFamily.html | 184 ++--- .../metrics/struct.Gauge.html | 182 ++--- .../metrics/struct.GaugeFamily.html | 184 ++--- .../metrics/struct.Histogram.html | 182 ++--- .../metrics/struct.HistogramFamily.html | 184 ++--- .../metrics/struct.PrometheusMetrics.html | 240 +++--- .../metrics/struct.TextFamily.html | 184 ++--- hotshot_query_service/node/enum.Error.html | 238 +++--- .../node/enum.WindowStart.html | 186 ++--- hotshot_query_service/node/fn.define_api.html | 8 +- hotshot_query_service/node/index.html | 2 +- .../node/struct.CustomSnafu.html | 222 +++--- .../node/struct.Options.html | 184 ++--- .../node/struct.QuerySnafu.html | 184 ++--- .../node/struct.QueryVidSnafu.html | 198 ++--- .../node/struct.QueryWindowSnafu.html | 212 +++--- .../node/struct.RequestSnafu.html | 184 ++--- .../node/struct.SyncStatus.html | 246 +++---- .../node/struct.TimeWindowQueryData.html | 232 +++--- .../node/trait.NodeDataSource.html | 48 +- hotshot_query_service/status/enum.Error.html | 212 +++--- .../status/fn.define_api.html | 8 +- hotshot_query_service/status/index.html | 2 +- .../status/struct.Options.html | 184 ++--- .../status/trait.StatusDataSource.html | 30 +- .../status/trait.UpdateStatusData.html | 6 +- hotshot_query_service/struct.ErrorSnafu.html | 204 +++--- hotshot_query_service/struct.Leaf.html | 336 ++++----- .../struct.MissingSnafu.html | 186 ++--- .../struct.NotFoundSnafu.html | 186 ++--- hotshot_query_service/struct.Options.html | 180 ++--- .../testing/consensus/constant.NUM_NODES.html | 2 +- .../testing/consensus/index.html | 2 +- .../testing/consensus/struct.MockNetwork.html | 182 ++--- .../consensus/trait.DataSourceLifeCycle.html | 34 +- .../consensus/trait.TestableDataSource.html | 2 +- .../consensus/type.MockDataSource.html | 2 +- .../consensus/type.MockSqlDataSource.html | 2 +- .../testing/fn.setup_test.html | 2 +- hotshot_query_service/testing/fn.sleep.html | 2 +- hotshot_query_service/testing/index.html | 2 +- .../testing/mocks/fn.mock_transaction.html | 2 +- .../testing/mocks/index.html | 2 +- .../testing/mocks/struct.MockNodeImpl.html | 236 +++--- .../testing/mocks/struct.MockTypes.html | 346 ++++----- .../mocks/type.MockAuctionResults.html | 6 +- .../testing/mocks/type.MockBase.html | 2 +- .../testing/mocks/type.MockHeader.html | 20 +- .../testing/mocks/type.MockMembership.html | 2 +- .../testing/mocks/type.MockMerkleTree.html | 6 +- .../testing/mocks/type.MockNetwork.html | 2 +- .../testing/mocks/type.MockPayload.html | 30 +- .../mocks/type.MockQuorumProposal.html | 10 +- .../testing/mocks/type.MockStorage.html | 6 +- .../testing/mocks/type.MockTransaction.html | 2 +- hotshot_query_service/trait.Resolvable.html | 8 +- hotshot_query_service/type.Header.html | 2 +- hotshot_query_service/type.Metadata.html | 2 +- hotshot_query_service/type.Payload.html | 2 +- hotshot_query_service/type.QueryResult.html | 2 +- hotshot_query_service/type.SignatureKey.html | 2 +- hotshot_query_service/type.Transaction.html | 2 +- hotshot_query_service/type.VidCommitment.html | 2 +- hotshot_query_service/type.VidCommon.html | 2 +- hotshot_query_service/type.VidShare.html | 2 +- hotshot_query_service/types/index.html | 2 +- .../types/trait.HeightIndexed.html | 6 +- search-index.js | 2 +- .../hotshot_query_service-desc-0-.js | 2 +- settings.html | 2 +- src/hotshot_query_service/api.rs.html | 2 +- .../availability.rs.html | 2 +- .../availability/data_source.rs.html | 2 +- .../availability/fetch.rs.html | 2 +- .../availability/query_data.rs.html | 2 +- src/hotshot_query_service/data_source.rs.html | 2 +- .../data_source/extension.rs.html | 2 +- .../data_source/fetching.rs.html | 2 +- .../data_source/fetching/block.rs.html | 2 +- .../data_source/fetching/header.rs.html | 2 +- .../data_source/fetching/leaf.rs.html | 2 +- .../data_source/fetching/transaction.rs.html | 2 +- .../data_source/fetching/vid.rs.html | 2 +- .../data_source/fs.rs.html | 2 +- .../data_source/metrics.rs.html | 2 +- .../data_source/notifier.rs.html | 2 +- .../data_source/sql.rs.html | 2 +- .../data_source/storage.rs.html | 2 +- .../data_source/storage/fs.rs.html | 2 +- .../data_source/storage/ledger_log.rs.html | 2 +- .../data_source/storage/no_storage.rs.html | 2 +- .../data_source/storage/pruning.rs.html | 2 +- .../data_source/storage/sql.rs.html | 2 +- .../data_source/storage/sql/client.rs.html | 2 +- .../data_source/update.rs.html | 2 +- src/hotshot_query_service/error.rs.html | 2 +- src/hotshot_query_service/explorer.rs.html | 2 +- .../explorer/currency.rs.html | 2 +- .../explorer/errors.rs.html | 2 +- .../explorer/monetary_value.rs.html | 2 +- .../explorer/query_data.rs.html | 2 +- .../explorer/traits.rs.html | 2 +- src/hotshot_query_service/fetching.rs.html | 2 +- .../fetching/provider.rs.html | 2 +- .../fetching/provider/any.rs.html | 2 +- .../fetching/provider/query_service.rs.html | 2 +- .../fetching/provider/testing.rs.html | 2 +- .../fetching/request.rs.html | 2 +- src/hotshot_query_service/lib.rs.html | 2 +- .../merklized_state.rs.html | 2 +- .../merklized_state/data_source.rs.html | 2 +- src/hotshot_query_service/metrics.rs.html | 2 +- src/hotshot_query_service/node.rs.html | 2 +- .../node/data_source.rs.html | 2 +- .../node/query_data.rs.html | 2 +- src/hotshot_query_service/resolvable.rs.html | 2 +- src/hotshot_query_service/status.rs.html | 2 +- .../status/data_source.rs.html | 2 +- src/hotshot_query_service/task.rs.html | 2 +- src/hotshot_query_service/testing.rs.html | 2 +- .../testing/consensus.rs.html | 4 +- .../testing/mocks.rs.html | 2 +- src/hotshot_query_service/types.rs.html | 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.AsMut.js | 2 +- trait.impl/core/convert/trait.AsRef.js | 2 +- trait.impl/core/convert/trait.From.js | 2 +- trait.impl/core/convert/trait.TryFrom.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 +- .../future/into_future/trait.IntoFuture.js | 2 +- trait.impl/core/hash/trait.Hash.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 +- .../core/marker/trait.StructuralPartialEq.js | 2 +- trait.impl/core/marker/trait.Sync.js | 2 +- trait.impl/core/marker/trait.Unpin.js | 2 +- trait.impl/core/ops/arith/trait.Add.js | 2 +- trait.impl/core/ops/arith/trait.Sub.js | 2 +- trait.impl/core/ops/deref/trait.Deref.js | 2 +- trait.impl/core/ops/deref/trait.DerefMut.js | 2 +- trait.impl/core/ops/drop/trait.Drop.js | 2 +- .../panic/unwind_safe/trait.RefUnwindSafe.js | 2 +- .../panic/unwind_safe/trait.UnwindSafe.js | 2 +- trait.impl/core/str/traits/trait.FromStr.js | 2 +- .../traits/metrics/trait.MetricsFamily.js | 2 +- trait.impl/serde/de/trait.Deserialize.js | 2 +- trait.impl/serde/ser/trait.Serialize.js | 2 +- trait.impl/snafu/trait.IntoError.js | 2 +- type.impl/committable/struct.Commitment.js | 2 +- type.impl/core/result/enum.Result.js | 2 +- .../struct.GeneralStaticCommittee.js | 2 +- .../memory_network/struct.MemoryNetwork.js | 2 +- .../struct.TestAuctionResult.js | 2 +- .../block_types/struct.TestBlockHeader.js | 2 +- .../block_types/struct.TestBlockPayload.js | 2 +- .../block_types/struct.TestTransaction.js | 2 +- .../storage_types/struct.TestStorage.js | 2 +- .../data_source/fetching/struct.Builder.js | 2 +- .../fetching/struct.FetchingDataSource.js | 2 +- .../data_source/sql/type.SqlDataSource.js | 2 +- .../data_source/type.FileSystemDataSource.js | 2 +- .../testing/mocks/struct.MockTypes.js | 2 +- .../data/struct.QuorumProposal.js | 2 +- .../hotshot_types/vid/struct.VidSchemeType.js | 2 +- .../struct.UniversalMerkleTree.js | 2 +- .../offset_date_time/struct.OffsetDateTime.js | 2 +- 352 files changed, 13904 insertions(+), 13904 deletions(-) diff --git a/help.html b/help.html index 4ec8c20a7..7a593481f 100644 --- a/help.html +++ b/help.html @@ -1 +1 @@ -Help

Rustdoc help

Back
\ No newline at end of file +Help

Rustdoc help

Back
\ No newline at end of file diff --git a/hotshot_query_service/all.html b/hotshot_query_service/all.html index 858f6f12d..6445315b3 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

Constants

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

List of all items

Structs

Enums

Traits

Macros

Functions

Type Aliases

Constants

\ No newline at end of file diff --git a/hotshot_query_service/availability/enum.BlockId.html b/hotshot_query_service/availability/enum.BlockId.html index 4e4f5bdcf..8f15212c7 100644 --- a/hotshot_query_service/availability/enum.BlockId.html +++ b/hotshot_query_service/availability/enum.BlockId.html @@ -1,78 +1,78 @@ -BlockId in hotshot_query_service::availability - Rust

Enum hotshot_query_service::availability::BlockId

source ·
pub enum BlockId<Types: NodeType> {
-    Number(usize),
+BlockId in hotshot_query_service::availability - Rust

Enum hotshot_query_service::availability::BlockId

source ·
pub enum BlockId<Types: NodeType> {
+    Number(usize),
     Hash(BlockHash<Types>),
     PayloadHash(VidCommitment),
-}

Variants§

§

Number(usize)

§

Hash(BlockHash<Types>)

§

PayloadHash(VidCommitment)

Trait Implementations§

source§

impl<Types: NodeType> Clone for BlockId<Types>

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<Types: NodeType> Debug for BlockId<Types>

source§

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

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

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

source§

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

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

impl<Types: NodeType> From<Commitment<<Types as NodeType>::BlockHeader>> for BlockId<Types>

source§

fn from(original: BlockHash<Types>) -> BlockId<Types>

Converts to this type from the input type.
source§

impl<Types: NodeType> From<usize> for BlockId<Types>

source§

fn from(original: usize) -> BlockId<Types>

Converts to this type from the input type.
source§

impl<Types: NodeType> Hash for BlockId<Types>

source§

fn hash<__HTypes>(&self, __state: &mut __HTypes)
where - __HTypes: 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<Types: NodeType> Ord for BlockId<Types>

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) -> Self
where - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl<Types: NodeType> PartialEq for BlockId<Types>

source§

fn eq(&self, other: &Self) -> 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> PartialOrd for BlockId<Types>

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 <= -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<Types: NodeType> Copy for BlockId<Types>

source§

impl<Types: NodeType> Eq for BlockId<Types>

Auto Trait Implementations§

§

impl<Types> Freeze for BlockId<Types>

§

impl<Types> RefUnwindSafe for BlockId<Types>

§

impl<Types> Send for BlockId<Types>

§

impl<Types> Sync for BlockId<Types>

§

impl<Types> Unpin for BlockId<Types>

§

impl<Types> UnwindSafe for BlockId<Types>

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +}

Variants§

§

Number(usize)

§

Hash(BlockHash<Types>)

§

PayloadHash(VidCommitment)

Trait Implementations§

source§

impl<Types: NodeType> Clone for BlockId<Types>

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<Types: NodeType> Debug for BlockId<Types>

source§

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

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

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

source§

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

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

impl<Types: NodeType> From<Commitment<<Types as NodeType>::BlockHeader>> for BlockId<Types>

source§

fn from(original: BlockHash<Types>) -> BlockId<Types>

Converts to this type from the input type.
source§

impl<Types: NodeType> From<usize> for BlockId<Types>

source§

fn from(original: usize) -> BlockId<Types>

Converts to this type from the input type.
source§

impl<Types: NodeType> Hash for BlockId<Types>

source§

fn hash<__HTypes>(&self, __state: &mut __HTypes)
where + __HTypes: 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<Types: NodeType> Ord for BlockId<Types>

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) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl<Types: NodeType> PartialEq for BlockId<Types>

source§

fn eq(&self, other: &Self) -> 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> PartialOrd for BlockId<Types>

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 <= +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<Types: NodeType> Copy for BlockId<Types>

source§

impl<Types: NodeType> Eq for BlockId<Types>

Auto Trait Implementations§

§

impl<Types> Freeze for BlockId<Types>

§

impl<Types> RefUnwindSafe for BlockId<Types>

§

impl<Types> Send for BlockId<Types>

§

impl<Types> Sync for BlockId<Types>

§

impl<Types> Unpin for BlockId<Types>

§

impl<Types> UnwindSafe for BlockId<Types>

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> CallHasher for T
where - T: Hash + ?Sized,

§

fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
where - H: Hash + ?Sized, - B: BuildHasher,

§

impl<Q, K> Comparable<K> for Q
where - Q: Ord + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<T> Conv for T

§

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

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> CallHasher for T
where + T: Hash + ?Sized,

§

fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
where + H: Hash + ?Sized, + B: BuildHasher,

§

impl<Q, K> Comparable<K> for Q
where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<T> Conv for T

§

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

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

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

§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

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

source§

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

§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -80,84 +80,84 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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
§

impl<T> Element for T
where - T: Clone + Eq + PartialEq + Hash,

§

impl<T> Index for T
where - T: Debug + Eq + PartialEq + Hash + Ord + PartialOrd + Clone,

source§

impl<T> RuleType for T
where - T: Copy + Debug + Eq + Hash + Ord,

\ No newline at end of file + T: Clone + Eq + PartialEq + Hash,
§

impl<T> Index for T
where + T: Debug + Eq + PartialEq + Hash + Ord + PartialOrd + Clone,

source§

impl<T> RuleType for T
where + T: Copy + Debug + Eq + Hash + Ord,

\ 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 699acfddd..c256f04ba 100644 --- a/hotshot_query_service/availability/enum.Error.html +++ b/hotshot_query_service/availability/enum.Error.html @@ -1,101 +1,101 @@ -Error in hotshot_query_service::availability - Rust

Enum hotshot_query_service::availability::Error

source ·
pub enum Error {
+Error in hotshot_query_service::availability - Rust

Enum hotshot_query_service::availability::Error

source ·
pub enum Error {
     Request {
         source: RequestError,
     },
     FetchLeaf {
-        resource: String,
+        resource: String,
     },
     FetchBlock {
-        resource: String,
+        resource: String,
     },
     FetchTransaction {
-        resource: String,
+        resource: String,
     },
     InvalidTransactionIndex {
-        height: u64,
-        index: u64,
+        height: u64,
+        index: u64,
     },
     Custom {
-        message: String,
+        message: String,
         status: StatusCode,
     },
-}

Variants§

§

Request

Fields

§source: RequestError
§

FetchLeaf

Fields

§resource: String
§

FetchBlock

Fields

§resource: String
§

FetchTransaction

Fields

§resource: String
§

InvalidTransactionIndex

Fields

§height: u64
§index: u64
§

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 Error
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 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
§

FetchLeaf

Fields

§resource: String
§

FetchBlock

Fields

§resource: String
§

FetchTransaction

Fields

§resource: String
§

InvalidTransactionIndex

Fields

§height: u64
§index: u64
§

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 Error
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 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 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> IntoError<Error> for FetchBlockSnafu<__T0>
where - Error: Error + ErrorCompat, - __T0: 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 FetchLeafSnafu<__T0>
where - Error: Error + ErrorCompat, - __T0: 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 FetchTransactionSnafu<__T0>
where - Error: Error + ErrorCompat, - __T0: 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 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 IntoError<Error> for RequestSnafu
where - 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 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 Freeze for Error

§

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 T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +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 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> IntoError<Error> for FetchBlockSnafu<__T0>
where + Error: Error + ErrorCompat, + __T0: 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 FetchLeafSnafu<__T0>
where + Error: Error + ErrorCompat, + __T0: 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 FetchTransactionSnafu<__T0>
where + Error: Error + ErrorCompat, + __T0: 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 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 IntoError<Error> for RequestSnafu
where + 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 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 Freeze for Error

§

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 T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

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

§

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

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

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

§

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

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

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

§

impl<T> Error for T
where - T: Error + 'static,

§

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

Gets this error as an std::error::Error.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

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

source§

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

§

impl<T> Error for T
where + T: Error + 'static,

§

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

Gets this error as an std::error::Error.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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<E> InstrumentError for E
where - TracedError<E>: From<E>,

§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ TracedError<E>: From<E>,
§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -103,84 +103,84 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

§

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

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

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

§

impl<T> NetworkMsg for T
where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

§

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

\ No newline at end of file diff --git a/hotshot_query_service/availability/enum.Fetch.html b/hotshot_query_service/availability/enum.Fetch.html index 1800dc1d3..e23e2d23f 100644 --- a/hotshot_query_service/availability/enum.Fetch.html +++ b/hotshot_query_service/availability/enum.Fetch.html @@ -1,4 +1,4 @@ -Fetch in hotshot_query_service::availability - Rust

Enum hotshot_query_service::availability::Fetch

source ·
pub enum Fetch<T> {
+Fetch in hotshot_query_service::availability - Rust

Enum hotshot_query_service::availability::Fetch

source ·
pub enum Fetch<T> {
     Ready(T),
     Pending(BoxFuture<'static, T>),
 }
Expand description

An in-progress request to fetch some data.

@@ -8,86 +8,86 @@

For data that is already available locally, a request for that data may return Fetch::Ready with the data itself. Otherwise, the request will return Fetch::Pending with a future that will resolve once the data is available.

-

Depending on the context, Fetch can behave a bit like a Future or a bit -like a Result. Therefore, it implements IntoFuture, so it can be awaited (this is the +

Depending on the context, Fetch can behave a bit like a Future or a bit +like a Result. Therefore, it implements IntoFuture, so it can be awaited (this is the same as calling resolve) and it implements methods context and with_context, which make it easy to convert a Fetch to a -Result, mimicking the methods from Snafu traits OptionExt and +Result, mimicking the methods from Snafu traits OptionExt and ResultExt.

-

Variants§

§

Ready(T)

§

Pending(BoxFuture<'static, T>)

Implementations§

source§

impl<T> Fetch<T>

source

pub fn try_resolve(self) -> Result<T, Self>

Get the requested data if it is available immediately.

+

Variants§

§

Ready(T)

§

Pending(BoxFuture<'static, T>)

Implementations§

source§

impl<T> Fetch<T>

source

pub fn try_resolve(self) -> Result<T, Self>

Get the requested data if it is available immediately.

If the requested data is not immediately available, Err(self) is returned so that the Fetch object may be used again.

-
source

pub fn context<C, E>(self, context: C) -> Result<T, E>
where +

source

pub fn context<C, E>(self, context: C) -> Result<T, E>
where C: IntoError<E, Source = NoneError>, - E: Error + ErrorCompat,

Convert this Fetch to a Result with the provided error context.

-

The result indicates whether the requested data is immediately available. If it is, Ok + E: Error + ErrorCompat,

Convert this Fetch to a Result with the provided error context.

+

The result indicates whether the requested data is immediately available. If it is, Ok is returned. Otherwise, an error is created from context using Snafu.

-
source

pub fn with_context<F, C, E>(self, context: F) -> Result<T, E>
where - F: FnOnce() -> C, +

source

pub fn with_context<F, C, E>(self, context: F) -> Result<T, E>
where + F: FnOnce() -> C, C: IntoError<E, Source = NoneError>, - E: Error + ErrorCompat,

Convert this Fetch to a Result with the provided error context.

-

The result indicates whether the requested data is immediately available. If it is, Ok + E: Error + ErrorCompat,

Convert this Fetch to a Result with the provided error context.

+

The result indicates whether the requested data is immediately available. If it is, Ok is returned. Otherwise, an error is created from context using Snafu.

-
source§

impl<T: Send + 'static> Fetch<T>

source

pub async fn resolve(self) -> T

Wait for the data to become available, if it is not already.

-
source

pub async fn with_timeout(self, timeout: Duration) -> Option<T>

Wait for the requested data to become available, but only for up to timeout.

+
source§

impl<T: Send + 'static> Fetch<T>

source

pub async fn resolve(self) -> T

Wait for the data to become available, if it is not already.

+
source

pub async fn with_timeout(self, timeout: Duration) -> Option<T>

Wait for the requested data to become available, but only for up to timeout.

This function is similar to resolve, but if the future does not resolve -within timeout, then with_timeout will resolve with None.

+within timeout, then with_timeout will resolve with None.

source§

impl<T: 'static> Fetch<T>

source

pub fn map<F, U>(self, f: F) -> Fetch<U>
where - F: 'static + Send + FnOnce(T) -> U,

Transform the result of this fetch.

+ F: 'static + Send + FnOnce(T) -> U,

Transform the result of this fetch.

If the requested data is already available, f will be applied immediately. Otherwise, f will be saved and applied after the pending future resolves.

-

Trait Implementations§

source§

impl<T: Send + 'static> IntoFuture for Fetch<T>

§

type Output = T

The output that the future will produce on completion.
§

type IntoFuture = Pin<Box<dyn Future<Output = <Fetch<T> as IntoFuture>::Output> + Send>>

Which kind of future are we turning this into?
source§

fn into_future(self) -> Self::IntoFuture

Creates a future from a value. Read more

Auto Trait Implementations§

§

impl<T> Freeze for Fetch<T>
where - T: Freeze,

§

impl<T> !RefUnwindSafe for Fetch<T>

§

impl<T> Send for Fetch<T>
where - T: Send,

§

impl<T> !Sync for Fetch<T>

§

impl<T> Unpin for Fetch<T>
where - T: Unpin,

§

impl<T> !UnwindSafe for Fetch<T>

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

Trait Implementations§

source§

impl<T: Send + 'static> IntoFuture for Fetch<T>

§

type Output = T

The output that the future will produce on completion.
§

type IntoFuture = Pin<Box<dyn Future<Output = <Fetch<T> as IntoFuture>::Output> + Send>>

Which kind of future are we turning this into?
source§

fn into_future(self) -> Self::IntoFuture

Creates a future from a value. Read more

Auto Trait Implementations§

§

impl<T> Freeze for Fetch<T>
where + T: Freeze,

§

impl<T> !RefUnwindSafe for Fetch<T>

§

impl<T> Send for Fetch<T>
where + T: Send,

§

impl<T> !Sync for Fetch<T>

§

impl<T> Unpin for Fetch<T>
where + T: Unpin,

§

impl<T> !UnwindSafe for Fetch<T>

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -95,77 +95,77 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

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

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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

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

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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/availability/enum.LeafId.html b/hotshot_query_service/availability/enum.LeafId.html index a3d667fbe..4eff6f775 100644 --- a/hotshot_query_service/availability/enum.LeafId.html +++ b/hotshot_query_service/availability/enum.LeafId.html @@ -1,77 +1,77 @@ -LeafId in hotshot_query_service::availability - Rust

Enum hotshot_query_service::availability::LeafId

source ·
pub enum LeafId<Types: NodeType> {
-    Number(usize),
+LeafId in hotshot_query_service::availability - Rust

Enum hotshot_query_service::availability::LeafId

source ·
pub enum LeafId<Types: NodeType> {
+    Number(usize),
     Hash(LeafHash<Types>),
-}

Variants§

§

Number(usize)

§

Hash(LeafHash<Types>)

Trait Implementations§

source§

impl<Types: NodeType> Clone for LeafId<Types>

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<Types: NodeType> Debug for LeafId<Types>

source§

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

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

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

source§

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

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

impl<Types: NodeType> From<Commitment<Leaf<Types>>> for LeafId<Types>

source§

fn from(original: LeafHash<Types>) -> LeafId<Types>

Converts to this type from the input type.
source§

impl<Types: NodeType> From<usize> for LeafId<Types>

source§

fn from(original: usize) -> LeafId<Types>

Converts to this type from the input type.
source§

impl<Types: NodeType> Hash for LeafId<Types>

source§

fn hash<__HTypes>(&self, __state: &mut __HTypes)
where - __HTypes: 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<Types: NodeType> Ord for LeafId<Types>

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) -> Self
where - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl<Types: NodeType> PartialEq for LeafId<Types>

source§

fn eq(&self, other: &Self) -> 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> PartialOrd for LeafId<Types>

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 <= -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<Types: NodeType> Copy for LeafId<Types>

source§

impl<Types: NodeType> Eq for LeafId<Types>

Auto Trait Implementations§

§

impl<Types> Freeze for LeafId<Types>

§

impl<Types> RefUnwindSafe for LeafId<Types>

§

impl<Types> Send for LeafId<Types>

§

impl<Types> Sync for LeafId<Types>

§

impl<Types> Unpin for LeafId<Types>

§

impl<Types> UnwindSafe for LeafId<Types>

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +}

Variants§

§

Number(usize)

§

Hash(LeafHash<Types>)

Trait Implementations§

source§

impl<Types: NodeType> Clone for LeafId<Types>

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<Types: NodeType> Debug for LeafId<Types>

source§

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

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

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

source§

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

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

impl<Types: NodeType> From<Commitment<Leaf<Types>>> for LeafId<Types>

source§

fn from(original: LeafHash<Types>) -> LeafId<Types>

Converts to this type from the input type.
source§

impl<Types: NodeType> From<usize> for LeafId<Types>

source§

fn from(original: usize) -> LeafId<Types>

Converts to this type from the input type.
source§

impl<Types: NodeType> Hash for LeafId<Types>

source§

fn hash<__HTypes>(&self, __state: &mut __HTypes)
where + __HTypes: 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<Types: NodeType> Ord for LeafId<Types>

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) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl<Types: NodeType> PartialEq for LeafId<Types>

source§

fn eq(&self, other: &Self) -> 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> PartialOrd for LeafId<Types>

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 <= +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<Types: NodeType> Copy for LeafId<Types>

source§

impl<Types: NodeType> Eq for LeafId<Types>

Auto Trait Implementations§

§

impl<Types> Freeze for LeafId<Types>

§

impl<Types> RefUnwindSafe for LeafId<Types>

§

impl<Types> Send for LeafId<Types>

§

impl<Types> Sync for LeafId<Types>

§

impl<Types> Unpin for LeafId<Types>

§

impl<Types> UnwindSafe for LeafId<Types>

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> CallHasher for T
where - T: Hash + ?Sized,

§

fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
where - H: Hash + ?Sized, - B: BuildHasher,

§

impl<Q, K> Comparable<K> for Q
where - Q: Ord + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<T> Conv for T

§

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

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> CallHasher for T
where + T: Hash + ?Sized,

§

fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
where + H: Hash + ?Sized, + B: BuildHasher,

§

impl<Q, K> Comparable<K> for Q
where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<T> Conv for T

§

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

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

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

§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

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

source§

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

§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -79,84 +79,84 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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
§

impl<T> Element for T
where - T: Clone + Eq + PartialEq + Hash,

§

impl<T> Index for T
where - T: Debug + Eq + PartialEq + Hash + Ord + PartialOrd + Clone,

source§

impl<T> RuleType for T
where - T: Copy + Debug + Eq + Hash + Ord,

\ No newline at end of file + T: Clone + Eq + PartialEq + Hash,
§

impl<T> Index for T
where + T: Debug + Eq + PartialEq + Hash + Ord + PartialOrd + Clone,

source§

impl<T> RuleType for T
where + T: Copy + Debug + Eq + Hash + Ord,

\ No newline at end of file diff --git a/hotshot_query_service/availability/fn.define_api.html b/hotshot_query_service/availability/fn.define_api.html index a9584f1b6..4f1a84dae 100644 --- a/hotshot_query_service/availability/fn.define_api.html +++ b/hotshot_query_service/availability/fn.define_api.html @@ -1,7 +1,7 @@ -define_api in hotshot_query_service::availability - Rust

Function hotshot_query_service::availability::define_api

source ·
pub fn define_api<State, Types: NodeType, Ver: StaticVersionType + 'static>(
+define_api in hotshot_query_service::availability - Rust

Function hotshot_query_service::availability::define_api

source ·
pub fn define_api<State, Types: NodeType, Ver: StaticVersionType + 'static>(
     options: &Options,
     _: Ver,
-) -> Result<Api<State, Error, Ver>, ApiError>
where - State: 'static + Send + Sync + ReadState, - <State as ReadState>::State: Send + Sync + AvailabilityDataSource<Types>, +) -> Result<Api<State, Error, Ver>, ApiError>
where + State: 'static + Send + Sync + ReadState, + <State as ReadState>::State: Send + Sync + AvailabilityDataSource<Types>, Payload<Types>: QueryablePayload<Types>,
\ No newline at end of file diff --git a/hotshot_query_service/availability/index.html b/hotshot_query_service/availability/index.html index e99e1c798..d3189e6dc 100644 --- a/hotshot_query_service/availability/index.html +++ b/hotshot_query_service/availability/index.html @@ -1,4 +1,4 @@ -hotshot_query_service::availability - Rust

Module hotshot_query_service::availability

source ·
Expand description

Queries for HotShot chain state.

+hotshot_query_service::availability - Rust

Module hotshot_query_service::availability

source ·
Expand description

Queries for HotShot chain state.

The availability API provides an objective view of the HotShot blockchain. It provides access only to normative data: that is, data which is agreed upon by all honest consensus nodes and which is immutable. This means access to core consensus data structures including leaves, diff --git a/hotshot_query_service/availability/struct.BlockQueryData.html b/hotshot_query_service/availability/struct.BlockQueryData.html index 4020b2e48..00df934e6 100644 --- a/hotshot_query_service/availability/struct.BlockQueryData.html +++ b/hotshot_query_service/availability/struct.BlockQueryData.html @@ -1,93 +1,93 @@ -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(header: Header<Types>, payload: Payload<Types>) -> Self
where +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(header: Header<Types>, payload: Payload<Types>) -> Self
where Payload<Types>: QueryablePayload<Types>,

source

pub async fn genesis( validated_state: &Types::ValidatedState, instance_state: &Types::InstanceState, ) -> Self
where - Payload<Types>: QueryablePayload<Types>,

source

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

source

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

source

pub fn payload_hash(&self) -> VidCommitment

source

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

source

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

source

pub fn size(&self) -> u64

source

pub fn num_transactions(&self) -> u64

source§

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

source

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

source

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

source

pub fn payload_hash(&self) -> VidCommitment

source

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

source

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

source

pub fn size(&self) -> u64

source

pub fn num_transactions(&self) -> u64

source§

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

source

pub fn transaction( &self, ix: &TransactionIndex<Types>, -) -> Option<Transaction<Types>>

source

pub fn transaction_by_hash( +) -> Option<Transaction<Types>>

source

pub fn transaction_by_hash( &self, hash: Commitment<Transaction<Types>>, -) -> Option<TransactionIndex<Types>>

source

pub fn len(&self) -> usize

source

pub fn is_empty(&self) -> bool

source

pub fn enumerate( +) -> Option<TransactionIndex<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: NodeType> From<BlockQueryData<Types>> for BlockSummaryQueryData<Types>
where - Payload<Types>: QueryablePayload<Types>,

source§

fn from(value: BlockQueryData<Types>) -> Self

Converts to this type from the input type.
source§

impl<Types: NodeType> From<BlockQueryData<Types>> for PayloadQueryData<Types>

source§

fn from(block: BlockQueryData<Types>) -> Self

Converts to this type from the input type.
source§

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

source§

fn height(&self) -> u64

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: NodeType> TryFrom<BlockQueryData<Types>> for BlockDetail<Types>
where +) -> 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: NodeType> From<BlockQueryData<Types>> for BlockSummaryQueryData<Types>
where + Payload<Types>: QueryablePayload<Types>,

source§

fn from(value: BlockQueryData<Types>) -> Self

Converts to this type from the input type.
source§

impl<Types: NodeType> From<BlockQueryData<Types>> for PayloadQueryData<Types>

source§

fn from(block: BlockQueryData<Types>) -> Self

Converts to this type from the input type.
source§

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

source§

fn height(&self) -> u64

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: NodeType> TryFrom<BlockQueryData<Types>> for BlockDetail<Types>
where BlockQueryData<Types>: HeightIndexed, Payload<Types>: QueryablePayload<Types>, Header<Types>: QueryableHeader<Types> + ExplorerHeader<Types>, - BalanceAmount<Types>: Into<MonetaryValue>,

§

type Error = TimestampConversionError

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

fn try_from(value: BlockQueryData<Types>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<Types: NodeType> TryFrom<BlockQueryData<Types>> for BlockSummary<Types>
where + BalanceAmount<Types>: Into<MonetaryValue>,

§

type Error = TimestampConversionError

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

fn try_from(value: BlockQueryData<Types>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<Types: NodeType> TryFrom<BlockQueryData<Types>> for BlockSummary<Types>
where BlockQueryData<Types>: HeightIndexed, Payload<Types>: QueryablePayload<Types>, - Header<Types>: QueryableHeader<Types> + ExplorerHeader<Types>,

§

type Error = TimestampConversionError

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

fn try_from(value: BlockQueryData<Types>) -> Result<Self, Self::Error>

Performs the conversion.
source§

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

source§

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

Auto Trait Implementations§

§

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

§

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, - <Types as NodeType>::BlockPayload: Unpin,

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + Header<Types>: QueryableHeader<Types> + ExplorerHeader<Types>,

§

type Error = TimestampConversionError

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

fn try_from(value: BlockQueryData<Types>) -> Result<Self, Self::Error>

Performs the conversion.
source§

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

source§

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

Auto Trait Implementations§

§

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

§

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, + <Types as NodeType>::BlockPayload: Unpin,

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

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

§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

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

source§

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

§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -95,80 +95,80 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

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

§

impl<T> NetworkMsg for T
where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/availability/struct.BlockSummaryQueryData.html b/hotshot_query_service/availability/struct.BlockSummaryQueryData.html index 31ea18cd8..0c3043398 100644 --- a/hotshot_query_service/availability/struct.BlockSummaryQueryData.html +++ b/hotshot_query_service/availability/struct.BlockSummaryQueryData.html @@ -1,68 +1,68 @@ -BlockSummaryQueryData in hotshot_query_service::availability - Rust
pub struct BlockSummaryQueryData<Types: NodeType> { /* private fields */ }

Implementations§

source§

impl<Types: NodeType> BlockSummaryQueryData<Types>

source

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

source

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

source

pub fn size(&self) -> u64

source

pub fn num_transactions(&self) -> u64

Trait Implementations§

source§

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

source§

fn clone(&self) -> BlockSummaryQueryData<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 BlockSummaryQueryData<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 BlockSummaryQueryData<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: NodeType> From<BlockQueryData<Types>> for BlockSummaryQueryData<Types>
where - Payload<Types>: QueryablePayload<Types>,

source§

fn from(value: BlockQueryData<Types>) -> Self

Converts to this type from the input type.
source§

impl<Types: NodeType> HeightIndexed for BlockSummaryQueryData<Types>

source§

fn height(&self) -> u64

source§

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

source§

fn eq(&self, other: &BlockSummaryQueryData<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 BlockSummaryQueryData<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 BlockSummaryQueryData<Types>

source§

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

Auto Trait Implementations§

§

impl<Types> Freeze for BlockSummaryQueryData<Types>
where - <Types as NodeType>::BlockHeader: Freeze,

§

impl<Types> RefUnwindSafe for BlockSummaryQueryData<Types>
where - <Types as NodeType>::BlockHeader: RefUnwindSafe,

§

impl<Types> Send for BlockSummaryQueryData<Types>

§

impl<Types> Sync for BlockSummaryQueryData<Types>

§

impl<Types> Unpin for BlockSummaryQueryData<Types>
where - <Types as NodeType>::BlockHeader: Unpin,

§

impl<Types> UnwindSafe for BlockSummaryQueryData<Types>
where - <Types as NodeType>::BlockHeader: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

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

Implementations§

source§

impl<Types: NodeType> BlockSummaryQueryData<Types>

source

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

source

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

source

pub fn size(&self) -> u64

source

pub fn num_transactions(&self) -> u64

Trait Implementations§

source§

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

source§

fn clone(&self) -> BlockSummaryQueryData<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 BlockSummaryQueryData<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 BlockSummaryQueryData<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: NodeType> From<BlockQueryData<Types>> for BlockSummaryQueryData<Types>
where + Payload<Types>: QueryablePayload<Types>,

source§

fn from(value: BlockQueryData<Types>) -> Self

Converts to this type from the input type.
source§

impl<Types: NodeType> HeightIndexed for BlockSummaryQueryData<Types>

source§

fn height(&self) -> u64

source§

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

source§

fn eq(&self, other: &BlockSummaryQueryData<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 BlockSummaryQueryData<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 BlockSummaryQueryData<Types>

source§

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

Auto Trait Implementations§

§

impl<Types> Freeze for BlockSummaryQueryData<Types>
where + <Types as NodeType>::BlockHeader: Freeze,

§

impl<Types> RefUnwindSafe for BlockSummaryQueryData<Types>
where + <Types as NodeType>::BlockHeader: RefUnwindSafe,

§

impl<Types> Send for BlockSummaryQueryData<Types>

§

impl<Types> Sync for BlockSummaryQueryData<Types>

§

impl<Types> Unpin for BlockSummaryQueryData<Types>
where + <Types as NodeType>::BlockHeader: Unpin,

§

impl<Types> UnwindSafe for BlockSummaryQueryData<Types>
where + <Types as NodeType>::BlockHeader: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

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

§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

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

source§

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

§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -70,80 +70,80 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

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

§

impl<T> NetworkMsg for T
where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/availability/struct.CustomSnafu.html b/hotshot_query_service/availability/struct.CustomSnafu.html index 5e0a0ff23..7a80f578f 100644 --- a/hotshot_query_service/availability/struct.CustomSnafu.html +++ b/hotshot_query_service/availability/struct.CustomSnafu.html @@ -1,78 +1,78 @@ -CustomSnafu in hotshot_query_service::availability - Rust

Struct hotshot_query_service::availability::CustomSnafu

source ·
pub struct CustomSnafu<__T0, __T1> {
+CustomSnafu in hotshot_query_service::availability - Rust

Struct hotshot_query_service::availability::CustomSnafu

source ·
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) -> Error
where - __T0: Into<String>, - __T1: Into<StatusCode>,

Consume the selector and return the associated error

-
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 - 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> Freeze for CustomSnafu<__T0, __T1>
where - __T0: Freeze, - __T1: Freeze,

§

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

§

impl<__T0, __T1> Send for CustomSnafu<__T0, __T1>
where - __T0: Send, - __T1: Send,

§

impl<__T0, __T1> Sync for CustomSnafu<__T0, __T1>
where - __T0: Sync, - __T1: Sync,

§

impl<__T0, __T1> Unpin for CustomSnafu<__T0, __T1>
where - __T0: Unpin, - __T1: Unpin,

§

impl<__T0, __T1> UnwindSafe for CustomSnafu<__T0, __T1>
where - __T0: UnwindSafe, - __T1: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + __T0: Into<String>, + __T1: Into<StatusCode>,

Consume the selector and return the associated error

+
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 + 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> Freeze for CustomSnafu<__T0, __T1>
where + __T0: Freeze, + __T1: Freeze,

§

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

§

impl<__T0, __T1> Send for CustomSnafu<__T0, __T1>
where + __T0: Send, + __T1: Send,

§

impl<__T0, __T1> Sync for CustomSnafu<__T0, __T1>
where + __T0: Sync, + __T1: Sync,

§

impl<__T0, __T1> Unpin for CustomSnafu<__T0, __T1>
where + __T0: Unpin, + __T1: Unpin,

§

impl<__T0, __T1> UnwindSafe for CustomSnafu<__T0, __T1>
where + __T0: UnwindSafe, + __T1: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + 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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -80,78 +80,78 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/availability/struct.FetchBlockSnafu.html b/hotshot_query_service/availability/struct.FetchBlockSnafu.html index 6b757f198..3bca0cc26 100644 --- a/hotshot_query_service/availability/struct.FetchBlockSnafu.html +++ b/hotshot_query_service/availability/struct.FetchBlockSnafu.html @@ -1,68 +1,68 @@ -FetchBlockSnafu in hotshot_query_service::availability - Rust
pub struct FetchBlockSnafu<__T0> {
+FetchBlockSnafu in hotshot_query_service::availability - Rust
pub struct FetchBlockSnafu<__T0> {
     pub resource: __T0,
 }
Expand description

SNAFU context selector for the Error::FetchBlock variant

Fields§

§resource: __T0

Implementations§

source§

impl<__T0> FetchBlockSnafu<__T0>

source

pub fn build(self) -> Error
where - __T0: Into<String>,

Consume the selector and return the associated error

-
source

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

Consume the selector and return a Result with the associated error

-

Trait Implementations§

source§

impl<__T0: Clone> Clone for FetchBlockSnafu<__T0>

source§

fn clone(&self) -> FetchBlockSnafu<__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 FetchBlockSnafu<__T0>

source§

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

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

impl<__T0> IntoError<Error> for FetchBlockSnafu<__T0>
where - Error: Error + ErrorCompat, - __T0: 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> Copy for FetchBlockSnafu<__T0>

Auto Trait Implementations§

§

impl<__T0> Freeze for FetchBlockSnafu<__T0>
where - __T0: Freeze,

§

impl<__T0> RefUnwindSafe for FetchBlockSnafu<__T0>
where - __T0: RefUnwindSafe,

§

impl<__T0> Send for FetchBlockSnafu<__T0>
where - __T0: Send,

§

impl<__T0> Sync for FetchBlockSnafu<__T0>
where - __T0: Sync,

§

impl<__T0> Unpin for FetchBlockSnafu<__T0>
where - __T0: Unpin,

§

impl<__T0> UnwindSafe for FetchBlockSnafu<__T0>
where - __T0: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + __T0: Into<String>,

Consume the selector and return the associated error

+
source

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

Consume the selector and return a Result with the associated error

+

Trait Implementations§

source§

impl<__T0: Clone> Clone for FetchBlockSnafu<__T0>

source§

fn clone(&self) -> FetchBlockSnafu<__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 FetchBlockSnafu<__T0>

source§

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

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

impl<__T0> IntoError<Error> for FetchBlockSnafu<__T0>
where + Error: Error + ErrorCompat, + __T0: 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> Copy for FetchBlockSnafu<__T0>

Auto Trait Implementations§

§

impl<__T0> Freeze for FetchBlockSnafu<__T0>
where + __T0: Freeze,

§

impl<__T0> RefUnwindSafe for FetchBlockSnafu<__T0>
where + __T0: RefUnwindSafe,

§

impl<__T0> Send for FetchBlockSnafu<__T0>
where + __T0: Send,

§

impl<__T0> Sync for FetchBlockSnafu<__T0>
where + __T0: Sync,

§

impl<__T0> Unpin for FetchBlockSnafu<__T0>
where + __T0: Unpin,

§

impl<__T0> UnwindSafe for FetchBlockSnafu<__T0>
where + __T0: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + 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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -70,78 +70,78 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/availability/struct.FetchLeafSnafu.html b/hotshot_query_service/availability/struct.FetchLeafSnafu.html index 2b6a8f44e..27bc7f457 100644 --- a/hotshot_query_service/availability/struct.FetchLeafSnafu.html +++ b/hotshot_query_service/availability/struct.FetchLeafSnafu.html @@ -1,68 +1,68 @@ -FetchLeafSnafu in hotshot_query_service::availability - Rust
pub struct FetchLeafSnafu<__T0> {
+FetchLeafSnafu in hotshot_query_service::availability - Rust
pub struct FetchLeafSnafu<__T0> {
     pub resource: __T0,
 }
Expand description

SNAFU context selector for the Error::FetchLeaf variant

Fields§

§resource: __T0

Implementations§

source§

impl<__T0> FetchLeafSnafu<__T0>

source

pub fn build(self) -> Error
where - __T0: Into<String>,

Consume the selector and return the associated error

-
source

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

Consume the selector and return a Result with the associated error

-

Trait Implementations§

source§

impl<__T0: Clone> Clone for FetchLeafSnafu<__T0>

source§

fn clone(&self) -> FetchLeafSnafu<__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 FetchLeafSnafu<__T0>

source§

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

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

impl<__T0> IntoError<Error> for FetchLeafSnafu<__T0>
where - Error: Error + ErrorCompat, - __T0: 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> Copy for FetchLeafSnafu<__T0>

Auto Trait Implementations§

§

impl<__T0> Freeze for FetchLeafSnafu<__T0>
where - __T0: Freeze,

§

impl<__T0> RefUnwindSafe for FetchLeafSnafu<__T0>
where - __T0: RefUnwindSafe,

§

impl<__T0> Send for FetchLeafSnafu<__T0>
where - __T0: Send,

§

impl<__T0> Sync for FetchLeafSnafu<__T0>
where - __T0: Sync,

§

impl<__T0> Unpin for FetchLeafSnafu<__T0>
where - __T0: Unpin,

§

impl<__T0> UnwindSafe for FetchLeafSnafu<__T0>
where - __T0: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + __T0: Into<String>,

Consume the selector and return the associated error

+
source

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

Consume the selector and return a Result with the associated error

+

Trait Implementations§

source§

impl<__T0: Clone> Clone for FetchLeafSnafu<__T0>

source§

fn clone(&self) -> FetchLeafSnafu<__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 FetchLeafSnafu<__T0>

source§

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

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

impl<__T0> IntoError<Error> for FetchLeafSnafu<__T0>
where + Error: Error + ErrorCompat, + __T0: 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> Copy for FetchLeafSnafu<__T0>

Auto Trait Implementations§

§

impl<__T0> Freeze for FetchLeafSnafu<__T0>
where + __T0: Freeze,

§

impl<__T0> RefUnwindSafe for FetchLeafSnafu<__T0>
where + __T0: RefUnwindSafe,

§

impl<__T0> Send for FetchLeafSnafu<__T0>
where + __T0: Send,

§

impl<__T0> Sync for FetchLeafSnafu<__T0>
where + __T0: Sync,

§

impl<__T0> Unpin for FetchLeafSnafu<__T0>
where + __T0: Unpin,

§

impl<__T0> UnwindSafe for FetchLeafSnafu<__T0>
where + __T0: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + 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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -70,78 +70,78 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/availability/struct.FetchTransactionSnafu.html b/hotshot_query_service/availability/struct.FetchTransactionSnafu.html index b0b2f73eb..5c15a13a2 100644 --- a/hotshot_query_service/availability/struct.FetchTransactionSnafu.html +++ b/hotshot_query_service/availability/struct.FetchTransactionSnafu.html @@ -1,68 +1,68 @@ -FetchTransactionSnafu in hotshot_query_service::availability - Rust
pub struct FetchTransactionSnafu<__T0> {
+FetchTransactionSnafu in hotshot_query_service::availability - Rust
pub struct FetchTransactionSnafu<__T0> {
     pub resource: __T0,
 }
Expand description

SNAFU context selector for the Error::FetchTransaction variant

Fields§

§resource: __T0

Implementations§

source§

impl<__T0> FetchTransactionSnafu<__T0>

source

pub fn build(self) -> Error
where - __T0: Into<String>,

Consume the selector and return the associated error

-
source

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

Consume the selector and return a Result with the associated error

-

Trait Implementations§

source§

impl<__T0: Clone> Clone for FetchTransactionSnafu<__T0>

source§

fn clone(&self) -> FetchTransactionSnafu<__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 FetchTransactionSnafu<__T0>

source§

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

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

impl<__T0> IntoError<Error> for FetchTransactionSnafu<__T0>
where - Error: Error + ErrorCompat, - __T0: 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> Copy for FetchTransactionSnafu<__T0>

Auto Trait Implementations§

§

impl<__T0> Freeze for FetchTransactionSnafu<__T0>
where - __T0: Freeze,

§

impl<__T0> RefUnwindSafe for FetchTransactionSnafu<__T0>
where - __T0: RefUnwindSafe,

§

impl<__T0> Send for FetchTransactionSnafu<__T0>
where - __T0: Send,

§

impl<__T0> Sync for FetchTransactionSnafu<__T0>
where - __T0: Sync,

§

impl<__T0> Unpin for FetchTransactionSnafu<__T0>
where - __T0: Unpin,

§

impl<__T0> UnwindSafe for FetchTransactionSnafu<__T0>
where - __T0: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + __T0: Into<String>,

Consume the selector and return the associated error

+
source

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

Consume the selector and return a Result with the associated error

+

Trait Implementations§

source§

impl<__T0: Clone> Clone for FetchTransactionSnafu<__T0>

source§

fn clone(&self) -> FetchTransactionSnafu<__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 FetchTransactionSnafu<__T0>

source§

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

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

impl<__T0> IntoError<Error> for FetchTransactionSnafu<__T0>
where + Error: Error + ErrorCompat, + __T0: 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> Copy for FetchTransactionSnafu<__T0>

Auto Trait Implementations§

§

impl<__T0> Freeze for FetchTransactionSnafu<__T0>
where + __T0: Freeze,

§

impl<__T0> RefUnwindSafe for FetchTransactionSnafu<__T0>
where + __T0: RefUnwindSafe,

§

impl<__T0> Send for FetchTransactionSnafu<__T0>
where + __T0: Send,

§

impl<__T0> Sync for FetchTransactionSnafu<__T0>
where + __T0: Sync,

§

impl<__T0> Unpin for FetchTransactionSnafu<__T0>
where + __T0: Unpin,

§

impl<__T0> UnwindSafe for FetchTransactionSnafu<__T0>
where + __T0: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + 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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -70,78 +70,78 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/availability/struct.InconsistentLeafError.html b/hotshot_query_service/availability/struct.InconsistentLeafError.html index 3f1633d03..07de9b1bc 100644 --- a/hotshot_query_service/availability/struct.InconsistentLeafError.html +++ b/hotshot_query_service/availability/struct.InconsistentLeafError.html @@ -1,68 +1,68 @@ -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> Freeze for InconsistentLeafError<Types>

§

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 T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +and continuing with recursive calls to Error::source. Read more

Auto Trait Implementations§

§

impl<Types> Freeze for InconsistentLeafError<Types>

§

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 T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

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

§

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

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

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

§

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

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

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

§

impl<T> Error for T
where - T: Error + 'static,

§

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

Gets this error as an std::error::Error.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

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

source§

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

§

impl<T> Error for T
where + T: Error + 'static,

§

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

Gets this error as an std::error::Error.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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<E> InstrumentError for E
where - TracedError<E>: From<E>,

§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ TracedError<E>: From<E>,
§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -70,82 +70,82 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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
§

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

\ No newline at end of file + T: Error + 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 b50ee96ff..4f3b3ccc1 100644 --- a/hotshot_query_service/availability/struct.InvalidTransactionIndexSnafu.html +++ b/hotshot_query_service/availability/struct.InvalidTransactionIndexSnafu.html @@ -1,78 +1,78 @@ -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) -> Error
where - __T0: Into<u64>, - __T1: Into<u64>,

Consume the selector and return the associated error

-
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 - 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> Freeze for InvalidTransactionIndexSnafu<__T0, __T1>
where - __T0: Freeze, - __T1: Freeze,

§

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

§

impl<__T0, __T1> Send for InvalidTransactionIndexSnafu<__T0, __T1>
where - __T0: Send, - __T1: Send,

§

impl<__T0, __T1> Sync for InvalidTransactionIndexSnafu<__T0, __T1>
where - __T0: Sync, - __T1: Sync,

§

impl<__T0, __T1> Unpin for InvalidTransactionIndexSnafu<__T0, __T1>
where - __T0: Unpin, - __T1: Unpin,

§

impl<__T0, __T1> UnwindSafe for InvalidTransactionIndexSnafu<__T0, __T1>
where - __T0: UnwindSafe, - __T1: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + __T0: Into<u64>, + __T1: Into<u64>,

Consume the selector and return the associated error

+
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 + 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> Freeze for InvalidTransactionIndexSnafu<__T0, __T1>
where + __T0: Freeze, + __T1: Freeze,

§

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

§

impl<__T0, __T1> Send for InvalidTransactionIndexSnafu<__T0, __T1>
where + __T0: Send, + __T1: Send,

§

impl<__T0, __T1> Sync for InvalidTransactionIndexSnafu<__T0, __T1>
where + __T0: Sync, + __T1: Sync,

§

impl<__T0, __T1> Unpin for InvalidTransactionIndexSnafu<__T0, __T1>
where + __T0: Unpin, + __T1: Unpin,

§

impl<__T0, __T1> UnwindSafe for InvalidTransactionIndexSnafu<__T0, __T1>
where + __T0: UnwindSafe, + __T1: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + 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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -80,78 +80,78 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/availability/struct.LeafQueryData.html b/hotshot_query_service/availability/struct.LeafQueryData.html index d15959261..d60ca111d 100644 --- a/hotshot_query_service/availability/struct.LeafQueryData.html +++ b/hotshot_query_service/availability/struct.LeafQueryData.html @@ -1,92 +1,92 @@ -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.

+) -> 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 async fn genesis( validated_state: &Types::ValidatedState, instance_state: &Types::InstanceState, -) -> Self

source

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

source

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

source

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

source

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

source

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

source

pub fn payload_hash(&self) -> VidCommitment

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: NodeType> HeightIndexed for LeafQueryData<Types>

source§

fn height(&self) -> u64

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> StructuralPartialEq for LeafQueryData<Types>

Auto Trait Implementations§

§

impl<Types> Freeze for LeafQueryData<Types>
where - <Types as NodeType>::Time: Freeze, - <Types as NodeType>::BlockHeader: Freeze, - <Types as NodeType>::BlockPayload: Freeze, - <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: Freeze,

§

impl<Types> RefUnwindSafe for LeafQueryData<Types>
where - <Types as NodeType>::Time: RefUnwindSafe, - <Types as NodeType>::BlockHeader: RefUnwindSafe, - <Types as NodeType>::BlockPayload: RefUnwindSafe, - <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: RefUnwindSafe, - Types: RefUnwindSafe,

§

impl<Types> Send for LeafQueryData<Types>

§

impl<Types> Sync for LeafQueryData<Types>

§

impl<Types> Unpin for LeafQueryData<Types>
where - <Types as NodeType>::Time: Unpin, - <Types as NodeType>::BlockHeader: Unpin, - <Types as NodeType>::BlockPayload: Unpin, - <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: Unpin, - Types: Unpin,

§

impl<Types> UnwindSafe for LeafQueryData<Types>
where - <Types as NodeType>::Time: UnwindSafe, - <Types as NodeType>::BlockHeader: UnwindSafe, - <Types as NodeType>::BlockPayload: UnwindSafe, - <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: UnwindSafe, - Types: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +) -> Self

source

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

source

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

source

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

source

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

source

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

source

pub fn payload_hash(&self) -> VidCommitment

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: NodeType> HeightIndexed for LeafQueryData<Types>

source§

fn height(&self) -> u64

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> StructuralPartialEq for LeafQueryData<Types>

Auto Trait Implementations§

§

impl<Types> Freeze for LeafQueryData<Types>
where + <Types as NodeType>::Time: Freeze, + <Types as NodeType>::BlockHeader: Freeze, + <Types as NodeType>::BlockPayload: Freeze, + <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: Freeze,

§

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

§

impl<Types> Send for LeafQueryData<Types>

§

impl<Types> Sync for LeafQueryData<Types>

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

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

§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

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

source§

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

§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -94,80 +94,80 @@
§Errors
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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

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

§

impl<T> NetworkMsg for T
where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/availability/struct.Options.html b/hotshot_query_service/availability/struct.Options.html index 615cfadc6..d7cf4e5a2 100644 --- a/hotshot_query_service/availability/struct.Options.html +++ b/hotshot_query_service/availability/struct.Options.html @@ -1,63 +1,63 @@ -Options in hotshot_query_service::availability - Rust

Struct hotshot_query_service::availability::Options

source ·
pub struct Options {
-    pub api_path: Option<PathBuf>,
-    pub fetch_timeout: Duration,
-    pub extensions: Vec<Value>,
-}

Fields§

§api_path: Option<PathBuf>§fetch_timeout: Duration

Timeout for failing requests due to missing data.

+Options in hotshot_query_service::availability - Rust

Struct hotshot_query_service::availability::Options

source ·
pub struct Options {
+    pub api_path: Option<PathBuf>,
+    pub fetch_timeout: Duration,
+    pub extensions: Vec<Value>,
+}

Fields§

§api_path: Option<PathBuf>§fetch_timeout: Duration

Timeout for failing requests due to missing data.

If data needed to respond to a request is missing, it can (in some cases) be fetched from an external provider. This parameter controls how long the request handler will wait for missing data to be fetched before giving up and failing the request.

-
§extensions: Vec<Value>

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

+
§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 Default for Options

source§

fn default() -> Self

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

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

Trait Implementations§

source§

impl Default for Options

source§

fn default() -> Self

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

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -65,77 +65,77 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

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

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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

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

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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/availability/struct.PayloadQueryData.html b/hotshot_query_service/availability/struct.PayloadQueryData.html index f7b8e06b7..76989c404 100644 --- a/hotshot_query_service/availability/struct.PayloadQueryData.html +++ b/hotshot_query_service/availability/struct.PayloadQueryData.html @@ -1,71 +1,71 @@ -PayloadQueryData in hotshot_query_service::availability - Rust
pub struct PayloadQueryData<Types: NodeType> { /* private fields */ }

Implementations§

source§

impl<Types: NodeType> PayloadQueryData<Types>

source

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

Implementations§

source§

impl<Types: NodeType> PayloadQueryData<Types>

source

pub async fn genesis( validated_state: &Types::ValidatedState, instance_state: &Types::InstanceState, ) -> Self
where - Payload<Types>: QueryablePayload<Types>,

source

pub fn hash(&self) -> VidCommitment

source

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

source

pub fn size(&self) -> u64

source

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

Trait Implementations§

source§

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

source§

fn clone(&self) -> PayloadQueryData<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 PayloadQueryData<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 PayloadQueryData<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: NodeType> From<BlockQueryData<Types>> for PayloadQueryData<Types>

source§

fn from(block: BlockQueryData<Types>) -> Self

Converts to this type from the input type.
source§

impl<Types: NodeType> HeightIndexed for PayloadQueryData<Types>

source§

fn height(&self) -> u64

source§

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

source§

fn eq(&self, other: &PayloadQueryData<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 PayloadQueryData<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 PayloadQueryData<Types>

source§

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

Auto Trait Implementations§

§

impl<Types> Freeze for PayloadQueryData<Types>
where - <Types as NodeType>::BlockPayload: Freeze,

§

impl<Types> RefUnwindSafe for PayloadQueryData<Types>
where - <Types as NodeType>::BlockPayload: RefUnwindSafe,

§

impl<Types> Send for PayloadQueryData<Types>

§

impl<Types> Sync for PayloadQueryData<Types>

§

impl<Types> Unpin for PayloadQueryData<Types>
where - <Types as NodeType>::BlockPayload: Unpin,

§

impl<Types> UnwindSafe for PayloadQueryData<Types>
where - <Types as NodeType>::BlockPayload: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + Payload<Types>: QueryablePayload<Types>,

source

pub fn hash(&self) -> VidCommitment

source

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

source

pub fn size(&self) -> u64

source

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

Trait Implementations§

source§

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

source§

fn clone(&self) -> PayloadQueryData<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 PayloadQueryData<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 PayloadQueryData<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: NodeType> From<BlockQueryData<Types>> for PayloadQueryData<Types>

source§

fn from(block: BlockQueryData<Types>) -> Self

Converts to this type from the input type.
source§

impl<Types: NodeType> HeightIndexed for PayloadQueryData<Types>

source§

fn height(&self) -> u64

source§

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

source§

fn eq(&self, other: &PayloadQueryData<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 PayloadQueryData<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 PayloadQueryData<Types>

source§

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

Auto Trait Implementations§

§

impl<Types> Freeze for PayloadQueryData<Types>
where + <Types as NodeType>::BlockPayload: Freeze,

§

impl<Types> RefUnwindSafe for PayloadQueryData<Types>
where + <Types as NodeType>::BlockPayload: RefUnwindSafe,

§

impl<Types> Send for PayloadQueryData<Types>

§

impl<Types> Sync for PayloadQueryData<Types>

§

impl<Types> Unpin for PayloadQueryData<Types>
where + <Types as NodeType>::BlockPayload: Unpin,

§

impl<Types> UnwindSafe for PayloadQueryData<Types>
where + <Types as NodeType>::BlockPayload: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

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

§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

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

source§

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

§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -73,80 +73,80 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

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

§

impl<T> NetworkMsg for T
where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/availability/struct.RequestSnafu.html b/hotshot_query_service/availability/struct.RequestSnafu.html index 7c843b102..7a36f8bc0 100644 --- a/hotshot_query_service/availability/struct.RequestSnafu.html +++ b/hotshot_query_service/availability/struct.RequestSnafu.html @@ -1,55 +1,55 @@ -RequestSnafu in hotshot_query_service::availability - Rust

Struct hotshot_query_service::availability::RequestSnafu

source ·
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 RequestSnafu
where - 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 T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +RequestSnafu in hotshot_query_service::availability - Rust

Struct hotshot_query_service::availability::RequestSnafu

source ·
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 RequestSnafu
where + 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 T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + 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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -57,78 +57,78 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/availability/struct.TransactionQueryData.html b/hotshot_query_service/availability/struct.TransactionQueryData.html index b4fd93098..2da7f1709 100644 --- a/hotshot_query_service/availability/struct.TransactionQueryData.html +++ b/hotshot_query_service/availability/struct.TransactionQueryData.html @@ -1,92 +1,92 @@ -TransactionQueryData in hotshot_query_service::availability - Rust
pub struct TransactionQueryData<Types: NodeType>
where +TransactionQueryData in hotshot_query_service::availability - Rust
pub struct TransactionQueryData<Types: NodeType>
where Payload<Types>: QueryablePayload<Types>,
{ /* private fields */ }

Implementations§

source§

impl<Types: NodeType> TransactionQueryData<Types>
where Payload<Types>: QueryablePayload<Types>,

source

pub fn transaction(&self) -> &Transaction<Types>

The underlying transaction data.

source

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

The hash of this transaction.

-
source

pub fn index(&self) -> u64

The (0-based) position of this transaction within its block.

+
source

pub fn index(&self) -> u64

The (0-based) position of this transaction within its block.

source

pub fn proof(&self) -> &TransactionInclusionProof<Types>

A proof of inclusion of this transaction in its block.

-
source

pub fn block_height(&self) -> u64

The height of the block containing this transaction.

+
source

pub fn block_height(&self) -> u64

The height of the block containing this transaction.

source

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

The hash of the block containing this transaction.

-

Trait Implementations§

source§

impl<Types: Clone + NodeType> Clone for TransactionQueryData<Types>
where - Payload<Types>: QueryablePayload<Types>,

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<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 TransactionQueryData<Types>
where - Payload<Types>: QueryablePayload<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 TransactionQueryData<Types>
where - Payload<Types>: QueryablePayload<Types>,

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<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 TransactionQueryData<Types>
where - Payload<Types>: QueryablePayload<Types>,

source§

impl<Types: NodeType> StructuralPartialEq for TransactionQueryData<Types>
where - Payload<Types>: QueryablePayload<Types>,

Auto Trait Implementations§

§

impl<Types> Freeze for TransactionQueryData<Types>
where - <Types as NodeType>::BlockPayload: for<'de> Sized, - <Types as NodeType>::Transaction: Freeze, - <<Types as NodeType>::BlockPayload as QueryablePayload<Types>>::InclusionProof: Freeze,

§

impl<Types> RefUnwindSafe for TransactionQueryData<Types>
where - <Types as NodeType>::BlockPayload: for<'de> Sized, - <Types as NodeType>::Transaction: RefUnwindSafe, - <<Types as NodeType>::BlockPayload as QueryablePayload<Types>>::InclusionProof: RefUnwindSafe,

§

impl<Types> Send for TransactionQueryData<Types>
where - <Types as NodeType>::BlockPayload: for<'de> Sized,

§

impl<Types> Sync for TransactionQueryData<Types>
where - <Types as NodeType>::BlockPayload: for<'de> Sized,

§

impl<Types> Unpin for TransactionQueryData<Types>
where - <Types as NodeType>::BlockPayload: for<'de> Sized, - <Types as NodeType>::Transaction: Unpin, - <<Types as NodeType>::BlockPayload as QueryablePayload<Types>>::InclusionProof: Unpin,

§

impl<Types> UnwindSafe for TransactionQueryData<Types>
where - <Types as NodeType>::BlockPayload: for<'de> Sized, - <Types as NodeType>::Transaction: UnwindSafe, - <<Types as NodeType>::BlockPayload as QueryablePayload<Types>>::InclusionProof: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

Trait Implementations§

source§

impl<Types: Clone + NodeType> Clone for TransactionQueryData<Types>
where + Payload<Types>: QueryablePayload<Types>,

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<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 TransactionQueryData<Types>
where + Payload<Types>: QueryablePayload<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 TransactionQueryData<Types>
where + Payload<Types>: QueryablePayload<Types>,

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<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 TransactionQueryData<Types>
where + Payload<Types>: QueryablePayload<Types>,

source§

impl<Types: NodeType> StructuralPartialEq for TransactionQueryData<Types>
where + Payload<Types>: QueryablePayload<Types>,

Auto Trait Implementations§

§

impl<Types> Freeze for TransactionQueryData<Types>
where + <Types as NodeType>::BlockPayload: for<'de> Sized, + <Types as NodeType>::Transaction: Freeze, + <<Types as NodeType>::BlockPayload as QueryablePayload<Types>>::InclusionProof: Freeze,

§

impl<Types> RefUnwindSafe for TransactionQueryData<Types>
where + <Types as NodeType>::BlockPayload: for<'de> Sized, + <Types as NodeType>::Transaction: RefUnwindSafe, + <<Types as NodeType>::BlockPayload as QueryablePayload<Types>>::InclusionProof: RefUnwindSafe,

§

impl<Types> Send for TransactionQueryData<Types>
where + <Types as NodeType>::BlockPayload: for<'de> Sized,

§

impl<Types> Sync for TransactionQueryData<Types>
where + <Types as NodeType>::BlockPayload: for<'de> Sized,

§

impl<Types> Unpin for TransactionQueryData<Types>
where + <Types as NodeType>::BlockPayload: for<'de> Sized, + <Types as NodeType>::Transaction: Unpin, + <<Types as NodeType>::BlockPayload as QueryablePayload<Types>>::InclusionProof: Unpin,

§

impl<Types> UnwindSafe for TransactionQueryData<Types>
where + <Types as NodeType>::BlockPayload: for<'de> Sized, + <Types as NodeType>::Transaction: UnwindSafe, + <<Types as NodeType>::BlockPayload as QueryablePayload<Types>>::InclusionProof: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

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

§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

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

source§

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

§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -94,80 +94,80 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

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

§

impl<T> NetworkMsg for T
where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/availability/struct.TransactionSummaryQueryData.html b/hotshot_query_service/availability/struct.TransactionSummaryQueryData.html index a9d765634..651363de5 100644 --- a/hotshot_query_service/availability/struct.TransactionSummaryQueryData.html +++ b/hotshot_query_service/availability/struct.TransactionSummaryQueryData.html @@ -1,71 +1,71 @@ -TransactionSummaryQueryData in hotshot_query_service::availability - Rust
pub struct TransactionSummaryQueryData<Types: NodeType> { /* private fields */ }

Trait Implementations§

source§

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

source§

fn clone(&self) -> TransactionSummaryQueryData<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 TransactionSummaryQueryData<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 TransactionSummaryQueryData<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 TransactionSummaryQueryData<Types>

source§

fn eq(&self, other: &TransactionSummaryQueryData<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 TransactionSummaryQueryData<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 TransactionSummaryQueryData<Types>

source§

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

Auto Trait Implementations§

§

impl<Types> Freeze for TransactionSummaryQueryData<Types>
where - <Types as NodeType>::BlockHeader: Freeze, - <Types as NodeType>::Transaction: Freeze,

§

impl<Types> RefUnwindSafe for TransactionSummaryQueryData<Types>
where - <Types as NodeType>::BlockHeader: RefUnwindSafe, - <Types as NodeType>::Transaction: RefUnwindSafe,

§

impl<Types> Send for TransactionSummaryQueryData<Types>

§

impl<Types> Sync for TransactionSummaryQueryData<Types>

§

impl<Types> Unpin for TransactionSummaryQueryData<Types>
where - <Types as NodeType>::BlockHeader: Unpin, - <Types as NodeType>::Transaction: Unpin,

§

impl<Types> UnwindSafe for TransactionSummaryQueryData<Types>
where - <Types as NodeType>::BlockHeader: UnwindSafe, - <Types as NodeType>::Transaction: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

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

Trait Implementations§

source§

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

source§

fn clone(&self) -> TransactionSummaryQueryData<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 TransactionSummaryQueryData<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 TransactionSummaryQueryData<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 TransactionSummaryQueryData<Types>

source§

fn eq(&self, other: &TransactionSummaryQueryData<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 TransactionSummaryQueryData<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 TransactionSummaryQueryData<Types>

source§

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

Auto Trait Implementations§

§

impl<Types> Freeze for TransactionSummaryQueryData<Types>
where + <Types as NodeType>::BlockHeader: Freeze, + <Types as NodeType>::Transaction: Freeze,

§

impl<Types> RefUnwindSafe for TransactionSummaryQueryData<Types>
where + <Types as NodeType>::BlockHeader: RefUnwindSafe, + <Types as NodeType>::Transaction: RefUnwindSafe,

§

impl<Types> Send for TransactionSummaryQueryData<Types>

§

impl<Types> Sync for TransactionSummaryQueryData<Types>

§

impl<Types> Unpin for TransactionSummaryQueryData<Types>
where + <Types as NodeType>::BlockHeader: Unpin, + <Types as NodeType>::Transaction: Unpin,

§

impl<Types> UnwindSafe for TransactionSummaryQueryData<Types>
where + <Types as NodeType>::BlockHeader: UnwindSafe, + <Types as NodeType>::Transaction: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

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

§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

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

source§

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

§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -73,80 +73,80 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

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

§

impl<T> NetworkMsg for T
where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/availability/struct.VidCommonQueryData.html b/hotshot_query_service/availability/struct.VidCommonQueryData.html index 0282d49ac..851d39845 100644 --- a/hotshot_query_service/availability/struct.VidCommonQueryData.html +++ b/hotshot_query_service/availability/struct.VidCommonQueryData.html @@ -1,66 +1,66 @@ -VidCommonQueryData in hotshot_query_service::availability - Rust
pub struct VidCommonQueryData<Types: NodeType> { /* private fields */ }

Implementations§

source§

impl<Types: NodeType> VidCommonQueryData<Types>

source

pub fn new(header: Header<Types>, common: VidCommon) -> Self

source

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

Implementations§

source§

impl<Types: NodeType> VidCommonQueryData<Types>

source

pub fn new(header: Header<Types>, common: VidCommon) -> Self

source

pub async fn genesis( validated_state: &Types::ValidatedState, instance_state: &Types::InstanceState, -) -> Self

source

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

source

pub fn payload_hash(&self) -> VidCommitment

source

pub fn common(&self) -> &VidCommon

Trait Implementations§

source§

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

source§

fn clone(&self) -> VidCommonQueryData<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 VidCommonQueryData<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 VidCommonQueryData<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: NodeType> HeightIndexed for VidCommonQueryData<Types>

source§

fn height(&self) -> u64

source§

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

source§

fn eq(&self, other: &VidCommonQueryData<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 VidCommonQueryData<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 VidCommonQueryData<Types>

source§

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

Auto Trait Implementations§

§

impl<Types> Freeze for VidCommonQueryData<Types>

§

impl<Types> RefUnwindSafe for VidCommonQueryData<Types>

§

impl<Types> Send for VidCommonQueryData<Types>

§

impl<Types> Sync for VidCommonQueryData<Types>

§

impl<Types> Unpin for VidCommonQueryData<Types>

§

impl<Types> UnwindSafe for VidCommonQueryData<Types>

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +) -> Self

source

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

source

pub fn payload_hash(&self) -> VidCommitment

source

pub fn common(&self) -> &VidCommon

Trait Implementations§

source§

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

source§

fn clone(&self) -> VidCommonQueryData<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 VidCommonQueryData<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 VidCommonQueryData<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: NodeType> HeightIndexed for VidCommonQueryData<Types>

source§

fn height(&self) -> u64

source§

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

source§

fn eq(&self, other: &VidCommonQueryData<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 VidCommonQueryData<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 VidCommonQueryData<Types>

source§

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

Auto Trait Implementations§

§

impl<Types> Freeze for VidCommonQueryData<Types>

§

impl<Types> RefUnwindSafe for VidCommonQueryData<Types>

§

impl<Types> Send for VidCommonQueryData<Types>

§

impl<Types> Sync for VidCommonQueryData<Types>

§

impl<Types> Unpin for VidCommonQueryData<Types>

§

impl<Types> UnwindSafe for VidCommonQueryData<Types>

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

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

§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

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

source§

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

§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -68,80 +68,80 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

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

§

impl<T> NetworkMsg for T
where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + '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 5cb309b4e..f8ebf9ab4 100644 --- a/hotshot_query_service/availability/trait.AvailabilityDataSource.html +++ b/hotshot_query_service/availability/trait.AvailabilityDataSource.html @@ -1,102 +1,102 @@ -AvailabilityDataSource in hotshot_query_service::availability - Rust
pub trait AvailabilityDataSource<Types: NodeType>
where +AvailabilityDataSource in hotshot_query_service::availability - Rust
pub trait AvailabilityDataSource<Types: NodeType>
where Payload<Types>: QueryablePayload<Types>,
{ - type LeafRange<R>: Stream<Item = Fetch<LeafQueryData<Types>>> + Unpin + Send + 'static - where R: RangeBounds<usize> + Send; - type BlockRange<R>: Stream<Item = Fetch<BlockQueryData<Types>>> + Unpin + Send + 'static - where R: RangeBounds<usize> + Send; - type PayloadRange<R>: Stream<Item = Fetch<PayloadQueryData<Types>>> + Unpin + Send + 'static - where R: RangeBounds<usize> + Send; - type VidCommonRange<R>: Stream<Item = Fetch<VidCommonQueryData<Types>>> + Unpin + Send + 'static - where R: RangeBounds<usize> + Send; + type LeafRange<R>: Stream<Item = Fetch<LeafQueryData<Types>>> + Unpin + Send + 'static + where R: RangeBounds<usize> + Send; + type BlockRange<R>: Stream<Item = Fetch<BlockQueryData<Types>>> + Unpin + Send + 'static + where R: RangeBounds<usize> + Send; + type PayloadRange<R>: Stream<Item = Fetch<PayloadQueryData<Types>>> + Unpin + Send + 'static + where R: RangeBounds<usize> + Send; + type VidCommonRange<R>: Stream<Item = Fetch<VidCommonQueryData<Types>>> + Unpin + Send + 'static + where R: RangeBounds<usize> + Send;
Show 13 methods // Required methods fn get_leaf<'life0, 'async_trait, ID>( &'life0 self, id: ID, - ) -> Pin<Box<dyn Future<Output = Fetch<LeafQueryData<Types>>> + Send + 'async_trait>> - where ID: Into<LeafId<Types>> + Send + Sync + 'async_trait, + ) -> Pin<Box<dyn Future<Output = Fetch<LeafQueryData<Types>>> + Send + 'async_trait>> + where ID: Into<LeafId<Types>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait; fn get_block<'life0, 'async_trait, ID>( &'life0 self, id: ID, - ) -> Pin<Box<dyn Future<Output = Fetch<BlockQueryData<Types>>> + Send + 'async_trait>> - where ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, + ) -> Pin<Box<dyn Future<Output = Fetch<BlockQueryData<Types>>> + Send + 'async_trait>> + where ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait; fn get_payload<'life0, 'async_trait, ID>( &'life0 self, id: ID, - ) -> Pin<Box<dyn Future<Output = Fetch<PayloadQueryData<Types>>> + Send + 'async_trait>> - where ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, + ) -> Pin<Box<dyn Future<Output = Fetch<PayloadQueryData<Types>>> + Send + 'async_trait>> + where ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait; fn get_vid_common<'life0, 'async_trait, ID>( &'life0 self, id: ID, - ) -> Pin<Box<dyn Future<Output = Fetch<VidCommonQueryData<Types>>> + Send + 'async_trait>> - where ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, + ) -> Pin<Box<dyn Future<Output = Fetch<VidCommonQueryData<Types>>> + Send + 'async_trait>> + where ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait; fn get_leaf_range<'life0, 'async_trait, R>( &'life0 self, range: R, - ) -> Pin<Box<dyn Future<Output = Self::LeafRange<R>> + Send + 'async_trait>> - where R: RangeBounds<usize> + Send + 'static + 'async_trait, + ) -> Pin<Box<dyn Future<Output = Self::LeafRange<R>> + Send + 'async_trait>> + where R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait; fn get_block_range<'life0, 'async_trait, R>( &'life0 self, range: R, - ) -> Pin<Box<dyn Future<Output = Self::BlockRange<R>> + Send + 'async_trait>> - where R: RangeBounds<usize> + Send + 'static + 'async_trait, + ) -> Pin<Box<dyn Future<Output = Self::BlockRange<R>> + Send + 'async_trait>> + where R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait; fn get_payload_range<'life0, 'async_trait, R>( &'life0 self, range: R, - ) -> Pin<Box<dyn Future<Output = Self::PayloadRange<R>> + Send + 'async_trait>> - where R: RangeBounds<usize> + Send + 'static + 'async_trait, + ) -> Pin<Box<dyn Future<Output = Self::PayloadRange<R>> + Send + 'async_trait>> + where R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait; fn get_vid_common_range<'life0, 'async_trait, R>( &'life0 self, range: R, - ) -> Pin<Box<dyn Future<Output = Self::VidCommonRange<R>> + Send + 'async_trait>> - where R: RangeBounds<usize> + Send + 'static + 'async_trait, + ) -> Pin<Box<dyn Future<Output = Self::VidCommonRange<R>> + Send + 'async_trait>> + where R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait; fn get_transaction<'life0, 'async_trait>( &'life0 self, hash: TransactionHash<Types>, - ) -> Pin<Box<dyn Future<Output = Fetch<TransactionQueryData<Types>>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Fetch<TransactionQueryData<Types>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; // Provided methods fn subscribe_blocks<'life0, 'async_trait>( &'life0 self, - from: usize, - ) -> Pin<Box<dyn Future<Output = BoxStream<'static, BlockQueryData<Types>>> + Send + 'async_trait>> - where Self: Sync + 'async_trait, + from: usize, + ) -> Pin<Box<dyn Future<Output = BoxStream<'static, BlockQueryData<Types>>> + Send + 'async_trait>> + where Self: Sync + 'async_trait, 'life0: 'async_trait { ... } fn subscribe_payloads<'life0, 'async_trait>( &'life0 self, - from: usize, - ) -> Pin<Box<dyn Future<Output = BoxStream<'static, PayloadQueryData<Types>>> + Send + 'async_trait>> - where Self: Sync + 'async_trait, + from: usize, + ) -> Pin<Box<dyn Future<Output = BoxStream<'static, PayloadQueryData<Types>>> + Send + 'async_trait>> + where Self: Sync + 'async_trait, 'life0: 'async_trait { ... } fn subscribe_leaves<'life0, 'async_trait>( &'life0 self, - from: usize, - ) -> Pin<Box<dyn Future<Output = BoxStream<'static, LeafQueryData<Types>>> + Send + 'async_trait>> - where Self: Sync + 'async_trait, + from: usize, + ) -> Pin<Box<dyn Future<Output = BoxStream<'static, LeafQueryData<Types>>> + Send + 'async_trait>> + where Self: Sync + 'async_trait, 'life0: 'async_trait { ... } fn subscribe_vid_common<'life0, 'async_trait>( &'life0 self, - from: usize, - ) -> Pin<Box<dyn Future<Output = BoxStream<'static, VidCommonQueryData<Types>>> + Send + 'async_trait>> - where Self: Sync + 'async_trait, + from: usize, + ) -> Pin<Box<dyn Future<Output = BoxStream<'static, VidCommonQueryData<Types>>> + Send + 'async_trait>> + where Self: Sync + 'async_trait, 'life0: 'async_trait { ... }
}
Expand description

An interface for querying a HotShot blockchain.

This interface provides expressive queries over all the data which is made available by HotShot @@ -120,118 +120,118 @@ defines two fetches f1 and f2 as equivalent when f1.await == f2.await. That is, depending on when you call a certain method, you may or may not get a response immediately. But whenever you do get the data you requested, it is unique for that -combination of inputs. 

Required Associated Types§

source

type LeafRange<R>: Stream<Item = Fetch<LeafQueryData<Types>>> + Unpin + Send + 'static +combination of inputs. 

Required Associated Types§

source

type LeafRange<R>: Stream<Item = Fetch<LeafQueryData<Types>>> + Unpin + Send + 'static where - R: RangeBounds<usize> + Send

source

type BlockRange<R>: Stream<Item = Fetch<BlockQueryData<Types>>> + Unpin + Send + 'static + R: RangeBounds<usize> + Send

source

type BlockRange<R>: Stream<Item = Fetch<BlockQueryData<Types>>> + Unpin + Send + 'static where - R: RangeBounds<usize> + Send

source

type PayloadRange<R>: Stream<Item = Fetch<PayloadQueryData<Types>>> + Unpin + Send + 'static + R: RangeBounds<usize> + Send

source

type PayloadRange<R>: Stream<Item = Fetch<PayloadQueryData<Types>>> + Unpin + Send + 'static where - R: RangeBounds<usize> + Send

source

type VidCommonRange<R>: Stream<Item = Fetch<VidCommonQueryData<Types>>> + Unpin + Send + 'static + R: RangeBounds<usize> + Send

source

type VidCommonRange<R>: Stream<Item = Fetch<VidCommonQueryData<Types>>> + Unpin + Send + 'static where - R: RangeBounds<usize> + Send

Required Methods§

source

fn get_leaf<'life0, 'async_trait, ID>( + R: RangeBounds<usize> + Send

Required Methods§

source

fn get_leaf<'life0, 'async_trait, ID>( &'life0 self, id: ID, -) -> Pin<Box<dyn Future<Output = Fetch<LeafQueryData<Types>>> + Send + 'async_trait>>
where - ID: Into<LeafId<Types>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Fetch<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 self, id: ID, -) -> Pin<Box<dyn Future<Output = Fetch<BlockQueryData<Types>>> + Send + 'async_trait>>
where - ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Fetch<BlockQueryData<Types>>> + Send + 'async_trait>>
where + ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source

fn get_payload<'life0, 'async_trait, ID>( &'life0 self, id: ID, -) -> Pin<Box<dyn Future<Output = Fetch<PayloadQueryData<Types>>> + Send + 'async_trait>>
where - ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Fetch<PayloadQueryData<Types>>> + Send + 'async_trait>>
where + ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source

fn get_vid_common<'life0, 'async_trait, ID>( &'life0 self, id: ID, -) -> Pin<Box<dyn Future<Output = Fetch<VidCommonQueryData<Types>>> + Send + 'async_trait>>
where - ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Fetch<VidCommonQueryData<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 self, range: R, -) -> Pin<Box<dyn Future<Output = Self::LeafRange<R>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = Self::LeafRange<R>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source

fn get_block_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = Self::BlockRange<R>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = Self::BlockRange<R>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source

fn get_payload_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = Self::PayloadRange<R>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = Self::PayloadRange<R>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source

fn get_vid_common_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = Self::VidCommonRange<R>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = Self::VidCommonRange<R>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source

fn get_transaction<'life0, 'async_trait>( &'life0 self, hash: TransactionHash<Types>, -) -> Pin<Box<dyn Future<Output = Fetch<TransactionQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Fetch<TransactionQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Returns the transaction with the given hash.

Provided Methods§

source

fn subscribe_blocks<'life0, 'async_trait>( &'life0 self, - from: usize, -) -> Pin<Box<dyn Future<Output = BoxStream<'static, BlockQueryData<Types>>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, + from: usize, +) -> Pin<Box<dyn Future<Output = BoxStream<'static, BlockQueryData<Types>>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source

fn subscribe_payloads<'life0, 'async_trait>( &'life0 self, - from: usize, -) -> Pin<Box<dyn Future<Output = BoxStream<'static, PayloadQueryData<Types>>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, + from: usize, +) -> Pin<Box<dyn Future<Output = BoxStream<'static, PayloadQueryData<Types>>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source

fn subscribe_leaves<'life0, 'async_trait>( &'life0 self, - from: usize, -) -> Pin<Box<dyn Future<Output = BoxStream<'static, LeafQueryData<Types>>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, + from: usize, +) -> Pin<Box<dyn Future<Output = BoxStream<'static, LeafQueryData<Types>>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source

fn subscribe_vid_common<'life0, 'async_trait>( &'life0 self, - from: usize, -) -> Pin<Box<dyn Future<Output = BoxStream<'static, VidCommonQueryData<Types>>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, - 'life0: 'async_trait,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl AvailabilityDataSource<MockTypes> for DataSource

§

type LeafRange<R> = Pin<Box<dyn Stream<Item = Fetch<LeafQueryData<MockTypes>>> + Send>> + from: usize, +) -> Pin<Box<dyn Future<Output = BoxStream<'static, VidCommonQueryData<Types>>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, + 'life0: 'async_trait,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl AvailabilityDataSource<MockTypes> for DataSource

§

type LeafRange<R> = Pin<Box<dyn Stream<Item = Fetch<LeafQueryData<MockTypes>>> + Send>> where - R: RangeBounds<usize> + Send

§

type BlockRange<R> = Pin<Box<dyn Stream<Item = Fetch<BlockQueryData<MockTypes>>> + Send>> + R: RangeBounds<usize> + Send

§

type BlockRange<R> = Pin<Box<dyn Stream<Item = Fetch<BlockQueryData<MockTypes>>> + Send>> where - R: RangeBounds<usize> + Send

§

type PayloadRange<R> = Pin<Box<dyn Stream<Item = Fetch<PayloadQueryData<MockTypes>>> + Send>> + R: RangeBounds<usize> + Send

§

type PayloadRange<R> = Pin<Box<dyn Stream<Item = Fetch<PayloadQueryData<MockTypes>>> + Send>> where - R: RangeBounds<usize> + Send

§

type VidCommonRange<R> = Pin<Box<dyn Stream<Item = Fetch<VidCommonQueryData<MockTypes>>> + Send>> + R: RangeBounds<usize> + Send

§

type VidCommonRange<R> = Pin<Box<dyn Stream<Item = Fetch<VidCommonQueryData<MockTypes>>> + Send>> where - R: RangeBounds<usize> + Send

source§

impl<D, U, Types> AvailabilityDataSource<Types> for ExtensibleDataSource<D, U>
where - D: AvailabilityDataSource<Types> + Send + Sync, - U: Send + Sync, + R: RangeBounds<usize> + Send

source§

impl<D, U, Types> AvailabilityDataSource<Types> for ExtensibleDataSource<D, U>
where + D: AvailabilityDataSource<Types> + Send + Sync, + U: Send + Sync, Types: NodeType, Payload<Types>: QueryablePayload<Types>,

source§

impl<Types, S, P> AvailabilityDataSource<Types> for FetchingDataSource<Types, S, P>
where + R: RangeBounds<usize> + Send

source§

impl<Types, S, P> AvailabilityDataSource<Types> for FetchingDataSource<Types, S, P>
where Types: NodeType, Payload<Types>: QueryablePayload<Types>, S: AvailabilityStorage<Types> + 'static, - P: AvailabilityProvider<Types>,

§

type LeafRange<R> = Pin<Box<dyn Stream<Item = Fetch<LeafQueryData<Types>>> + Send>> + P: AvailabilityProvider<Types>,

§

type LeafRange<R> = Pin<Box<dyn Stream<Item = Fetch<LeafQueryData<Types>>> + Send>> where - R: RangeBounds<usize> + Send

§

type BlockRange<R> = Pin<Box<dyn Stream<Item = Fetch<BlockQueryData<Types>>> + Send>> + R: RangeBounds<usize> + Send

§

type BlockRange<R> = Pin<Box<dyn Stream<Item = Fetch<BlockQueryData<Types>>> + Send>> where - R: RangeBounds<usize> + Send

§

type PayloadRange<R> = Pin<Box<dyn Stream<Item = Fetch<PayloadQueryData<Types>>> + Send>> + R: RangeBounds<usize> + Send

§

type PayloadRange<R> = Pin<Box<dyn Stream<Item = Fetch<PayloadQueryData<Types>>> + Send>> where - R: RangeBounds<usize> + Send

§

type VidCommonRange<R> = Pin<Box<dyn Stream<Item = Fetch<VidCommonQueryData<Types>>> + Send>> + R: RangeBounds<usize> + Send

§

type VidCommonRange<R> = Pin<Box<dyn Stream<Item = Fetch<VidCommonQueryData<Types>>> + Send>> where - R: RangeBounds<usize> + Send

\ No newline at end of file + R: RangeBounds<usize> + Send \ No newline at end of file diff --git a/hotshot_query_service/availability/trait.QueryableHeader.html b/hotshot_query_service/availability/trait.QueryableHeader.html index c84efd7d7..b944b6fe0 100644 --- a/hotshot_query_service/availability/trait.QueryableHeader.html +++ b/hotshot_query_service/availability/trait.QueryableHeader.html @@ -1,4 +1,4 @@ -QueryableHeader in hotshot_query_service::availability - Rust
pub trait QueryableHeader<Types: NodeType>: BlockHeader<Types> {
+QueryableHeader in hotshot_query_service::availability - Rust
pub trait QueryableHeader<Types: NodeType>: BlockHeader<Types> {
     // Required method
-    fn timestamp(&self) -> u64;
-}

Required Methods§

source

fn timestamp(&self) -> u64

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file + fn timestamp(&self) -> u64; +}

Required Methods§

source

fn timestamp(&self) -> u64

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/hotshot_query_service/availability/trait.QueryablePayload.html b/hotshot_query_service/availability/trait.QueryablePayload.html index 4023b57ed..f01ea1ae8 100644 --- a/hotshot_query_service/availability/trait.QueryablePayload.html +++ b/hotshot_query_service/availability/trait.QueryablePayload.html @@ -1,64 +1,64 @@ -QueryablePayload in hotshot_query_service::availability - Rust
pub trait QueryablePayload<Types: NodeType>: BlockPayload<Types> {
-    type TransactionIndex: Clone + Debug + PartialEq + Eq + Ord + Serialize + DeserializeOwned + Send + Sync;
-    type Iter<'a>: Iterator<Item = Self::TransactionIndex>
+QueryablePayload in hotshot_query_service::availability - Rust
pub trait QueryablePayload<Types: NodeType>: BlockPayload<Types> {
+    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 + Send + Sync;
+    type InclusionProof: Clone + Debug + PartialEq + Eq + Serialize + DeserializeOwned + Send + Sync;
 
 
Show 13 methods // Required methods - fn len(&self, meta: &Self::Metadata) -> usize; + fn len(&self, meta: &Self::Metadata) -> usize; fn iter<'a>(&'a self, meta: &'a Self::Metadata) -> Self::Iter<'a>; fn transaction_with_proof( &self, meta: &Self::Metadata, index: &Self::TransactionIndex, - ) -> Option<(Self::Transaction, Self::InclusionProof)>; + ) -> Option<(Self::Transaction, Self::InclusionProof)>; // Provided methods - fn is_empty(&self, meta: &Self::Metadata) -> bool { ... } + 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> { ... } + ) -> Box<dyn Iterator<Item = (Self::TransactionIndex, Self::Transaction)> + 'a> { ... } fn transaction( &self, meta: &Self::Metadata, index: &Self::TransactionIndex, - ) -> Option<Self::Transaction> { ... } + ) -> Option<Self::Transaction> { ... } fn proof( &self, meta: &Self::Metadata, index: &Self::TransactionIndex, - ) -> Option<Self::InclusionProof> { ... } + ) -> Option<Self::InclusionProof> { ... } fn nth( &self, meta: &Self::Metadata, - n: usize, - ) -> Option<Self::TransactionIndex> { ... } + n: usize, + ) -> Option<Self::TransactionIndex> { ... } fn nth_transaction( &self, meta: &Self::Metadata, - n: usize, - ) -> Option<Self::Transaction> { ... } + n: usize, + ) -> Option<Self::Transaction> { ... } fn nth_transaction_with_proof( &self, meta: &Self::Metadata, - n: usize, - ) -> Option<(Self::Transaction, Self::InclusionProof)> { ... } + n: usize, + ) -> Option<(Self::Transaction, Self::InclusionProof)> { ... } fn by_hash( &self, meta: &Self::Metadata, hash: Commitment<Self::Transaction>, - ) -> Option<Self::TransactionIndex> { ... } + ) -> Option<Self::TransactionIndex> { ... } fn transaction_by_hash( &self, meta: &Self::Metadata, hash: Commitment<Self::Transaction>, - ) -> Option<Self::Transaction> { ... } + ) -> Option<Self::Transaction> { ... } fn transaction_by_hash_with_proof( &self, meta: &Self::Metadata, hash: Commitment<Self::Transaction>, - ) -> Option<(Self::Transaction, Self::InclusionProof)> { ... } + ) -> Option<(Self::Transaction, Self::InclusionProof)> { ... }
}
Expand description

A block payload whose contents (e.g. individual transactions) can be examined.

Note to implementors: this trait has only a few required methods. The provided methods, for querying transactions in various ways, are implemented in terms of the required @@ -66,67 +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 + Send + Sync

A proof that a certain transaction exists in the block.

+
source

type InclusionProof: Clone + Debug + PartialEq + Eq + Serialize + DeserializeOwned + Send + Sync

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, meta: &Self::Metadata) -> usize

The number of transactions in the block.

+

Required Methods§

source

fn len(&self, meta: &Self::Metadata) -> usize

The number of transactions in the block.

source

fn iter<'a>(&'a self, meta: &'a Self::Metadata) -> Self::Iter<'a>

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, meta: &Self::Metadata) -> bool

Whether this block is empty of transactions.

+) -> 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, 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.

+) -> 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.

+) -> Option<Self::Transaction>

Get a transaction by its block-specific index.

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.

+) -> 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.

+ 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.

+ n: usize, +) -> Option<(Self::Transaction, Self::InclusionProof)>

Get the nth transaction, along with an inclusion proof.

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.

+) -> Option<Self::TransactionIndex>

Get the index of the transaction with a given hash, if it is in the block.

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.

+) -> Option<Self::Transaction>

Get the transaction with a given hash, if it is in the block.

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§

source§

impl<Types: NodeType> QueryablePayload<Types> for MockPayload

\ No newline at end of file +) -> 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§

source§

impl<Types: NodeType> QueryablePayload<Types> for MockPayload

\ 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 5036664c2..91294777e 100644 --- a/hotshot_query_service/availability/trait.UpdateAvailabilityData.html +++ b/hotshot_query_service/availability/trait.UpdateAvailabilityData.html @@ -1,53 +1,53 @@ -UpdateAvailabilityData in hotshot_query_service::availability - Rust
pub trait UpdateAvailabilityData<Types: NodeType> {
-    type Error: Error + Debug + Send + Sync + 'static;
+UpdateAvailabilityData in hotshot_query_service::availability - Rust
pub trait UpdateAvailabilityData<Types: NodeType> {
+    type Error: Error + Debug + Send + Sync + 'static;
 
     // Required methods
     fn insert_leaf<'life0, 'async_trait>(
         &'life0 mut self,
         leaf: LeafQueryData<Types>,
-    ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
+    ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
        where Self: 'async_trait,
              'life0: 'async_trait;
     fn insert_block<'life0, 'async_trait>(
         &'life0 mut self,
         block: BlockQueryData<Types>,
-    ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
+    ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
        where Self: 'async_trait,
              'life0: 'async_trait;
     fn insert_vid<'life0, 'async_trait>(
         &'life0 mut self,
         common: VidCommonQueryData<Types>,
-        share: Option<VidShare>,
-    ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
+        share: Option<VidShare>,
+    ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
        where Self: 'async_trait,
              'life0: 'async_trait;
-}

Required Associated Types§

source

type Error: Error + Debug + Send + Sync + 'static

Required Methods§

source

fn insert_leaf<'life0, 'async_trait>( +}

Required Associated Types§

source

type Error: Error + Debug + Send + Sync + 'static

Required Methods§

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 +) -> 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 mut self, block: BlockQueryData<Types>, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn insert_vid<'life0, 'async_trait>( &'life0 mut self, common: VidCommonQueryData<Types>, - share: Option<VidShare>, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where + share: Option<VidShare>, +) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§

source§

impl UpdateAvailabilityData<MockTypes> for DataSource

source§

impl<D, U, Types> UpdateAvailabilityData<Types> for ExtensibleDataSource<D, U>
where - D: UpdateAvailabilityData<Types> + Send + Sync, - U: Send + Sync, + D: UpdateAvailabilityData<Types> + Send + Sync, + U: Send + Sync, Types: NodeType,

§

type Error = <D as UpdateAvailabilityData<Types>>::Error

source§

impl<Types> UpdateAvailabilityData<Types> for SqlStorage
where Types: NodeType, Payload<Types>: QueryablePayload<Types>, Header<Types>: QueryableHeader<Types>,

source§

impl<Types, S, P> UpdateAvailabilityData<Types> for FetchingDataSource<Types, S, P>
where Types: NodeType, Payload<Types>: QueryablePayload<Types>, - S: UpdateAvailabilityData<Types> + Send + Sync, - P: Send + Sync,

§

type Error = <S as UpdateAvailabilityData<Types>>::Error

source§

impl<Types: NodeType> UpdateAvailabilityData<Types> for FileSystemStorage<Types>
where + S: UpdateAvailabilityData<Types> + Send + Sync, + P: Send + Sync,

§

type Error = <S as UpdateAvailabilityData<Types>>::Error

source§

impl<Types: NodeType> UpdateAvailabilityData<Types> for FileSystemStorage<Types>
where Payload<Types>: QueryablePayload<Types>, Header<Types>: QueryableHeader<Types>,

§

type Error = PersistenceError

source§

impl<Types: NodeType> UpdateAvailabilityData<Types> for NoStorage
where - Payload<Types>: QueryablePayload<Types>,

\ No newline at end of file + Payload<Types>: QueryablePayload<Types>, \ 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 acacae098..4cc3486c4 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

Type Alias hotshot_query_service::availability::BlockHash

source ·
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

Type Alias hotshot_query_service::availability::BlockHash

source ·
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 b1f5ce3e5..c015e3566 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

Type Alias hotshot_query_service::availability::LeafHash

source ·
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

Type Alias hotshot_query_service::availability::LeafHash

source ·
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 7d05196fa..d65a3b289 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

Type Alias hotshot_query_service::availability::Timestamp

source ·
pub type Timestamp = OffsetDateTime;

Aliased Type§

struct Timestamp { /* private fields */ }
\ No newline at end of file +Timestamp in hotshot_query_service::availability - Rust

Type Alias hotshot_query_service::availability::Timestamp

source ·
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 9fcfd00a1..1b206fef3 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

Type Alias hotshot_query_service::availability::TransactionHash

source ·
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

Type Alias hotshot_query_service::availability::TransactionHash

source ·
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 0f033fa3b..11d71d4cd 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<Types>>::InclusionProof;
\ No newline at end of file +TransactionInclusionProof in hotshot_query_service::availability - Rust
pub type TransactionInclusionProof<Types> = <Payload<Types> as QueryablePayload<Types>>::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 ddc31716b..050051b44 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

Type Alias hotshot_query_service::availability::TransactionIndex

source ·
pub type TransactionIndex<Types> = <Payload<Types> as QueryablePayload<Types>>::TransactionIndex;
\ No newline at end of file +TransactionIndex in hotshot_query_service::availability - Rust

Type Alias hotshot_query_service::availability::TransactionIndex

source ·
pub type TransactionIndex<Types> = <Payload<Types> as QueryablePayload<Types>>::TransactionIndex;
\ No newline at end of file diff --git a/hotshot_query_service/data_source/availability_tests/fn.test_range.html b/hotshot_query_service/data_source/availability_tests/fn.test_range.html index 8b354d012..b89c9b64c 100644 --- a/hotshot_query_service/data_source/availability_tests/fn.test_range.html +++ b/hotshot_query_service/data_source/availability_tests/fn.test_range.html @@ -1 +1 @@ -test_range in hotshot_query_service::data_source::availability_tests - Rust
pub async fn test_range<D: TestableDataSource>()
\ No newline at end of file +test_range in hotshot_query_service::data_source::availability_tests - Rust
pub async fn test_range<D: TestableDataSource>()
\ No newline at end of file diff --git a/hotshot_query_service/data_source/availability_tests/fn.test_update.html b/hotshot_query_service/data_source/availability_tests/fn.test_update.html index 35f7d1ad4..a8465ca06 100644 --- a/hotshot_query_service/data_source/availability_tests/fn.test_update.html +++ b/hotshot_query_service/data_source/availability_tests/fn.test_update.html @@ -1 +1 @@ -test_update in hotshot_query_service::data_source::availability_tests - Rust
pub async fn test_update<D: TestableDataSource>()
\ No newline at end of file +test_update in hotshot_query_service::data_source::availability_tests - Rust
pub async fn test_update<D: TestableDataSource>()
\ No newline at end of file diff --git a/hotshot_query_service/data_source/availability_tests/index.html b/hotshot_query_service/data_source/availability_tests/index.html index d7615be64..8c25bad3c 100644 --- a/hotshot_query_service/data_source/availability_tests/index.html +++ b/hotshot_query_service/data_source/availability_tests/index.html @@ -1,2 +1,2 @@ -hotshot_query_service::data_source::availability_tests - Rust
Expand description

Generic tests we can instantiate for all the availability data sources.

+hotshot_query_service::data_source::availability_tests - Rust
Expand description

Generic tests we can instantiate for all the availability data sources.

Functions§

\ No newline at end of file diff --git a/hotshot_query_service/data_source/fetching/index.html b/hotshot_query_service/data_source/fetching/index.html index a2d610640..837008d76 100644 --- a/hotshot_query_service/data_source/fetching/index.html +++ b/hotshot_query_service/data_source/fetching/index.html @@ -1,4 +1,4 @@ -hotshot_query_service::data_source::fetching - Rust

Module hotshot_query_service::data_source::fetching

source ·
Expand description

Asynchronous retrieval of missing data.

+hotshot_query_service::data_source::fetching - Rust

Module hotshot_query_service::data_source::fetching

source ·
Expand description

Asynchronous retrieval of missing data.

FetchingDataSource combines a local storage implementation with a remote data availability provider to create a data sources which caches data locally, but which is capable of fetching missing data from a remote source, either proactively or on demand.

diff --git a/hotshot_query_service/data_source/fetching/struct.Builder.html b/hotshot_query_service/data_source/fetching/struct.Builder.html index f52adb7a8..86df9d60f 100644 --- a/hotshot_query_service/data_source/fetching/struct.Builder.html +++ b/hotshot_query_service/data_source/fetching/struct.Builder.html @@ -1,37 +1,37 @@ -Builder in hotshot_query_service::data_source::fetching - Rust

Struct hotshot_query_service::data_source::fetching::Builder

source ·
pub struct Builder<Types, S, P> { /* private fields */ }
Expand description

Builder for FetchingDataSource with configuration.

+Builder in hotshot_query_service::data_source::fetching - Rust

Struct hotshot_query_service::data_source::fetching::Builder

source ·
pub struct Builder<Types, S, P> { /* private fields */ }
Expand description

Builder for FetchingDataSource with configuration.

Implementations§

source§

impl<Types, S, P> Builder<Types, S, P>

source

pub fn new(storage: S, provider: P) -> Self

Construct a new builder with the given storage and fetcher and the default options.

-
source

pub fn with_retry_delay(self, retry_delay: Duration) -> Self

Set the maximum delay between retries of fetches.

-
source

pub fn with_rate_limit(self, with_rate_limit: usize) -> Self

Set the maximum delay between retries of fetches.

-
source

pub fn with_range_chunk_size(self, range_chunk_size: usize) -> Self

Set the number of items to process at a time when loading a range or stream.

+
source

pub fn with_retry_delay(self, retry_delay: Duration) -> Self

Set the maximum delay between retries of fetches.

+
source

pub fn with_rate_limit(self, with_rate_limit: usize) -> Self

Set the maximum delay between retries of fetches.

+
source

pub fn with_range_chunk_size(self, range_chunk_size: usize) -> Self

Set the number of items to process at a time when loading a range or stream.

This determines:

  • The number of objects to load from storage in a single request
  • The number of objects to buffer in memory per request/stream
  • The number of concurrent notification subscriptions per request/stream
-
source

pub fn with_minor_scan_interval(self, interval: Duration) -> Self

Set the time interval between minor proactive fetching scans.

+
source

pub fn with_minor_scan_interval(self, interval: Duration) -> Self

Set the time interval between minor proactive fetching scans.

See proactive fetching.

-
source

pub fn with_major_scan_interval(self, interval: usize) -> Self

Set the interval (denominated in minor scans) between +

source

pub fn with_major_scan_interval(self, interval: usize) -> Self

Set the interval (denominated in minor scans) between major proactive fetching scans.

See proactive fetching.

-
source

pub fn with_major_scan_offset(self, offset: usize) -> Self

Set the offset (denominated in minor scans) before the +

source

pub fn with_major_scan_offset(self, offset: usize) -> Self

Set the offset (denominated in minor scans) before the first major proactive fetching scan.

This is useful when starting multiple nodes at the same time: major proactive scans can have a measurable impact on the performance of the node for a brief time while the scan is running, so it may be desirable to prevent a group of nodes from all doing major scans at the same time. This can be achieved by giving each node a different major_scan_offset.

See also proactive fetching.

-
source

pub fn with_proactive_range_chunk_size(self, range_chunk_size: usize) -> Self

Set the number of items to process at a time when scanning for proactive fetching.

+
source

pub fn with_proactive_range_chunk_size(self, range_chunk_size: usize) -> Self

Set the number of items to process at a time when scanning for proactive fetching.

This is similar to Self::with_range_chunk_size, but only affects the chunk size for proactive fetching scans, not for normal subscription streams. This can be useful to tune the proactive scanner to be more or less greedy with the lock on persistent storage.

By default (i.e. if this method is not called) the proactive range chunk size will be set to whatever the normal range chunk size is.

-
source

pub fn with_active_fetch_delay(self, active_fetch_delay: Duration) -> Self

Add a delay between active fetches in proactive scans.

+
source

pub fn with_active_fetch_delay(self, active_fetch_delay: Duration) -> Self

Add a delay between active fetches in proactive scans.

This can be used to limit the rate at which this query service makes requests to other query services during proactive scans. This is useful if the query service has a lot of blocks to catch up on, as without a delay, scanning can be extremely burdensome on the peer.

-
source

pub fn with_chunk_fetch_delay(self, chunk_fetch_delay: Duration) -> Self

Adds a delay between chunk fetches during proactive scans.

+
source

pub fn with_chunk_fetch_delay(self, chunk_fetch_delay: Duration) -> Self

Adds a delay between chunk fetches during proactive scans.

In a proactive scan, we retrieve a range of objects from a provider or local storage (e.g., a database). Without a delay between fetching these chunks, the process can become very CPU-intensive, especially when chunks are retrieved from local storage. While there is already a delay for active fetches @@ -53,72 +53,72 @@ Header<Types>: QueryableHeader<Types>, S: NodeDataSource<Types> + AvailabilityStorage<Types> + 'static, P: AvailabilityProvider<Types>,

source

pub async fn build(self) -> Result<FetchingDataSource<Types, S, P>>

Build a FetchingDataSource with these options.

-

Auto Trait Implementations§

§

impl<Types, S, P> Freeze for Builder<Types, S, P>
where - S: Freeze, - P: Freeze,

§

impl<Types, S, P> RefUnwindSafe for Builder<Types, S, P>
where - S: RefUnwindSafe, - P: RefUnwindSafe, - Types: RefUnwindSafe,

§

impl<Types, S, P> Send for Builder<Types, S, P>
where - S: Send, - P: Send, - Types: Send,

§

impl<Types, S, P> Sync for Builder<Types, S, P>
where - S: Sync, - P: Sync, - Types: Sync,

§

impl<Types, S, P> Unpin for Builder<Types, S, P>
where - S: Unpin, - P: Unpin, - Types: Unpin,

§

impl<Types, S, P> UnwindSafe for Builder<Types, S, P>
where - S: UnwindSafe, - P: UnwindSafe, - Types: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

Auto Trait Implementations§

§

impl<Types, S, P> Freeze for Builder<Types, S, P>
where + S: Freeze, + P: Freeze,

§

impl<Types, S, P> RefUnwindSafe for Builder<Types, S, P>
where + S: RefUnwindSafe, + P: RefUnwindSafe, + Types: RefUnwindSafe,

§

impl<Types, S, P> Send for Builder<Types, S, P>
where + S: Send, + P: Send, + Types: Send,

§

impl<Types, S, P> Sync for Builder<Types, S, P>
where + S: Sync, + P: Sync, + Types: Sync,

§

impl<Types, S, P> Unpin for Builder<Types, S, P>
where + S: Unpin, + P: Unpin, + Types: Unpin,

§

impl<Types, S, P> UnwindSafe for Builder<Types, S, P>
where + S: UnwindSafe, + P: UnwindSafe, + Types: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -126,77 +126,77 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

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

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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

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

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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/data_source/fetching/struct.FetchingDataSource.html b/hotshot_query_service/data_source/fetching/struct.FetchingDataSource.html index 72f5fdb2e..b37694605 100644 --- a/hotshot_query_service/data_source/fetching/struct.FetchingDataSource.html +++ b/hotshot_query_service/data_source/fetching/struct.FetchingDataSource.html @@ -1,4 +1,4 @@ -FetchingDataSource in hotshot_query_service::data_source::fetching - Rust
pub struct FetchingDataSource<Types, S, P>
where +FetchingDataSource in hotshot_query_service::data_source::fetching - Rust
pub struct FetchingDataSource<Types, S, P>
where Types: NodeType,
{ /* private fields */ }
Expand description

The most basic kind of data source.

A data source is constructed modularly by combining a storage implementation with a Fetcher. The former allows the query service to store the @@ -25,10 +25,10 @@

source§

impl<Types: NodeType, P> FetchingDataSource<Types, FileSystemStorage<Types>, P>
where Payload<Types>: QueryablePayload<Types>, Header<Types>: QueryableHeader<Types>, - P: AvailabilityProvider<Types>,

source

pub async fn create(path: &Path, provider: P) -> Result<Self>

Create a new FileSystemDataSource with storage at path.

+ P: AvailabilityProvider<Types>,
source

pub async fn create(path: &Path, provider: P) -> Result<Self>

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.

-
source

pub async fn open(path: &Path, provider: P) -> Result<Self>

Open an existing FileSystemDataSource from storage at path.

+
source

pub async fn open(path: &Path, provider: P) -> Result<Self>

Open an existing FileSystemDataSource from storage at path.

If there is no data at path, a new store will be created.

The FileSystemDataSource will manage its own persistence synchronization.

source

pub async fn create_with_store( @@ -49,7 +49,7 @@

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 skip_version(&mut self) -> Result<()>

Advance the version of the persistent store without committing changes to persistent state.

+
source

pub async fn skip_version(&mut self) -> Result<()>

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 @@ -64,7 +64,7 @@ Payload<Types>: QueryablePayload<Types>,

source

pub async fn connect( config: Config, provider: P, -) -> Result<Builder<Types, P>, Error>

Connect to a remote database.

+) -> Result<Builder<Types, P>, Error>

Connect to a remote database.

This function returns a fetching::Builder which can be used to set options on the underlying FetchingDataSource, before constructing the SqlDataSource with build. For a convenient constructor that uses the default @@ -80,307 +80,307 @@ Types: NodeType, Payload<Types>: QueryablePayload<Types>, S: AvailabilityStorage<Types> + 'static, - P: AvailabilityProvider<Types>,

§

type LeafRange<R> = Pin<Box<dyn Stream<Item = Fetch<LeafQueryData<Types>>> + Send>> + P: AvailabilityProvider<Types>,

§

type LeafRange<R> = Pin<Box<dyn Stream<Item = Fetch<LeafQueryData<Types>>> + Send>> where - R: RangeBounds<usize> + Send

§

type BlockRange<R> = Pin<Box<dyn Stream<Item = Fetch<BlockQueryData<Types>>> + Send>> + R: RangeBounds<usize> + Send

§

type BlockRange<R> = Pin<Box<dyn Stream<Item = Fetch<BlockQueryData<Types>>> + Send>> where - R: RangeBounds<usize> + Send

§

type PayloadRange<R> = Pin<Box<dyn Stream<Item = Fetch<PayloadQueryData<Types>>> + Send>> + R: RangeBounds<usize> + Send

§

type PayloadRange<R> = Pin<Box<dyn Stream<Item = Fetch<PayloadQueryData<Types>>> + Send>> where - R: RangeBounds<usize> + Send

§

type VidCommonRange<R> = Pin<Box<dyn Stream<Item = Fetch<VidCommonQueryData<Types>>> + Send>> + R: RangeBounds<usize> + Send

§

type VidCommonRange<R> = Pin<Box<dyn Stream<Item = Fetch<VidCommonQueryData<Types>>> + Send>> where - 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 = Fetch<LeafQueryData<Types>>> + Send + 'async_trait>>
where - ID: Into<LeafId<Types>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Fetch<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 self, id: ID, -) -> Pin<Box<dyn Future<Output = Fetch<BlockQueryData<Types>>> + Send + 'async_trait>>
where - ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Fetch<BlockQueryData<Types>>> + Send + 'async_trait>>
where + ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_payload<'life0, 'async_trait, ID>( &'life0 self, id: ID, -) -> Pin<Box<dyn Future<Output = Fetch<PayloadQueryData<Types>>> + Send + 'async_trait>>
where - ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Fetch<PayloadQueryData<Types>>> + Send + 'async_trait>>
where + ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_vid_common<'life0, 'async_trait, ID>( &'life0 self, id: ID, -) -> Pin<Box<dyn Future<Output = Fetch<VidCommonQueryData<Types>>> + Send + 'async_trait>>
where - ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Fetch<VidCommonQueryData<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 self, range: R, -) -> Pin<Box<dyn Future<Output = Self::LeafRange<R>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = Self::LeafRange<R>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_block_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = Self::BlockRange<R>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = Self::BlockRange<R>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_payload_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = Self::PayloadRange<R>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = Self::PayloadRange<R>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_vid_common_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = Self::VidCommonRange<R>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = Self::VidCommonRange<R>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_transaction<'life0, 'async_trait>( &'life0 self, hash: TransactionHash<Types>, -) -> Pin<Box<dyn Future<Output = Fetch<TransactionQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Fetch<TransactionQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Returns the transaction with the given hash.
source§

fn subscribe_blocks<'life0, 'async_trait>( &'life0 self, - from: usize, -) -> Pin<Box<dyn Future<Output = BoxStream<'static, BlockQueryData<Types>>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, + from: usize, +) -> Pin<Box<dyn Future<Output = BoxStream<'static, BlockQueryData<Types>>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source§

fn subscribe_payloads<'life0, 'async_trait>( &'life0 self, - from: usize, -) -> Pin<Box<dyn Future<Output = BoxStream<'static, PayloadQueryData<Types>>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, + from: usize, +) -> Pin<Box<dyn Future<Output = BoxStream<'static, PayloadQueryData<Types>>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source§

fn subscribe_leaves<'life0, 'async_trait>( &'life0 self, - from: usize, -) -> Pin<Box<dyn Future<Output = BoxStream<'static, LeafQueryData<Types>>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, + from: usize, +) -> Pin<Box<dyn Future<Output = BoxStream<'static, LeafQueryData<Types>>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source§

fn subscribe_vid_common<'life0, 'async_trait>( &'life0 self, - from: usize, -) -> Pin<Box<dyn Future<Output = BoxStream<'static, VidCommonQueryData<Types>>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, - 'life0: 'async_trait,

source§

impl<Types, S, P> Clone for FetchingDataSource<Types, S, P>
where - Types: NodeType,

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<Types, S, P> Debug for FetchingDataSource<Types, S, P>
where + from: usize, +) -> Pin<Box<dyn Future<Output = BoxStream<'static, VidCommonQueryData<Types>>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, + 'life0: 'async_trait,

source§

impl<Types, S, P> Clone for FetchingDataSource<Types, S, P>
where + Types: NodeType,

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<Types, S, P> Debug for FetchingDataSource<Types, S, P>
where Types: NodeType, - S: Debug, - P: Debug,

source§

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

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

impl<Types, S, P> ExplorerStorage<Types> for FetchingDataSource<Types, S, P>
where + S: Debug, + P: Debug,

source§

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

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

impl<Types, S, P> ExplorerStorage<Types> for FetchingDataSource<Types, S, P>
where Types: NodeType, Payload<Types>: QueryablePayload<Types>, Header<Types>: QueryableHeader<Types> + ExplorerHeader<Types>, Transaction<Types>: ExplorerTransaction, - S: ExplorerStorage<Types> + Send + Sync, - P: Send + Sync,

source§

fn get_block_summaries<'life0, 'async_trait>( + S: ExplorerStorage<Types> + Send + Sync, + P: Send + Sync,

source§

fn get_block_summaries<'life0, 'async_trait>( &'life0 self, request: GetBlockSummariesRequest<Types>, -) -> Pin<Box<dyn Future<Output = Result<Vec<BlockSummary<Types>>, GetBlockSummariesError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<Vec<BlockSummary<Types>>, GetBlockSummariesError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_block_summaries is a method that retrieves a list of block summaries from the blockchain. The list is generated from the given [GetBlockSummariesRequest].
source§

fn get_block_detail<'life0, 'async_trait>( &'life0 self, request: BlockIdentifier<Types>, -) -> Pin<Box<dyn Future<Output = Result<BlockDetail<Types>, GetBlockDetailError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<BlockDetail<Types>, GetBlockDetailError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_block_detail is a method that retrieves the details of a specific block from the blockchain. The block is identified by the given [BlockIdentifier].
source§

fn get_transaction_summaries<'life0, 'async_trait>( &'life0 self, request: GetTransactionSummariesRequest<Types>, -) -> Pin<Box<dyn Future<Output = Result<Vec<TransactionSummary<Types>>, GetTransactionSummariesError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<Vec<TransactionSummary<Types>>, GetTransactionSummariesError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_transaction_summaries is a method that retrieves a list of transaction summaries from the blockchain. The list is generated from the given [GetTransactionSummariesRequest].
source§

fn get_transaction_detail<'life0, 'async_trait>( &'life0 self, request: TransactionIdentifier<Types>, -) -> Pin<Box<dyn Future<Output = Result<TransactionDetailResponse<Types>, GetTransactionDetailError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<TransactionDetailResponse<Types>, GetTransactionDetailError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_transaction_detail is a method that retrieves the details of a specific transaction from the blockchain. The transaction is identified by the given [TransactionIdentifier].
source§

fn get_explorer_summary<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = Result<ExplorerSummary<Types>, GetExplorerSummaryError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<ExplorerSummary<Types>, GetExplorerSummaryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_explorer_summary is a method that retrieves a summary overview of the blockchain. This is useful for displaying information that indicates the overall status of the block chain.
source§

fn get_search_results<'life0, 'async_trait>( &'life0 self, - query: String, -) -> Pin<Box<dyn Future<Output = Result<SearchResult<Types>, GetSearchResultsError>> + Send + 'async_trait>>
where + query: String, +) -> Pin<Box<dyn Future<Output = Result<SearchResult<Types>, GetSearchResultsError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_search_results is a method that retrieves the results of a search query against the blockchain. The results are generated from the given -query string.
source§

impl<Types, S, State, P, const ARITY: usize> MerklizedStateDataSource<Types, State, ARITY> for FetchingDataSource<Types, S, P>
where +query string.

source§

impl<Types, S, State, P, const ARITY: usize> MerklizedStateDataSource<Types, State, ARITY> for FetchingDataSource<Types, S, P>
where Types: NodeType, - S: MerklizedStateDataSource<Types, State, ARITY> + Send + Sync + 'static, + S: MerklizedStateDataSource<Types, State, ARITY> + Send + Sync + 'static, P: AvailabilityProvider<Types>, State: MerklizedState<Types, ARITY> + 'static, - <State as MerkleTreeScheme>::Commitment: Send,

source§

fn get_path<'life0, 'async_trait>( + <State as MerkleTreeScheme>::Commitment: Send,

source§

fn get_path<'life0, 'async_trait>( &'life0 self, snapshot: Snapshot<Types, State, ARITY>, key: State::Key, -) -> Pin<Box<dyn Future<Output = QueryResult<MerkleProof<State::Entry, State::Key, State::T, ARITY>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<MerkleProof<State::Entry, State::Key, State::T, ARITY>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

impl<Types, S, P> MerklizedStateHeightPersistence for FetchingDataSource<Types, S, P>
where Types: NodeType, Payload<Types>: QueryablePayload<Types>, - S: MerklizedStateHeightPersistence + Send + Sync, - P: Send + Sync,

source§

fn set_last_state_height<'life0, 'async_trait>( &'life0 mut self, - height: usize, -) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
where + height: usize, +) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_last_state_height<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

impl<Types, S, P> NodeDataSource<Types> for FetchingDataSource<Types, S, P>
where Types: NodeType, - S: NodeDataSource<Types> + Send + Sync, - P: Send + Sync,

source§

fn block_height<'life0, 'async_trait>( + S: NodeDataSource<Types> + Send + Sync, + P: Send + Sync,

source§

fn block_height<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn count_transactions<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn payload_size<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn vid_share<'life0, 'async_trait, ID>( &'life0 self, id: ID, -) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
where - ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
where + ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn sync_status<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Search the database for missing objects and generate a report. Read more
source§

fn get_header_window<'life0, 'async_trait>( &'life0 self, - start: impl 'async_trait + Into<WindowStart<Types>> + Send + Sync, - end: u64, -) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<Types>>>> + Send + 'async_trait>>
where + start: impl 'async_trait + Into<WindowStart<Types>> + Send + Sync, + end: u64, +) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<Types>>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

impl<Types, S, P> StatusDataSource for FetchingDataSource<Types, S, P>
where Types: NodeType, - S: NodeDataSource<Types> + Send + Sync, - P: Send + Sync,

source§

fn block_height<'life0, 'async_trait>( + S: NodeDataSource<Types> + Send + Sync, + P: Send + Sync,

source§

fn block_height<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> 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 elapsed_time_since_last_decide<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<u64>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<u64>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source§

fn success_rate<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<f64>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<f64>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source§

impl<Types, S, P> UpdateAvailabilityData<Types> for FetchingDataSource<Types, S, P>
where Types: NodeType, Payload<Types>: QueryablePayload<Types>, - S: UpdateAvailabilityData<Types> + Send + Sync, - P: Send + Sync,

§

type Error = <S as UpdateAvailabilityData<Types>>::Error

source§

fn insert_leaf<'life0, 'async_trait>( + S: UpdateAvailabilityData<Types> + Send + Sync, + P: Send + Sync,

§

type Error = <S 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 +) -> 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 mut self, block: BlockQueryData<Types>, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn insert_vid<'life0, 'async_trait>( &'life0 mut self, common: VidCommonQueryData<Types>, - share: Option<VidShare>, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where + share: Option<VidShare>, +) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, - 'life0: 'async_trait,

source§

impl<Types, State, S, P, const ARITY: usize> UpdateStateData<Types, State, ARITY> for FetchingDataSource<Types, S, P>
where + 'life0: 'async_trait,

source§

impl<Types, State, S, P, const ARITY: usize> UpdateStateData<Types, State, ARITY> for FetchingDataSource<Types, S, P>
where Types: NodeType, State: MerklizedState<Types, ARITY>, - S: UpdateStateData<Types, State, ARITY> + Send + Sync + 'static, + S: UpdateStateData<Types, State, ARITY> + Send + Sync + 'static, P: AvailabilityProvider<Types>,

source§

fn insert_merkle_nodes<'life0, 'async_trait>( &'life0 mut self, path: MerkleProof<State::Entry, State::Key, State::T, ARITY>, - traversal_path: Vec<usize>, - block_number: u64, -) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
where + traversal_path: Vec<usize>, + block_number: u64, +) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

impl<Types, S, P> VersionedDataSource for FetchingDataSource<Types, S, P>
where Types: NodeType, - S: VersionedDataSource + Send + Sync, - P: Send + Sync,

§

type Error = <S as VersionedDataSource>::Error

source§

fn commit<'life0, 'async_trait>( + S: VersionedDataSource + Send + Sync, + P: Send + Sync,

§

type Error = <S as VersionedDataSource>::Error

source§

fn commit<'life0, 'async_trait>( &'life0 mut self, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where +) -> 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. Read more
source§

fn revert<'life0, 'async_trait>( &'life0 mut self, -) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, - 'life0: 'async_trait,

Erase all oustanding modifications to the data. Read more

Auto Trait Implementations§

§

impl<Types, S, P> Freeze for FetchingDataSource<Types, S, P>

§

impl<Types, S, P> !RefUnwindSafe for FetchingDataSource<Types, S, P>

§

impl<Types, S, P> Send for FetchingDataSource<Types, S, P>
where - P: Sync + Send, - S: Send + Sync,

§

impl<Types, S, P> Sync for FetchingDataSource<Types, S, P>
where - P: Sync + Send, - S: Sync + Send,

§

impl<Types, S, P> Unpin for FetchingDataSource<Types, S, P>
where - Types: Unpin, - S: Unpin, - P: Unpin,

§

impl<Types, S, P> !UnwindSafe for FetchingDataSource<Types, S, P>

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + 'life0: 'async_trait,

Erase all oustanding modifications to the data. Read more

Auto Trait Implementations§

§

impl<Types, S, P> Freeze for FetchingDataSource<Types, S, P>

§

impl<Types, S, P> !RefUnwindSafe for FetchingDataSource<Types, S, P>

§

impl<Types, S, P> Send for FetchingDataSource<Types, S, P>
where + P: Sync + Send, + S: Send + Sync,

§

impl<Types, S, P> Sync for FetchingDataSource<Types, S, P>
where + P: Sync + Send, + S: Sync + Send,

§

impl<Types, S, P> Unpin for FetchingDataSource<Types, S, P>
where + Types: Unpin, + S: Unpin, + P: Unpin,

§

impl<Types, S, P> !UnwindSafe for FetchingDataSource<Types, S, P>

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + 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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -388,90 +388,90 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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 T
where - 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 T
where - 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.
source§

impl<Types, T> UpdateDataSource<Types> for T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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 T
where + 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 T
where + 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.
source§

impl<Types, T> UpdateDataSource<Types> for T
where Types: NodeType, - T: UpdateAvailabilityData<Types> + UpdateStatusData + Send, + T: UpdateAvailabilityData<Types> + UpdateStatusData + Send, <Types as NodeType>::BlockPayload: QueryablePayload<Types>, - <Types as NodeType>::InstanceState: Default,

source§

fn update<'life0, 'life1, 'async_trait>( + <Types as NodeType>::InstanceState: Default,

source§

fn update<'life0, 'life1, 'async_trait>( &'life0 mut self, event: &'life1 Event<Types>, -) -> Pin<Box<dyn Future<Output = Result<(), <T as UpdateAvailabilityData<Types>>::Error>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<(), <T as UpdateAvailabilityData<Types>>::Error>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, T: 'async_trait,

Update query state based on a new consensus event. Read more
source§

impl<T> UpdateStatusData for T
where - T: StatusDataSource,

source§

fn populate_metrics(&self) -> Box<dyn Metrics>

§

impl<V, T> VZip<V> for T
where + T: StatusDataSource,

source§

fn populate_metrics(&self) -> Box<dyn Metrics>

§

impl<V, T> VZip<V> for T
where 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 + 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> TestableDataSource for T

\ No newline at end of file diff --git a/hotshot_query_service/data_source/fetching/struct.Pruner.html b/hotshot_query_service/data_source/fetching/struct.Pruner.html index 593f77928..b82e887b1 100644 --- a/hotshot_query_service/data_source/fetching/struct.Pruner.html +++ b/hotshot_query_service/data_source/fetching/struct.Pruner.html @@ -1,71 +1,71 @@ -Pruner in hotshot_query_service::data_source::fetching - Rust

Struct hotshot_query_service::data_source::fetching::Pruner

source ·
pub struct Pruner<Types, S, P>
where - Types: NodeType,
{ /* private fields */ }

Trait Implementations§

source§

impl<Types, S, P> Clone for Pruner<Types, S, P>
where - Types: NodeType,

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<Types, S, P> Debug for Pruner<Types, S, P>
where +Pruner in hotshot_query_service::data_source::fetching - Rust

Struct hotshot_query_service::data_source::fetching::Pruner

source ·
pub struct Pruner<Types, S, P>
where + Types: NodeType,
{ /* private fields */ }

Trait Implementations§

source§

impl<Types, S, P> Clone for Pruner<Types, S, P>
where + Types: NodeType,

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<Types, S, P> Debug for Pruner<Types, S, P>
where Types: NodeType, - S: Debug, - P: Debug,

source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<Types, S, P> Freeze for Pruner<Types, S, P>

§

impl<Types, S, P> RefUnwindSafe for Pruner<Types, S, P>
where - Types: RefUnwindSafe, - S: RefUnwindSafe, - P: RefUnwindSafe,

§

impl<Types, S, P> Send for Pruner<Types, S, P>
where - S: Send, - P: Send,

§

impl<Types, S, P> Sync for Pruner<Types, S, P>
where - S: Sync, - P: Sync,

§

impl<Types, S, P> Unpin for Pruner<Types, S, P>
where - Types: Unpin, - S: Unpin, - P: Unpin,

§

impl<Types, S, P> UnwindSafe for Pruner<Types, S, P>
where - Types: UnwindSafe, - S: UnwindSafe, - P: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + S: Debug, + P: Debug,

source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<Types, S, P> Freeze for Pruner<Types, S, P>

§

impl<Types, S, P> RefUnwindSafe for Pruner<Types, S, P>
where + Types: RefUnwindSafe, + S: RefUnwindSafe, + P: RefUnwindSafe,

§

impl<Types, S, P> Send for Pruner<Types, S, P>
where + S: Send, + P: Send,

§

impl<Types, S, P> Sync for Pruner<Types, S, P>
where + S: Sync, + P: Sync,

§

impl<Types, S, P> Unpin for Pruner<Types, S, P>
where + Types: Unpin, + S: Unpin, + P: Unpin,

§

impl<Types, S, P> UnwindSafe for Pruner<Types, S, P>
where + Types: UnwindSafe, + S: UnwindSafe, + P: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + 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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -73,78 +73,78 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/data_source/fetching/struct.StorageReadGuard.html b/hotshot_query_service/data_source/fetching/struct.StorageReadGuard.html index 4313c86c4..080b03656 100644 --- a/hotshot_query_service/data_source/fetching/struct.StorageReadGuard.html +++ b/hotshot_query_service/data_source/fetching/struct.StorageReadGuard.html @@ -1,63 +1,63 @@ -StorageReadGuard in hotshot_query_service::data_source::fetching - Rust
pub struct StorageReadGuard<'a, Types, S>
where - Types: NodeType,
{ /* private fields */ }

Trait Implementations§

source§

impl<'a, Types, S> Deref for StorageReadGuard<'a, Types, S>
where - Types: NodeType,

§

type Target = S

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'a, Types, S> From<RwLockReadGuard<'a, NotifyStorage<Types, S>>> for StorageReadGuard<'a, Types, S>
where - Types: NodeType,

source§

fn from( +StorageReadGuard in hotshot_query_service::data_source::fetching - Rust
pub struct StorageReadGuard<'a, Types, S>
where + Types: NodeType,
{ /* private fields */ }

Trait Implementations§

source§

impl<'a, Types, S> Deref for StorageReadGuard<'a, Types, S>
where + Types: NodeType,

§

type Target = S

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'a, Types, S> From<RwLockReadGuard<'a, NotifyStorage<Types, S>>> for StorageReadGuard<'a, Types, S>
where + Types: NodeType,

source§

fn from( original: RwLockReadGuard<'a, NotifyStorage<Types, S>>, -) -> StorageReadGuard<'a, Types, S>

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<'a, Types, S> Freeze for StorageReadGuard<'a, Types, S>

§

impl<'a, Types, S> !RefUnwindSafe for StorageReadGuard<'a, Types, S>

§

impl<'a, Types, S> Send for StorageReadGuard<'a, Types, S>
where - S: Sync,

§

impl<'a, Types, S> Sync for StorageReadGuard<'a, Types, S>
where - S: Sync,

§

impl<'a, Types, S> Unpin for StorageReadGuard<'a, Types, S>

§

impl<'a, Types, S> !UnwindSafe for StorageReadGuard<'a, Types, S>

Blanket Implementations§

§

impl<T, A, P> Access<T> for P
where - A: Access<T> + ?Sized, - P: Deref<Target = A>,

§

type Guard = <A as Access<T>>::Guard

A guard object containing the value and keeping it alive. Read more
§

fn load(&self) -> <P as Access<T>>::Guard

The loading method. Read more
source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +) -> StorageReadGuard<'a, Types, S>

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<'a, Types, S> Freeze for StorageReadGuard<'a, Types, S>

§

impl<'a, Types, S> !RefUnwindSafe for StorageReadGuard<'a, Types, S>

§

impl<'a, Types, S> Send for StorageReadGuard<'a, Types, S>
where + S: Sync,

§

impl<'a, Types, S> Sync for StorageReadGuard<'a, Types, S>
where + S: Sync,

§

impl<'a, Types, S> Unpin for StorageReadGuard<'a, Types, S>

§

impl<'a, Types, S> !UnwindSafe for StorageReadGuard<'a, Types, S>

Blanket Implementations§

§

impl<T, A, P> Access<T> for P
where + A: Access<T> + ?Sized, + P: Deref<Target = A>,

§

type Guard = <A as Access<T>>::Guard

A guard object containing the value and keeping it alive. Read more
§

fn load(&self) -> <P as Access<T>>::Guard

The loading method. Read more
source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

impl<T, A> DynAccess<T> for A
where + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

impl<T, A> DynAccess<T> for A
where A: Access<T>, - <A as Access<T>>::Guard: 'static,

§

fn load(&self) -> DynGuard<T>

The equivalent of [Access::load].
§

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 + <A as Access<T>>::Guard: 'static,
§

fn load(&self) -> DynGuard<T>

The equivalent of [Access::load].
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -65,81 +65,81 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

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

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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

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

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 T
where + 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 T
where + 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 T
where 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 + 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
§

impl<T> Formattable for T
where - T: Deref, - <T as Deref>::Target: Formattable,

§

impl<T> Parsable for T
where - T: Deref, - <T as Deref>::Target: Parsable,

\ No newline at end of file + T: Deref, + <T as Deref>::Target: Formattable,
§

impl<T> Parsable for T
where + T: Deref, + <T as Deref>::Target: Parsable,

\ No newline at end of file diff --git a/hotshot_query_service/data_source/fetching/struct.StorageWriteGuard.html b/hotshot_query_service/data_source/fetching/struct.StorageWriteGuard.html index 943c4a3bd..bea0ef346 100644 --- a/hotshot_query_service/data_source/fetching/struct.StorageWriteGuard.html +++ b/hotshot_query_service/data_source/fetching/struct.StorageWriteGuard.html @@ -1,33 +1,33 @@ -StorageWriteGuard in hotshot_query_service::data_source::fetching - Rust
pub struct StorageWriteGuard<'a, Types, S>
where - Types: NodeType,
{ /* private fields */ }

Trait Implementations§

source§

impl<'a, Types, S> Deref for StorageWriteGuard<'a, Types, S>
where - Types: NodeType,

§

type Target = S

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'a, Types, S> DerefMut for StorageWriteGuard<'a, Types, S>
where - Types: NodeType,

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<'a, Types, S> From<RwLockWriteGuard<'a, NotifyStorage<Types, S>>> for StorageWriteGuard<'a, Types, S>
where - Types: NodeType,

source§

fn from( +StorageWriteGuard in hotshot_query_service::data_source::fetching - Rust
pub struct StorageWriteGuard<'a, Types, S>
where + Types: NodeType,
{ /* private fields */ }

Trait Implementations§

source§

impl<'a, Types, S> Deref for StorageWriteGuard<'a, Types, S>
where + Types: NodeType,

§

type Target = S

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'a, Types, S> DerefMut for StorageWriteGuard<'a, Types, S>
where + Types: NodeType,

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<'a, Types, S> From<RwLockWriteGuard<'a, NotifyStorage<Types, S>>> for StorageWriteGuard<'a, Types, S>
where + Types: NodeType,

source§

fn from( original: RwLockWriteGuard<'a, NotifyStorage<Types, S>>, -) -> StorageWriteGuard<'a, Types, S>

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<'a, Types, S> Freeze for StorageWriteGuard<'a, Types, S>

§

impl<'a, Types, S> !RefUnwindSafe for StorageWriteGuard<'a, Types, S>

§

impl<'a, Types, S> Send for StorageWriteGuard<'a, Types, S>
where - S: Send,

§

impl<'a, Types, S> Sync for StorageWriteGuard<'a, Types, S>
where - S: Sync,

§

impl<'a, Types, S> Unpin for StorageWriteGuard<'a, Types, S>

§

impl<'a, Types, S> !UnwindSafe for StorageWriteGuard<'a, Types, S>

Blanket Implementations§

§

impl<T, A, P> Access<T> for P
where - A: Access<T> + ?Sized, - P: Deref<Target = A>,

§

type Guard = <A as Access<T>>::Guard

A guard object containing the value and keeping it alive. Read more
§

fn load(&self) -> <P as Access<T>>::Guard

The loading method. Read more
source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +) -> StorageWriteGuard<'a, Types, S>

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<'a, Types, S> Freeze for StorageWriteGuard<'a, Types, S>

§

impl<'a, Types, S> !RefUnwindSafe for StorageWriteGuard<'a, Types, S>

§

impl<'a, Types, S> Send for StorageWriteGuard<'a, Types, S>
where + S: Send,

§

impl<'a, Types, S> Sync for StorageWriteGuard<'a, Types, S>
where + S: Sync,

§

impl<'a, Types, S> Unpin for StorageWriteGuard<'a, Types, S>

§

impl<'a, Types, S> !UnwindSafe for StorageWriteGuard<'a, Types, S>

Blanket Implementations§

§

impl<T, A, P> Access<T> for P
where + A: Access<T> + ?Sized, + P: Deref<Target = A>,

§

type Guard = <A as Access<T>>::Guard

A guard object containing the value and keeping it alive. Read more
§

fn load(&self) -> <P as Access<T>>::Guard

The loading method. Read more
source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Commands for T
where - T: ConnectionLike,

§

fn get<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Commands for T
where + T: ConnectionLike,

§

fn get<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Get the value of a key. If key is a vec this becomes an MGET.
§

fn mget<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Get the value of a key. If key is a vec this becomes an MGET.
§

fn mget<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Get values of keys
§

fn keys<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Get values of keys
§

fn keys<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Gets all keys matching pattern
§

fn set<'a, K, V, RV>(&mut self, key: K, value: V) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Gets all keys matching pattern
§

fn set<'a, K, V, RV>(&mut self, key: K, value: V) -> Result<RV, RedisError>
where K: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue,

Set the string value of a key.
§

fn set_options<'a, K, V, RV>( @@ -35,134 +35,134 @@ key: K, value: V, options: SetOptions, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue,

Set the string value of a key with options.
§

fn set_multiple<'a, K, V, RV>( &mut self, - items: &'a [(K, V)], -) -> Result<RV, RedisError>
where + items: &'a [(K, V)], +) -> Result<RV, RedisError>
where K: ToRedisArgs, V: ToRedisArgs, - RV: FromRedisValue,

👎Deprecated since 0.22.4: Renamed to mset() to reflect Redis name
Sets multiple keys to their values.
§

fn mset<'a, K, V, RV>(&mut self, items: &'a [(K, V)]) -> Result<RV, RedisError>
where + RV: FromRedisValue,

👎Deprecated since 0.22.4: Renamed to mset() to reflect Redis name
Sets multiple keys to their values.
§

fn mset<'a, K, V, RV>(&mut self, items: &'a [(K, V)]) -> Result<RV, RedisError>
where K: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue,

Sets multiple keys to their values.
§

fn set_ex<'a, K, V, RV>( &mut self, key: K, value: V, - seconds: u64, -) -> Result<RV, RedisError>
where + seconds: u64, +) -> Result<RV, RedisError>
where K: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue,

Set the value and expiration of a key.
§

fn pset_ex<'a, K, V, RV>( &mut self, key: K, value: V, - milliseconds: u64, -) -> Result<RV, RedisError>
where + milliseconds: u64, +) -> Result<RV, RedisError>
where K: ToRedisArgs, V: ToRedisArgs, - RV: FromRedisValue,

Set the value and expiration in milliseconds of a key.
§

fn set_nx<'a, K, V, RV>(&mut self, key: K, value: V) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Set the value and expiration in milliseconds of a key.
§

fn set_nx<'a, K, V, RV>(&mut self, key: K, value: V) -> Result<RV, RedisError>
where K: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue,

Set the value of a key, only if the key does not exist
§

fn mset_nx<'a, K, V, RV>( &mut self, - items: &'a [(K, V)], -) -> Result<RV, RedisError>
where + items: &'a [(K, V)], +) -> Result<RV, RedisError>
where K: ToRedisArgs, V: ToRedisArgs, - RV: FromRedisValue,

Sets multiple keys to their values failing if at least one already exists.
§

fn getset<'a, K, V, RV>(&mut self, key: K, value: V) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Sets multiple keys to their values failing if at least one already exists.
§

fn getset<'a, K, V, RV>(&mut self, key: K, value: V) -> Result<RV, RedisError>
where K: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue,

Set the string value of a key and return its old value.
§

fn getrange<'a, K, RV>( &mut self, key: K, - from: isize, - to: isize, -) -> Result<RV, RedisError>
where + from: isize, + to: isize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Get a range of bytes/substring from the value of a key. Negative values provide an offset from the end of the value.
§

fn setrange<'a, K, V, RV>( &mut self, key: K, - offset: isize, + offset: isize, value: V, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, V: ToRedisArgs, - RV: FromRedisValue,

Overwrite the part of the value stored in key at the specified offset.
§

fn del<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Overwrite the part of the value stored in key at the specified offset.
§

fn del<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Delete one or more keys.
§

fn exists<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Delete one or more keys.
§

fn exists<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Determine if a key exists.
§

fn key_type<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Determine if a key exists.
§

fn key_type<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Determine the type of a key.
§

fn expire<'a, K, RV>(&mut self, key: K, seconds: i64) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Determine the type of a key.
§

fn expire<'a, K, RV>(&mut self, key: K, seconds: i64) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Set a key’s time to live in seconds.
§

fn expire_at<'a, K, RV>(&mut self, key: K, ts: i64) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Set a key’s time to live in seconds.
§

fn expire_at<'a, K, RV>(&mut self, key: K, ts: i64) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Set the expiration for a key as a UNIX timestamp.
§

fn pexpire<'a, K, RV>(&mut self, key: K, ms: i64) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Set the expiration for a key as a UNIX timestamp.
§

fn pexpire<'a, K, RV>(&mut self, key: K, ms: i64) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Set a key’s time to live in milliseconds.
§

fn pexpire_at<'a, K, RV>(&mut self, key: K, ts: i64) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Set a key’s time to live in milliseconds.
§

fn pexpire_at<'a, K, RV>(&mut self, key: K, ts: i64) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Set the expiration for a key as a UNIX timestamp in milliseconds.
§

fn persist<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Set the expiration for a key as a UNIX timestamp in milliseconds.
§

fn persist<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Remove the expiration from a key.
§

fn ttl<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Remove the expiration from a key.
§

fn ttl<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Get the expiration time of a key.
§

fn pttl<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Get the expiration time of a key.
§

fn pttl<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Get the expiration time of a key in milliseconds.
§

fn get_ex<'a, K, RV>( &mut self, key: K, expire_at: Expiry, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Get the value of a key and set expiration
§

fn get_del<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Get the value of a key and set expiration
§

fn get_del<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Get the value of a key and delete it
§

fn rename<'a, K, N, RV>(&mut self, key: K, new_key: N) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Get the value of a key and delete it
§

fn rename<'a, K, N, RV>(&mut self, key: K, new_key: N) -> Result<RV, RedisError>
where K: ToRedisArgs, N: ToRedisArgs, RV: FromRedisValue,

Rename a key.
§

fn rename_nx<'a, K, N, RV>( &mut self, key: K, new_key: N, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, N: ToRedisArgs, - RV: FromRedisValue,

Rename a key, only if the new key does not exist.
Rename a key, only if the new key does not exist.
Unlink one or more keys.
§

fn append<'a, K, V, RV>(&mut self, key: K, value: V) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Unlink one or more keys.
§

fn append<'a, K, V, RV>(&mut self, key: K, value: V) -> Result<RV, RedisError>
where K: ToRedisArgs, V: ToRedisArgs, - RV: FromRedisValue,

Append a value to a key.
§

fn incr<'a, K, V, RV>(&mut self, key: K, delta: V) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Append a value to a key.
§

fn incr<'a, K, V, RV>(&mut self, key: K, delta: V) -> Result<RV, RedisError>
where K: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue,

Increment the numeric value of a key by the given amount. This -issues a INCRBY or INCRBYFLOAT depending on the type.
§

fn decr<'a, K, V, RV>(&mut self, key: K, delta: V) -> Result<RV, RedisError>
where +issues a INCRBY or INCRBYFLOAT depending on the type.

§

fn decr<'a, K, V, RV>(&mut self, key: K, delta: V) -> Result<RV, RedisError>
where K: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue,

Decrement the numeric value of a key by the given amount.
§

fn setbit<'a, K, RV>( &mut self, key: K, - offset: usize, - value: bool, -) -> Result<RV, RedisError>
where + offset: usize, + value: bool, +) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Sets or clears the bit at offset in the string value stored at key.
§

fn getbit<'a, K, RV>(&mut self, key: K, offset: usize) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Sets or clears the bit at offset in the string value stored at key.
§

fn getbit<'a, K, RV>(&mut self, key: K, offset: usize) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Returns the bit value at offset in the string value stored at key.
§

fn bitcount<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Returns the bit value at offset in the string value stored at key.
§

fn bitcount<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Count set bits in a string.
§

fn bitcount_range<'a, K, RV>( &mut self, key: K, - start: usize, - end: usize, -) -> Result<RV, RedisError>
where + start: usize, + end: usize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Count set bits in a string in a range.
§

fn bit_and<'a, D, S, RV>( &mut self, dstkey: D, srckeys: S, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where D: ToRedisArgs, S: ToRedisArgs, RV: FromRedisValue,

Perform a bitwise AND between multiple keys (containing string values) @@ -170,7 +170,7 @@ &mut self, dstkey: D, srckeys: S, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where D: ToRedisArgs, S: ToRedisArgs, RV: FromRedisValue,

Perform a bitwise OR between multiple keys (containing string values) @@ -178,7 +178,7 @@ &mut self, dstkey: D, srckeys: S, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where D: ToRedisArgs, S: ToRedisArgs, RV: FromRedisValue,
Perform a bitwise XOR between multiple keys (containing string values) @@ -186,16 +186,16 @@ &mut self, dstkey: D, srckey: S, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where D: ToRedisArgs, S: ToRedisArgs, RV: FromRedisValue,
Perform a bitwise NOT of the key (containing string values) -and store the result in the destination key.
§

fn strlen<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where +and store the result in the destination key.

§

fn strlen<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Get the length of the value stored in a key.
§

fn hget<'a, K, F, RV>(&mut self, key: K, field: F) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Get the length of the value stored in a key.
§

fn hget<'a, K, F, RV>(&mut self, key: K, field: F) -> Result<RV, RedisError>
where K: ToRedisArgs, F: ToRedisArgs, - RV: FromRedisValue,

Gets a single (or multiple) fields from a hash.
§

fn hdel<'a, K, F, RV>(&mut self, key: K, field: F) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Gets a single (or multiple) fields from a hash.
§

fn hdel<'a, K, F, RV>(&mut self, key: K, field: F) -> Result<RV, RedisError>
where K: ToRedisArgs, F: ToRedisArgs, RV: FromRedisValue,

Deletes a single (or multiple) fields from a hash.
§

fn hset<'a, K, F, V, RV>( @@ -203,7 +203,7 @@ key: K, field: F, value: V, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, F: ToRedisArgs, V: ToRedisArgs, @@ -212,15 +212,15 @@ key: K, field: F, value: V, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, F: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue,

Sets a single field in a hash if it does not exist.
§

fn hset_multiple<'a, K, F, V, RV>( &mut self, key: K, - items: &'a [(F, V)], -) -> Result<RV, RedisError>
where + items: &'a [(F, V)], +) -> Result<RV, RedisError>
where K: ToRedisArgs, F: ToRedisArgs, V: ToRedisArgs, @@ -229,20 +229,20 @@ key: K, field: F, delta: D, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, F: ToRedisArgs, D: ToRedisArgs, - RV: FromRedisValue,

Increments a value.
§

fn hexists<'a, K, F, RV>(&mut self, key: K, field: F) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Increments a value.
§

fn hexists<'a, K, F, RV>(&mut self, key: K, field: F) -> Result<RV, RedisError>
where K: ToRedisArgs, F: ToRedisArgs, - RV: FromRedisValue,

Checks if a field in a hash exists.
§

fn hkeys<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Checks if a field in a hash exists.
§

fn hkeys<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Gets all the keys in a hash.
§

fn hvals<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Gets all the keys in a hash.
§

fn hvals<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Gets all the values in a hash.
§

fn hgetall<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Gets all the values in a hash.
§

fn hgetall<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Gets all the fields and values in a hash.
§

fn hlen<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Gets all the fields and values in a hash.
§

fn hlen<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Gets the length of a hash.
§

fn blmove<'a, S, D, RV>( &mut self, @@ -250,42 +250,42 @@ dstkey: D, src_dir: Direction, dst_dir: Direction, - timeout: f64, -) -> Result<RV, RedisError>
where + timeout: f64, +) -> Result<RV, RedisError>
where S: ToRedisArgs, D: ToRedisArgs, RV: FromRedisValue,

Pop an element from a list, push it to another list and return it; or block until one is available
§

fn blmpop<'a, K, RV>( &mut self, - timeout: f64, - numkeys: usize, + timeout: f64, + numkeys: usize, key: K, dir: Direction, - count: usize, -) -> Result<RV, RedisError>
where + count: usize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Pops count elements from the first non-empty list key from the list of -provided key names; or blocks until one is available.
§

fn blpop<'a, K, RV>(&mut self, key: K, timeout: f64) -> Result<RV, RedisError>
where +provided key names; or blocks until one is available.

§

fn blpop<'a, K, RV>(&mut self, key: K, timeout: f64) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Remove and get the first element in a list, or block until one is available.
§

fn brpop<'a, K, RV>(&mut self, key: K, timeout: f64) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Remove and get the first element in a list, or block until one is available.
§

fn brpop<'a, K, RV>(&mut self, key: K, timeout: f64) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Remove and get the last element in a list, or block until one is available.
§

fn brpoplpush<'a, S, D, RV>( &mut self, srckey: S, dstkey: D, - timeout: f64, -) -> Result<RV, RedisError>
where + timeout: f64, +) -> Result<RV, RedisError>
where S: ToRedisArgs, D: ToRedisArgs, RV: FromRedisValue,

Pop a value from a list, push it to another list and return it; -or block until one is available.
§

fn lindex<'a, K, RV>(&mut self, key: K, index: isize) -> Result<RV, RedisError>
where +or block until one is available.

§

fn lindex<'a, K, RV>(&mut self, key: K, index: isize) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Get an element from a list by its index.
§

fn linsert_before<'a, K, P, V, RV>( &mut self, key: K, pivot: P, value: V, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, P: ToRedisArgs, V: ToRedisArgs, @@ -294,11 +294,11 @@ key: K, pivot: P, value: V, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, P: ToRedisArgs, V: ToRedisArgs, - RV: FromRedisValue,

Insert an element after another element in a list.
§

fn llen<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Insert an element after another element in a list.
§

fn llen<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Returns the length of the list stored at key.
§

fn lmove<'a, S, D, RV>( &mut self, @@ -306,167 +306,167 @@ dstkey: D, src_dir: Direction, dst_dir: Direction, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where S: ToRedisArgs, D: ToRedisArgs, RV: FromRedisValue,

Pop an element a list, push it to another list and return it
§

fn lmpop<'a, K, RV>( &mut self, - numkeys: usize, + numkeys: usize, key: K, dir: Direction, - count: usize, -) -> Result<RV, RedisError>
where + count: usize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Pops count elements from the first non-empty list key from the list of provided key names.
§

fn lpop<'a, K, RV>( &mut self, key: K, - count: Option<NonZero<usize>>, -) -> Result<RV, RedisError>
where + count: Option<NonZero<usize>>, +) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Removes and returns the up to count first elements of the list stored at key. Read more
§

fn lpos<'a, K, V, RV>( &mut self, key: K, value: V, options: LposOptions, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, V: ToRedisArgs, - RV: FromRedisValue,

Returns the index of the first matching value of the list stored at key.
§

fn lpush<'a, K, V, RV>(&mut self, key: K, value: V) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Returns the index of the first matching value of the list stored at key.
§

fn lpush<'a, K, V, RV>(&mut self, key: K, value: V) -> Result<RV, RedisError>
where K: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue,

Insert all the specified values at the head of the list stored at key.
§

fn lpush_exists<'a, K, V, RV>( &mut self, key: K, value: V, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue,

Inserts a value at the head of the list stored at key, only if key already exists and holds a list.
§

fn lrange<'a, K, RV>( &mut self, key: K, - start: isize, - stop: isize, -) -> Result<RV, RedisError>
where + start: isize, + stop: isize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Returns the specified elements of the list stored at key.
§

fn lrem<'a, K, V, RV>( &mut self, key: K, - count: isize, + count: isize, value: V, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue,

Removes the first count occurrences of elements equal to value from the list stored at key.
§

fn ltrim<'a, K, RV>( &mut self, key: K, - start: isize, - stop: isize, -) -> Result<RV, RedisError>
where + start: isize, + stop: isize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Trim an existing list so that it will contain only the specified range of elements specified.
§

fn lset<'a, K, V, RV>( &mut self, key: K, - index: isize, + index: isize, value: V, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue,

Sets the list element at index to value
§

fn rpop<'a, K, RV>( &mut self, key: K, - count: Option<NonZero<usize>>, -) -> Result<RV, RedisError>
where + count: Option<NonZero<usize>>, +) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Removes and returns the up to count last elements of the list stored at key Read more
§

fn rpoplpush<'a, K, D, RV>( &mut self, key: K, dstkey: D, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, D: ToRedisArgs, - RV: FromRedisValue,

Pop a value from a list, push it to another list and return it.
§

fn rpush<'a, K, V, RV>(&mut self, key: K, value: V) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Pop a value from a list, push it to another list and return it.
§

fn rpush<'a, K, V, RV>(&mut self, key: K, value: V) -> Result<RV, RedisError>
where K: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue,

Insert all the specified values at the tail of the list stored at key.
§

fn rpush_exists<'a, K, V, RV>( &mut self, key: K, value: V, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue,

Inserts value at the tail of the list stored at key, only if key -already exists and holds a list.
§

fn sadd<'a, K, M, RV>(&mut self, key: K, member: M) -> Result<RV, RedisError>
where +already exists and holds a list.

§

fn sadd<'a, K, M, RV>(&mut self, key: K, member: M) -> Result<RV, RedisError>
where K: ToRedisArgs, M: ToRedisArgs, - RV: FromRedisValue,

Add one or more members to a set.
§

fn scard<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Add one or more members to a set.
§

fn scard<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Get the number of members in a set.
§

fn sdiff<'a, K, RV>(&mut self, keys: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Get the number of members in a set.
§

fn sdiff<'a, K, RV>(&mut self, keys: K) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Subtract multiple sets.
§

fn sdiffstore<'a, D, K, RV>( &mut self, dstkey: D, keys: K, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where D: ToRedisArgs, K: ToRedisArgs, - RV: FromRedisValue,

Subtract multiple sets and store the resulting set in a key.
§

fn sinter<'a, K, RV>(&mut self, keys: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Subtract multiple sets and store the resulting set in a key.
§

fn sinter<'a, K, RV>(&mut self, keys: K) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Intersect multiple sets.
§

fn sinterstore<'a, D, K, RV>( &mut self, dstkey: D, keys: K, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where D: ToRedisArgs, K: ToRedisArgs, RV: FromRedisValue,

Intersect multiple sets and store the resulting set in a key.
§

fn sismember<'a, K, M, RV>( &mut self, key: K, member: M, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, M: ToRedisArgs, RV: FromRedisValue,

Determine if a given value is a member of a set.
§

fn smismember<'a, K, M, RV>( &mut self, key: K, members: M, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, M: ToRedisArgs, - RV: FromRedisValue,

Determine if given values are members of a set.
§

fn smembers<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Determine if given values are members of a set.
§

fn smembers<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Get all the members in a set.
§

fn smove<'a, S, D, M, RV>( &mut self, srckey: S, dstkey: D, member: M, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where S: ToRedisArgs, D: ToRedisArgs, M: ToRedisArgs, - RV: FromRedisValue,

Move a member from one set to another.
§

fn spop<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Move a member from one set to another.
§

fn spop<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Remove and return a random member from a set.
§

fn srandmember<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Remove and return a random member from a set.
§

fn srandmember<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Get one random member from a set.
§

fn srandmember_multiple<'a, K, RV>( &mut self, key: K, - count: usize, -) -> Result<RV, RedisError>
where + count: usize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Get multiple random members from a set.
§

fn srem<'a, K, M, RV>(&mut self, key: K, member: M) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Get multiple random members from a set.
§

fn srem<'a, K, M, RV>(&mut self, key: K, member: M) -> Result<RV, RedisError>
where K: ToRedisArgs, M: ToRedisArgs, - RV: FromRedisValue,

Remove one or more members from a set.
§

fn sunion<'a, K, RV>(&mut self, keys: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Remove one or more members from a set.
§

fn sunion<'a, K, RV>(&mut self, keys: K) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Add multiple sets.
§

fn sunionstore<'a, D, K, RV>( &mut self, dstkey: D, keys: K, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where D: ToRedisArgs, K: ToRedisArgs, RV: FromRedisValue,

Add multiple sets and store the resulting set in a key.
§

fn zadd<'a, K, S, M, RV>( @@ -474,26 +474,26 @@ key: K, member: M, score: S, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, S: ToRedisArgs, M: ToRedisArgs, RV: FromRedisValue,

Add one member to a sorted set, or update its score if it already exists.
§

fn zadd_multiple<'a, K, S, M, RV>( &mut self, key: K, - items: &'a [(S, M)], -) -> Result<RV, RedisError>
where + items: &'a [(S, M)], +) -> Result<RV, RedisError>
where K: ToRedisArgs, S: ToRedisArgs, M: ToRedisArgs, - RV: FromRedisValue,

Add multiple members to a sorted set, or update its score if it already exists.
§

fn zcard<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Add multiple members to a sorted set, or update its score if it already exists.
§

fn zcard<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Get the number of members in a sorted set.
§

fn zcount<'a, K, M, MM, RV>( &mut self, key: K, min: M, max: MM, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, M: ToRedisArgs, MM: ToRedisArgs, @@ -502,7 +502,7 @@ key: K, member: M, delta: D, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, M: ToRedisArgs, D: ToRedisArgs, @@ -510,32 +510,32 @@ If the member does not exist, it is added with delta as its score.

§

fn zinterstore<'a, D, K, RV>( &mut self, dstkey: D, - keys: &'a [K], -) -> Result<RV, RedisError>
where + keys: &'a [K], +) -> Result<RV, RedisError>
where D: ToRedisArgs, K: ToRedisArgs, RV: FromRedisValue,

Intersect multiple sorted sets and store the resulting sorted set in a new key using SUM as aggregation function.
§

fn zinterstore_min<'a, D, K, RV>( &mut self, dstkey: D, - keys: &'a [K], -) -> Result<RV, RedisError>
where + keys: &'a [K], +) -> Result<RV, RedisError>
where D: ToRedisArgs, K: ToRedisArgs, RV: FromRedisValue,

Intersect multiple sorted sets and store the resulting sorted set in a new key using MIN as aggregation function.
§

fn zinterstore_max<'a, D, K, RV>( &mut self, dstkey: D, - keys: &'a [K], -) -> Result<RV, RedisError>
where + keys: &'a [K], +) -> Result<RV, RedisError>
where D: ToRedisArgs, K: ToRedisArgs, RV: FromRedisValue,

Intersect multiple sorted sets and store the resulting sorted set in a new key using MAX as aggregation function.
§

fn zinterstore_weights<'a, D, K, W, RV>( &mut self, dstkey: D, - keys: &'a [(K, W)], -) -> Result<RV, RedisError>
where + keys: &'a [(K, W)], +) -> Result<RV, RedisError>
where D: ToRedisArgs, K: ToRedisArgs, W: ToRedisArgs, @@ -544,8 +544,8 @@ in a tuple.

§

fn zinterstore_min_weights<'a, D, K, W, RV>( &mut self, dstkey: D, - keys: &'a [(K, W)], -) -> Result<RV, RedisError>
where + keys: &'a [(K, W)], +) -> Result<RV, RedisError>
where D: ToRedisArgs, K: ToRedisArgs, W: ToRedisArgs, @@ -554,8 +554,8 @@ in a tuple.

§

fn zinterstore_max_weights<'a, D, K, W, RV>( &mut self, dstkey: D, - keys: &'a [(K, W)], -) -> Result<RV, RedisError>
where + keys: &'a [(K, W)], +) -> Result<RV, RedisError>
where D: ToRedisArgs, K: ToRedisArgs, W: ToRedisArgs, @@ -566,92 +566,92 @@ key: K, min: M, max: MM, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, M: ToRedisArgs, MM: ToRedisArgs, RV: FromRedisValue,

Count the number of members in a sorted set between a given lexicographical range.
§

fn bzpopmax<'a, K, RV>( &mut self, key: K, - timeout: f64, -) -> Result<RV, RedisError>
where + timeout: f64, +) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Removes and returns the member with the highest score in a sorted set. -Blocks until a member is available otherwise.
§

fn zpopmax<'a, K, RV>(&mut self, key: K, count: isize) -> Result<RV, RedisError>
where +Blocks until a member is available otherwise.

§

fn zpopmax<'a, K, RV>(&mut self, key: K, count: isize) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Removes and returns up to count members with the highest scores in a sorted set
§

fn bzpopmin<'a, K, RV>( &mut self, key: K, - timeout: f64, -) -> Result<RV, RedisError>
where + timeout: f64, +) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Removes and returns the member with the lowest score in a sorted set. -Blocks until a member is available otherwise.
§

fn zpopmin<'a, K, RV>(&mut self, key: K, count: isize) -> Result<RV, RedisError>
where +Blocks until a member is available otherwise.

§

fn zpopmin<'a, K, RV>(&mut self, key: K, count: isize) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Removes and returns up to count members with the lowest scores in a sorted set
§

fn bzmpop_max<'a, K, RV>( &mut self, - timeout: f64, - keys: &'a [K], - count: isize, -) -> Result<RV, RedisError>
where + timeout: f64, + keys: &'a [K], + count: isize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Removes and returns up to count members with the highest scores, from the first non-empty sorted set in the provided list of key names. Blocks until a member is available otherwise.
§

fn zmpop_max<'a, K, RV>( &mut self, - keys: &'a [K], - count: isize, -) -> Result<RV, RedisError>
where + keys: &'a [K], + count: isize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Removes and returns up to count members with the highest scores, from the first non-empty sorted set in the provided list of key names.
§

fn bzmpop_min<'a, K, RV>( &mut self, - timeout: f64, - keys: &'a [K], - count: isize, -) -> Result<RV, RedisError>
where + timeout: f64, + keys: &'a [K], + count: isize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Removes and returns up to count members with the lowest scores, from the first non-empty sorted set in the provided list of key names. Blocks until a member is available otherwise.
§

fn zmpop_min<'a, K, RV>( &mut self, - keys: &'a [K], - count: isize, -) -> Result<RV, RedisError>
where + keys: &'a [K], + count: isize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Removes and returns up to count members with the lowest scores, from the first non-empty sorted set in the provided list of key names.
§

fn zrandmember<'a, K, RV>( &mut self, key: K, - count: Option<isize>, -) -> Result<RV, RedisError>
where + count: Option<isize>, +) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Return up to count random members in a sorted set (or 1 if count == None)
§

fn zrandmember_withscores<'a, K, RV>( &mut self, key: K, - count: isize, -) -> Result<RV, RedisError>
where + count: isize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Return up to count random members in a sorted set with scores
§

fn zrange<'a, K, RV>( &mut self, key: K, - start: isize, - stop: isize, -) -> Result<RV, RedisError>
where + start: isize, + stop: isize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Return a range of members in a sorted set, by index
§

fn zrange_withscores<'a, K, RV>( &mut self, key: K, - start: isize, - stop: isize, -) -> Result<RV, RedisError>
where + start: isize, + stop: isize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Return a range of members in a sorted set, by index with scores.
§

fn zrangebylex<'a, K, M, MM, RV>( &mut self, key: K, min: M, max: MM, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, M: ToRedisArgs, MM: ToRedisArgs, @@ -660,9 +660,9 @@ key: K, min: M, max: MM, - offset: isize, - count: isize, -) -> Result<RV, RedisError>
where + offset: isize, + count: isize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, M: ToRedisArgs, MM: ToRedisArgs, @@ -672,7 +672,7 @@ key: K, max: MM, min: M, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, MM: ToRedisArgs, M: ToRedisArgs, @@ -681,9 +681,9 @@ key: K, max: MM, min: M, - offset: isize, - count: isize, -) -> Result<RV, RedisError>
where + offset: isize, + count: isize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, MM: ToRedisArgs, M: ToRedisArgs, @@ -693,7 +693,7 @@ key: K, min: M, max: MM, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, M: ToRedisArgs, MM: ToRedisArgs, @@ -702,7 +702,7 @@ key: K, min: M, max: MM, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, M: ToRedisArgs, MM: ToRedisArgs, @@ -711,9 +711,9 @@ key: K, min: M, max: MM, - offset: isize, - count: isize, -) -> Result<RV, RedisError>
where + offset: isize, + count: isize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, M: ToRedisArgs, MM: ToRedisArgs, @@ -722,16 +722,16 @@ key: K, min: M, max: MM, - offset: isize, - count: isize, -) -> Result<RV, RedisError>
where + offset: isize, + count: isize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, M: ToRedisArgs, MM: ToRedisArgs, - RV: FromRedisValue,

Return a range of members in a sorted set, by score with limit with scores.
§

fn zrank<'a, K, M, RV>(&mut self, key: K, member: M) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Return a range of members in a sorted set, by score with limit with scores.
§

fn zrank<'a, K, M, RV>(&mut self, key: K, member: M) -> Result<RV, RedisError>
where K: ToRedisArgs, M: ToRedisArgs, - RV: FromRedisValue,

Determine the index of a member in a sorted set.
§

fn zrem<'a, K, M, RV>(&mut self, key: K, members: M) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Determine the index of a member in a sorted set.
§

fn zrem<'a, K, M, RV>(&mut self, key: K, members: M) -> Result<RV, RedisError>
where K: ToRedisArgs, M: ToRedisArgs, RV: FromRedisValue,

Remove one or more members from a sorted set.
§

fn zrembylex<'a, K, M, MM, RV>( @@ -739,40 +739,40 @@ key: K, min: M, max: MM, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, M: ToRedisArgs, MM: ToRedisArgs, RV: FromRedisValue,

Remove all members in a sorted set between the given lexicographical range.
§

fn zremrangebyrank<'a, K, RV>( &mut self, key: K, - start: isize, - stop: isize, -) -> Result<RV, RedisError>
where + start: isize, + stop: isize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Remove all members in a sorted set within the given indexes.
§

fn zrembyscore<'a, K, M, MM, RV>( &mut self, key: K, min: M, max: MM, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, M: ToRedisArgs, MM: ToRedisArgs, RV: FromRedisValue,

Remove all members in a sorted set within the given scores.
§

fn zrevrange<'a, K, RV>( &mut self, key: K, - start: isize, - stop: isize, -) -> Result<RV, RedisError>
where + start: isize, + stop: isize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Return a range of members in a sorted set, by index, with scores ordered from high to low.
§

fn zrevrange_withscores<'a, K, RV>( &mut self, key: K, - start: isize, - stop: isize, -) -> Result<RV, RedisError>
where + start: isize, + stop: isize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Return a range of members in a sorted set, by index, with scores ordered from high to low.
§

fn zrevrangebyscore<'a, K, MM, M, RV>( @@ -780,7 +780,7 @@ key: K, max: MM, min: M, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, MM: ToRedisArgs, M: ToRedisArgs, @@ -789,7 +789,7 @@ key: K, max: MM, min: M, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, MM: ToRedisArgs, M: ToRedisArgs, @@ -798,9 +798,9 @@ key: K, max: MM, min: M, - offset: isize, - count: isize, -) -> Result<RV, RedisError>
where + offset: isize, + count: isize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, MM: ToRedisArgs, M: ToRedisArgs, @@ -809,9 +809,9 @@ key: K, max: MM, min: M, - offset: isize, - count: isize, -) -> Result<RV, RedisError>
where + offset: isize, + count: isize, +) -> Result<RV, RedisError>
where K: ToRedisArgs, MM: ToRedisArgs, M: ToRedisArgs, @@ -819,48 +819,48 @@ &mut self, key: K, member: M, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, M: ToRedisArgs, - RV: FromRedisValue,

Determine the index of a member in a sorted set, with scores ordered from high to low.
§

fn zscore<'a, K, M, RV>(&mut self, key: K, member: M) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Determine the index of a member in a sorted set, with scores ordered from high to low.
§

fn zscore<'a, K, M, RV>(&mut self, key: K, member: M) -> Result<RV, RedisError>
where K: ToRedisArgs, M: ToRedisArgs, RV: FromRedisValue,

Get the score associated with the given member in a sorted set.
§

fn zscore_multiple<'a, K, M, RV>( &mut self, key: K, - members: &'a [M], -) -> Result<RV, RedisError>
where + members: &'a [M], +) -> Result<RV, RedisError>
where K: ToRedisArgs, M: ToRedisArgs, RV: FromRedisValue,

Get the scores associated with multiple members in a sorted set.
§

fn zunionstore<'a, D, K, RV>( &mut self, dstkey: D, - keys: &'a [K], -) -> Result<RV, RedisError>
where + keys: &'a [K], +) -> Result<RV, RedisError>
where D: ToRedisArgs, K: ToRedisArgs, RV: FromRedisValue,

Unions multiple sorted sets and store the resulting sorted set in a new key using SUM as aggregation function.
§

fn zunionstore_min<'a, D, K, RV>( &mut self, dstkey: D, - keys: &'a [K], -) -> Result<RV, RedisError>
where + keys: &'a [K], +) -> Result<RV, RedisError>
where D: ToRedisArgs, K: ToRedisArgs, RV: FromRedisValue,

Unions multiple sorted sets and store the resulting sorted set in a new key using MIN as aggregation function.
§

fn zunionstore_max<'a, D, K, RV>( &mut self, dstkey: D, - keys: &'a [K], -) -> Result<RV, RedisError>
where + keys: &'a [K], +) -> Result<RV, RedisError>
where D: ToRedisArgs, K: ToRedisArgs, RV: FromRedisValue,

Unions multiple sorted sets and store the resulting sorted set in a new key using MAX as aggregation function.
§

fn zunionstore_weights<'a, D, K, W, RV>( &mut self, dstkey: D, - keys: &'a [(K, W)], -) -> Result<RV, RedisError>
where + keys: &'a [(K, W)], +) -> Result<RV, RedisError>
where D: ToRedisArgs, K: ToRedisArgs, W: ToRedisArgs, @@ -869,8 +869,8 @@ in a tuple.

§

fn zunionstore_min_weights<'a, D, K, W, RV>( &mut self, dstkey: D, - keys: &'a [(K, W)], -) -> Result<RV, RedisError>
where + keys: &'a [(K, W)], +) -> Result<RV, RedisError>
where D: ToRedisArgs, K: ToRedisArgs, W: ToRedisArgs, @@ -879,125 +879,125 @@ in a tuple.

§

fn zunionstore_max_weights<'a, D, K, W, RV>( &mut self, dstkey: D, - keys: &'a [(K, W)], -) -> Result<RV, RedisError>
where + keys: &'a [(K, W)], +) -> Result<RV, RedisError>
where D: ToRedisArgs, K: ToRedisArgs, W: ToRedisArgs, RV: FromRedisValue,

[Commands::zunionstore_max], but with the ability to specify a multiplication factor for each sorted set by pairing one with each key -in a tuple.
§

fn pfadd<'a, K, E, RV>(&mut self, key: K, element: E) -> Result<RV, RedisError>
where +in a tuple.

§

fn pfadd<'a, K, E, RV>(&mut self, key: K, element: E) -> Result<RV, RedisError>
where K: ToRedisArgs, E: ToRedisArgs, - RV: FromRedisValue,

Adds the specified elements to the specified HyperLogLog.
§

fn pfcount<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Adds the specified elements to the specified HyperLogLog.
§

fn pfcount<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).
§

fn pfmerge<'a, D, S, RV>( &mut self, dstkey: D, srckeys: S, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where D: ToRedisArgs, S: ToRedisArgs, RV: FromRedisValue,

Merge N different HyperLogLogs into a single one.
§

fn publish<'a, K, E, RV>( &mut self, channel: K, message: E, -) -> Result<RV, RedisError>
where +) -> Result<RV, RedisError>
where K: ToRedisArgs, E: ToRedisArgs, - RV: FromRedisValue,

Posts a message to the given channel.
§

fn object_encoding<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Posts a message to the given channel.
§

fn object_encoding<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Returns the encoding of a key.
§

fn object_idletime<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Returns the encoding of a key.
§

fn object_idletime<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Returns the time in seconds since the last access of a key.
§

fn object_freq<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Returns the time in seconds since the last access of a key.
§

fn object_freq<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Returns the logarithmic access frequency counter of a key.
§

fn object_refcount<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Returns the logarithmic access frequency counter of a key.
§

fn object_refcount<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, - RV: FromRedisValue,

Returns the reference count of a key.
§

fn xrevrange_all<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where + RV: FromRedisValue,

Returns the reference count of a key.
§

fn xrevrange_all<'a, K, RV>(&mut self, key: K) -> Result<RV, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

This is the reverse version of xrange_all. -The same rules apply for start and end here. Read more
§

fn scan<RV>(&mut self) -> Result<Iter<'_, RV>, RedisError>
where - RV: FromRedisValue,

Incrementally iterate the keys space.
§

fn scan_match<P, RV>(&mut self, pattern: P) -> Result<Iter<'_, RV>, RedisError>
where +The same rules apply for start and end here. Read more

§

fn scan<RV>(&mut self) -> Result<Iter<'_, RV>, RedisError>
where + RV: FromRedisValue,

Incrementally iterate the keys space.
§

fn scan_match<P, RV>(&mut self, pattern: P) -> Result<Iter<'_, RV>, RedisError>
where P: ToRedisArgs, - RV: FromRedisValue,

Incrementally iterate the keys space for keys matching a pattern.
§

fn hscan<K, RV>(&mut self, key: K) -> Result<Iter<'_, RV>, RedisError>
where + RV: FromRedisValue,

Incrementally iterate the keys space for keys matching a pattern.
§

fn hscan<K, RV>(&mut self, key: K) -> Result<Iter<'_, RV>, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Incrementally iterate hash fields and associated values.
§

fn hscan_match<K, P, RV>( &mut self, key: K, pattern: P, -) -> Result<Iter<'_, RV>, RedisError>
where +) -> Result<Iter<'_, RV>, RedisError>
where K: ToRedisArgs, P: ToRedisArgs, RV: FromRedisValue,

Incrementally iterate hash fields and associated values for -field names matching a pattern.
§

fn sscan<K, RV>(&mut self, key: K) -> Result<Iter<'_, RV>, RedisError>
where +field names matching a pattern.

§

fn sscan<K, RV>(&mut self, key: K) -> Result<Iter<'_, RV>, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Incrementally iterate set elements.
§

fn sscan_match<K, P, RV>( &mut self, key: K, pattern: P, -) -> Result<Iter<'_, RV>, RedisError>
where +) -> Result<Iter<'_, RV>, RedisError>
where K: ToRedisArgs, P: ToRedisArgs, - RV: FromRedisValue,

Incrementally iterate set elements for elements matching a pattern.
§

fn zscan<K, RV>(&mut self, key: K) -> Result<Iter<'_, RV>, RedisError>
where + RV: FromRedisValue,

Incrementally iterate set elements for elements matching a pattern.
§

fn zscan<K, RV>(&mut self, key: K) -> Result<Iter<'_, RV>, RedisError>
where K: ToRedisArgs, RV: FromRedisValue,

Incrementally iterate sorted set elements.
§

fn zscan_match<K, P, RV>( &mut self, key: K, pattern: P, -) -> Result<Iter<'_, RV>, RedisError>
where +) -> Result<Iter<'_, RV>, RedisError>
where K: ToRedisArgs, P: ToRedisArgs, RV: FromRedisValue,

Incrementally iterate sorted set elements for elements matching a pattern.
§

impl<C, T> ConnectionLike for T
where C: ConnectionLike, - T: DerefMut<Target = C>,

§

fn req_packed_command(&mut self, cmd: &[u8]) -> Result<Value, RedisError>

Sends an already encoded (packed) command into the TCP socket and + T: DerefMut<Target = C>,
§

fn req_packed_command(&mut self, cmd: &[u8]) -> Result<Value, RedisError>

Sends an already encoded (packed) command into the TCP socket and reads the single response from it.
§

fn req_packed_commands( &mut self, - cmd: &[u8], - offset: usize, - count: usize, -) -> Result<Vec<Value>, RedisError>

§

fn req_command(&mut self, cmd: &Cmd) -> Result<Value, RedisError>

Sends a [Cmd] into the TCP socket and reads a single response from it.
§

fn get_db(&self) -> i64

Returns the database this connection is bound to. Note that this + cmd: &[u8], + offset: usize, + count: usize, +) -> Result<Vec<Value>, RedisError>
§

fn req_command(&mut self, cmd: &Cmd) -> Result<Value, RedisError>

Sends a [Cmd] into the TCP socket and reads a single response from it.
§

fn get_db(&self) -> i64

Returns the database this connection is bound to. Note that this information might be unreliable because it’s initially cached and also might be incorrect if the connection like object is not -actually connected.
§

fn supports_pipelining(&self) -> bool

§

fn check_connection(&mut self) -> bool

Check that all connections it has are available (PING internally).
§

fn is_open(&self) -> bool

Returns the connection status. Read more
§

impl<T> Conv for T

§

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

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where +actually connected.

§

fn supports_pipelining(&self) -> bool

§

fn check_connection(&mut self) -> bool

Check that all connections it has are available (PING internally).
§

fn is_open(&self) -> bool

Returns the connection status. Read more
§

impl<T> Conv for T

§

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

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

impl<T, A> DynAccess<T> for A
where + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

impl<T, A> DynAccess<T> for A
where A: Access<T>, - <A as Access<T>>::Guard: 'static,

§

fn load(&self) -> DynGuard<T>

The equivalent of [Access::load].
§

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 + <A as Access<T>>::Guard: 'static,
§

fn load(&self) -> DynGuard<T>

The equivalent of [Access::load].
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -1005,81 +1005,81 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

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

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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

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

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 T
where + 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 T
where + 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 T
where 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 + 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
§

impl<T> Formattable for T
where - T: Deref, - <T as Deref>::Target: Formattable,

§

impl<T> Parsable for T
where - T: Deref, - <T as Deref>::Target: Parsable,

\ No newline at end of file + T: Deref, + <T as Deref>::Target: Formattable,
§

impl<T> Parsable for T
where + T: Deref, + <T as Deref>::Target: Parsable,

\ No newline at end of file diff --git a/hotshot_query_service/data_source/fetching/trait.AvailabilityProvider.html b/hotshot_query_service/data_source/fetching/trait.AvailabilityProvider.html index 6421d374a..91ccefc65 100644 --- a/hotshot_query_service/data_source/fetching/trait.AvailabilityProvider.html +++ b/hotshot_query_service/data_source/fetching/trait.AvailabilityProvider.html @@ -1,3 +1,3 @@ -AvailabilityProvider in hotshot_query_service::data_source::fetching - Rust
pub trait AvailabilityProvider<Types: NodeType>: Provider<Types, LeafRequest> + Provider<Types, PayloadRequest> + Provider<Types, VidCommonRequest> + Sync + 'static { }
Expand description

A provider which can be used as a fetcher by the availability service.

+AvailabilityProvider in hotshot_query_service::data_source::fetching - Rust
pub trait AvailabilityProvider<Types: NodeType>: Provider<Types, LeafRequest> + Provider<Types, PayloadRequest> + Provider<Types, VidCommonRequest> + Sync + 'static { }
Expand description

A provider which can be used as a fetcher by the availability service.

Implementors§

source§

impl<Types: NodeType, P> AvailabilityProvider<Types> for P
where - P: Provider<Types, LeafRequest> + Provider<Types, PayloadRequest> + Provider<Types, VidCommonRequest> + Sync + 'static,

\ No newline at end of file + P: Provider<Types, LeafRequest> + Provider<Types, PayloadRequest> + Provider<Types, VidCommonRequest> + Sync + 'static,
\ No newline at end of file diff --git a/hotshot_query_service/data_source/index.html b/hotshot_query_service/data_source/index.html index 86a1318f8..f13fa083c 100644 --- a/hotshot_query_service/data_source/index.html +++ b/hotshot_query_service/data_source/index.html @@ -1,4 +1,4 @@ -hotshot_query_service::data_source - Rust

Module hotshot_query_service::data_source

source ·
Expand description

Persistent storage and sources of data consumed by APIs.

+hotshot_query_service::data_source - Rust

Module hotshot_query_service::data_source

source ·
Expand description

Persistent storage and sources of data consumed by APIs.

The APIs provided by this query service are generic over the implementation which actually retrieves data in answer to queries. We call this implementation a data source. This module defines a data source and provides several pre-built implementations:

diff --git a/hotshot_query_service/data_source/node_tests/fn.test_counters.html b/hotshot_query_service/data_source/node_tests/fn.test_counters.html index eb8fd2621..f2db20f92 100644 --- a/hotshot_query_service/data_source/node_tests/fn.test_counters.html +++ b/hotshot_query_service/data_source/node_tests/fn.test_counters.html @@ -1 +1 @@ -test_counters in hotshot_query_service::data_source::node_tests - Rust
pub async fn test_counters<D: TestableDataSource>()
\ No newline at end of file +test_counters in hotshot_query_service::data_source::node_tests - Rust
pub async fn test_counters<D: TestableDataSource>()
\ No newline at end of file diff --git a/hotshot_query_service/data_source/node_tests/fn.test_sync_status.html b/hotshot_query_service/data_source/node_tests/fn.test_sync_status.html index 861f6d00a..f19e6689b 100644 --- a/hotshot_query_service/data_source/node_tests/fn.test_sync_status.html +++ b/hotshot_query_service/data_source/node_tests/fn.test_sync_status.html @@ -1 +1 @@ -test_sync_status in hotshot_query_service::data_source::node_tests - Rust
pub async fn test_sync_status<D: TestableDataSource>()
\ No newline at end of file +test_sync_status in hotshot_query_service::data_source::node_tests - Rust
pub async fn test_sync_status<D: TestableDataSource>()
\ No newline at end of file diff --git a/hotshot_query_service/data_source/node_tests/fn.test_timestamp_window.html b/hotshot_query_service/data_source/node_tests/fn.test_timestamp_window.html index ba602cbf4..52d14d52c 100644 --- a/hotshot_query_service/data_source/node_tests/fn.test_timestamp_window.html +++ b/hotshot_query_service/data_source/node_tests/fn.test_timestamp_window.html @@ -1 +1 @@ -test_timestamp_window in hotshot_query_service::data_source::node_tests - Rust
pub async fn test_timestamp_window<D: TestableDataSource>()
\ No newline at end of file +test_timestamp_window in hotshot_query_service::data_source::node_tests - Rust
pub async fn test_timestamp_window<D: TestableDataSource>()
\ No newline at end of file diff --git a/hotshot_query_service/data_source/node_tests/fn.test_vid_monotonicity.html b/hotshot_query_service/data_source/node_tests/fn.test_vid_monotonicity.html index fee5d1c9d..ddd79735f 100644 --- a/hotshot_query_service/data_source/node_tests/fn.test_vid_monotonicity.html +++ b/hotshot_query_service/data_source/node_tests/fn.test_vid_monotonicity.html @@ -1 +1 @@ -test_vid_monotonicity in hotshot_query_service::data_source::node_tests - Rust
pub async fn test_vid_monotonicity<D: TestableDataSource>()
\ No newline at end of file +test_vid_monotonicity in hotshot_query_service::data_source::node_tests - Rust
pub async fn test_vid_monotonicity<D: TestableDataSource>()
\ No newline at end of file diff --git a/hotshot_query_service/data_source/node_tests/fn.test_vid_recovery.html b/hotshot_query_service/data_source/node_tests/fn.test_vid_recovery.html index 30f861a00..1656be545 100644 --- a/hotshot_query_service/data_source/node_tests/fn.test_vid_recovery.html +++ b/hotshot_query_service/data_source/node_tests/fn.test_vid_recovery.html @@ -1 +1 @@ -test_vid_recovery in hotshot_query_service::data_source::node_tests - Rust
pub async fn test_vid_recovery<D: TestableDataSource>()
\ No newline at end of file +test_vid_recovery in hotshot_query_service::data_source::node_tests - Rust
pub async fn test_vid_recovery<D: TestableDataSource>()
\ No newline at end of file diff --git a/hotshot_query_service/data_source/node_tests/fn.test_vid_shares.html b/hotshot_query_service/data_source/node_tests/fn.test_vid_shares.html index 8f123ee2f..18492841f 100644 --- a/hotshot_query_service/data_source/node_tests/fn.test_vid_shares.html +++ b/hotshot_query_service/data_source/node_tests/fn.test_vid_shares.html @@ -1 +1 @@ -test_vid_shares in hotshot_query_service::data_source::node_tests - Rust
pub async fn test_vid_shares<D: TestableDataSource>()
\ No newline at end of file +test_vid_shares in hotshot_query_service::data_source::node_tests - Rust
pub async fn test_vid_shares<D: TestableDataSource>()
\ No newline at end of file diff --git a/hotshot_query_service/data_source/node_tests/index.html b/hotshot_query_service/data_source/node_tests/index.html index b13b26c4d..ee0dd5c34 100644 --- a/hotshot_query_service/data_source/node_tests/index.html +++ b/hotshot_query_service/data_source/node_tests/index.html @@ -1,2 +1,2 @@ -hotshot_query_service::data_source::node_tests - Rust

Module hotshot_query_service::data_source::node_tests

source ·
Expand description

Generic tests we can instantiate for all the node data sources.

+hotshot_query_service::data_source::node_tests - Rust

Module hotshot_query_service::data_source::node_tests

source ·
Expand description

Generic tests we can instantiate for all the node data sources.

Functions§

\ No newline at end of file diff --git a/hotshot_query_service/data_source/persistence_tests/fn.test_reset.html b/hotshot_query_service/data_source/persistence_tests/fn.test_reset.html index fa53003ff..27e05b3a6 100644 --- a/hotshot_query_service/data_source/persistence_tests/fn.test_reset.html +++ b/hotshot_query_service/data_source/persistence_tests/fn.test_reset.html @@ -1 +1 @@ -test_reset in hotshot_query_service::data_source::persistence_tests - Rust
pub async fn test_reset<D: TestableDataSource>()
\ No newline at end of file +test_reset in hotshot_query_service::data_source::persistence_tests - Rust
pub async fn test_reset<D: TestableDataSource>()
\ No newline at end of file diff --git a/hotshot_query_service/data_source/persistence_tests/fn.test_revert.html b/hotshot_query_service/data_source/persistence_tests/fn.test_revert.html index 374dddfae..f1d587e39 100644 --- a/hotshot_query_service/data_source/persistence_tests/fn.test_revert.html +++ b/hotshot_query_service/data_source/persistence_tests/fn.test_revert.html @@ -1 +1 @@ -test_revert in hotshot_query_service::data_source::persistence_tests - Rust
pub async fn test_revert<D: TestableDataSource>()
\ No newline at end of file +test_revert in hotshot_query_service::data_source::persistence_tests - Rust
pub async fn test_revert<D: TestableDataSource>()
\ No newline at end of file diff --git a/hotshot_query_service/data_source/persistence_tests/index.html b/hotshot_query_service/data_source/persistence_tests/index.html index 934e9638f..b6948c484 100644 --- a/hotshot_query_service/data_source/persistence_tests/index.html +++ b/hotshot_query_service/data_source/persistence_tests/index.html @@ -1,2 +1,2 @@ -hotshot_query_service::data_source::persistence_tests - Rust
Expand description

Generic tests we can instantiate for any data source with reliable, versioned persistent storage.

+hotshot_query_service::data_source::persistence_tests - Rust
Expand description

Generic tests we can instantiate for any data source with reliable, versioned persistent storage.

Functions§

\ 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 d081b48d3..03f16d7cc 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

Module hotshot_query_service::data_source::sql

source ·

Re-exports§

Modules§

Macros§

Structs§

source

pub fn context<C>(self, context: C) -> Error
where - C: Display + Send + Sync + 'static,

Wrap the error value with additional context.

+ C: Display + Send + Sync + 'static,

Wrap the error value with additional context.

For attaching context to a Result as it is propagated, the Context extension trait may be more convenient than this function.

@@ -138,7 +138,7 @@

source

pub fn backtrace(&self) -> &Backtrace

Get the backtrace for this Error.

+

source

pub fn backtrace(&self) -> &Backtrace

Get the backtrace for this Error.

In order for the backtrace to be meaningful, one of the two environment variables RUST_LIB_BACKTRACE=1 or RUST_BACKTRACE=1 must be defined and RUST_LIB_BACKTRACE must not be 0. Backtraces are somewhat @@ -176,20 +176,20 @@

§Example
} None }
-
source

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

The lowest level cause of this error — this error’s cause’s +

source

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

The lowest level cause of this error — this error’s cause’s cause’s cause etc.

The root cause is the last error in the iterator produced by chain().

-
source

pub fn is<E>(&self) -> bool
where - E: Display + Debug + Send + Sync + 'static,

Returns true if E is the type held by this error object.

+
source

pub fn is<E>(&self) -> bool
where + E: Display + Debug + Send + Sync + 'static,

Returns true if E is the type held by this error object.

For errors with context, this method returns true if E matches the type of the context C or the type of the error on which the context has been attached. For details about the interaction between context and downcasting, see here.

-
source

pub fn downcast<E>(self) -> Result<E, Error>
where - E: Display + Debug + Send + Sync + 'static,

Attempt to downcast the error object to a concrete type.

-
source

pub fn downcast_ref<E>(&self) -> Option<&E>
where - E: Display + Debug + Send + Sync + 'static,

Downcast this error object by reference.

+
source

pub fn downcast<E>(self) -> Result<E, Error>
where + E: Display + Debug + Send + Sync + 'static,

Attempt to downcast the error object to a concrete type.

+
source

pub fn downcast_ref<E>(&self) -> Option<&E>
where + E: Display + Debug + Send + Sync + 'static,

Downcast this error object by reference.

§Example
// If the error was caused by redaction, then return a tombstone instead
 // of the content.
@@ -197,58 +197,58 @@ 
§Example
Some(DataStoreError::Censored(_)) => Ok(Poll::Ready(REDACTED_CONTENT)), None => Err(error), }
-
source

pub fn downcast_mut<E>(&mut self) -> Option<&mut E>
where - E: Display + Debug + Send + Sync + 'static,

Downcast this error object by mutable reference.

-

Trait Implementations§

source§

impl AsRef<dyn Error> for Error

source§

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

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<dyn Error + Sync + Send> for Error

source§

fn as_ref(&self) -> &(dyn Error + Sync + Send + 'static)

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Debug for Error

source§

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

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

impl Deref for Error

§

type Target = dyn Error + Sync + Send

The resulting type after dereferencing.
source§

fn deref(&self) -> &<Error as Deref>::Target

Dereferences the value.
source§

impl DerefMut for Error

source§

fn deref_mut(&mut self) -> &mut <Error as Deref>::Target

Mutably dereferences the value.
source§

impl Display for Error

source§

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

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

impl Drop for Error

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl<E> From<E> for Error
where - E: Error + Send + Sync + 'static,

source§

fn from(error: E) -> Error

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for Error

§

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 T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

source

pub fn downcast_mut<E>(&mut self) -> Option<&mut E>
where + E: Display + Debug + Send + Sync + 'static,

Downcast this error object by mutable reference.

+

Trait Implementations§

source§

impl AsRef<dyn Error> for Error

source§

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

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<dyn Error + Sync + Send> for Error

source§

fn as_ref(&self) -> &(dyn Error + Sync + Send + 'static)

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Debug for Error

source§

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

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

impl Deref for Error

§

type Target = dyn Error + Sync + Send

The resulting type after dereferencing.
source§

fn deref(&self) -> &<Error as Deref>::Target

Dereferences the value.
source§

impl DerefMut for Error

source§

fn deref_mut(&mut self) -> &mut <Error as Deref>::Target

Mutably dereferences the value.
source§

impl Display for Error

source§

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

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

impl Drop for Error

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl<E> From<E> for Error
where + E: Error + Send + Sync + 'static,

source§

fn from(error: E) -> Error

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for Error

§

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 T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§

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 + 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 + 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 + 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 + 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 + 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<!> for T

source§

fn from(t: !) -> T

Converts to this type from the input type.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more
source§

impl<T> From<!> for T

source§

fn from(t: !) -> T

Converts to this type from the input type.
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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -256,80 +256,80 @@
§Example
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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

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

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

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

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/data_source/sql/struct.Migration.html b/hotshot_query_service/data_source/sql/struct.Migration.html index 9c446ddf0..51391baeb 100644 --- a/hotshot_query_service/data_source/sql/struct.Migration.html +++ b/hotshot_query_service/data_source/sql/struct.Migration.html @@ -1,84 +1,84 @@ -Migration in hotshot_query_service::data_source::sql - Rust

Struct hotshot_query_service::data_source::sql::Migration

pub struct Migration { /* private fields */ }
Expand description

Represents a schema migration to be run on the database, +Migration in hotshot_query_service::data_source::sql - Rust

Struct hotshot_query_service::data_source::sql::Migration

pub struct Migration { /* private fields */ }
Expand description

Represents a schema migration to be run on the database, this struct is used by the embed_migrations! macro to gather migration files and shouldn’t be needed by the user

-

Implementations§

§

impl Migration

pub fn unapplied(input_name: &str, sql: &str) -> Result<Migration, Error>

Create an unapplied migration, name and version are parsed from the input_name, +

Implementations§

§

impl Migration

pub fn unapplied(input_name: &str, sql: &str) -> Result<Migration, Error>

Create an unapplied migration, name and version are parsed from the input_name, which must be named in the format (U|V){1}__{2}.rs where {1} represents the migration version and {2} the name.

pub fn applied( - version: i32, - name: String, + version: i32, + name: String, applied_on: OffsetDateTime, - checksum: u64, -) -> Migration

pub fn set_applied(&mut self)

pub fn sql(&self) -> Option<&str>

pub fn version(&self) -> u32

Get the Migration version

+ checksum: u64, +) -> Migration

pub fn set_applied(&mut self)

pub fn sql(&self) -> Option<&str>

pub fn version(&self) -> u32

Get the Migration version

pub fn prefix(&self) -> &Type

Get the Prefix

-

pub fn name(&self) -> &str

Get the Migration Name

-

pub fn applied_on(&self) -> Option<&OffsetDateTime>

Get the timestamp from when the Migration was applied. None when unapplied. +

pub fn name(&self) -> &str

Get the Migration Name

+

pub fn applied_on(&self) -> Option<&OffsetDateTime>

Get the timestamp from when the Migration was applied. None when unapplied. Migrations returned from Runner::get_migrations() will always have None.

-

pub fn checksum(&self) -> u64

Get the Migration checksum. Checksum is formed from the name version and sql of the Migration

-

Trait Implementations§

§

impl Clone for Migration

§

fn clone(&self) -> Migration

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
§

impl Debug for Migration

§

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

Formats the value using the given formatter. Read more
§

impl Display for Migration

§

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

Formats the value using the given formatter. Read more
§

impl Ord for Migration

§

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

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

fn max(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl PartialEq for Migration

§

fn eq(&self, other: &Migration) -> 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.
§

impl PartialOrd for Migration

§

fn partial_cmp(&self, other: &Migration) -> 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
§

impl Eq for Migration

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

pub fn checksum(&self) -> u64

Get the Migration checksum. Checksum is formed from the name version and sql of the Migration

+

Trait Implementations§

§

impl Clone for Migration

§

fn clone(&self) -> Migration

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
§

impl Debug for Migration

§

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

Formats the value using the given formatter. Read more
§

impl Display for Migration

§

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

Formats the value using the given formatter. Read more
§

impl Ord for Migration

§

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

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

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl PartialEq for Migration

§

fn eq(&self, other: &Migration) -> 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.
§

impl PartialOrd for Migration

§

fn partial_cmp(&self, other: &Migration) -> 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
§

impl Eq for Migration

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
§

impl<Q, K> Comparable<K> for Q
where - Q: Ord + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<T> Conv for T

§

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

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<Q, K> Comparable<K> for Q
where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<T> Conv for T

§

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

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

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

§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

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

source§

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

§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -86,81 +86,81 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/data_source/sql/testing/index.html b/hotshot_query_service/data_source/sql/testing/index.html index d2bdac918..37fe27753 100644 --- a/hotshot_query_service/data_source/sql/testing/index.html +++ b/hotshot_query_service/data_source/sql/testing/index.html @@ -1 +1 @@ -hotshot_query_service::data_source::sql::testing - Rust

Module hotshot_query_service::data_source::sql::testing

source ·

Re-exports§

  • pub use sql::testing::TmpDb;
\ No newline at end of file +hotshot_query_service::data_source::sql::testing - Rust

Module hotshot_query_service::data_source::sql::testing

source ·

Re-exports§

  • pub use sql::testing::TmpDb;
\ No newline at end of file diff --git a/hotshot_query_service/data_source/sql/type.Builder.html b/hotshot_query_service/data_source/sql/type.Builder.html index ce2d66623..5cb5ebe0c 100644 --- a/hotshot_query_service/data_source/sql/type.Builder.html +++ b/hotshot_query_service/data_source/sql/type.Builder.html @@ -1 +1 @@ -Builder in hotshot_query_service::data_source::sql - Rust

Type Alias hotshot_query_service::data_source::sql::Builder

source ·
pub type Builder<Types, Provider> = Builder<Types, SqlStorage, Provider>;

Aliased Type§

struct Builder<Types, Provider> { /* private fields */ }
\ No newline at end of file +Builder in hotshot_query_service::data_source::sql - Rust

Type Alias hotshot_query_service::data_source::sql::Builder

source ·
pub type Builder<Types, Provider> = Builder<Types, SqlStorage, Provider>;

Aliased Type§

struct Builder<Types, Provider> { /* private fields */ }
\ No newline at end of file diff --git a/hotshot_query_service/data_source/sql/type.SqlDataSource.html b/hotshot_query_service/data_source/sql/type.SqlDataSource.html index fec42e32a..db89fb743 100644 --- a/hotshot_query_service/data_source/sql/type.SqlDataSource.html +++ b/hotshot_query_service/data_source/sql/type.SqlDataSource.html @@ -1,4 +1,4 @@ -SqlDataSource in hotshot_query_service::data_source::sql - Rust

Type Alias hotshot_query_service::data_source::sql::SqlDataSource

source ·
pub type SqlDataSource<Types, P> = FetchingDataSource<Types, SqlStorage, P>;
Expand description

A data source for the APIs provided in this crate, backed by a remote PostgreSQL database.

+SqlDataSource in hotshot_query_service::data_source::sql - Rust

Type Alias hotshot_query_service::data_source::sql::SqlDataSource

source ·
pub type SqlDataSource<Types, P> = FetchingDataSource<Types, SqlStorage, P>;
Expand description

A data source for the APIs provided in this crate, backed by a remote PostgreSQL database.

§Administration

This data source will automatically connect to and perform queries on a remote SQL database. However, administration of the database, such as initialization, resetting, and backups, is @@ -182,7 +182,7 @@

§Composition Payload<Types>: QueryablePayload<Types>,

source

pub async fn connect( config: Config, provider: P, -) -> Result<Builder<Types, P>, Error>

Connect to a remote database.

+) -> Result<Builder<Types, P>, Error>

Connect to a remote database.

This function returns a fetching::Builder which can be used to set options on the underlying FetchingDataSource, before constructing the SqlDataSource with build. For a convenient constructor that uses the default @@ -194,85 +194,85 @@

§Composition

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<P: AvailabilityProvider<MockTypes> + Default> DataSourceLifeCycle for SqlDataSource<MockTypes, P>

§

type Storage = TmpDb

Backing storage for the data source. Read more
source§

fn create<'async_trait>( - _node_id: usize, -) -> Pin<Box<dyn Future<Output = Self::Storage> + Send + 'async_trait>>
where +

Trait Implementations§

source§

impl<P: AvailabilityProvider<MockTypes> + Default> DataSourceLifeCycle for SqlDataSource<MockTypes, P>

§

type Storage = TmpDb

Backing storage for the data source. Read more
source§

fn create<'async_trait>( + _node_id: usize, +) -> Pin<Box<dyn Future<Output = Self::Storage> + Send + 'async_trait>>
where Self: 'async_trait,

source§

fn connect<'life0, 'async_trait>( tmp_db: &'life0 Self::Storage, -) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn reset<'life0, 'async_trait>( tmp_db: &'life0 Self::Storage, -) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn handle_event<'life0, 'life1, 'async_trait>( &'life0 mut self, event: &'life1 Event<MockTypes>, -) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source§

fn setup<'life0, 'async_trait>( _network: &'life0 mut MockNetwork<Self>, -) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, - 'life0: 'async_trait,

Setup runs after setting up the network but before starting a test.
source§

impl<Types, P: Send + Sync> Query for SqlDataSource<Types, P>
where + 'life0: 'async_trait,

Setup runs after setting up the network but before starting a test.
source§

impl<Types, P: Send + Sync> Query for SqlDataSource<Types, P>
where Types: NodeType,

source§

fn client<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = Cow<'_, Arc<Client>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Cow<'_, Arc<Client>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn query<'life0, 'life1, 'async_trait, T, P>( &'life0 self, - query: &'life1 T, + query: &'life1 T, params: P, -) -> Pin<Box<dyn Future<Output = QueryResult<BoxStream<'static, QueryResult<Row>>>> + Send + 'async_trait>>
where - T: ?Sized + ToStatement + Sync + 'async_trait, - P: IntoIterator + Send + 'async_trait, - P::IntoIter: ExactSizeIterator, - P::Item: BorrowToSql, - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<BoxStream<'static, QueryResult<Row>>>> + Send + 'async_trait>>
where + T: ?Sized + ToStatement + Sync + 'async_trait, + P: IntoIterator + Send + 'async_trait, + P::IntoIter: ExactSizeIterator, + P::Item: BorrowToSql, + Self: Sync + 'async_trait, 'life0: 'async_trait, '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, + 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>( &'life0 self, - query: &'life1 T, + query: &'life1 T, params: P, -) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>
where - T: ?Sized + ToStatement + Sync + 'async_trait, - P: IntoIterator + Send + 'async_trait, - P::IntoIter: ExactSizeIterator, - P::Item: BorrowToSql, - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>
where + T: ?Sized + ToStatement + Sync + 'async_trait, + P: IntoIterator + Send + 'async_trait, + P::IntoIter: ExactSizeIterator, + 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>( &'life0 self, - query: &'life1 T, -) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>
where - T: ?Sized + ToStatement + Sync + 'async_trait, - Self: Sync + 'async_trait, + query: &'life1 T, +) -> Pin<Box<dyn Future<Output = 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, returning exactly one result or failing.
source§

fn query_opt<'life0, 'life1, 'async_trait, T, P>( &'life0 self, - query: &'life1 T, + query: &'life1 T, params: P, -) -> Pin<Box<dyn Future<Output = QueryResult<Option<Row>>> + Send + 'async_trait>>
where - T: ?Sized + ToStatement + Sync + 'async_trait, - P: IntoIterator + Send + 'async_trait, - P::IntoIter: ExactSizeIterator, - P::Item: BorrowToSql, - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Option<Row>>> + Send + 'async_trait>>
where + T: ?Sized + ToStatement + Sync + 'async_trait, + P: IntoIterator + Send + 'async_trait, + P::IntoIter: ExactSizeIterator, + 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>( &'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, + 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.
\ No newline at end of file diff --git a/hotshot_query_service/data_source/status_tests/fn.test_metrics.html b/hotshot_query_service/data_source/status_tests/fn.test_metrics.html index 5fffa3692..23efe055a 100644 --- a/hotshot_query_service/data_source/status_tests/fn.test_metrics.html +++ b/hotshot_query_service/data_source/status_tests/fn.test_metrics.html @@ -1 +1 @@ -test_metrics in hotshot_query_service::data_source::status_tests - Rust
pub async fn test_metrics<D: DataSourceLifeCycle + StatusDataSource>()
\ No newline at end of file +test_metrics in hotshot_query_service::data_source::status_tests - Rust
pub async fn test_metrics<D: DataSourceLifeCycle + StatusDataSource>()
\ No newline at end of file diff --git a/hotshot_query_service/data_source/status_tests/index.html b/hotshot_query_service/data_source/status_tests/index.html index ee3f20b74..5cece142e 100644 --- a/hotshot_query_service/data_source/status_tests/index.html +++ b/hotshot_query_service/data_source/status_tests/index.html @@ -1,2 +1,2 @@ -hotshot_query_service::data_source::status_tests - Rust

Module hotshot_query_service::data_source::status_tests

source ·
Expand description

Generic tests we can instantiate for all the status data sources.

+hotshot_query_service::data_source::status_tests - Rust

Module hotshot_query_service::data_source::status_tests

source ·
Expand description

Generic tests we can instantiate for all the status data sources.

Functions§

\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/fs/index.html b/hotshot_query_service/data_source/storage/fs/index.html index f78812144..31fd43c72 100644 --- a/hotshot_query_service/data_source/storage/fs/index.html +++ b/hotshot_query_service/data_source/storage/fs/index.html @@ -1 +1 @@ -hotshot_query_service::data_source::storage::fs - Rust

Module hotshot_query_service::data_source::storage::fs

source ·

Structs§

  • Storage for the APIs provided in this crate, backed by a remote PostgreSQL database.
\ No newline at end of file +hotshot_query_service::data_source::storage::fs - Rust

Module hotshot_query_service::data_source::storage::fs

source ·

Structs§

  • Storage for the APIs provided in this crate, backed by a remote PostgreSQL database.
\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/fs/struct.FileSystemStorage.html b/hotshot_query_service/data_source/storage/fs/struct.FileSystemStorage.html index 9956b6c81..6bac1a1b7 100644 --- a/hotshot_query_service/data_source/storage/fs/struct.FileSystemStorage.html +++ b/hotshot_query_service/data_source/storage/fs/struct.FileSystemStorage.html @@ -1,16 +1,16 @@ -FileSystemStorage in hotshot_query_service::data_source::storage::fs - Rust
pub struct FileSystemStorage<Types: NodeType>
where +FileSystemStorage in hotshot_query_service::data_source::storage::fs - Rust
pub struct FileSystemStorage<Types: NodeType>
where Payload<Types>: QueryablePayload<Types>,
{ /* private fields */ }
Expand description

Storage for the APIs provided in this crate, backed by a remote PostgreSQL database.

Implementations§

source§

impl<Types: NodeType> FileSystemStorage<Types>
where Payload<Types>: QueryablePayload<Types>, - Header<Types>: QueryableHeader<Types>,

source

pub async fn create(path: &Path) -> Result<Self, PersistenceError>

Create a new FileSystemStorage with storage at path.

+ Header<Types>: QueryableHeader<Types>,
source

pub async fn create(path: &Path) -> Result<Self, PersistenceError>

Create a new FileSystemStorage with storage at path.

If there is already data at path, it will be archived.

The FileSystemStorage will manage its own persistence synchronization.

-
source

pub async fn open(path: &Path) -> Result<Self, PersistenceError>

Open an existing FileSystemStorage from storage at path.

+
source

pub async fn open(path: &Path) -> Result<Self, PersistenceError>

Open an existing FileSystemStorage from storage at path.

If there is no data at path, a new store will be created.

The FileSystemStorage will manage its own persistence synchronization.

source

pub async fn create_with_store( loader: &mut AtomicStoreLoader, -) -> Result<Self, PersistenceError>

Create a new FileSystemStorage using a persistent storage loader.

+) -> Result<Self, PersistenceError>

Create a new FileSystemStorage using a persistent storage loader.

If there is existing data corresponding to the FileSystemStorage data structures, it will be archived.

The FileSystemStorage will register its persistent data structures with loader. The @@ -18,220 +18,220 @@ synchronization of the store.

source

pub async fn open_with_store( loader: &mut AtomicStoreLoader, -) -> Result<Self, PersistenceError>

Open an existing FileSystemStorage using a persistent storage loader.

+) -> Result<Self, PersistenceError>

Open an existing FileSystemStorage using a persistent storage loader.

If there is no existing data corresponding to the FileSystemStorage data structures, a new store will be created.

The FileSystemStorage 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.

Trait Implementations§

source§

impl<Types: NodeType> AvailabilityStorage<Types> for FileSystemStorage<Types>
where Payload<Types>: QueryablePayload<Types>, Header<Types>: QueryableHeader<Types>,

source§

fn get_leaf<'life0, 'async_trait>( &'life0 self, id: LeafId<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<LeafQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<LeafQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_block<'life0, 'async_trait>( &'life0 self, id: BlockId<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<BlockQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<BlockQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_header<'life0, 'async_trait>( &'life0 self, id: BlockId<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<Header<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<Header<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_payload<'life0, 'async_trait>( &'life0 self, id: BlockId<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<PayloadQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<PayloadQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_vid_common<'life0, 'async_trait>( &'life0 self, id: BlockId<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<VidCommonQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<VidCommonQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_leaf_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<LeafQueryData<Types>>>>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<LeafQueryData<Types>>>>> + 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 self, range: R, -) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<BlockQueryData<Types>>>>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<BlockQueryData<Types>>>>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_payload_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<PayloadQueryData<Types>>>>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<PayloadQueryData<Types>>>>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_vid_common_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<VidCommonQueryData<Types>>>>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<VidCommonQueryData<Types>>>>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_transaction<'life0, 'async_trait>( &'life0 self, hash: TransactionHash<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<TransactionQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<TransactionQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, - 'life0: 'async_trait,

source§

impl<Types: NodeType> Debug for FileSystemStorage<Types>
where + 'life0: 'async_trait,

source§

impl<Types: NodeType> Debug for FileSystemStorage<Types>
where Payload<Types>: QueryablePayload<Types>, - HashMap<LeafHash<Types>, u64>: Debug, - HashMap<BlockHash<Types>, u64>: Debug, - HashMap<TransactionHash<Types>, u64>: Debug, - LedgerLog<LeafQueryData<Types>>: Debug, - LedgerLog<BlockQueryData<Types>>: Debug, - LedgerLog<(VidCommonQueryData<Types>, Option<VidShare>)>: Debug,

source§

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

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

impl<Types: NodeType> NodeDataSource<Types> for FileSystemStorage<Types>
where + HashMap<LeafHash<Types>, u64>: Debug, + HashMap<BlockHash<Types>, u64>: Debug, + HashMap<TransactionHash<Types>, u64>: Debug, + LedgerLog<LeafQueryData<Types>>: Debug, + LedgerLog<BlockQueryData<Types>>: Debug, + LedgerLog<(VidCommonQueryData<Types>, Option<VidShare>)>: Debug,

source§

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

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

impl<Types: NodeType> NodeDataSource<Types> for FileSystemStorage<Types>
where Payload<Types>: QueryablePayload<Types>, Header<Types>: QueryableHeader<Types>,

source§

fn block_height<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn count_transactions<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn payload_size<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn vid_share<'life0, 'async_trait, ID>( &'life0 self, id: ID, -) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
where - ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
where + ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn sync_status<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Search the database for missing objects and generate a report. Read more
source§

fn get_header_window<'life0, 'async_trait>( &'life0 self, - start: impl 'async_trait + Into<WindowStart<Types>> + Send + Sync, - end: u64, -) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<Types>>>> + Send + 'async_trait>>
where + start: impl 'async_trait + Into<WindowStart<Types>> + Send + Sync, + end: u64, +) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<Types>>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

impl<Types: NodeType> PruneStorage for FileSystemStorage<Types>
where Payload<Types>: QueryablePayload<Types>,

source§

fn get_disk_usage<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = Result<u64, Self::Error>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Result<u64, Self::Error>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source§

fn prune<'life0, 'async_trait>( &'life0 mut self, -) -> Pin<Box<dyn Future<Output = Result<Option<u64>, Self::Error>> + Send + 'async_trait>>
where - Self: Send + 'async_trait, +) -> Pin<Box<dyn Future<Output = Result<Option<u64>, Self::Error>> + Send + 'async_trait>>
where + Self: Send + 'async_trait, 'life0: 'async_trait,

source§

impl<Types: NodeType> PrunedHeightStorage for FileSystemStorage<Types>
where - Payload<Types>: QueryablePayload<Types>,

§

type Error = Infallible

source§

fn save_pruned_height<'life0, 'async_trait>( + Payload<Types>: QueryablePayload<Types>,

§

type Error = Infallible

source§

fn save_pruned_height<'life0, 'async_trait>( &'life0 mut self, - _height: u64, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where - Self: Send + 'async_trait, + _height: u64, +) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where + Self: Send + 'async_trait, 'life0: 'async_trait,

source§

fn load_pruned_height<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = Result<Option<u64>, Self::Error>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Result<Option<u64>, Self::Error>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source§

impl<Types: NodeType> PrunerConfig for FileSystemStorage<Types>
where - Payload<Types>: QueryablePayload<Types>,

source§

impl<Types: NodeType> UpdateAvailabilityData<Types> for FileSystemStorage<Types>
where + Payload<Types>: QueryablePayload<Types>,

source§

impl<Types: NodeType> UpdateAvailabilityData<Types> for FileSystemStorage<Types>
where Payload<Types>: QueryablePayload<Types>, - Header<Types>: QueryableHeader<Types>,

§

type Error = PersistenceError

source§

fn insert_leaf<'life0, 'async_trait>( + Header<Types>: QueryableHeader<Types>,

§

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 +) -> 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 mut self, block: BlockQueryData<Types>, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn insert_vid<'life0, 'async_trait>( &'life0 mut self, common: VidCommonQueryData<Types>, - share: Option<VidShare>, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where + share: Option<VidShare>, +) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

impl<Types: NodeType> VersionedDataSource for FileSystemStorage<Types>
where Payload<Types>: QueryablePayload<Types>,

§

type Error = PersistenceError

source§

fn commit<'life0, 'async_trait>( &'life0 mut self, -) -> Pin<Box<dyn Future<Output = Result<(), PersistenceError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<(), PersistenceError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Atomically commit to all outstanding modifications to the data. Read more
source§

fn revert<'life0, 'async_trait>( &'life0 mut self, -) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, - 'life0: 'async_trait,

Erase all oustanding modifications to the data. Read more

Auto Trait Implementations§

§

impl<Types> Freeze for FileSystemStorage<Types>
where - <Types as NodeType>::BlockPayload: for<'de> Sized,

§

impl<Types> RefUnwindSafe for FileSystemStorage<Types>
where - <Types as NodeType>::BlockPayload: for<'de> Sized + RefUnwindSafe, - <Types as NodeType>::BlockHeader: RefUnwindSafe, - <Types as NodeType>::Time: RefUnwindSafe, - <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: RefUnwindSafe, - Types: RefUnwindSafe,

§

impl<Types> Send for FileSystemStorage<Types>
where - <Types as NodeType>::BlockPayload: for<'de> Sized,

§

impl<Types> Sync for FileSystemStorage<Types>
where - <Types as NodeType>::BlockPayload: for<'de> Sized,

§

impl<Types> Unpin for FileSystemStorage<Types>
where - <Types as NodeType>::BlockPayload: for<'de> Sized + Unpin, - <Types as NodeType>::BlockHeader: Unpin, - <Types as NodeType>::Time: Unpin, - <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: Unpin, - Types: Unpin,

§

impl<Types> UnwindSafe for FileSystemStorage<Types>
where - <Types as NodeType>::BlockPayload: for<'de> Sized + UnwindSafe, - <Types as NodeType>::BlockHeader: UnwindSafe, - <Types as NodeType>::Time: UnwindSafe, - <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: UnwindSafe, - Types: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + 'life0: 'async_trait,

Erase all oustanding modifications to the data. Read more

Auto Trait Implementations§

§

impl<Types> Freeze for FileSystemStorage<Types>
where + <Types as NodeType>::BlockPayload: for<'de> Sized,

§

impl<Types> RefUnwindSafe for FileSystemStorage<Types>
where + <Types as NodeType>::BlockPayload: for<'de> Sized + RefUnwindSafe, + <Types as NodeType>::BlockHeader: RefUnwindSafe, + <Types as NodeType>::Time: RefUnwindSafe, + <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: RefUnwindSafe, + Types: RefUnwindSafe,

§

impl<Types> Send for FileSystemStorage<Types>
where + <Types as NodeType>::BlockPayload: for<'de> Sized,

§

impl<Types> Sync for FileSystemStorage<Types>
where + <Types as NodeType>::BlockPayload: for<'de> Sized,

§

impl<Types> Unpin for FileSystemStorage<Types>
where + <Types as NodeType>::BlockPayload: for<'de> Sized + Unpin, + <Types as NodeType>::BlockHeader: Unpin, + <Types as NodeType>::Time: Unpin, + <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: Unpin, + Types: Unpin,

§

impl<Types> UnwindSafe for FileSystemStorage<Types>
where + <Types as NodeType>::BlockPayload: for<'de> Sized + UnwindSafe, + <Types as NodeType>::BlockHeader: UnwindSafe, + <Types as NodeType>::Time: UnwindSafe, + <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: UnwindSafe, + Types: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -239,77 +239,77 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

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

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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

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

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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/index.html b/hotshot_query_service/data_source/storage/index.html index 9818102ac..d90464a5a 100644 --- a/hotshot_query_service/data_source/storage/index.html +++ b/hotshot_query_service/data_source/storage/index.html @@ -1,4 +1,4 @@ -hotshot_query_service::data_source::storage - Rust

Module hotshot_query_service::data_source::storage

source ·
Expand description

Persistent storage for data sources.

+hotshot_query_service::data_source::storage - Rust

Module hotshot_query_service::data_source::storage

source ·
Expand description

Persistent storage for data sources.

Naturally, an archival query service such as this is heavily dependent on a persistent storage implementation. This module defines the interfaces required of this storage. Any storage layer implementing the appropriate interfaces can be used as the storage layer when constructing a diff --git a/hotshot_query_service/data_source/storage/no_storage/index.html b/hotshot_query_service/data_source/storage/no_storage/index.html index 6ba30852a..56aa09432 100644 --- a/hotshot_query_service/data_source/storage/no_storage/index.html +++ b/hotshot_query_service/data_source/storage/no_storage/index.html @@ -1 +1 @@ -hotshot_query_service::data_source::storage::no_storage - Rust

Modules§

Structs§

  • Mock storage implementation which doesn’t actually store anything.
\ No newline at end of file +hotshot_query_service::data_source::storage::no_storage - Rust

Modules§

Structs§

  • Mock storage implementation which doesn’t actually store anything.
\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/no_storage/struct.NoStorage.html b/hotshot_query_service/data_source/storage/no_storage/struct.NoStorage.html index 87ed87812..18f74d4ca 100644 --- a/hotshot_query_service/data_source/storage/no_storage/struct.NoStorage.html +++ b/hotshot_query_service/data_source/storage/no_storage/struct.NoStorage.html @@ -1,4 +1,4 @@ -NoStorage in hotshot_query_service::data_source::storage::no_storage - Rust
pub struct NoStorage;
Expand description

Mock storage implementation which doesn’t actually store anything.

+NoStorage in hotshot_query_service::data_source::storage::no_storage - Rust
pub struct NoStorage;
Expand description

Mock storage implementation which doesn’t actually store anything.

This is useful for adversarial testing, as it can be used to test the behavior of the query service where data is never available locally and must always be fetched on demand from a peer query service.

@@ -6,178 +6,178 @@ Payload<Types>: QueryablePayload<Types>,
source§

fn get_leaf<'life0, 'async_trait>( &'life0 self, _id: LeafId<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<LeafQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<LeafQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_block<'life0, 'async_trait>( &'life0 self, _id: BlockId<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<BlockQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<BlockQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_header<'life0, 'async_trait>( &'life0 self, _id: BlockId<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<Header<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<Header<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_payload<'life0, 'async_trait>( &'life0 self, _id: BlockId<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<PayloadQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<PayloadQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_vid_common<'life0, 'async_trait>( &'life0 self, _id: BlockId<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<VidCommonQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<VidCommonQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_leaf_range<'life0, 'async_trait, R>( &'life0 self, _range: R, -) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<LeafQueryData<Types>>>>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<LeafQueryData<Types>>>>> + 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 self, _range: R, -) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<BlockQueryData<Types>>>>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<BlockQueryData<Types>>>>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_payload_range<'life0, 'async_trait, R>( &'life0 self, _range: R, -) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<PayloadQueryData<Types>>>>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<PayloadQueryData<Types>>>>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_vid_common_range<'life0, 'async_trait, R>( &'life0 self, _range: R, -) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<VidCommonQueryData<Types>>>>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<VidCommonQueryData<Types>>>>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_transaction<'life0, 'async_trait>( &'life0 self, _hash: TransactionHash<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<TransactionQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<TransactionQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, - 'life0: 'async_trait,

source§

impl Clone for NoStorage

source§

fn clone(&self) -> NoStorage

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 NoStorage

source§

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

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

impl Default for NoStorage

source§

fn default() -> NoStorage

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

impl<Types: NodeType> NodeDataSource<Types> for NoStorage
where + 'life0: 'async_trait,

source§

impl Clone for NoStorage

source§

fn clone(&self) -> NoStorage

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 NoStorage

source§

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

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

impl Default for NoStorage

source§

fn default() -> NoStorage

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

impl<Types: NodeType> NodeDataSource<Types> for NoStorage
where Payload<Types>: QueryablePayload<Types>,

source§

fn block_height<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn count_transactions<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn payload_size<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn vid_share<'life0, 'async_trait, ID>( &'life0 self, _id: ID, -) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
where - ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
where + ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn sync_status<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Search the database for missing objects and generate a report. Read more
source§

fn get_header_window<'life0, 'async_trait>( &'life0 self, - _start: impl 'async_trait + Into<WindowStart<Types>> + Send + Sync, - _end: u64, -) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<Types>>>> + Send + 'async_trait>>
where + _start: impl 'async_trait + Into<WindowStart<Types>> + Send + Sync, + _end: u64, +) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<Types>>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

impl PruneStorage for NoStorage

source§

fn get_disk_usage<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = Result<u64, Self::Error>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Result<u64, Self::Error>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source§

fn prune<'life0, 'async_trait>( &'life0 mut self, -) -> Pin<Box<dyn Future<Output = Result<Option<u64>, Self::Error>> + Send + 'async_trait>>
where - Self: Send + 'async_trait, - 'life0: 'async_trait,

source§

impl PrunedHeightStorage for NoStorage

§

type Error = Infallible

source§

fn save_pruned_height<'life0, 'async_trait>( +) -> Pin<Box<dyn Future<Output = Result<Option<u64>, Self::Error>> + Send + 'async_trait>>
where + Self: Send + 'async_trait, + 'life0: 'async_trait,

source§

impl PrunedHeightStorage for NoStorage

§

type Error = Infallible

source§

fn save_pruned_height<'life0, 'async_trait>( &'life0 mut self, - _height: u64, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where - Self: Send + 'async_trait, + _height: u64, +) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where + Self: Send + 'async_trait, 'life0: 'async_trait,

source§

fn load_pruned_height<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = Result<Option<u64>, Self::Error>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, - 'life0: 'async_trait,

source§

impl PrunerConfig for NoStorage

source§

impl<Types: NodeType> UpdateAvailabilityData<Types> for NoStorage
where - Payload<Types>: QueryablePayload<Types>,

§

type Error = Infallible

source§

fn insert_leaf<'life0, 'async_trait>( +) -> Pin<Box<dyn Future<Output = Result<Option<u64>, Self::Error>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, + 'life0: 'async_trait,

source§

impl PrunerConfig for NoStorage

source§

impl<Types: NodeType> UpdateAvailabilityData<Types> for NoStorage
where + Payload<Types>: QueryablePayload<Types>,

§

type Error = Infallible

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 +) -> 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 mut self, _block: BlockQueryData<Types>, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn insert_vid<'life0, 'async_trait>( &'life0 mut self, _common: VidCommonQueryData<Types>, - _share: Option<VidShare>, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where + _share: Option<VidShare>, +) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, - 'life0: 'async_trait,

source§

impl VersionedDataSource for NoStorage

§

type Error = Infallible

source§

fn commit<'life0, 'async_trait>( + 'life0: 'async_trait,

source§

impl VersionedDataSource for NoStorage

§

type Error = Infallible

source§

fn commit<'life0, 'async_trait>( &'life0 mut self, -) -> Pin<Box<dyn Future<Output = Result<(), Infallible>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<(), Infallible>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Atomically commit to all outstanding modifications to the data. Read more
source§

fn revert<'life0, 'async_trait>( &'life0 mut self, -) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, - 'life0: 'async_trait,

Erase all oustanding modifications to the data. Read more
source§

impl Copy for NoStorage

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + 'life0: 'async_trait,

Erase all oustanding modifications to the data. Read more
source§

impl Copy for NoStorage

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + 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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -185,78 +185,78 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/no_storage/testing/enum.DataSource.html b/hotshot_query_service/data_source/storage/no_storage/testing/enum.DataSource.html index 3a44ee420..f4511540b 100644 --- a/hotshot_query_service/data_source/storage/no_storage/testing/enum.DataSource.html +++ b/hotshot_query_service/data_source/storage/no_storage/testing/enum.DataSource.html @@ -1,221 +1,221 @@ -DataSource in hotshot_query_service::data_source::storage::no_storage::testing - Rust
pub enum DataSource {
+DataSource in hotshot_query_service::data_source::storage::no_storage::testing - Rust

Variants§

Trait Implementations§

source§

impl AvailabilityDataSource<MockTypes> for DataSource

§

type LeafRange<R> = Pin<Box<dyn Stream<Item = Fetch<LeafQueryData<MockTypes>>> + Send>> where - R: RangeBounds<usize> + Send

§

type BlockRange<R> = Pin<Box<dyn Stream<Item = Fetch<BlockQueryData<MockTypes>>> + Send>> + R: RangeBounds<usize> + Send

§

type BlockRange<R> = Pin<Box<dyn Stream<Item = Fetch<BlockQueryData<MockTypes>>> + Send>> where - R: RangeBounds<usize> + Send

§

type PayloadRange<R> = Pin<Box<dyn Stream<Item = Fetch<PayloadQueryData<MockTypes>>> + Send>> + R: RangeBounds<usize> + Send

§

type PayloadRange<R> = Pin<Box<dyn Stream<Item = Fetch<PayloadQueryData<MockTypes>>> + Send>> where - R: RangeBounds<usize> + Send

§

type VidCommonRange<R> = Pin<Box<dyn Stream<Item = Fetch<VidCommonQueryData<MockTypes>>> + Send>> + R: RangeBounds<usize> + Send

§

type VidCommonRange<R> = Pin<Box<dyn Stream<Item = Fetch<VidCommonQueryData<MockTypes>>> + Send>> where - 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 = Fetch<LeafQueryData<MockTypes>>> + Send + 'async_trait>>
where - ID: Into<LeafId<MockTypes>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Fetch<LeafQueryData<MockTypes>>> + Send + 'async_trait>>
where + ID: Into<LeafId<MockTypes>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_block<'life0, 'async_trait, ID>( &'life0 self, id: ID, -) -> Pin<Box<dyn Future<Output = Fetch<BlockQueryData<MockTypes>>> + Send + 'async_trait>>
where - ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Fetch<BlockQueryData<MockTypes>>> + Send + 'async_trait>>
where + ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_payload<'life0, 'async_trait, ID>( &'life0 self, id: ID, -) -> Pin<Box<dyn Future<Output = Fetch<PayloadQueryData<MockTypes>>> + Send + 'async_trait>>
where - ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Fetch<PayloadQueryData<MockTypes>>> + Send + 'async_trait>>
where + ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_vid_common<'life0, 'async_trait, ID>( &'life0 self, id: ID, -) -> Pin<Box<dyn Future<Output = Fetch<VidCommonQueryData<MockTypes>>> + Send + 'async_trait>>
where - ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Fetch<VidCommonQueryData<MockTypes>>> + Send + 'async_trait>>
where + ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_leaf_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = Self::LeafRange<R>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = Self::LeafRange<R>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_block_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = Self::BlockRange<R>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = Self::BlockRange<R>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_payload_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = Self::PayloadRange<R>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = Self::PayloadRange<R>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_vid_common_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = Self::VidCommonRange<R>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = Self::VidCommonRange<R>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_transaction<'life0, 'async_trait>( &'life0 self, hash: TransactionHash<MockTypes>, -) -> Pin<Box<dyn Future<Output = Fetch<TransactionQueryData<MockTypes>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Fetch<TransactionQueryData<MockTypes>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Returns the transaction with the given hash.
source§

fn subscribe_blocks<'life0, 'async_trait>( &'life0 self, - from: usize, -) -> Pin<Box<dyn Future<Output = BoxStream<'static, BlockQueryData<Types>>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, + from: usize, +) -> Pin<Box<dyn Future<Output = BoxStream<'static, BlockQueryData<Types>>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source§

fn subscribe_payloads<'life0, 'async_trait>( &'life0 self, - from: usize, -) -> Pin<Box<dyn Future<Output = BoxStream<'static, PayloadQueryData<Types>>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, + from: usize, +) -> Pin<Box<dyn Future<Output = BoxStream<'static, PayloadQueryData<Types>>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source§

fn subscribe_leaves<'life0, 'async_trait>( &'life0 self, - from: usize, -) -> Pin<Box<dyn Future<Output = BoxStream<'static, LeafQueryData<Types>>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, + from: usize, +) -> Pin<Box<dyn Future<Output = BoxStream<'static, LeafQueryData<Types>>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source§

fn subscribe_vid_common<'life0, 'async_trait>( &'life0 self, - from: usize, -) -> Pin<Box<dyn Future<Output = BoxStream<'static, VidCommonQueryData<Types>>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, + from: usize, +) -> Pin<Box<dyn Future<Output = BoxStream<'static, VidCommonQueryData<Types>>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source§

impl DataSourceLifeCycle for DataSource

§

type Storage = Storage

Backing storage for the data source. Read more
source§

fn create<'async_trait>( - node_id: usize, -) -> Pin<Box<dyn Future<Output = Self::Storage> + Send + 'async_trait>>
where + node_id: usize, +) -> Pin<Box<dyn Future<Output = Self::Storage> + Send + 'async_trait>>
where Self: 'async_trait,

source§

fn connect<'life0, 'async_trait>( db: &'life0 Self::Storage, -) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn reset<'life0, 'async_trait>( db: &'life0 Self::Storage, -) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn setup<'life0, 'async_trait>( network: &'life0 mut MockNetwork<Self>, -) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Setup runs after setting up the network but before starting a test.
source§

fn handle_event<'life0, 'life1, 'async_trait>( &'life0 mut self, event: &'life1 Event<MockTypes>, -) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, - 'life1: 'async_trait,

source§

impl NodeDataSource<MockTypes> for DataSource

source§

fn block_height<'life0, 'async_trait>( + 'life1: 'async_trait,

source§

impl NodeDataSource<MockTypes> for DataSource

source§

fn block_height<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn count_transactions<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn payload_size<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn vid_share<'life0, 'async_trait, ID>( &'life0 self, id: ID, -) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
where - ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
where + ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn sync_status<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Search the database for missing objects and generate a report. Read more
source§

fn get_header_window<'life0, 'async_trait>( &'life0 self, - start: impl 'async_trait + Into<WindowStart<MockTypes>> + Send + Sync, - end: u64, -) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<MockTypes>>>> + Send + 'async_trait>>
where + start: impl 'async_trait + Into<WindowStart<MockTypes>> + Send + Sync, + end: u64, +) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<MockTypes>>>> + Send + 'async_trait>>
where Self: 'async_trait, - 'life0: 'async_trait,

source§

impl StatusDataSource for DataSource

source§

fn block_height<'life0, 'async_trait>( + 'life0: 'async_trait,

source§

impl StatusDataSource for DataSource

source§

fn block_height<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> 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 elapsed_time_since_last_decide<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<u64>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<u64>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source§

fn success_rate<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<f64>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<f64>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source§

impl UpdateAvailabilityData<MockTypes> for DataSource

§

type Error = QueryError

source§

fn insert_leaf<'life0, 'async_trait>( &'life0 mut self, leaf: LeafQueryData<MockTypes>, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where +) -> 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 mut self, block: BlockQueryData<MockTypes>, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn insert_vid<'life0, 'async_trait>( &'life0 mut self, common: VidCommonQueryData<MockTypes>, - share: Option<VidShare>, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where + share: Option<VidShare>, +) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

impl VersionedDataSource for DataSource

§

type Error = QueryError

source§

fn commit<'life0, 'async_trait>( &'life0 mut self, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where +) -> 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. Read more
source§

fn revert<'life0, 'async_trait>( &'life0 mut self, -) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, - 'life0: 'async_trait,

Erase all oustanding modifications to the data. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + 'life0: 'async_trait,

Erase all oustanding modifications to the data. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -223,89 +223,89 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

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

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 T
where - 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 T
where - 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.
source§

impl<Types, T> UpdateDataSource<Types> for T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

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

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 T
where + 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 T
where + 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.
source§

impl<Types, T> UpdateDataSource<Types> for T
where Types: NodeType, - T: UpdateAvailabilityData<Types> + UpdateStatusData + Send, + T: UpdateAvailabilityData<Types> + UpdateStatusData + Send, <Types as NodeType>::BlockPayload: QueryablePayload<Types>, - <Types as NodeType>::InstanceState: Default,

source§

fn update<'life0, 'life1, 'async_trait>( + <Types as NodeType>::InstanceState: Default,

source§

fn update<'life0, 'life1, 'async_trait>( &'life0 mut self, event: &'life1 Event<Types>, -) -> Pin<Box<dyn Future<Output = Result<(), <T as UpdateAvailabilityData<Types>>::Error>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<(), <T as UpdateAvailabilityData<Types>>::Error>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, T: 'async_trait,

Update query state based on a new consensus event. Read more
source§

impl<T> UpdateStatusData for T
where - T: StatusDataSource,

source§

fn populate_metrics(&self) -> Box<dyn Metrics>

§

impl<V, T> VZip<V> for T
where + T: StatusDataSource,

source§

fn populate_metrics(&self) -> Box<dyn Metrics>

§

impl<V, T> VZip<V> for T
where 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 + 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> TestableDataSource for T

\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/no_storage/testing/enum.Storage.html b/hotshot_query_service/data_source/storage/no_storage/testing/enum.Storage.html index 631a86024..7ec3c1ba6 100644 --- a/hotshot_query_service/data_source/storage/no_storage/testing/enum.Storage.html +++ b/hotshot_query_service/data_source/storage/no_storage/testing/enum.Storage.html @@ -1,7 +1,7 @@ -Storage in hotshot_query_service::data_source::storage::no_storage::testing - Rust
pub enum Storage {
+Storage in hotshot_query_service::data_source::storage::no_storage::testing - Rust
pub enum Storage {
     Sql(TmpDb),
     NoStorage {
-        fetch_from_port: u16,
+        fetch_from_port: u16,
     },
 }
Expand description

Either Postgres or no storage.

In order to instantiate NoStorage for the generic tests, we need some node running a @@ -10,55 +10,55 @@ set node 0, the node under test, to always use NoStorage.

This gives us a strongly adversarial test of fetching, where the node under test never gets anything from local storage, but the tests still pass.

-

Variants§

§

Sql(TmpDb)

§

NoStorage

Fields

§fetch_from_port: u16

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

Variants§

§

Sql(TmpDb)

§

NoStorage

Fields

§fetch_from_port: u16

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -66,77 +66,77 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

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

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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

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

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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/no_storage/testing/index.html b/hotshot_query_service/data_source/storage/no_storage/testing/index.html index de2b21c3d..d38782bb1 100644 --- a/hotshot_query_service/data_source/storage/no_storage/testing/index.html +++ b/hotshot_query_service/data_source/storage/no_storage/testing/index.html @@ -1 +1 @@ -hotshot_query_service::data_source::storage::no_storage::testing - Rust

Enums§

\ No newline at end of file +hotshot_query_service::data_source::storage::no_storage::testing - Rust

Enums§

\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/pruning/index.html b/hotshot_query_service/data_source/storage/pruning/index.html index f709a9080..a5dbfa9d2 100644 --- a/hotshot_query_service/data_source/storage/pruning/index.html +++ b/hotshot_query_service/data_source/storage/pruning/index.html @@ -1 +1 @@ -hotshot_query_service::data_source::storage::pruning - Rust
\ No newline at end of file +hotshot_query_service::data_source::storage::pruning - Rust
\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/pruning/struct.PrunerCfg.html b/hotshot_query_service/data_source/storage/pruning/struct.PrunerCfg.html index a04948558..1446598f3 100644 --- a/hotshot_query_service/data_source/storage/pruning/struct.PrunerCfg.html +++ b/hotshot_query_service/data_source/storage/pruning/struct.PrunerCfg.html @@ -1,67 +1,67 @@ -PrunerCfg in hotshot_query_service::data_source::storage::pruning - Rust
pub struct PrunerCfg { /* private fields */ }

Implementations§

source§

impl PrunerCfg

source

pub fn new() -> Self

source

pub fn validate(&self) -> Result<()>

source

pub fn with_pruning_threshold(self, pruning_threshold: u64) -> Self

source

pub fn with_minimum_retention(self, minimum_retention: Duration) -> Self

source

pub fn with_target_retention(self, target_retention: Duration) -> Self

source

pub fn with_batch_size(self, batch_size: u64) -> Self

source

pub fn with_max_usage(self, max_usage: u16) -> Self

source

pub fn with_interval(self, interval: Duration) -> Self

source

pub fn pruning_threshold(&self) -> Option<u64>

Disk space threshold (in bytes).

+PrunerCfg in hotshot_query_service::data_source::storage::pruning - Rust
pub struct PrunerCfg { /* private fields */ }

Implementations§

source§

impl PrunerCfg

source

pub fn new() -> Self

source

pub fn validate(&self) -> Result<()>

source

pub fn with_pruning_threshold(self, pruning_threshold: u64) -> Self

source

pub fn with_minimum_retention(self, minimum_retention: Duration) -> Self

source

pub fn with_target_retention(self, target_retention: Duration) -> Self

source

pub fn with_batch_size(self, batch_size: u64) -> Self

source

pub fn with_max_usage(self, max_usage: u16) -> Self

source

pub fn with_interval(self, interval: Duration) -> Self

source

pub fn pruning_threshold(&self) -> Option<u64>

Disk space threshold (in bytes).

If the disk usage exceeds this threshold, pruning of data starts from the oldest data and continues until the disk usage falls below MAX_USAGE or until the oldest data is younger than MINIMUM_RETENTION`

-
source

pub fn minimum_retention(&self) -> Duration

Minimum data retention period

+
source

pub fn minimum_retention(&self) -> Duration

Minimum data retention period

Data younger than this is never pruned, regardless of disk usage.

-
source

pub fn target_retention(&self) -> Duration

Target data retention period

+
source

pub fn target_retention(&self) -> Duration

Target data retention period

This is the ideal period for which data should be retained data younger than this and older than MINIMUM_RETENTION may be pruned if disk usage exceeds the pruning_threshold.

-
source

pub fn batch_size(&self) -> u64

Number of blocks to remove in a single pruning operation.

-
source

pub fn max_usage(&self) -> u16

Maximum disk usage (in basis points).

+
source

pub fn batch_size(&self) -> u64

Number of blocks to remove in a single pruning operation.

+
source

pub fn max_usage(&self) -> u16

Maximum disk usage (in basis points).

Pruning stops once the disk usage falls below this value, even if some data older than the MINIMUM_RETENTION remains. Values range from 0 (0%) to 10000 (100%).

-
source

pub fn interval(&self) -> Duration

Pruning interval

-

Trait Implementations§

source§

impl Clone for PrunerCfg

source§

fn clone(&self) -> PrunerCfg

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 PrunerCfg

source§

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

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

impl Default for PrunerCfg

source§

fn default() -> Self

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

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

source

pub fn interval(&self) -> Duration

Pruning interval

+

Trait Implementations§

source§

impl Clone for PrunerCfg

source§

fn clone(&self) -> PrunerCfg

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 PrunerCfg

source§

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

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

impl Default for PrunerCfg

source§

fn default() -> Self

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

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + 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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -69,78 +69,78 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/pruning/trait.PruneStorage.html b/hotshot_query_service/data_source/storage/pruning/trait.PruneStorage.html index af8ba87f6..1f02e1508 100644 --- a/hotshot_query_service/data_source/storage/pruning/trait.PruneStorage.html +++ b/hotshot_query_service/data_source/storage/pruning/trait.PruneStorage.html @@ -1,22 +1,22 @@ -PruneStorage in hotshot_query_service::data_source::storage::pruning - Rust
pub trait PruneStorage: PrunerConfig + PrunedHeightStorage {
+PruneStorage in hotshot_query_service::data_source::storage::pruning - Rust
pub trait PruneStorage: PrunerConfig + PrunedHeightStorage {
     // Provided methods
     fn get_disk_usage<'life0, 'async_trait>(
         &'life0 self,
-    ) -> Pin<Box<dyn Future<Output = Result<u64, Self::Error>> + Send + 'async_trait>>
-       where Self: Sync + 'async_trait,
+    ) -> Pin<Box<dyn Future<Output = Result<u64, Self::Error>> + Send + 'async_trait>>
+       where Self: Sync + 'async_trait,
              'life0: 'async_trait { ... }
     fn prune<'life0, 'async_trait>(
         &'life0 mut self,
-    ) -> Pin<Box<dyn Future<Output = Result<Option<u64>, Self::Error>> + Send + 'async_trait>>
-       where Self: Send + 'async_trait,
+    ) -> Pin<Box<dyn Future<Output = Result<Option<u64>, Self::Error>> + Send + 'async_trait>>
+       where Self: Send + 'async_trait,
              'life0: 'async_trait { ... }
 }

Provided Methods§

source

fn get_disk_usage<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = Result<u64, Self::Error>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Result<u64, Self::Error>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source

fn prune<'life0, 'async_trait>( &'life0 mut self, -) -> Pin<Box<dyn Future<Output = Result<Option<u64>, Self::Error>> + Send + 'async_trait>>
where - Self: Send + 'async_trait, +) -> Pin<Box<dyn Future<Output = Result<Option<u64>, Self::Error>> + Send + 'async_trait>>
where + Self: Send + 'async_trait, 'life0: 'async_trait,

Implementors§

\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/pruning/trait.PrunedHeightStorage.html b/hotshot_query_service/data_source/storage/pruning/trait.PrunedHeightStorage.html index 9b8391c6b..38f698fc8 100644 --- a/hotshot_query_service/data_source/storage/pruning/trait.PrunedHeightStorage.html +++ b/hotshot_query_service/data_source/storage/pruning/trait.PrunedHeightStorage.html @@ -1,26 +1,26 @@ -PrunedHeightStorage in hotshot_query_service::data_source::storage::pruning - Rust
pub trait PrunedHeightStorage {
-    type Error: Error + Debug + Send + Sync + 'static;
+PrunedHeightStorage in hotshot_query_service::data_source::storage::pruning - Rust
pub trait PrunedHeightStorage {
+    type Error: Error + Debug + Send + Sync + 'static;
 
     // Provided methods
     fn save_pruned_height<'life0, 'async_trait>(
         &'life0 mut self,
-        _height: u64,
-    ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
-       where Self: Send + 'async_trait,
+        _height: u64,
+    ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
+       where Self: Send + 'async_trait,
              'life0: 'async_trait { ... }
     fn load_pruned_height<'life0, 'async_trait>(
         &'life0 self,
-    ) -> Pin<Box<dyn Future<Output = Result<Option<u64>, Self::Error>> + Send + 'async_trait>>
-       where Self: Sync + 'async_trait,
+    ) -> Pin<Box<dyn Future<Output = Result<Option<u64>, Self::Error>> + Send + 'async_trait>>
+       where Self: Sync + 'async_trait,
              'life0: 'async_trait { ... }
-}

Required Associated Types§

source

type Error: Error + Debug + Send + Sync + 'static

Provided Methods§

source

fn save_pruned_height<'life0, 'async_trait>( +}

Required Associated Types§

source

type Error: Error + Debug + Send + Sync + 'static

Provided Methods§

source

fn save_pruned_height<'life0, 'async_trait>( &'life0 mut self, - _height: u64, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where - Self: Send + 'async_trait, + _height: u64, +) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where + Self: Send + 'async_trait, 'life0: 'async_trait,

source

fn load_pruned_height<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = Result<Option<u64>, Self::Error>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, - 'life0: 'async_trait,

Implementors§

\ No newline at end of file +) -> Pin<Box<dyn Future<Output = Result<Option<u64>, Self::Error>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, + 'life0: 'async_trait,

Implementors§

\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/pruning/trait.PrunerConfig.html b/hotshot_query_service/data_source/storage/pruning/trait.PrunerConfig.html index 4a05f510d..529dbb636 100644 --- a/hotshot_query_service/data_source/storage/pruning/trait.PrunerConfig.html +++ b/hotshot_query_service/data_source/storage/pruning/trait.PrunerConfig.html @@ -1,6 +1,6 @@ -PrunerConfig in hotshot_query_service::data_source::storage::pruning - Rust
pub trait PrunerConfig {
+PrunerConfig in hotshot_query_service::data_source::storage::pruning - Rust
pub trait PrunerConfig {
     // Provided methods
     fn set_pruning_config(&mut self, _cfg: PrunerCfg) { ... }
-    fn get_pruning_config(&self) -> Option<PrunerCfg> { ... }
-}

Provided Methods§

Implementors§

source§

impl PrunerConfig for NoStorage

source§

impl PrunerConfig for SqlStorage

source§

impl<Types: NodeType> PrunerConfig for FileSystemStorage<Types>
where + fn get_pruning_config(&self) -> Option<PrunerCfg> { ... } +}

Provided Methods§

Implementors§

\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/sql/fn.default_migrations.html b/hotshot_query_service/data_source/storage/sql/fn.default_migrations.html index 1b549cc85..a3b47d5ba 100644 --- a/hotshot_query_service/data_source/storage/sql/fn.default_migrations.html +++ b/hotshot_query_service/data_source/storage/sql/fn.default_migrations.html @@ -1,2 +1,2 @@ -default_migrations in hotshot_query_service::data_source::storage::sql - Rust
pub fn default_migrations() -> Vec<Migration>
Expand description

The migrations requied to build the default schema for this version of SqlStorage.

+default_migrations in hotshot_query_service::data_source::storage::sql - Rust
pub fn default_migrations() -> Vec<Migration>
Expand description

The migrations requied to build the default schema for this version of SqlStorage.

\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/sql/index.html b/hotshot_query_service/data_source/storage/sql/index.html index 7a488cf78..b73da1ef3 100644 --- a/hotshot_query_service/data_source/storage/sql/index.html +++ b/hotshot_query_service/data_source/storage/sql/index.html @@ -1,3 +1,3 @@ -hotshot_query_service::data_source::storage::sql - Rust

Module hotshot_query_service::data_source::storage::sql

source ·

Re-exports§

  • pub use tokio_postgres as postgres;

Modules§

Macros§

Structs§

source§

impl<T> DynClone for T
where + 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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -99,78 +99,78 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/sql/struct.Error.html b/hotshot_query_service/data_source/storage/sql/struct.Error.html index 78208cd56..18ca365b7 100644 --- a/hotshot_query_service/data_source/storage/sql/struct.Error.html +++ b/hotshot_query_service/data_source/storage/sql/struct.Error.html @@ -1,4 +1,4 @@ -Error in hotshot_query_service::data_source::storage::sql - Rust

Struct hotshot_query_service::data_source::storage::sql::Error

source ·
pub struct Error { /* private fields */ }
Expand description

The Error type, a wrapper around a dynamic error type.

+Error in hotshot_query_service::data_source::storage::sql - Rust

Struct hotshot_query_service::data_source::storage::sql::Error

source ·
pub struct Error { /* private fields */ }
Expand description

The Error type, a wrapper around a dynamic error type.

Error works a lot like Box<dyn std::error::Error>, but with these differences:

Create a new error object from any error type.

The error type must be threadsafe and 'static, so that the Error will be as well.

If the error type does not provide a backtrace, a backtrace will be created here to ensure that a backtrace exists.

source

pub fn msg<M>(message: M) -> Error
where - M: Display + Debug + Send + Sync + 'static,

Create a new error object from a printable error message.

+ M: Display + Debug + Send + Sync + 'static,

Create a new error object from a printable error message.

If the argument implements std::error::Error, prefer Error::new instead which preserves the underlying error’s cause chain and backtrace. If the argument may or may not implement std::error::Error @@ -107,7 +107,7 @@

await }

source

pub fn context<C>(self, context: C) -> Error
where - C: Display + Send + Sync + 'static,

Wrap the error value with additional context.

+ C: Display + Send + Sync + 'static,

Wrap the error value with additional context.

For attaching context to a Result as it is propagated, the Context extension trait may be more convenient than this function.

@@ -138,7 +138,7 @@

source

pub fn backtrace(&self) -> &Backtrace

Get the backtrace for this Error.

+

source

pub fn backtrace(&self) -> &Backtrace

Get the backtrace for this Error.

In order for the backtrace to be meaningful, one of the two environment variables RUST_LIB_BACKTRACE=1 or RUST_BACKTRACE=1 must be defined and RUST_LIB_BACKTRACE must not be 0. Backtraces are somewhat @@ -176,20 +176,20 @@

§Example
} None }
-
source

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

The lowest level cause of this error — this error’s cause’s +

source

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

The lowest level cause of this error — this error’s cause’s cause’s cause etc.

The root cause is the last error in the iterator produced by chain().

-
source

pub fn is<E>(&self) -> bool
where - E: Display + Debug + Send + Sync + 'static,

Returns true if E is the type held by this error object.

+
source

pub fn is<E>(&self) -> bool
where + E: Display + Debug + Send + Sync + 'static,

Returns true if E is the type held by this error object.

For errors with context, this method returns true if E matches the type of the context C or the type of the error on which the context has been attached. For details about the interaction between context and downcasting, see here.

-
source

pub fn downcast<E>(self) -> Result<E, Error>
where - E: Display + Debug + Send + Sync + 'static,

Attempt to downcast the error object to a concrete type.

-
source

pub fn downcast_ref<E>(&self) -> Option<&E>
where - E: Display + Debug + Send + Sync + 'static,

Downcast this error object by reference.

+
source

pub fn downcast<E>(self) -> Result<E, Error>
where + E: Display + Debug + Send + Sync + 'static,

Attempt to downcast the error object to a concrete type.

+
source

pub fn downcast_ref<E>(&self) -> Option<&E>
where + E: Display + Debug + Send + Sync + 'static,

Downcast this error object by reference.

§Example
// If the error was caused by redaction, then return a tombstone instead
 // of the content.
@@ -197,58 +197,58 @@ 
§Example
Some(DataStoreError::Censored(_)) => Ok(Poll::Ready(REDACTED_CONTENT)), None => Err(error), }
-
source

pub fn downcast_mut<E>(&mut self) -> Option<&mut E>
where - E: Display + Debug + Send + Sync + 'static,

Downcast this error object by mutable reference.

-

Trait Implementations§

source§

impl AsRef<dyn Error> for Error

source§

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

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<dyn Error + Sync + Send> for Error

source§

fn as_ref(&self) -> &(dyn Error + Sync + Send + 'static)

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Debug for Error

source§

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

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

impl Deref for Error

§

type Target = dyn Error + Sync + Send

The resulting type after dereferencing.
source§

fn deref(&self) -> &<Error as Deref>::Target

Dereferences the value.
source§

impl DerefMut for Error

source§

fn deref_mut(&mut self) -> &mut <Error as Deref>::Target

Mutably dereferences the value.
source§

impl Display for Error

source§

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

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

impl Drop for Error

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl<E> From<E> for Error
where - E: Error + Send + Sync + 'static,

source§

fn from(error: E) -> Error

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for Error

§

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 T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

source

pub fn downcast_mut<E>(&mut self) -> Option<&mut E>
where + E: Display + Debug + Send + Sync + 'static,

Downcast this error object by mutable reference.

+

Trait Implementations§

source§

impl AsRef<dyn Error> for Error

source§

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

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<dyn Error + Sync + Send> for Error

source§

fn as_ref(&self) -> &(dyn Error + Sync + Send + 'static)

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Debug for Error

source§

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

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

impl Deref for Error

§

type Target = dyn Error + Sync + Send

The resulting type after dereferencing.
source§

fn deref(&self) -> &<Error as Deref>::Target

Dereferences the value.
source§

impl DerefMut for Error

source§

fn deref_mut(&mut self) -> &mut <Error as Deref>::Target

Mutably dereferences the value.
source§

impl Display for Error

source§

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

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

impl Drop for Error

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl<E> From<E> for Error
where + E: Error + Send + Sync + 'static,

source§

fn from(error: E) -> Error

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for Error

§

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 T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§

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 + 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 + 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 + 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 + 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 + 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<!> for T

source§

fn from(t: !) -> T

Converts to this type from the input type.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more
source§

impl<T> From<!> for T

source§

fn from(t: !) -> T

Converts to this type from the input type.
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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -256,80 +256,80 @@
§Example
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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

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

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

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

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/sql/struct.Migration.html b/hotshot_query_service/data_source/storage/sql/struct.Migration.html index 5528b8133..c6e40bc0f 100644 --- a/hotshot_query_service/data_source/storage/sql/struct.Migration.html +++ b/hotshot_query_service/data_source/storage/sql/struct.Migration.html @@ -1,84 +1,84 @@ -Migration in hotshot_query_service::data_source::storage::sql - Rust

Struct hotshot_query_service::data_source::storage::sql::Migration

pub struct Migration { /* private fields */ }
Expand description

Represents a schema migration to be run on the database, +Migration in hotshot_query_service::data_source::storage::sql - Rust

Struct hotshot_query_service::data_source::storage::sql::Migration

pub struct Migration { /* private fields */ }
Expand description

Represents a schema migration to be run on the database, this struct is used by the embed_migrations! macro to gather migration files and shouldn’t be needed by the user

-

Implementations§

§

impl Migration

pub fn unapplied(input_name: &str, sql: &str) -> Result<Migration, Error>

Create an unapplied migration, name and version are parsed from the input_name, +

Implementations§

§

impl Migration

pub fn unapplied(input_name: &str, sql: &str) -> Result<Migration, Error>

Create an unapplied migration, name and version are parsed from the input_name, which must be named in the format (U|V){1}__{2}.rs where {1} represents the migration version and {2} the name.

pub fn applied( - version: i32, - name: String, + version: i32, + name: String, applied_on: OffsetDateTime, - checksum: u64, -) -> Migration

pub fn set_applied(&mut self)

pub fn sql(&self) -> Option<&str>

pub fn version(&self) -> u32

Get the Migration version

+ checksum: u64, +) -> Migration

pub fn set_applied(&mut self)

pub fn sql(&self) -> Option<&str>

pub fn version(&self) -> u32

Get the Migration version

pub fn prefix(&self) -> &Type

Get the Prefix

-

pub fn name(&self) -> &str

Get the Migration Name

-

pub fn applied_on(&self) -> Option<&OffsetDateTime>

Get the timestamp from when the Migration was applied. None when unapplied. +

pub fn name(&self) -> &str

Get the Migration Name

+

pub fn applied_on(&self) -> Option<&OffsetDateTime>

Get the timestamp from when the Migration was applied. None when unapplied. Migrations returned from Runner::get_migrations() will always have None.

-

pub fn checksum(&self) -> u64

Get the Migration checksum. Checksum is formed from the name version and sql of the Migration

-

Trait Implementations§

§

impl Clone for Migration

§

fn clone(&self) -> Migration

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
§

impl Debug for Migration

§

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

Formats the value using the given formatter. Read more
§

impl Display for Migration

§

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

Formats the value using the given formatter. Read more
§

impl Ord for Migration

§

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

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

fn max(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl PartialEq for Migration

§

fn eq(&self, other: &Migration) -> 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.
§

impl PartialOrd for Migration

§

fn partial_cmp(&self, other: &Migration) -> 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
§

impl Eq for Migration

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

pub fn checksum(&self) -> u64

Get the Migration checksum. Checksum is formed from the name version and sql of the Migration

+

Trait Implementations§

§

impl Clone for Migration

§

fn clone(&self) -> Migration

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
§

impl Debug for Migration

§

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

Formats the value using the given formatter. Read more
§

impl Display for Migration

§

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

Formats the value using the given formatter. Read more
§

impl Ord for Migration

§

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

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

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl PartialEq for Migration

§

fn eq(&self, other: &Migration) -> 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.
§

impl PartialOrd for Migration

§

fn partial_cmp(&self, other: &Migration) -> 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
§

impl Eq for Migration

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
§

impl<Q, K> Comparable<K> for Q
where - Q: Ord + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<T> Conv for T

§

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

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<Q, K> Comparable<K> for Q
where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<T> Conv for T

§

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

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

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

§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

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

source§

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

§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -86,81 +86,81 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/sql/struct.Pruner.html b/hotshot_query_service/data_source/storage/sql/struct.Pruner.html index f8a58f5b0..f9114bf8c 100644 --- a/hotshot_query_service/data_source/storage/sql/struct.Pruner.html +++ b/hotshot_query_service/data_source/storage/sql/struct.Pruner.html @@ -1,52 +1,52 @@ -Pruner in hotshot_query_service::data_source::storage::sql - Rust

Struct hotshot_query_service::data_source::storage::sql::Pruner

source ·
pub struct Pruner { /* private fields */ }

Trait Implementations§

source§

impl Debug for Pruner

source§

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

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

impl Default for Pruner

source§

fn default() -> Pruner

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

Auto Trait Implementations§

§

impl Freeze for Pruner

§

impl RefUnwindSafe for Pruner

§

impl Send for Pruner

§

impl Sync for Pruner

§

impl Unpin for Pruner

§

impl UnwindSafe for Pruner

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +Pruner in hotshot_query_service::data_source::storage::sql - Rust

Struct hotshot_query_service::data_source::storage::sql::Pruner

source ·
pub struct Pruner { /* private fields */ }

Trait Implementations§

source§

impl Debug for Pruner

source§

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

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

impl Default for Pruner

source§

fn default() -> Pruner

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

Auto Trait Implementations§

§

impl Freeze for Pruner

§

impl RefUnwindSafe for Pruner

§

impl Send for Pruner

§

impl Sync for Pruner

§

impl Unpin for Pruner

§

impl UnwindSafe for Pruner

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -54,77 +54,77 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

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

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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

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

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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/sql/struct.SqlStorage.html b/hotshot_query_service/data_source/storage/sql/struct.SqlStorage.html index 4001135ce..d14a61882 100644 --- a/hotshot_query_service/data_source/storage/sql/struct.SqlStorage.html +++ b/hotshot_query_service/data_source/storage/sql/struct.SqlStorage.html @@ -1,5 +1,5 @@ -SqlStorage in hotshot_query_service::data_source::storage::sql - Rust
pub struct SqlStorage { /* private fields */ }
Expand description

Storage for the APIs provided in this crate, backed by a remote PostgreSQL database.

-

Implementations§

source§

impl SqlStorage

source

pub async fn connect(config: Config) -> Result<Self, Error>

Connect to a remote database.

+SqlStorage in hotshot_query_service::data_source::storage::sql - Rust
pub struct SqlStorage { /* private fields */ }
Expand description

Storage for the APIs provided in this crate, backed by a remote PostgreSQL database.

+

Implementations§

source§

impl SqlStorage

source

pub async fn connect(config: Config) -> Result<Self, Error>

Connect to a remote database.

source

pub async fn transaction(&mut self) -> QueryResult<Transaction<'_>>

Access the transaction which is accumulating all uncommitted changes to the data source.

Trait Implementations§

source§

impl<Types> AvailabilityStorage<Types> for SqlStorage
where Types: NodeType, @@ -7,153 +7,153 @@ Header<Types>: QueryableHeader<Types>,

source§

fn get_leaf<'life0, 'async_trait>( &'life0 self, id: LeafId<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<LeafQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<LeafQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_block<'life0, 'async_trait>( &'life0 self, id: BlockId<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<BlockQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<BlockQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_header<'life0, 'async_trait>( &'life0 self, id: BlockId<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<Header<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<Header<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_payload<'life0, 'async_trait>( &'life0 self, id: BlockId<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<PayloadQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<PayloadQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_vid_common<'life0, 'async_trait>( &'life0 self, id: BlockId<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<VidCommonQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<VidCommonQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_leaf_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<LeafQueryData<Types>>>>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<LeafQueryData<Types>>>>> + 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 self, range: R, -) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<BlockQueryData<Types>>>>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<BlockQueryData<Types>>>>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_payload_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<PayloadQueryData<Types>>>>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<PayloadQueryData<Types>>>>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_vid_common_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<VidCommonQueryData<Types>>>>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<VidCommonQueryData<Types>>>>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_transaction<'life0, 'async_trait>( &'life0 self, hash: TransactionHash<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<TransactionQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<TransactionQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, - 'life0: 'async_trait,

source§

impl Debug for SqlStorage

source§

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

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

impl<Types> ExplorerStorage<Types> for SqlStorage
where + 'life0: 'async_trait,

source§

impl Debug for SqlStorage

source§

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

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

impl<Types> ExplorerStorage<Types> for SqlStorage
where Types: NodeType, Payload<Types>: QueryablePayload<Types>, Header<Types>: QueryableHeader<Types> + ExplorerHeader<Types>, Transaction<Types>: ExplorerTransaction, - BalanceAmount<Types>: Into<MonetaryValue>,

source§

fn get_block_summaries<'life0, 'async_trait>( + BalanceAmount<Types>: Into<MonetaryValue>,

source§

fn get_block_summaries<'life0, 'async_trait>( &'life0 self, request: GetBlockSummariesRequest<Types>, -) -> Pin<Box<dyn Future<Output = Result<Vec<BlockSummary<Types>>, GetBlockSummariesError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<Vec<BlockSummary<Types>>, GetBlockSummariesError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_block_summaries is a method that retrieves a list of block summaries from the blockchain. The list is generated from the given [GetBlockSummariesRequest].
source§

fn get_block_detail<'life0, 'async_trait>( &'life0 self, request: BlockIdentifier<Types>, -) -> Pin<Box<dyn Future<Output = Result<BlockDetail<Types>, GetBlockDetailError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<BlockDetail<Types>, GetBlockDetailError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_block_detail is a method that retrieves the details of a specific block from the blockchain. The block is identified by the given [BlockIdentifier].
source§

fn get_transaction_summaries<'life0, 'async_trait>( &'life0 self, request: GetTransactionSummariesRequest<Types>, -) -> Pin<Box<dyn Future<Output = Result<Vec<TransactionSummary<Types>>, GetTransactionSummariesError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<Vec<TransactionSummary<Types>>, GetTransactionSummariesError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_transaction_summaries is a method that retrieves a list of transaction summaries from the blockchain. The list is generated from the given [GetTransactionSummariesRequest].
source§

fn get_transaction_detail<'life0, 'async_trait>( &'life0 self, request: TransactionIdentifier<Types>, -) -> Pin<Box<dyn Future<Output = Result<TransactionDetailResponse<Types>, GetTransactionDetailError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<TransactionDetailResponse<Types>, GetTransactionDetailError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_transaction_detail is a method that retrieves the details of a specific transaction from the blockchain. The transaction is identified by the given [TransactionIdentifier].
source§

fn get_explorer_summary<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = Result<ExplorerSummary<Types>, GetExplorerSummaryError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<ExplorerSummary<Types>, GetExplorerSummaryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_explorer_summary is a method that retrieves a summary overview of the blockchain. This is useful for displaying information that indicates the overall status of the block chain.
source§

fn get_search_results<'life0, 'async_trait>( &'life0 self, - query: String, -) -> Pin<Box<dyn Future<Output = Result<SearchResult<Types>, GetSearchResultsError>> + Send + 'async_trait>>
where + query: String, +) -> Pin<Box<dyn Future<Output = Result<SearchResult<Types>, GetSearchResultsError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_search_results is a method that retrieves the results of a search query against the blockchain. The results are generated from the given -query string.
source§

impl<Types, State, const ARITY: usize> MerklizedStateDataSource<Types, State, ARITY> for SqlStorage
where +query string.

source§

impl<Types, State, const ARITY: usize> MerklizedStateDataSource<Types, State, ARITY> for SqlStorage
where Types: NodeType, State: MerklizedState<Types, ARITY> + 'static,

source§

fn get_path<'life0, 'async_trait>( &'life0 self, snapshot: Snapshot<Types, State, ARITY>, key: State::Key, -) -> Pin<Box<dyn Future<Output = QueryResult<MerkleProof<State::Entry, State::Key, State::T, ARITY>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<MerkleProof<State::Entry, State::Key, State::T, ARITY>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Retreives a Merkle path from the database

source§

impl MerklizedStateHeightPersistence for SqlStorage

source§

fn set_last_state_height<'life0, 'async_trait>( &'life0 mut self, - height: usize, -) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
where + height: usize, +) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_last_state_height<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

impl<Types> NodeDataSource<Types> for SqlStorage
where Types: NodeType,

source§

fn block_height<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn count_transactions<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn payload_size<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn vid_share<'life0, 'async_trait, ID>( &'life0 self, id: ID, -) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
where - ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
where + ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn sync_status<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Search the database for missing objects and generate a report. Read more
source§

fn get_header_window<'life0, 'async_trait>( &'life0 self, - start: impl 'async_trait + Into<WindowStart<Types>> + Send + Sync, - end: u64, -) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<Types>>>> + Send + 'async_trait>>
where + start: impl 'async_trait + Into<WindowStart<Types>> + Send + Sync, + end: u64, +) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<Types>>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

impl PruneStorage for SqlStorage

source§

fn prune<'life0, 'async_trait>( &'life0 mut self, -) -> Pin<Box<dyn Future<Output = Result<Option<u64>, QueryError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<Option<u64>, QueryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Note: The prune operation may not immediately free up space even after rows are deleted. This is because a vacuum operation may be necessary to reclaim more space. @@ -161,75 +161,75 @@ as running a vacuum operation can be resource-intensive.

source§

fn get_disk_usage<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<u64>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<u64>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

impl PrunedHeightStorage for SqlStorage

§

type Error = QueryError

source§

fn save_pruned_height<'life0, 'async_trait>( &'life0 mut self, - height: u64, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where + height: u64, +) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn load_pruned_height<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = Result<Option<u64>, Self::Error>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<Option<u64>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, - 'life0: 'async_trait,

source§

impl PrunerConfig for SqlStorage

source§

impl Query for SqlStorage

source§

fn client<'life0, 'async_trait>( + 'life0: 'async_trait,

source§

impl PrunerConfig for SqlStorage

source§

impl Query for SqlStorage

source§

fn client<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = Cow<'_, Arc<Client>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Cow<'_, Arc<Client>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn query<'life0, 'life1, 'async_trait, T, P>( &'life0 self, - query: &'life1 T, + query: &'life1 T, params: P, -) -> Pin<Box<dyn Future<Output = QueryResult<BoxStream<'static, QueryResult<Row>>>> + Send + 'async_trait>>
where - T: ?Sized + ToStatement + Sync + 'async_trait, - P: IntoIterator + Send + 'async_trait, - P::IntoIter: ExactSizeIterator, - P::Item: BorrowToSql, - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<BoxStream<'static, QueryResult<Row>>>> + Send + 'async_trait>>
where + T: ?Sized + ToStatement + Sync + 'async_trait, + P: IntoIterator + Send + 'async_trait, + P::IntoIter: ExactSizeIterator, + P::Item: BorrowToSql, + Self: Sync + 'async_trait, 'life0: 'async_trait, '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, + 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>( &'life0 self, - query: &'life1 T, + query: &'life1 T, params: P, -) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>
where - T: ?Sized + ToStatement + Sync + 'async_trait, - P: IntoIterator + Send + 'async_trait, - P::IntoIter: ExactSizeIterator, - P::Item: BorrowToSql, - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>
where + T: ?Sized + ToStatement + Sync + 'async_trait, + P: IntoIterator + Send + 'async_trait, + P::IntoIter: ExactSizeIterator, + 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>( &'life0 self, - query: &'life1 T, -) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>
where - T: ?Sized + ToStatement + Sync + 'async_trait, - Self: Sync + 'async_trait, + query: &'life1 T, +) -> Pin<Box<dyn Future<Output = 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, returning exactly one result or failing.
source§

fn query_opt<'life0, 'life1, 'async_trait, T, P>( &'life0 self, - query: &'life1 T, + query: &'life1 T, params: P, -) -> Pin<Box<dyn Future<Output = QueryResult<Option<Row>>> + Send + 'async_trait>>
where - T: ?Sized + ToStatement + Sync + 'async_trait, - P: IntoIterator + Send + 'async_trait, - P::IntoIter: ExactSizeIterator, - P::Item: BorrowToSql, - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Option<Row>>> + Send + 'async_trait>>
where + T: ?Sized + ToStatement + Sync + 'async_trait, + P: IntoIterator + Send + 'async_trait, + P::IntoIter: ExactSizeIterator, + 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>( &'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, + 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> UpdateAvailabilityData<Types> for SqlStorage
where Types: NodeType, @@ -237,83 +237,83 @@ Header<Types>: QueryableHeader<Types>,

§

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 +) -> 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 mut self, block: BlockQueryData<Types>, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn insert_vid<'life0, 'async_trait>( &'life0 mut self, common: VidCommonQueryData<Types>, - share: Option<VidShare>, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where + share: Option<VidShare>, +) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, - 'life0: 'async_trait,

source§

impl<Types: NodeType, State: MerklizedState<Types, ARITY>, const ARITY: usize> UpdateStateData<Types, State, ARITY> for SqlStorage

source§

fn insert_merkle_nodes<'life0, 'async_trait>( + 'life0: 'async_trait,

source§

impl<Types: NodeType, State: MerklizedState<Types, ARITY>, const ARITY: usize> UpdateStateData<Types, State, ARITY> for SqlStorage

source§

fn insert_merkle_nodes<'life0, 'async_trait>( &'life0 mut self, proof: MerkleProof<State::Entry, State::Key, State::T, ARITY>, - traversal_path: Vec<usize>, - block_number: u64, -) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
where + traversal_path: Vec<usize>, + block_number: u64, +) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

impl VersionedDataSource for SqlStorage

§

type Error = QueryError

source§

fn commit<'life0, 'async_trait>( &'life0 mut self, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where +) -> 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. Read more
source§

fn revert<'life0, 'async_trait>( &'life0 mut self, -) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, - 'life0: 'async_trait,

Erase all oustanding modifications to the data. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + 'life0: 'async_trait,

Erase all oustanding modifications to the data. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -321,77 +321,77 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

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

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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

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

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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/sql/struct.Transaction.html b/hotshot_query_service/data_source/storage/sql/struct.Transaction.html index 5ae4a2944..e61152209 100644 --- a/hotshot_query_service/data_source/storage/sql/struct.Transaction.html +++ b/hotshot_query_service/data_source/storage/sql/struct.Transaction.html @@ -1,174 +1,174 @@ -Transaction in hotshot_query_service::data_source::storage::sql - Rust
pub struct Transaction<'a> { /* private fields */ }
Expand description

An atomic SQL transaction.

+Transaction in hotshot_query_service::data_source::storage::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, + statement: &T, params: P, -) -> QueryResult<u64>
where - T: ?Sized + ToStatement, - P: IntoIterator, - P::IntoIter: ExactSizeIterator, - P::Item: BorrowToSql,

Execute a statement against the underlying database.

+) -> QueryResult<u64>
where + T: ?Sized + ToStatement, + P: IntoIterator, + P::IntoIter: ExactSizeIterator, + P::Item: BorrowToSql,

Execute a statement against the underlying database.

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 commit.

source

pub async fn execute_one<T, P>( &mut self, - statement: &T, + statement: &T, params: P, -) -> QueryResult<()>
where - T: ?Sized + ToStatement + Display, - P: IntoIterator, - P::IntoIter: ExactSizeIterator, - P::Item: BorrowToSql,

Execute a statement that is expected to modify exactly one row.

+) -> QueryResult<()>
where + T: ?Sized + ToStatement + Display, + P: IntoIterator, + P::IntoIter: ExactSizeIterator, + P::Item: BorrowToSql,

Execute a statement that is expected to modify exactly one row.

Returns an error if the database is not modified.

source

pub async fn execute_one_with_retries<T, P>( &mut self, - statement: &T, + statement: &T, params: P, -) -> QueryResult<()>
where - T: ?Sized + ToStatement + Display, - P: IntoIterator + Clone, - P::IntoIter: ExactSizeIterator, - P::Item: BorrowToSql,

Execute a statement that is expected to modify exactly one row.

+) -> QueryResult<()>
where + T: ?Sized + ToStatement + Display, + P: IntoIterator + Clone, + P::IntoIter: ExactSizeIterator, + P::Item: BorrowToSql,

Execute a statement that is expected to modify exactly one row.

Returns an error if the database is not modified. Retries several times before failing.

source

pub async fn execute_many<T, P>( &mut self, - statement: &T, + statement: &T, params: P, -) -> QueryResult<u64>
where - T: ?Sized + ToStatement + Display, - P: IntoIterator, - P::IntoIter: ExactSizeIterator, - P::Item: BorrowToSql,

Execute a statement that is expected to modify at least one row.

+) -> QueryResult<u64>
where + T: ?Sized + ToStatement + Display, + P: IntoIterator, + P::IntoIter: ExactSizeIterator, + P::Item: BorrowToSql,

Execute a statement that is expected to modify at least one row.

Returns an error if the database is not modified.

source

pub async fn execute_many_with_retries<T, P>( &mut self, - statement: &T, + statement: &T, params: P, -) -> QueryResult<u64>
where - T: ?Sized + ToStatement + Display, - P: IntoIterator + Clone, - P::IntoIter: ExactSizeIterator, - P::Item: BorrowToSql,

Execute a statement that is expected to modify at least one row.

+) -> QueryResult<u64>
where + T: ?Sized + ToStatement + Display, + P: IntoIterator + Clone, + P::IntoIter: ExactSizeIterator, + P::Item: BorrowToSql,

Execute a statement that is expected to modify at least one row.

Returns an error if the database is not modified. Retries several times before failing.

-
source

pub async fn upsert<const N: usize, P>( +

source

pub async fn upsert<const N: usize, P>( &mut self, - table: &str, - columns: [&str; N], - pk: impl IntoIterator<Item = &str>, - rows: impl IntoIterator<Item = [P; N]>, -) -> QueryResult<()>
where - P: BorrowToSql + Clone,

Trait Implementations§

source§

impl<'a> Query for Transaction<'a>

Query the underlying SQL database.

+ table: &str, + columns: [&str; N], + pk: impl IntoIterator<Item = &str>, + rows: impl IntoIterator<Item = [P; N]>, +) -> QueryResult<()>
where + P: BorrowToSql + Clone,

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<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = Cow<'_, Arc<Client>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Cow<'_, Arc<Client>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn query<'life0, 'life1, 'async_trait, T, P>( &'life0 self, - query: &'life1 T, + query: &'life1 T, params: P, -) -> Pin<Box<dyn Future<Output = QueryResult<BoxStream<'static, QueryResult<Row>>>> + Send + 'async_trait>>
where - T: ?Sized + ToStatement + Sync + 'async_trait, - P: IntoIterator + Send + 'async_trait, - P::IntoIter: ExactSizeIterator, - P::Item: BorrowToSql, - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<BoxStream<'static, QueryResult<Row>>>> + Send + 'async_trait>>
where + T: ?Sized + ToStatement + Sync + 'async_trait, + P: IntoIterator + Send + 'async_trait, + P::IntoIter: ExactSizeIterator, + P::Item: BorrowToSql, + Self: Sync + 'async_trait, 'life0: 'async_trait, '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, + 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>( &'life0 self, - query: &'life1 T, + query: &'life1 T, params: P, -) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>
where - T: ?Sized + ToStatement + Sync + 'async_trait, - P: IntoIterator + Send + 'async_trait, - P::IntoIter: ExactSizeIterator, - P::Item: BorrowToSql, - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>
where + T: ?Sized + ToStatement + Sync + 'async_trait, + P: IntoIterator + Send + 'async_trait, + P::IntoIter: ExactSizeIterator, + 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>( &'life0 self, - query: &'life1 T, -) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>
where - T: ?Sized + ToStatement + Sync + 'async_trait, - Self: Sync + 'async_trait, + query: &'life1 T, +) -> Pin<Box<dyn Future<Output = 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, returning exactly one result or failing.
source§

fn query_opt<'life0, 'life1, 'async_trait, T, P>( &'life0 self, - query: &'life1 T, + query: &'life1 T, params: P, -) -> Pin<Box<dyn Future<Output = QueryResult<Option<Row>>> + Send + 'async_trait>>
where - T: ?Sized + ToStatement + Sync + 'async_trait, - P: IntoIterator + Send + 'async_trait, - P::IntoIter: ExactSizeIterator, - P::Item: BorrowToSql, - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Option<Row>>> + Send + 'async_trait>>
where + T: ?Sized + ToStatement + Sync + 'async_trait, + P: IntoIterator + Send + 'async_trait, + P::IntoIter: ExactSizeIterator, + 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>( &'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, + 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.

Auto Trait Implementations§

§

impl<'a> Freeze for Transaction<'a>

§

impl<'a> !RefUnwindSafe for Transaction<'a>

§

impl<'a> Send for Transaction<'a>

§

impl<'a> Sync for Transaction<'a>

§

impl<'a> Unpin for Transaction<'a>

§

impl<'a> !UnwindSafe for Transaction<'a>

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + 'life1: 'async_trait,

Query the underlying SQL database with no parameters, returning zero or one results.

Auto Trait Implementations§

§

impl<'a> Freeze for Transaction<'a>

§

impl<'a> !RefUnwindSafe for Transaction<'a>

§

impl<'a> Send for Transaction<'a>

§

impl<'a> Sync for Transaction<'a>

§

impl<'a> Unpin for Transaction<'a>

§

impl<'a> !UnwindSafe for Transaction<'a>

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -176,77 +176,77 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

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

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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

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

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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/sql/testing/index.html b/hotshot_query_service/data_source/storage/sql/testing/index.html index 45d260326..43746da61 100644 --- a/hotshot_query_service/data_source/storage/sql/testing/index.html +++ b/hotshot_query_service/data_source/storage/sql/testing/index.html @@ -1 +1 @@ -hotshot_query_service::data_source::storage::sql::testing - Rust
\ No newline at end of file +hotshot_query_service::data_source::storage::sql::testing - Rust
\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/sql/testing/struct.TestMerkleTreeMigration.html b/hotshot_query_service/data_source/storage/sql/testing/struct.TestMerkleTreeMigration.html index 5abe37433..36aef0c18 100644 --- a/hotshot_query_service/data_source/storage/sql/testing/struct.TestMerkleTreeMigration.html +++ b/hotshot_query_service/data_source/storage/sql/testing/struct.TestMerkleTreeMigration.html @@ -1,52 +1,52 @@ -TestMerkleTreeMigration in hotshot_query_service::data_source::storage::sql::testing - Rust
pub struct TestMerkleTreeMigration;

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +TestMerkleTreeMigration in hotshot_query_service::data_source::storage::sql::testing - Rust
pub struct TestMerkleTreeMigration;

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -54,77 +54,77 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

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

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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

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

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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/sql/testing/struct.TmpDb.html b/hotshot_query_service/data_source/storage/sql/testing/struct.TmpDb.html index a81bed1c7..fb239b8a6 100644 --- a/hotshot_query_service/data_source/storage/sql/testing/struct.TmpDb.html +++ b/hotshot_query_service/data_source/storage/sql/testing/struct.TmpDb.html @@ -1,52 +1,52 @@ -TmpDb in hotshot_query_service::data_source::storage::sql::testing - Rust

Struct hotshot_query_service::data_source::storage::sql::testing::TmpDb

source ·
pub struct TmpDb { /* private fields */ }

Implementations§

source§

impl TmpDb

source

pub async fn init() -> Self

source

pub async fn persistent() -> Self

source

pub fn host(&self) -> String

source

pub fn port(&self) -> u16

source

pub fn config(&self) -> Config

source

pub fn stop(&mut self)

source

pub async fn start(&mut self)

Trait Implementations§

source§

impl Debug for TmpDb

source§

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

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

impl Drop for TmpDb

source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

§

impl Freeze for TmpDb

§

impl RefUnwindSafe for TmpDb

§

impl Send for TmpDb

§

impl Sync for TmpDb

§

impl Unpin for TmpDb

§

impl UnwindSafe for TmpDb

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +TmpDb in hotshot_query_service::data_source::storage::sql::testing - Rust

Struct hotshot_query_service::data_source::storage::sql::testing::TmpDb

source ·
pub struct TmpDb { /* private fields */ }

Implementations§

source§

impl TmpDb

source

pub async fn init() -> Self

source

pub async fn persistent() -> Self

source

pub fn host(&self) -> String

source

pub fn port(&self) -> u16

source

pub fn config(&self) -> Config

source

pub fn stop(&mut self)

source

pub async fn start(&mut self)

Trait Implementations§

source§

impl Debug for TmpDb

source§

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

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

impl Drop for TmpDb

source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

§

impl Freeze for TmpDb

§

impl RefUnwindSafe for TmpDb

§

impl Send for TmpDb

§

impl Sync for TmpDb

§

impl Unpin for TmpDb

§

impl UnwindSafe for TmpDb

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -54,77 +54,77 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

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

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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

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

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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/sql/trait.Query.html b/hotshot_query_service/data_source/storage/sql/trait.Query.html index 404ee61a3..2070d14e5 100644 --- a/hotshot_query_service/data_source/storage/sql/trait.Query.html +++ b/hotshot_query_service/data_source/storage/sql/trait.Query.html @@ -1,138 +1,138 @@ -Query in hotshot_query_service::data_source::storage::sql - Rust

Trait hotshot_query_service::data_source::storage::sql::Query

source ·
pub trait Query {
+Query in hotshot_query_service::data_source::storage::sql - Rust

Trait hotshot_query_service::data_source::storage::sql::Query

source ·
pub trait Query {
     // Required method
     fn client<'life0, 'async_trait>(
         &'life0 self,
-    ) -> Pin<Box<dyn Future<Output = Cow<'_, Arc<Client>>> + Send + 'async_trait>>
+    ) -> Pin<Box<dyn Future<Output = Cow<'_, Arc<Client>>> + Send + 'async_trait>>
        where Self: 'async_trait,
              'life0: 'async_trait;
 
     // Provided methods
     fn query<'life0, 'life1, 'async_trait, T, P>(
         &'life0 self,
-        query: &'life1 T,
+        query: &'life1 T,
         params: P,
-    ) -> Pin<Box<dyn Future<Output = QueryResult<BoxStream<'static, QueryResult<Row>>>> + Send + 'async_trait>>
-       where T: ?Sized + ToStatement + Sync + 'async_trait,
-             P: IntoIterator + Send + 'async_trait,
-             P::IntoIter: ExactSizeIterator,
-             P::Item: BorrowToSql,
-             Self: Sync + 'async_trait,
+    ) -> Pin<Box<dyn Future<Output = QueryResult<BoxStream<'static, QueryResult<Row>>>> + Send + 'async_trait>>
+       where T: ?Sized + ToStatement + Sync + 'async_trait,
+             P: IntoIterator + Send + 'async_trait,
+             P::IntoIter: ExactSizeIterator,
+             P::Item: BorrowToSql,
+             Self: Sync + 'async_trait,
              'life0: 'async_trait,
              'life1: 'async_trait { ... }
     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,
+        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 { ... }
     fn query_one<'life0, 'life1, 'async_trait, T, P>(
         &'life0 self,
-        query: &'life1 T,
+        query: &'life1 T,
         params: P,
-    ) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>
-       where T: ?Sized + ToStatement + Sync + 'async_trait,
-             P: IntoIterator + Send + 'async_trait,
-             P::IntoIter: ExactSizeIterator,
-             P::Item: BorrowToSql,
-             Self: Sync + 'async_trait,
+    ) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>
+       where T: ?Sized + ToStatement + Sync + 'async_trait,
+             P: IntoIterator + Send + 'async_trait,
+             P::IntoIter: ExactSizeIterator,
+             P::Item: BorrowToSql,
+             Self: Sync + 'async_trait,
              'life0: 'async_trait,
              'life1: 'async_trait { ... }
     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 T: ?Sized + ToStatement + Sync + 'async_trait,
-             Self: Sync + 'async_trait,
+        query: &'life1 T,
+    ) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>
+       where T: ?Sized + ToStatement + Sync + 'async_trait,
+             Self: Sync + 'async_trait,
              'life0: 'async_trait,
              'life1: 'async_trait { ... }
     fn query_opt<'life0, 'life1, 'async_trait, T, P>(
         &'life0 self,
-        query: &'life1 T,
+        query: &'life1 T,
         params: P,
-    ) -> Pin<Box<dyn Future<Output = QueryResult<Option<Row>>> + Send + 'async_trait>>
-       where T: ?Sized + ToStatement + Sync + 'async_trait,
-             P: IntoIterator + Send + 'async_trait,
-             P::IntoIter: ExactSizeIterator,
-             P::Item: BorrowToSql,
-             Self: Sync + 'async_trait,
+    ) -> Pin<Box<dyn Future<Output = QueryResult<Option<Row>>> + Send + 'async_trait>>
+       where T: ?Sized + ToStatement + Sync + 'async_trait,
+             P: IntoIterator + Send + 'async_trait,
+             P::IntoIter: ExactSizeIterator,
+             P::Item: BorrowToSql,
+             Self: Sync + 'async_trait,
              'life0: 'async_trait,
              'life1: 'async_trait { ... }
     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,
+        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 { ... }
 }

Required Methods§

source

fn client<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = Cow<'_, Arc<Client>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Cow<'_, Arc<Client>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Provided Methods§

source

fn query<'life0, 'life1, 'async_trait, T, P>( &'life0 self, - query: &'life1 T, + query: &'life1 T, params: P, -) -> Pin<Box<dyn Future<Output = QueryResult<BoxStream<'static, QueryResult<Row>>>> + Send + 'async_trait>>
where - T: ?Sized + ToStatement + Sync + 'async_trait, - P: IntoIterator + Send + 'async_trait, - P::IntoIter: ExactSizeIterator, - P::Item: BorrowToSql, - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<BoxStream<'static, QueryResult<Row>>>> + Send + 'async_trait>>
where + T: ?Sized + ToStatement + Sync + 'async_trait, + P: IntoIterator + Send + 'async_trait, + P::IntoIter: ExactSizeIterator, + P::Item: BorrowToSql, + Self: Sync + 'async_trait, 'life0: 'async_trait, '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, + 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>( &'life0 self, - query: &'life1 T, + query: &'life1 T, params: P, -) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>
where - T: ?Sized + ToStatement + Sync + 'async_trait, - P: IntoIterator + Send + 'async_trait, - P::IntoIter: ExactSizeIterator, - P::Item: BorrowToSql, - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>
where + T: ?Sized + ToStatement + Sync + 'async_trait, + P: IntoIterator + Send + 'async_trait, + P::IntoIter: ExactSizeIterator, + 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>( &'life0 self, - query: &'life1 T, -) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>
where - T: ?Sized + ToStatement + Sync + 'async_trait, - Self: Sync + 'async_trait, + query: &'life1 T, +) -> Pin<Box<dyn Future<Output = 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, returning exactly one result or failing.

source

fn query_opt<'life0, 'life1, 'async_trait, T, P>( &'life0 self, - query: &'life1 T, + query: &'life1 T, params: P, -) -> Pin<Box<dyn Future<Output = QueryResult<Option<Row>>> + Send + 'async_trait>>
where - T: ?Sized + ToStatement + Sync + 'async_trait, - P: IntoIterator + Send + 'async_trait, - P::IntoIter: ExactSizeIterator, - P::Item: BorrowToSql, - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Option<Row>>> + Send + 'async_trait>>
where + T: ?Sized + ToStatement + Sync + 'async_trait, + P: IntoIterator + Send + 'async_trait, + P::IntoIter: ExactSizeIterator, + 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>( &'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, + 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.

-

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Query for SqlStorage

source§

impl<'a> Query for Transaction<'a>

Query the underlying SQL database.

+

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Query for SqlStorage

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, P: Send + Sync> Query for SqlDataSource<Types, P>
where +
source§

impl<Types, P: Send + Sync> Query for SqlDataSource<Types, P>
where Types: NodeType,

\ No newline at end of file diff --git a/hotshot_query_service/data_source/storage/trait.AvailabilityStorage.html b/hotshot_query_service/data_source/storage/trait.AvailabilityStorage.html index 3f536a886..30713d764 100644 --- a/hotshot_query_service/data_source/storage/trait.AvailabilityStorage.html +++ b/hotshot_query_service/data_source/storage/trait.AvailabilityStorage.html @@ -1,69 +1,69 @@ -AvailabilityStorage in hotshot_query_service::data_source::storage - Rust
pub trait AvailabilityStorage<Types>: UpdateAvailabilityData<Types> + VersionedDataSource + PruneStorage + Send + Sync
where +AvailabilityStorage in hotshot_query_service::data_source::storage - Rust
pub trait AvailabilityStorage<Types>: UpdateAvailabilityData<Types> + VersionedDataSource + PruneStorage + Send + Sync
where Types: NodeType, Payload<Types>: QueryablePayload<Types>,
{ // Required methods fn get_leaf<'life0, 'async_trait>( &'life0 self, id: LeafId<Types>, - ) -> Pin<Box<dyn Future<Output = QueryResult<LeafQueryData<Types>>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = QueryResult<LeafQueryData<Types>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_block<'life0, 'async_trait>( &'life0 self, id: BlockId<Types>, - ) -> Pin<Box<dyn Future<Output = QueryResult<BlockQueryData<Types>>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = QueryResult<BlockQueryData<Types>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_header<'life0, 'async_trait>( &'life0 self, id: BlockId<Types>, - ) -> Pin<Box<dyn Future<Output = QueryResult<Header<Types>>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = QueryResult<Header<Types>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_payload<'life0, 'async_trait>( &'life0 self, id: BlockId<Types>, - ) -> Pin<Box<dyn Future<Output = QueryResult<PayloadQueryData<Types>>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = QueryResult<PayloadQueryData<Types>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_vid_common<'life0, 'async_trait>( &'life0 self, id: BlockId<Types>, - ) -> Pin<Box<dyn Future<Output = QueryResult<VidCommonQueryData<Types>>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = QueryResult<VidCommonQueryData<Types>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_leaf_range<'life0, 'async_trait, R>( &'life0 self, range: R, - ) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<LeafQueryData<Types>>>>> + Send + 'async_trait>> - where R: RangeBounds<usize> + Send + 'static + 'async_trait, + ) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<LeafQueryData<Types>>>>> + Send + 'async_trait>> + where R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait; fn get_block_range<'life0, 'async_trait, R>( &'life0 self, range: R, - ) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<BlockQueryData<Types>>>>> + Send + 'async_trait>> - where R: RangeBounds<usize> + Send + 'static + 'async_trait, + ) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<BlockQueryData<Types>>>>> + Send + 'async_trait>> + where R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait; fn get_payload_range<'life0, 'async_trait, R>( &'life0 self, range: R, - ) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<PayloadQueryData<Types>>>>> + Send + 'async_trait>> - where R: RangeBounds<usize> + Send + 'static + 'async_trait, + ) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<PayloadQueryData<Types>>>>> + Send + 'async_trait>> + where R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait; fn get_vid_common_range<'life0, 'async_trait, R>( &'life0 self, range: R, - ) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<VidCommonQueryData<Types>>>>> + Send + 'async_trait>> - where R: RangeBounds<usize> + Send + 'static + 'async_trait, + ) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<VidCommonQueryData<Types>>>>> + Send + 'async_trait>> + where R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait; fn get_transaction<'life0, 'async_trait>( &'life0 self, hash: TransactionHash<Types>, - ) -> Pin<Box<dyn Future<Output = QueryResult<TransactionQueryData<Types>>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = QueryResult<TransactionQueryData<Types>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; }
Expand description

Persistent storage for a HotShot blockchain.

@@ -74,65 +74,65 @@ The purpose of the storage layer is to provide all of the functionality of the data source layer, but independent of an external fetcher for missing data. Thus, when the storage layer encounters missing, corrupt, or inaccessible data, it simply gives up and replaces the missing -data with Err, rather than creating an asynchronous fetch request to retrieve the missing +data with Err, rather than creating an asynchronous fetch request to retrieve the missing data.

Rust gives us ways to abstract and deduplicate these two similar APIs, but they do not lead to a better interface.

Required Methods§

source

fn get_leaf<'life0, 'async_trait>( &'life0 self, id: LeafId<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<LeafQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<LeafQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn get_block<'life0, 'async_trait>( &'life0 self, id: BlockId<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<BlockQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<BlockQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn get_header<'life0, 'async_trait>( &'life0 self, id: BlockId<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<Header<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<Header<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn get_payload<'life0, 'async_trait>( &'life0 self, id: BlockId<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<PayloadQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<PayloadQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn get_vid_common<'life0, 'async_trait>( &'life0 self, id: BlockId<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<VidCommonQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<VidCommonQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn get_leaf_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<LeafQueryData<Types>>>>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<LeafQueryData<Types>>>>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source

fn get_block_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<BlockQueryData<Types>>>>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<BlockQueryData<Types>>>>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source

fn get_payload_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<PayloadQueryData<Types>>>>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<PayloadQueryData<Types>>>>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source

fn get_vid_common_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<VidCommonQueryData<Types>>>>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<Vec<QueryResult<VidCommonQueryData<Types>>>>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source

fn get_transaction<'life0, 'async_trait>( &'life0 self, hash: TransactionHash<Types>, -) -> Pin<Box<dyn Future<Output = QueryResult<TransactionQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<TransactionQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, - 'life0: 'async_trait,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Types> AvailabilityStorage<Types> for SqlStorage
where + 'life0: 'async_trait,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Types> AvailabilityStorage<Types> for SqlStorage
where Types: NodeType, Payload<Types>: QueryablePayload<Types>, Header<Types>: QueryableHeader<Types>,

source§

impl<Types: NodeType> AvailabilityStorage<Types> for FileSystemStorage<Types>
where diff --git a/hotshot_query_service/data_source/storage/trait.ExplorerStorage.html b/hotshot_query_service/data_source/storage/trait.ExplorerStorage.html index 695c6c175..cab140a55 100644 --- a/hotshot_query_service/data_source/storage/trait.ExplorerStorage.html +++ b/hotshot_query_service/data_source/storage/trait.ExplorerStorage.html @@ -1,4 +1,4 @@ -ExplorerStorage in hotshot_query_service::data_source::storage - Rust
pub trait ExplorerStorage<Types>
where +ExplorerStorage in hotshot_query_service::data_source::storage - Rust
pub trait ExplorerStorage<Types>
where Types: NodeType, Header<Types>: ExplorerHeader<Types> + QueryableHeader<Types>, Transaction<Types>: ExplorerTransaction, @@ -7,36 +7,36 @@ fn get_block_detail<'life0, 'async_trait>( &'life0 self, request: BlockIdentifier<Types>, - ) -> Pin<Box<dyn Future<Output = Result<BlockDetail<Types>, GetBlockDetailError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<BlockDetail<Types>, GetBlockDetailError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_block_summaries<'life0, 'async_trait>( &'life0 self, request: GetBlockSummariesRequest<Types>, - ) -> Pin<Box<dyn Future<Output = Result<Vec<BlockSummary<Types>>, GetBlockSummariesError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Vec<BlockSummary<Types>>, GetBlockSummariesError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_transaction_detail<'life0, 'async_trait>( &'life0 self, request: TransactionIdentifier<Types>, - ) -> Pin<Box<dyn Future<Output = Result<TransactionDetailResponse<Types>, GetTransactionDetailError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<TransactionDetailResponse<Types>, GetTransactionDetailError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_transaction_summaries<'life0, 'async_trait>( &'life0 self, request: GetTransactionSummariesRequest<Types>, - ) -> Pin<Box<dyn Future<Output = Result<Vec<TransactionSummary<Types>>, GetTransactionSummariesError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Vec<TransactionSummary<Types>>, GetTransactionSummariesError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_explorer_summary<'life0, 'async_trait>( &'life0 self, - ) -> Pin<Box<dyn Future<Output = Result<ExplorerSummary<Types>, GetExplorerSummaryError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<ExplorerSummary<Types>, GetExplorerSummaryError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_search_results<'life0, 'async_trait>( &'life0 self, - query: String, - ) -> Pin<Box<dyn Future<Output = Result<SearchResult<Types>, GetSearchResultsError>> + Send + 'async_trait>> + query: String, + ) -> Pin<Box<dyn Future<Output = Result<SearchResult<Types>, GetSearchResultsError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; }
Expand description

An interface for querying Data and Statistics from the HotShot Blockchain.

@@ -50,7 +50,7 @@

Required Methods§

source

fn get_block_detail<'life0, 'async_trait>( &'life0 self, request: BlockIdentifier<Types>, -) -> Pin<Box<dyn Future<Output = Result<BlockDetail<Types>, GetBlockDetailError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<BlockDetail<Types>, GetBlockDetailError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_block_detail is a method that retrieves the details of a specific block from the blockchain. The block is identified by the given @@ -58,7 +58,7 @@

source

fn get_block_summaries<'life0, 'async_trait>( &'life0 self, request: GetBlockSummariesRequest<Types>, -) -> Pin<Box<dyn Future<Output = Result<Vec<BlockSummary<Types>>, GetBlockSummariesError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<Vec<BlockSummary<Types>>, GetBlockSummariesError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_block_summaries is a method that retrieves a list of block summaries from the blockchain. The list is generated from the given @@ -66,7 +66,7 @@

source

fn get_transaction_detail<'life0, 'async_trait>( &'life0 self, request: TransactionIdentifier<Types>, -) -> Pin<Box<dyn Future<Output = Result<TransactionDetailResponse<Types>, GetTransactionDetailError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<TransactionDetailResponse<Types>, GetTransactionDetailError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_transaction_detail is a method that retrieves the details of a specific transaction from the blockchain. The transaction is identified @@ -74,29 +74,29 @@

source

fn get_transaction_summaries<'life0, 'async_trait>( &'life0 self, request: GetTransactionSummariesRequest<Types>, -) -> Pin<Box<dyn Future<Output = Result<Vec<TransactionSummary<Types>>, GetTransactionSummariesError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<Vec<TransactionSummary<Types>>, GetTransactionSummariesError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_transaction_summaries is a method that retrieves a list of transaction summaries from the blockchain. The list is generated from the given [GetTransactionSummariesRequest].

source

fn get_explorer_summary<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = Result<ExplorerSummary<Types>, GetExplorerSummaryError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<ExplorerSummary<Types>, GetExplorerSummaryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_explorer_summary is a method that retrieves a summary overview of the blockchain. This is useful for displaying information that indicates the overall status of the block chain.

source

fn get_search_results<'life0, 'async_trait>( &'life0 self, - query: String, -) -> Pin<Box<dyn Future<Output = Result<SearchResult<Types>, GetSearchResultsError>> + Send + 'async_trait>>
where + query: String, +) -> Pin<Box<dyn Future<Output = Result<SearchResult<Types>, GetSearchResultsError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_search_results is a method that retrieves the results of a search query against the blockchain. The results are generated from the given query string.

Implementors§

source§

impl<D, U, Types> ExplorerStorage<Types> for ExtensibleDataSource<D, U>
where - D: ExplorerStorage<Types> + Send + Sync, - U: Send + Sync, + D: ExplorerStorage<Types> + Send + Sync, + U: Send + Sync, Types: NodeType, Payload<Types>: QueryablePayload<Types>, Header<Types>: ExplorerHeader<Types> + QueryableHeader<Types>, @@ -105,10 +105,10 @@ Payload<Types>: QueryablePayload<Types>, Header<Types>: QueryableHeader<Types> + ExplorerHeader<Types>, Transaction<Types>: ExplorerTransaction, - BalanceAmount<Types>: Into<MonetaryValue>,

source§

impl<Types, S, P> ExplorerStorage<Types> for FetchingDataSource<Types, S, P>
where + BalanceAmount<Types>: Into<MonetaryValue>,

source§

impl<Types, S, P> ExplorerStorage<Types> for FetchingDataSource<Types, S, P>
where Types: NodeType, Payload<Types>: QueryablePayload<Types>, Header<Types>: QueryableHeader<Types> + ExplorerHeader<Types>, Transaction<Types>: ExplorerTransaction, - S: ExplorerStorage<Types> + Send + Sync, - P: Send + Sync,

\ No newline at end of file + S: ExplorerStorage<Types> + Send + Sync, + P: Send + Sync,

\ 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 a7bc7e3a1..b8b045ce8 100644 --- a/hotshot_query_service/data_source/struct.ExtensibleDataSource.html +++ b/hotshot_query_service/data_source/struct.ExtensibleDataSource.html @@ -1,4 +1,4 @@ -ExtensibleDataSource in hotshot_query_service::data_source - Rust
pub struct ExtensibleDataSource<D, U> { /* private fields */ }
Expand description

Wrapper to add extensibility to an existing data source.

+ExtensibleDataSource in hotshot_query_service::data_source - Rust
pub struct ExtensibleDataSource<D, U> { /* private fields */ }
Expand description

Wrapper to add extensibility to an existing data source.

ExtensibleDataSource adds app-specific data to any existing data source. It implements all the data source traits defined in this crate as long as the underlying data source does so, which means it can be used as state for instantiating the APIs defined in this crate. At the @@ -21,337 +21,337 @@ self.as_ref().get(&utxo).cloned() } }

-

Implementations§

source§

impl<D, U> ExtensibleDataSource<D, U>

source

pub fn new(data_source: D, user_data: U) -> Self

source

pub fn inner(&self) -> &D

Access the underlying data source.

+

Implementations§

source§

impl<D, U> ExtensibleDataSource<D, U>

source

pub fn new(data_source: D, user_data: U) -> Self

source

pub fn inner(&self) -> &D

Access the underlying data source.

This functionality is provided as an inherent method rather than an implementation of the -AsRef trait so that self.as_ref() unambiguously returns &U, helping with type +AsRef trait so that self.as_ref() unambiguously returns &U, helping with type inference.

-
source

pub fn inner_mut(&mut self) -> &mut D

Mutably access the underlying data source.

+
source

pub fn inner_mut(&mut self) -> &mut D

Mutably access the underlying data source.

This functionality is provided as an inherent method rather than an implementation of the -AsMut trait so that self.as_mut() unambiguously returns &U, helping with type +AsMut trait so that self.as_mut() unambiguously returns &U, helping with type inference.

-

Trait Implementations§

source§

impl<D, U> AsMut<U> for ExtensibleDataSource<D, U>

source§

fn as_mut(&mut self) -> &mut U

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl<D, U> AsRef<U> for ExtensibleDataSource<D, U>

source§

fn as_ref(&self) -> &U

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<D, U, Types> AvailabilityDataSource<Types> for ExtensibleDataSource<D, U>
where - D: AvailabilityDataSource<Types> + Send + Sync, - U: Send + Sync, +

Trait Implementations§

source§

impl<D, U> AsMut<U> for ExtensibleDataSource<D, U>

source§

fn as_mut(&mut self) -> &mut U

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl<D, U> AsRef<U> for ExtensibleDataSource<D, U>

source§

fn as_ref(&self) -> &U

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<D, U, Types> AvailabilityDataSource<Types> for ExtensibleDataSource<D, U>
where + D: AvailabilityDataSource<Types> + Send + Sync, + U: Send + Sync, Types: NodeType, Payload<Types>: QueryablePayload<Types>,

§

type LeafRange<R> = <D as AvailabilityDataSource<Types>>::LeafRange<R> where - R: RangeBounds<usize> + Send

§

type BlockRange<R> = <D as AvailabilityDataSource<Types>>::BlockRange<R> + R: RangeBounds<usize> + Send

§

type BlockRange<R> = <D as AvailabilityDataSource<Types>>::BlockRange<R> where - R: RangeBounds<usize> + Send

§

type PayloadRange<R> = <D as AvailabilityDataSource<Types>>::PayloadRange<R> + R: RangeBounds<usize> + Send

§

type PayloadRange<R> = <D as AvailabilityDataSource<Types>>::PayloadRange<R> where - R: RangeBounds<usize> + Send

§

type VidCommonRange<R> = <D as AvailabilityDataSource<Types>>::VidCommonRange<R> + R: RangeBounds<usize> + Send

§

type VidCommonRange<R> = <D as AvailabilityDataSource<Types>>::VidCommonRange<R> where - 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 = Fetch<LeafQueryData<Types>>> + Send + 'async_trait>>
where - ID: Into<LeafId<Types>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Fetch<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 self, id: ID, -) -> Pin<Box<dyn Future<Output = Fetch<BlockQueryData<Types>>> + Send + 'async_trait>>
where - ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Fetch<BlockQueryData<Types>>> + Send + 'async_trait>>
where + ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_payload<'life0, 'async_trait, ID>( &'life0 self, id: ID, -) -> Pin<Box<dyn Future<Output = Fetch<PayloadQueryData<Types>>> + Send + 'async_trait>>
where - ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Fetch<PayloadQueryData<Types>>> + Send + 'async_trait>>
where + ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_vid_common<'life0, 'async_trait, ID>( &'life0 self, id: ID, -) -> Pin<Box<dyn Future<Output = Fetch<VidCommonQueryData<Types>>> + Send + 'async_trait>>
where - ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Fetch<VidCommonQueryData<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 self, range: R, -) -> Pin<Box<dyn Future<Output = Self::LeafRange<R>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = Self::LeafRange<R>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_block_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = Self::BlockRange<R>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = Self::BlockRange<R>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_payload_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = Self::PayloadRange<R>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = Self::PayloadRange<R>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_vid_common_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = Self::VidCommonRange<R>> + Send + 'async_trait>>
where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = Self::VidCommonRange<R>> + Send + 'async_trait>>
where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_transaction<'life0, 'async_trait>( &'life0 self, hash: TransactionHash<Types>, -) -> Pin<Box<dyn Future<Output = Fetch<TransactionQueryData<Types>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Fetch<TransactionQueryData<Types>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Returns the transaction with the given hash.
source§

fn subscribe_blocks<'life0, 'async_trait>( &'life0 self, - from: usize, -) -> Pin<Box<dyn Future<Output = BoxStream<'static, BlockQueryData<Types>>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, + from: usize, +) -> Pin<Box<dyn Future<Output = BoxStream<'static, BlockQueryData<Types>>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source§

fn subscribe_payloads<'life0, 'async_trait>( &'life0 self, - from: usize, -) -> Pin<Box<dyn Future<Output = BoxStream<'static, PayloadQueryData<Types>>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, + from: usize, +) -> Pin<Box<dyn Future<Output = BoxStream<'static, PayloadQueryData<Types>>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source§

fn subscribe_leaves<'life0, 'async_trait>( &'life0 self, - from: usize, -) -> Pin<Box<dyn Future<Output = BoxStream<'static, LeafQueryData<Types>>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, + from: usize, +) -> Pin<Box<dyn Future<Output = BoxStream<'static, LeafQueryData<Types>>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source§

fn subscribe_vid_common<'life0, 'async_trait>( &'life0 self, - from: usize, -) -> Pin<Box<dyn Future<Output = BoxStream<'static, VidCommonQueryData<Types>>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, - 'life0: 'async_trait,

source§

impl<D: Clone, U: Clone> Clone for ExtensibleDataSource<D, U>

source§

fn clone(&self) -> ExtensibleDataSource<D, U>

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<D, U> DataSourceLifeCycle for ExtensibleDataSource<D, U>
where + from: usize, +) -> Pin<Box<dyn Future<Output = BoxStream<'static, VidCommonQueryData<Types>>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, + 'life0: 'async_trait,

source§

impl<D: Clone, U: Clone> Clone for ExtensibleDataSource<D, U>

source§

fn clone(&self) -> ExtensibleDataSource<D, U>

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<D, U> DataSourceLifeCycle for ExtensibleDataSource<D, U>
where D: TestableDataSource, - U: Default + Send + Sync + 'static,

§

type Storage = <D as DataSourceLifeCycle>::Storage

Backing storage for the data source. Read more
source§

fn create<'async_trait>( - node_id: usize, -) -> Pin<Box<dyn Future<Output = Self::Storage> + Send + 'async_trait>>
where + U: Default + Send + Sync + 'static,

§

type Storage = <D as DataSourceLifeCycle>::Storage

Backing storage for the data source. Read more
source§

fn create<'async_trait>( + node_id: usize, +) -> Pin<Box<dyn Future<Output = Self::Storage> + Send + 'async_trait>>
where Self: 'async_trait,

source§

fn connect<'life0, 'async_trait>( storage: &'life0 Self::Storage, -) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn reset<'life0, 'async_trait>( storage: &'life0 Self::Storage, -) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn handle_event<'life0, 'life1, 'async_trait>( &'life0 mut self, event: &'life1 Event<MockTypes>, -) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source§

fn setup<'life0, 'async_trait>( _network: &'life0 mut MockNetwork<Self>, -) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, - 'life0: 'async_trait,

Setup runs after setting up the network but before starting a test.
source§

impl<D: Debug, U: Debug> Debug for ExtensibleDataSource<D, U>

source§

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

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

impl<D, U, Types> ExplorerStorage<Types> for ExtensibleDataSource<D, U>
where - D: ExplorerStorage<Types> + Send + Sync, - U: Send + Sync, + 'life0: 'async_trait,

Setup runs after setting up the network but before starting a test.
source§

impl<D: Debug, U: Debug> Debug for ExtensibleDataSource<D, U>

source§

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

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

impl<D, U, Types> ExplorerStorage<Types> for ExtensibleDataSource<D, U>
where + D: ExplorerStorage<Types> + Send + Sync, + U: Send + Sync, Types: NodeType, Payload<Types>: QueryablePayload<Types>, Header<Types>: ExplorerHeader<Types> + QueryableHeader<Types>, Transaction<Types>: ExplorerTransaction,

source§

fn get_block_detail<'life0, 'async_trait>( &'life0 self, request: BlockIdentifier<Types>, -) -> Pin<Box<dyn Future<Output = Result<BlockDetail<Types>, GetBlockDetailError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<BlockDetail<Types>, GetBlockDetailError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_block_detail is a method that retrieves the details of a specific block from the blockchain. The block is identified by the given [BlockIdentifier].
source§

fn get_block_summaries<'life0, 'async_trait>( &'life0 self, request: GetBlockSummariesRequest<Types>, -) -> Pin<Box<dyn Future<Output = Result<Vec<BlockSummary<Types>>, GetBlockSummariesError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<Vec<BlockSummary<Types>>, GetBlockSummariesError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_block_summaries is a method that retrieves a list of block summaries from the blockchain. The list is generated from the given [GetBlockSummariesRequest].
source§

fn get_transaction_detail<'life0, 'async_trait>( &'life0 self, request: TransactionIdentifier<Types>, -) -> Pin<Box<dyn Future<Output = Result<TransactionDetailResponse<Types>, GetTransactionDetailError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<TransactionDetailResponse<Types>, GetTransactionDetailError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_transaction_detail is a method that retrieves the details of a specific transaction from the blockchain. The transaction is identified by the given [TransactionIdentifier].
source§

fn get_transaction_summaries<'life0, 'async_trait>( &'life0 self, request: GetTransactionSummariesRequest<Types>, -) -> Pin<Box<dyn Future<Output = Result<Vec<TransactionSummary<Types>>, GetTransactionSummariesError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<Vec<TransactionSummary<Types>>, GetTransactionSummariesError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_transaction_summaries is a method that retrieves a list of transaction summaries from the blockchain. The list is generated from the given [GetTransactionSummariesRequest].
source§

fn get_explorer_summary<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = Result<ExplorerSummary<Types>, GetExplorerSummaryError>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<ExplorerSummary<Types>, GetExplorerSummaryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_explorer_summary is a method that retrieves a summary overview of the blockchain. This is useful for displaying information that indicates the overall status of the block chain.
source§

fn get_search_results<'life0, 'async_trait>( &'life0 self, - query: String, -) -> Pin<Box<dyn Future<Output = Result<SearchResult<Types>, GetSearchResultsError>> + Send + 'async_trait>>
where + query: String, +) -> Pin<Box<dyn Future<Output = Result<SearchResult<Types>, GetSearchResultsError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

get_search_results is a method that retrieves the results of a search query against the blockchain. The results are generated from the given -query string.
source§

impl<D, U, Types, State, const ARITY: usize> MerklizedStateDataSource<Types, State, ARITY> for ExtensibleDataSource<D, U>
where - D: MerklizedStateDataSource<Types, State, ARITY> + Send + Sync, - U: Send + Sync, +query string.

source§

impl<D, U, Types, State, const ARITY: usize> MerklizedStateDataSource<Types, State, ARITY> for ExtensibleDataSource<D, U>
where + D: MerklizedStateDataSource<Types, State, ARITY> + Send + Sync, + U: Send + Sync, Types: NodeType, State: MerklizedState<Types, ARITY>,

source§

fn get_path<'life0, 'async_trait>( &'life0 self, snapshot: Snapshot<Types, State, ARITY>, key: State::Key, -) -> Pin<Box<dyn Future<Output = QueryResult<MerkleProof<State::Entry, State::Key, State::T, ARITY>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<MerkleProof<State::Entry, State::Key, State::T, ARITY>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

impl<D, U> MerklizedStateHeightPersistence for ExtensibleDataSource<D, U>

source§

fn set_last_state_height<'life0, 'async_trait>( &'life0 mut self, - height: usize, -) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
where + height: usize, +) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_last_state_height<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

impl<D, U, Types> NodeDataSource<Types> for ExtensibleDataSource<D, U>
where - D: NodeDataSource<Types> + Send + Sync, - U: Send + Sync, - Types: NodeType,

source§

fn block_height<'life0, 'async_trait>( + D: NodeDataSource<Types> + Send + Sync, + U: Send + Sync, + Types: NodeType,

source§

fn block_height<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn count_transactions<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn payload_size<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn vid_share<'life0, 'async_trait, ID>( &'life0 self, id: ID, -) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
where - ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
where + ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source§

fn sync_status<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Search the database for missing objects and generate a report. Read more
source§

fn get_header_window<'life0, 'async_trait>( &'life0 self, - start: impl 'async_trait + Into<WindowStart<Types>> + Send + Sync, - end: u64, -) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<Types>>>> + Send + 'async_trait>>
where + start: impl 'async_trait + Into<WindowStart<Types>> + Send + Sync, + end: u64, +) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<Types>>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

impl<D, U> StatusDataSource for ExtensibleDataSource<D, U>
where - D: StatusDataSource + Send + Sync, - U: Send + Sync,

source§

fn block_height<'life0, 'async_trait>( + D: StatusDataSource + Send + Sync, + U: Send + Sync,

source§

fn block_height<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> 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 elapsed_time_since_last_decide<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<u64>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<u64>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source§

fn success_rate<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<f64>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<f64>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source§

impl<D, U, Types> UpdateAvailabilityData<Types> for ExtensibleDataSource<D, U>
where - D: UpdateAvailabilityData<Types> + Send + Sync, - U: Send + Sync, + D: UpdateAvailabilityData<Types> + Send + Sync, + U: Send + Sync, 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 +) -> 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 mut self, block: BlockQueryData<Types>, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn insert_vid<'life0, 'async_trait>( &'life0 mut self, common: VidCommonQueryData<Types>, - share: Option<VidShare>, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where + share: Option<VidShare>, +) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, - 'life0: 'async_trait,

source§

impl<D, U, Types, State, const ARITY: usize> UpdateStateData<Types, State, ARITY> for ExtensibleDataSource<D, U>
where - D: UpdateStateData<Types, State, ARITY> + Send + Sync, - U: Send + Sync, + 'life0: 'async_trait,

source§

impl<D, U, Types, State, const ARITY: usize> UpdateStateData<Types, State, ARITY> for ExtensibleDataSource<D, U>
where + D: UpdateStateData<Types, State, ARITY> + Send + Sync, + U: Send + Sync, State: MerklizedState<Types, ARITY>, Types: NodeType,

source§

fn insert_merkle_nodes<'life0, 'async_trait>( &'life0 mut self, path: MerkleProof<State::Entry, State::Key, State::T, ARITY>, - traversal_path: Vec<usize>, - block_number: u64, -) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
where + traversal_path: Vec<usize>, + block_number: u64, +) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
where 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>( + D: VersionedDataSource + Send, + 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 +) -> 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. Read more
source§

fn revert<'life0, 'async_trait>( &'life0 mut self, -) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where - Self: 'async_trait, - 'life0: 'async_trait,

Erase all oustanding modifications to the data. Read more
source§

impl<D: Copy, U: Copy> Copy for ExtensibleDataSource<D, U>

Auto Trait Implementations§

§

impl<D, U> Freeze for ExtensibleDataSource<D, U>
where - D: Freeze, - U: Freeze,

§

impl<D, U> RefUnwindSafe for ExtensibleDataSource<D, U>
where - D: RefUnwindSafe, - U: RefUnwindSafe,

§

impl<D, U> Send for ExtensibleDataSource<D, U>
where - D: Send, - U: Send,

§

impl<D, U> Sync for ExtensibleDataSource<D, U>
where - D: Sync, - U: Sync,

§

impl<D, U> Unpin for ExtensibleDataSource<D, U>
where - D: Unpin, - U: Unpin,

§

impl<D, U> UnwindSafe for ExtensibleDataSource<D, U>
where - D: UnwindSafe, - U: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where + Self: 'async_trait, + 'life0: 'async_trait,

Erase all oustanding modifications to the data. Read more
source§

impl<D: Copy, U: Copy> Copy for ExtensibleDataSource<D, U>

Auto Trait Implementations§

§

impl<D, U> Freeze for ExtensibleDataSource<D, U>
where + D: Freeze, + U: Freeze,

§

impl<D, U> RefUnwindSafe for ExtensibleDataSource<D, U>
where + D: RefUnwindSafe, + U: RefUnwindSafe,

§

impl<D, U> Send for ExtensibleDataSource<D, U>
where + D: Send, + U: Send,

§

impl<D, U> Sync for ExtensibleDataSource<D, U>
where + D: Sync, + U: Sync,

§

impl<D, U> Unpin for ExtensibleDataSource<D, U>
where + D: Unpin, + U: Unpin,

§

impl<D, U> UnwindSafe for ExtensibleDataSource<D, U>
where + D: UnwindSafe, + U: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + 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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -359,90 +359,90 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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 T
where - 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 T
where - 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.
source§

impl<Types, T> UpdateDataSource<Types> for T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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 T
where + 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 T
where + 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.
source§

impl<Types, T> UpdateDataSource<Types> for T
where Types: NodeType, - T: UpdateAvailabilityData<Types> + UpdateStatusData + Send, + T: UpdateAvailabilityData<Types> + UpdateStatusData + Send, <Types as NodeType>::BlockPayload: QueryablePayload<Types>, - <Types as NodeType>::InstanceState: Default,

source§

fn update<'life0, 'life1, 'async_trait>( + <Types as NodeType>::InstanceState: Default,

source§

fn update<'life0, 'life1, 'async_trait>( &'life0 mut self, event: &'life1 Event<Types>, -) -> Pin<Box<dyn Future<Output = Result<(), <T as UpdateAvailabilityData<Types>>::Error>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<(), <T as UpdateAvailabilityData<Types>>::Error>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, T: 'async_trait,

Update query state based on a new consensus event. Read more
source§

impl<T> UpdateStatusData for T
where - T: StatusDataSource,

source§

fn populate_metrics(&self) -> Box<dyn Metrics>

§

impl<V, T> VZip<V> for T
where + T: StatusDataSource,

source§

fn populate_metrics(&self) -> Box<dyn Metrics>

§

impl<V, T> VZip<V> for T
where 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 + 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> TestableDataSource for T

\ No newline at end of file diff --git a/hotshot_query_service/data_source/struct.MetricsDataSource.html b/hotshot_query_service/data_source/struct.MetricsDataSource.html index ebe2b8b1f..027143a16 100644 --- a/hotshot_query_service/data_source/struct.MetricsDataSource.html +++ b/hotshot_query_service/data_source/struct.MetricsDataSource.html @@ -1,4 +1,4 @@ -MetricsDataSource in hotshot_query_service::data_source - Rust
pub struct MetricsDataSource { /* private fields */ }
Expand description

A minimal data source for the status API provided in this crate, with no persistent storage.

+MetricsDataSource in hotshot_query_service::data_source - Rust
pub struct MetricsDataSource { /* private fields */ }
Expand description

A minimal data source for the status API provided in this crate, with no persistent storage.

MetricsDataSource uses the metrics provided by HotShot to implement StatusDataSource. It updates automatically whenever HotShot updates its metrics. All of the state for the metrics data source is kept in memory, so it does not require a persistent storage backend. This makes @@ -17,89 +17,89 @@ panic!(), // Other fields omitted ).await.map_err(Error::internal)?.0;

-

Trait Implementations§

source§

impl Clone for MetricsDataSource

source§

fn clone(&self) -> MetricsDataSource

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 DataSourceLifeCycle for MetricsDataSource

§

type Storage = PrometheusMetrics

Backing storage for the data source. Read more
source§

fn create<'async_trait>( - _node_id: usize, -) -> Pin<Box<dyn Future<Output = Self::Storage> + Send + 'async_trait>>
where +

Trait Implementations§

source§

impl Clone for MetricsDataSource

source§

fn clone(&self) -> MetricsDataSource

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 DataSourceLifeCycle for MetricsDataSource

§

type Storage = PrometheusMetrics

Backing storage for the data source. Read more
source§

fn create<'async_trait>( + _node_id: usize, +) -> Pin<Box<dyn Future<Output = Self::Storage> + Send + 'async_trait>>
where Self: 'async_trait,

source§

fn connect<'life0, 'async_trait>( storage: &'life0 Self::Storage, -) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn reset<'life0, 'async_trait>( storage: &'life0 Self::Storage, -) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn handle_event<'life0, 'life1, 'async_trait>( &'life0 mut self, _event: &'life1 Event<MockTypes>, -) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source§

fn setup<'life0, 'async_trait>( _network: &'life0 mut MockNetwork<Self>, -) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, - 'life0: 'async_trait,

Setup runs after setting up the network but before starting a test.
source§

impl Debug for MetricsDataSource

source§

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

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

impl Default for MetricsDataSource

source§

fn default() -> MetricsDataSource

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

impl StatusDataSource for MetricsDataSource

source§

fn block_height<'life0, 'async_trait>( + 'life0: 'async_trait,

Setup runs after setting up the network but before starting a test.
source§

impl Debug for MetricsDataSource

source§

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

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

impl Default for MetricsDataSource

source§

fn default() -> MetricsDataSource

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

impl StatusDataSource for MetricsDataSource

source§

fn block_height<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
where +) -> 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 elapsed_time_since_last_decide<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<u64>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<u64>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, 'life0: 'async_trait,

source§

fn success_rate<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<f64>> + Send + 'async_trait>>
where - Self: Sync + 'async_trait, - 'life0: 'async_trait,

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +) -> Pin<Box<dyn Future<Output = QueryResult<f64>> + Send + 'async_trait>>
where + Self: Sync + 'async_trait, + 'life0: 'async_trait,

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + 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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -107,79 +107,79 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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 T
where - 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 T
where - 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.
source§

impl<T> UpdateStatusData for T
where - T: StatusDataSource,

source§

fn populate_metrics(&self) -> Box<dyn Metrics>

§

impl<V, T> VZip<V> for T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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 T
where + 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 T
where + 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.
source§

impl<T> UpdateStatusData for T
where + T: StatusDataSource,

source§

fn populate_metrics(&self) -> Box<dyn Metrics>

§

impl<V, T> VZip<V> for T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/data_source/trait.UpdateDataSource.html b/hotshot_query_service/data_source/trait.UpdateDataSource.html index 075644845..914036725 100644 --- a/hotshot_query_service/data_source/trait.UpdateDataSource.html +++ b/hotshot_query_service/data_source/trait.UpdateDataSource.html @@ -1,9 +1,9 @@ -UpdateDataSource in hotshot_query_service::data_source - Rust
pub trait UpdateDataSource<Types: NodeType>: UpdateAvailabilityData<Types> + UpdateStatusData {
+UpdateDataSource in hotshot_query_service::data_source - Rust
pub trait UpdateDataSource<Types: NodeType>: UpdateAvailabilityData<Types> + UpdateStatusData {
     // Required method
     fn update<'life0, 'life1, 'async_trait>(
         &'life0 mut self,
         event: &'life1 Event<Types>,
-    ) -> Pin<Box<dyn Future<Output = Result<(), <Self as UpdateAvailabilityData<Types>>::Error>> + Send + 'async_trait>>
+    ) -> Pin<Box<dyn Future<Output = Result<(), <Self as UpdateAvailabilityData<Types>>::Error>> + Send + 'async_trait>>
        where Self: 'async_trait,
              'life0: 'async_trait,
              'life1: 'async_trait;
@@ -19,7 +19,7 @@
 

Required Methods§

source

fn update<'life0, 'life1, 'async_trait>( &'life0 mut self, event: &'life1 Event<Types>, -) -> Pin<Box<dyn Future<Output = Result<(), <Self as UpdateAvailabilityData<Types>>::Error>> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Result<(), <Self as UpdateAvailabilityData<Types>>::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Update query state based on a new consensus event.

@@ -32,6 +32,6 @@

If you want to update the data source with an untrusted event, for example one received from a peer over the network, you must authenticate it first.

Implementors§

source§

impl<Types: NodeType, T> UpdateDataSource<Types> for T
where - T: UpdateAvailabilityData<Types> + UpdateStatusData + Send, + T: UpdateAvailabilityData<Types> + UpdateStatusData + Send, Payload<Types>: QueryablePayload<Types>, - <Types as NodeType>::InstanceState: Default,

\ No newline at end of file + <Types as NodeType>::InstanceState: Default, \ No newline at end of file diff --git a/hotshot_query_service/data_source/trait.VersionedDataSource.html b/hotshot_query_service/data_source/trait.VersionedDataSource.html index 50cb14598..707404a35 100644 --- a/hotshot_query_service/data_source/trait.VersionedDataSource.html +++ b/hotshot_query_service/data_source/trait.VersionedDataSource.html @@ -1,15 +1,15 @@ -VersionedDataSource in hotshot_query_service::data_source - Rust
pub trait VersionedDataSource {
-    type Error: Error + Debug + Send + Sync + 'static;
+VersionedDataSource in hotshot_query_service::data_source - Rust
pub trait VersionedDataSource {
+    type Error: Error + Debug + Send + Sync + 'static;
 
     // Required methods
     fn commit<'life0, 'async_trait>(
         &'life0 mut self,
-    ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
+    ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
        where Self: 'async_trait,
              'life0: 'async_trait;
     fn revert<'life0, 'async_trait>(
         &'life0 mut self,
-    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
+    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
        where Self: 'async_trait,
              'life0: 'async_trait;
 }
Expand description

A data source with an atomic transaction-based synchronization interface.

@@ -23,24 +23,24 @@ underlying storage, and are saved if the process restarts. It also allows pending changes to be rolled back (revert) so that they are never written back to storage and are no longer reflected even through the data source object which was used to make the changes.

-

Required Associated Types§

source

type Error: Error + Debug + Send + Sync + 'static

Required Methods§

source

fn commit<'life0, 'async_trait>( +

Required Associated Types§

source

type Error: Error + Debug + Send + Sync + 'static

Required Methods§

source

fn commit<'life0, 'async_trait>( &'life0 mut self, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where +) -> 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>( &'life0 mut self, -) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Erase all oustanding modifications to the data.

This function must not return if it has failed to revert changes. Inability to revert changes to the database is considered a fatal error, and this function may panic.

-

Implementors§

Implementors§

\ No newline at end of file diff --git a/hotshot_query_service/data_source/type.FileSystemDataSource.html b/hotshot_query_service/data_source/type.FileSystemDataSource.html index ef6739226..334b72983 100644 --- a/hotshot_query_service/data_source/type.FileSystemDataSource.html +++ b/hotshot_query_service/data_source/type.FileSystemDataSource.html @@ -1,4 +1,4 @@ -FileSystemDataSource in hotshot_query_service::data_source - Rust
pub type FileSystemDataSource<Types, P> = FetchingDataSource<Types, FileSystemStorage<Types>, P>;
Expand description

A data source for the APIs provided in this crate, backed by the local file system.

+FileSystemDataSource in hotshot_query_service::data_source - Rust
pub type FileSystemDataSource<Types, P> = FetchingDataSource<Types, FileSystemStorage<Types>, P>;
Expand description

A data source for the APIs provided in this crate, backed by the local file system.

Synchronization and atomicity of persisted data structures are provided via [atomic_store]. The methods commit, revert, and skip_version of this @@ -90,10 +90,10 @@

§Composition

Aliased Type§

struct FileSystemDataSource<Types, P> { /* private fields */ }

Implementations§

source§

impl<Types: NodeType, P> FileSystemDataSource<Types, P>
where Payload<Types>: QueryablePayload<Types>, Header<Types>: QueryableHeader<Types>, - P: AvailabilityProvider<Types>,

source

pub async fn create(path: &Path, provider: P) -> Result<Self>

Create a new FileSystemDataSource with storage at path.

+ P: AvailabilityProvider<Types>,
source

pub async fn create(path: &Path, provider: P) -> Result<Self>

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.

-
source

pub async fn open(path: &Path, provider: P) -> Result<Self>

Open an existing FileSystemDataSource from storage at path.

+
source

pub async fn open(path: &Path, provider: P) -> Result<Self>

Open an existing FileSystemDataSource from storage at path.

If there is no data at path, a new store will be created.

The FileSystemDataSource will manage its own persistence synchronization.

source

pub async fn create_with_store( @@ -114,7 +114,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 skip_version(&mut self) -> Result<()>

Advance the version of the persistent store without committing changes to persistent state.

+
source

pub async fn skip_version(&mut self) -> Result<()>

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 @@ -123,25 +123,25 @@

§Composition this FileSystemDataSource must be advanced, either by commit or, if there are no outstanding changes, skip_version.

-

Trait Implementations§

source§

impl<P: AvailabilityProvider<MockTypes> + Default> DataSourceLifeCycle for FileSystemDataSource<MockTypes, P>

§

type Storage = TempDir

Backing storage for the data source. Read more
source§

fn create<'async_trait>( - node_id: usize, -) -> Pin<Box<dyn Future<Output = Self::Storage> + Send + 'async_trait>>
where +

Trait Implementations§

source§

impl<P: AvailabilityProvider<MockTypes> + Default> DataSourceLifeCycle for FileSystemDataSource<MockTypes, P>

§

type Storage = TempDir

Backing storage for the data source. Read more
source§

fn create<'async_trait>( + node_id: usize, +) -> Pin<Box<dyn Future<Output = Self::Storage> + Send + 'async_trait>>
where Self: 'async_trait,

source§

fn connect<'life0, 'async_trait>( storage: &'life0 Self::Storage, -) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn reset<'life0, 'async_trait>( storage: &'life0 Self::Storage, -) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn handle_event<'life0, 'life1, 'async_trait>( &'life0 mut self, event: &'life1 Event<MockTypes>, -) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source§

fn setup<'life0, 'async_trait>( _network: &'life0 mut MockNetwork<Self>, -) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where +) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Setup runs after setting up the network but before starting a test.
\ No newline at end of file diff --git a/hotshot_query_service/enum.Error.html b/hotshot_query_service/enum.Error.html index 41089bf7a..0b7f751d0 100644 --- a/hotshot_query_service/enum.Error.html +++ b/hotshot_query_service/enum.Error.html @@ -1,4 +1,4 @@ -Error in hotshot_query_service - Rust

Enum hotshot_query_service::Error

source ·
pub enum Error {
+Error in hotshot_query_service - Rust

Enum hotshot_query_service::Error

source ·
pub enum Error {
     Availability {
         source: Error,
     },
@@ -15,75 +15,75 @@
         source: Error,
     },
     Custom {
-        message: String,
+        message: String,
         status: StatusCode,
     },
-}

Variants§

§

Availability

Fields

§source: Error
§

Node

Fields

§source: Error
§

Status

Fields

§source: Error
§

MerklizedState

Fields

§source: Error
§

Explorer

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 Error
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 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>) -> Self
where - E: Display,

§

fn from_request_error(source: RequestError) -> Self

§

fn from_socket_error<E>(source: SocketError<E>) -> Self
where - 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 +}

Variants§

§

Availability

Fields

§source: Error
§

Node

Fields

§source: Error
§

Status

Fields

§source: Error
§

MerklizedState

Fields

§source: Error
§

Explorer

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 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>) -> Self
where + E: Display,

§

fn from_request_error(source: RequestError) -> Self

§

fn from_socket_error<E>(source: SocketError<E>) -> Self
where + E: Display,

§

fn into_tide_error(self) -> Error

§

fn from_server_error(source: Error) -> Self

source§

impl Error for Error
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 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 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 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 Freeze for Error

§

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 T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +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 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 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 Freeze for Error

§

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 T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

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

§

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

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

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

§

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

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

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

§

impl<T> Error for T
where - T: Error + 'static,

§

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

Gets this error as an std::error::Error.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

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

source§

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

§

impl<T> Error for T
where + T: Error + 'static,

§

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

Gets this error as an std::error::Error.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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<E> InstrumentError for E
where - TracedError<E>: From<E>,

§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ TracedError<E>: From<E>,
§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -91,84 +91,84 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

§

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

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

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

§

impl<T> NetworkMsg for T
where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

§

impl<T> TaskErr for T
where + 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 cefcf35e0..789c47056 100644 --- a/hotshot_query_service/enum.QueryError.html +++ b/hotshot_query_service/enum.QueryError.html @@ -1,81 +1,81 @@ -QueryError in hotshot_query_service - Rust

Enum hotshot_query_service::QueryError

source ·
pub enum QueryError {
+QueryError in hotshot_query_service - Rust

Enum hotshot_query_service::QueryError

source ·
pub enum QueryError {
     NotFound,
     Missing,
     Error {
-        message: String,
+        message: String,
     },
 }

Variants§

§

NotFound

The requested resource does not exist or is not known to this query service.

§

Missing

The requested resource exists but is not currently available.

In most cases a missing resource can be recovered from DA.

§

Error

There was an error while trying to fetch the requested resource.

-

Fields

§message: String

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 QueryError
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 ErrorCompat for QueryError

source§

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

Returns a Backtrace that may be printed.
§

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

Fields

§message: String

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 QueryError
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 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 From<QueryError> for Error

source§

fn from(original: QueryError) -> Error

Converts to this type from the input type.
source§

impl From<QueryError> for Error

source§

fn from(original: QueryError) -> Error

Converts to this type from the input type.
source§

impl From<QueryError> for GetBlockDetailError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl From<QueryError> for GetBlockSummariesError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl From<QueryError> for GetExplorerSummaryError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl From<QueryError> for GetSearchResultsError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl From<QueryError> for GetTransactionDetailError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl From<QueryError> for GetTransactionSummariesError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl From<TimestampConversionError> for QueryError

source§

fn from(value: TimestampConversionError) -> Self

Converts to this type from the input type.
source§

impl<__T0> IntoError<QueryError> for ErrorSnafu<__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 IntoError<QueryError> for MissingSnafu
where - 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 NotFoundSnafu
where - 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 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 T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +and continuing with recursive calls to Error::source. Read more

source§

impl From<QueryError> for Error

source§

fn from(original: QueryError) -> Error

Converts to this type from the input type.
source§

impl From<QueryError> for Error

source§

fn from(original: QueryError) -> Error

Converts to this type from the input type.
source§

impl From<QueryError> for GetBlockDetailError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl From<QueryError> for GetBlockSummariesError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl From<QueryError> for GetExplorerSummaryError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl From<QueryError> for GetSearchResultsError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl From<QueryError> for GetTransactionDetailError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl From<QueryError> for GetTransactionSummariesError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl From<TimestampConversionError> for QueryError

source§

fn from(value: TimestampConversionError) -> Self

Converts to this type from the input type.
source§

impl<__T0> IntoError<QueryError> for ErrorSnafu<__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 IntoError<QueryError> for MissingSnafu
where + 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 NotFoundSnafu
where + 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 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 T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

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

§

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

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

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

§

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

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

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

§

impl<T> Error for T
where - T: Error + 'static,

§

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

Gets this error as an std::error::Error.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

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

source§

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

§

impl<T> Error for T
where + T: Error + 'static,

§

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

Gets this error as an std::error::Error.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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<E> InstrumentError for E
where - TracedError<E>: From<E>,

§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ TracedError<E>: From<E>,
§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -83,84 +83,84 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

§

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

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

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

§

impl<T> NetworkMsg for T
where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

§

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

\ No newline at end of file diff --git a/hotshot_query_service/explorer/enum.BlockIdentifier.html b/hotshot_query_service/explorer/enum.BlockIdentifier.html index 978b08d8d..48ae2deea 100644 --- a/hotshot_query_service/explorer/enum.BlockIdentifier.html +++ b/hotshot_query_service/explorer/enum.BlockIdentifier.html @@ -1,6 +1,6 @@ -BlockIdentifier in hotshot_query_service::explorer - Rust
pub enum BlockIdentifier<Types: NodeType> {
+BlockIdentifier in hotshot_query_service::explorer - Rust
pub enum BlockIdentifier<Types: NodeType> {
     Latest,
-    Height(usize),
+    Height(usize),
     Hash(BlockHash<Types>),
 }
Expand description

BlockIdentifier is an enum that represents multiple ways of referring to a specific Block. These use cases are specific to a Block Explorer and @@ -8,64 +8,64 @@

Any identifier specified here is not guaranteed to be valid, and may not guarantee that a Block can actually be identified with the information provided.

-

Variants§

§

Latest

§

Height(usize)

§

Hash(BlockHash<Types>)

Trait Implementations§

source§

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

source§

fn clone(&self) -> BlockIdentifier<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 BlockIdentifier<Types>

source§

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

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

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

source§

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

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

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

source§

fn eq(&self, other: &BlockIdentifier<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: Eq + NodeType> Eq for BlockIdentifier<Types>

source§

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

Auto Trait Implementations§

§

impl<Types> Freeze for BlockIdentifier<Types>

§

impl<Types> RefUnwindSafe for BlockIdentifier<Types>

§

impl<Types> Send for BlockIdentifier<Types>

§

impl<Types> Sync for BlockIdentifier<Types>

§

impl<Types> Unpin for BlockIdentifier<Types>

§

impl<Types> UnwindSafe for BlockIdentifier<Types>

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

Variants§

§

Latest

§

Height(usize)

§

Hash(BlockHash<Types>)

Trait Implementations§

source§

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

source§

fn clone(&self) -> BlockIdentifier<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 BlockIdentifier<Types>

source§

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

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

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

source§

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

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

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

source§

fn eq(&self, other: &BlockIdentifier<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: Eq + NodeType> Eq for BlockIdentifier<Types>

source§

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

Auto Trait Implementations§

§

impl<Types> Freeze for BlockIdentifier<Types>

§

impl<Types> RefUnwindSafe for BlockIdentifier<Types>

§

impl<Types> Send for BlockIdentifier<Types>

§

impl<Types> Sync for BlockIdentifier<Types>

§

impl<Types> Unpin for BlockIdentifier<Types>

§

impl<Types> UnwindSafe for BlockIdentifier<Types>

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

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

§

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

§

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

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

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

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

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

§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

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

source§

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

§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -73,81 +73,81 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/explorer/enum.CurrencyCode.html b/hotshot_query_service/explorer/enum.CurrencyCode.html index f9470832e..33cf48ad3 100644 --- a/hotshot_query_service/explorer/enum.CurrencyCode.html +++ b/hotshot_query_service/explorer/enum.CurrencyCode.html @@ -1,4 +1,4 @@ -CurrencyCode in hotshot_query_service::explorer - Rust

Enum hotshot_query_service::explorer::CurrencyCode

source ·
pub enum CurrencyCode {
+CurrencyCode in hotshot_query_service::explorer - Rust

Enum hotshot_query_service::explorer::CurrencyCode

source ·
pub enum CurrencyCode {
 
Show 14 variants FiatCurrencyStart = 0, Jpy = 392, Gbp = 826, @@ -34,83 +34,83 @@ based currencies, so we just utilize an enumeration for these that is based on their ordering. This is not guaranteed to be stable, and code should not depend on their order.

-

Variants§

§

FiatCurrencyStart = 0

§

Jpy = 392

§

Gbp = 826

§

Usd = 840

§

Eur = 978

§

Xxx = 999

§

FiatCurrencyEnd = 1_000

§

CryptoStart = 1_001

§

Eth = 1002

§

Btc = 1003

§

CryptoEnd = 10_000

§

TokenStart = 10_001

§

Esp = 10002

§

TokenEnd = 99_999

Implementations§

source§

impl CurrencyCode

source

pub fn is_fiat(&self) -> bool

source

pub fn is_crypto(&self) -> bool

source

pub fn is_token(&self) -> bool

source

pub fn significant_digits(&self) -> usize

significant_digits represents the total number of significant digits +

Variants§

§

FiatCurrencyStart = 0

§

Jpy = 392

§

Gbp = 826

§

Usd = 840

§

Eur = 978

§

Xxx = 999

§

FiatCurrencyEnd = 1_000

§

CryptoStart = 1_001

§

Eth = 1002

§

Btc = 1003

§

CryptoEnd = 10_000

§

TokenStart = 10_001

§

Esp = 10002

§

TokenEnd = 99_999

Implementations§

source§

impl CurrencyCode

source

pub fn is_fiat(&self) -> bool

source

pub fn is_crypto(&self) -> bool

source

pub fn is_token(&self) -> bool

source

pub fn significant_digits(&self) -> usize

significant_digits represents the total number of significant digits that the currency in question utilizes.

This is used to determine the precision of the currency when formatting its representation as a string.

-

Trait Implementations§

source§

impl Clone for CurrencyCode

source§

fn clone(&self) -> CurrencyCode

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 CurrencyCode

source§

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

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

impl<'de> Deserialize<'de> for CurrencyCode

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 CurrencyCode

source§

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

fmt formats the currency code into a human readable string

-
source§

impl From<CurrencyCode> for String

source§

fn from(currency: CurrencyCode) -> String

from converts the CurrencyCode into a string representation utilizing +

Trait Implementations§

source§

impl Clone for CurrencyCode

source§

fn clone(&self) -> CurrencyCode

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 CurrencyCode

source§

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

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

impl<'de> Deserialize<'de> for CurrencyCode

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 CurrencyCode

source§

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

fmt formats the currency code into a human readable string

+
source§

impl From<CurrencyCode> for String

source§

fn from(currency: CurrencyCode) -> String

from converts the CurrencyCode into a string representation utilizing the fmt method for the CurrencyCode.

-
source§

impl From<CurrencyCode> for u16

source§

fn from(currency: CurrencyCode) -> u16

from converts the CurrencyCode into it’s mapped numeric +

source§

impl From<CurrencyCode> for u16

source§

fn from(currency: CurrencyCode) -> u16

from converts the CurrencyCode into it’s mapped numeric representation.

-
source§

impl Ord for CurrencyCode

source§

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

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

fn max(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for CurrencyCode

source§

fn eq(&self, other: &CurrencyCode) -> 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 PartialOrd for CurrencyCode

source§

fn partial_cmp(&self, other: &CurrencyCode) -> 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 CurrencyCode

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 TryFrom<&str> for CurrencyCode

§

type Error = InvalidCurrencyCodeError

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

fn try_from(value: &str) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Copy for CurrencyCode

source§

impl Eq for CurrencyCode

source§

impl StructuralPartialEq for CurrencyCode

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

source§

impl Ord for CurrencyCode

source§

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

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

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for CurrencyCode

source§

fn eq(&self, other: &CurrencyCode) -> 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 PartialOrd for CurrencyCode

source§

fn partial_cmp(&self, other: &CurrencyCode) -> 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 CurrencyCode

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 TryFrom<&str> for CurrencyCode

§

type Error = InvalidCurrencyCodeError

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

fn try_from(value: &str) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Copy for CurrencyCode

source§

impl Eq for CurrencyCode

source§

impl StructuralPartialEq for CurrencyCode

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

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

§

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

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Comparable<K> for Q
where - Q: Ord + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<T> Conv for T

§

fn conv<T>(self) -> T
where - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Comparable<K> for Q
where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<T> Conv for T

§

fn conv<T>(self) -> T
where + Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<I> IntoResettable<String> for I
where - I: Into<String>,

§

fn into_resettable(self) -> Resettable<String>

Convert to the intended resettable type
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<I> IntoResettable<String> for I
where + I: Into<String>,

§

fn into_resettable(self) -> Resettable<String>

Convert to the intended resettable type
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -118,83 +118,83 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/explorer/enum.Error.html b/hotshot_query_service/explorer/enum.Error.html index 9d55670bc..66b90b975 100644 --- a/hotshot_query_service/explorer/enum.Error.html +++ b/hotshot_query_service/explorer/enum.Error.html @@ -1,4 +1,4 @@ -Error in hotshot_query_service::explorer - Rust

Enum hotshot_query_service::explorer::Error

source ·
pub enum Error {
+Error in hotshot_query_service::explorer - Rust

Enum hotshot_query_service::explorer::Error

source ·
pub enum Error {
     GetBlockDetail(GetBlockDetailError),
     GetBlockSummaries(GetBlockSummariesError),
     GetTransactionDetail(GetTransactionDetailError),
@@ -7,66 +7,66 @@
     GetSearchResults(GetSearchResultsError),
 }
Expand description

Error is an enum that represents the various errors that can be returned from the Explorer API.

-

Variants§

§

GetBlockDetail(GetBlockDetailError)

§

GetBlockSummaries(GetBlockSummariesError)

§

GetTransactionDetail(GetTransactionDetailError)

§

GetTransactionSummaries(GetTransactionSummariesError)

§

GetExplorerSummary(GetExplorerSummaryError)

§

GetSearchResults(GetSearchResultsError)

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, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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 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 Freeze for Error

§

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 T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

Variants§

§

GetBlockDetail(GetBlockDetailError)

§

GetBlockSummaries(GetBlockSummariesError)

§

GetTransactionDetail(GetTransactionDetailError)

§

GetTransactionSummaries(GetTransactionSummariesError)

§

GetExplorerSummary(GetExplorerSummaryError)

§

GetSearchResults(GetSearchResultsError)

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, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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 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 Freeze for Error

§

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 T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> AsErrorSource for T
where - T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

impl<T> AsErrorSource for T
where - T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where + T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> Error for T
where - T: Error + 'static,

§

fn as_error(&self) -> &(dyn Error + 'static)

Gets this error as an std::error::Error.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> Error for T
where + T: Error + 'static,

§

fn as_error(&self) -> &(dyn Error + 'static)

Gets this error as an std::error::Error.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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<E> InstrumentError for E
where - TracedError<E>: From<E>,

§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ TracedError<E>: From<E>,
§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -74,84 +74,84 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

§

impl<T> TaskErr for T
where - T: Error + Sync + Send + 'static,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

§

impl<T> TaskErr for T
where + T: Error + Sync + Send + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/explorer/enum.GetBlockDetailError.html b/hotshot_query_service/explorer/enum.GetBlockDetailError.html index 898830744..ae224510e 100644 --- a/hotshot_query_service/explorer/enum.GetBlockDetailError.html +++ b/hotshot_query_service/explorer/enum.GetBlockDetailError.html @@ -1,69 +1,69 @@ -GetBlockDetailError in hotshot_query_service::explorer - Rust
pub enum GetBlockDetailError {
+GetBlockDetailError in hotshot_query_service::explorer - Rust
pub enum GetBlockDetailError {
     Unimplemented(Unimplemented),
     BlockNotFound(NotFound),
     QueryError(QueryError),
 }
Expand description

GetBlockDetailError represents an error that has occurred in response to the [GetBlockDetail] request.

-

Variants§

§

Unimplemented(Unimplemented)

§

BlockNotFound(NotFound)

§

QueryError(QueryError)

Implementations§

source§

impl GetBlockDetailError

source

pub fn status(&self) -> StatusCode

Trait Implementations§

source§

impl Clone for GetBlockDetailError

source§

fn clone(&self) -> GetBlockDetailError

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 GetBlockDetailError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GetBlockDetailError

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 GetBlockDetailError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for GetBlockDetailError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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 From<GetBlockDetailError> for GetExplorerSummaryError

source§

fn from(value: GetBlockDetailError) -> Self

Converts to this type from the input type.
source§

impl From<QueryError> for GetBlockDetailError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl Serialize for GetBlockDetailError

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 T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

Variants§

§

Unimplemented(Unimplemented)

§

BlockNotFound(NotFound)

§

QueryError(QueryError)

Implementations§

source§

impl GetBlockDetailError

source

pub fn status(&self) -> StatusCode

Trait Implementations§

source§

impl Clone for GetBlockDetailError

source§

fn clone(&self) -> GetBlockDetailError

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 GetBlockDetailError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GetBlockDetailError

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 GetBlockDetailError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for GetBlockDetailError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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 From<GetBlockDetailError> for GetExplorerSummaryError

source§

fn from(value: GetBlockDetailError) -> Self

Converts to this type from the input type.
source§

impl From<QueryError> for GetBlockDetailError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl Serialize for GetBlockDetailError

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 T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> AsErrorSource for T
where - T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

impl<T> AsErrorSource for T
where - T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where + T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> Error for T
where - T: Error + 'static,

§

fn as_error(&self) -> &(dyn Error + 'static)

Gets this error as an std::error::Error.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> Error for T
where + T: Error + 'static,

§

fn as_error(&self) -> &(dyn Error + 'static)

Gets this error as an std::error::Error.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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<E> InstrumentError for E
where - TracedError<E>: From<E>,

§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ TracedError<E>: From<E>,
§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -71,84 +71,84 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

§

impl<T> TaskErr for T
where - T: Error + Sync + Send + 'static,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

§

impl<T> TaskErr for T
where + T: Error + Sync + Send + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/explorer/enum.GetBlockSummariesError.html b/hotshot_query_service/explorer/enum.GetBlockSummariesError.html index 0cd47a734..23de0c198 100644 --- a/hotshot_query_service/explorer/enum.GetBlockSummariesError.html +++ b/hotshot_query_service/explorer/enum.GetBlockSummariesError.html @@ -1,70 +1,70 @@ -GetBlockSummariesError in hotshot_query_service::explorer - Rust
pub enum GetBlockSummariesError {
+GetBlockSummariesError in hotshot_query_service::explorer - Rust
pub enum GetBlockSummariesError {
     Unimplemented(Unimplemented),
     InvalidLimit(InvalidLimit),
     TargetNotFound(NotFound),
     QueryError(QueryError),
 }
Expand description

GetBlockSummariesError represents an error that has occurred in response to the [GetBlockSummaries] request.

-

Variants§

§

Unimplemented(Unimplemented)

§

InvalidLimit(InvalidLimit)

§

TargetNotFound(NotFound)

§

QueryError(QueryError)

Implementations§

source§

impl GetBlockSummariesError

source

pub fn status(&self) -> StatusCode

Trait Implementations§

source§

impl Clone for GetBlockSummariesError

source§

fn clone(&self) -> GetBlockSummariesError

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 GetBlockSummariesError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GetBlockSummariesError

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 GetBlockSummariesError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for GetBlockSummariesError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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 From<GetBlockSummariesError> for GetExplorerSummaryError

source§

fn from(value: GetBlockSummariesError) -> Self

Converts to this type from the input type.
source§

impl From<QueryError> for GetBlockSummariesError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl Serialize for GetBlockSummariesError

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 T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

Variants§

§

Unimplemented(Unimplemented)

§

InvalidLimit(InvalidLimit)

§

TargetNotFound(NotFound)

§

QueryError(QueryError)

Implementations§

source§

impl GetBlockSummariesError

source

pub fn status(&self) -> StatusCode

Trait Implementations§

source§

impl Clone for GetBlockSummariesError

source§

fn clone(&self) -> GetBlockSummariesError

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 GetBlockSummariesError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GetBlockSummariesError

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 GetBlockSummariesError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for GetBlockSummariesError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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 From<GetBlockSummariesError> for GetExplorerSummaryError

source§

fn from(value: GetBlockSummariesError) -> Self

Converts to this type from the input type.
source§

impl From<QueryError> for GetBlockSummariesError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl Serialize for GetBlockSummariesError

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 T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> AsErrorSource for T
where - T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

impl<T> AsErrorSource for T
where - T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where + T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> Error for T
where - T: Error + 'static,

§

fn as_error(&self) -> &(dyn Error + 'static)

Gets this error as an std::error::Error.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> Error for T
where + T: Error + 'static,

§

fn as_error(&self) -> &(dyn Error + 'static)

Gets this error as an std::error::Error.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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<E> InstrumentError for E
where - TracedError<E>: From<E>,

§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ TracedError<E>: From<E>,
§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -72,84 +72,84 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

§

impl<T> TaskErr for T
where - T: Error + Sync + Send + 'static,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

§

impl<T> TaskErr for T
where + T: Error + Sync + Send + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/explorer/enum.GetExplorerSummaryError.html b/hotshot_query_service/explorer/enum.GetExplorerSummaryError.html index 7ee4700f2..de3505e0c 100644 --- a/hotshot_query_service/explorer/enum.GetExplorerSummaryError.html +++ b/hotshot_query_service/explorer/enum.GetExplorerSummaryError.html @@ -1,4 +1,4 @@ -GetExplorerSummaryError in hotshot_query_service::explorer - Rust
pub enum GetExplorerSummaryError {
+GetExplorerSummaryError in hotshot_query_service::explorer - Rust
pub enum GetExplorerSummaryError {
     Unimplemented(Unimplemented),
     QueryError(QueryError),
     GetBlockDetailError(GetBlockDetailError),
@@ -6,66 +6,66 @@
     GetTransactionSummariesError(GetTransactionSummariesError),
 }
Expand description

GetExplorerSummaryError represents an error that has occurred in response to the [GetExplorerSummary] request.

-

Variants§

§

Unimplemented(Unimplemented)

§

QueryError(QueryError)

§

GetBlockDetailError(GetBlockDetailError)

§

GetBlockSummariesError(GetBlockSummariesError)

§

GetTransactionSummariesError(GetTransactionSummariesError)

Implementations§

source§

impl GetExplorerSummaryError

source

pub fn status(&self) -> StatusCode

Trait Implementations§

source§

impl Clone for GetExplorerSummaryError

source§

fn clone(&self) -> GetExplorerSummaryError

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 GetExplorerSummaryError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GetExplorerSummaryError

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 GetExplorerSummaryError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for GetExplorerSummaryError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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 From<GetBlockDetailError> for GetExplorerSummaryError

source§

fn from(value: GetBlockDetailError) -> Self

Converts to this type from the input type.
source§

impl From<GetBlockSummariesError> for GetExplorerSummaryError

source§

fn from(value: GetBlockSummariesError) -> Self

Converts to this type from the input type.
source§

impl From<GetTransactionSummariesError> for GetExplorerSummaryError

source§

fn from(value: GetTransactionSummariesError) -> Self

Converts to this type from the input type.
source§

impl From<QueryError> for GetExplorerSummaryError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl Serialize for GetExplorerSummaryError

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 T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

Variants§

§

Unimplemented(Unimplemented)

§

QueryError(QueryError)

§

GetBlockDetailError(GetBlockDetailError)

§

GetBlockSummariesError(GetBlockSummariesError)

§

GetTransactionSummariesError(GetTransactionSummariesError)

Implementations§

source§

impl GetExplorerSummaryError

source

pub fn status(&self) -> StatusCode

Trait Implementations§

source§

impl Clone for GetExplorerSummaryError

source§

fn clone(&self) -> GetExplorerSummaryError

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 GetExplorerSummaryError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GetExplorerSummaryError

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 GetExplorerSummaryError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for GetExplorerSummaryError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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 From<GetBlockDetailError> for GetExplorerSummaryError

source§

fn from(value: GetBlockDetailError) -> Self

Converts to this type from the input type.
source§

impl From<GetBlockSummariesError> for GetExplorerSummaryError

source§

fn from(value: GetBlockSummariesError) -> Self

Converts to this type from the input type.
source§

impl From<GetTransactionSummariesError> for GetExplorerSummaryError

source§

fn from(value: GetTransactionSummariesError) -> Self

Converts to this type from the input type.
source§

impl From<QueryError> for GetExplorerSummaryError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl Serialize for GetExplorerSummaryError

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 T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> AsErrorSource for T
where - T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

impl<T> AsErrorSource for T
where - T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where + T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> Error for T
where - T: Error + 'static,

§

fn as_error(&self) -> &(dyn Error + 'static)

Gets this error as an std::error::Error.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> Error for T
where + T: Error + 'static,

§

fn as_error(&self) -> &(dyn Error + 'static)

Gets this error as an std::error::Error.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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<E> InstrumentError for E
where - TracedError<E>: From<E>,

§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ TracedError<E>: From<E>,
§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -73,84 +73,84 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

§

impl<T> TaskErr for T
where - T: Error + Sync + Send + 'static,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

§

impl<T> TaskErr for T
where + T: Error + Sync + Send + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/explorer/enum.GetSearchResultsError.html b/hotshot_query_service/explorer/enum.GetSearchResultsError.html index bbea724e3..19db10038 100644 --- a/hotshot_query_service/explorer/enum.GetSearchResultsError.html +++ b/hotshot_query_service/explorer/enum.GetSearchResultsError.html @@ -1,69 +1,69 @@ -GetSearchResultsError in hotshot_query_service::explorer - Rust
pub enum GetSearchResultsError {
+GetSearchResultsError in hotshot_query_service::explorer - Rust
pub enum GetSearchResultsError {
     Unimplemented(Unimplemented),
     QueryError(QueryError),
     InvalidQuery(BadQuery),
 }
Expand description

GetSearchResultsError represents an error that has occurred in response to the [GetSearchResults] request.

-

Variants§

§

Unimplemented(Unimplemented)

§

QueryError(QueryError)

§

InvalidQuery(BadQuery)

Implementations§

source§

impl GetSearchResultsError

source

pub fn status(&self) -> StatusCode

Trait Implementations§

source§

impl Clone for GetSearchResultsError

source§

fn clone(&self) -> GetSearchResultsError

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 GetSearchResultsError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GetSearchResultsError

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 GetSearchResultsError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for GetSearchResultsError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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 From<QueryError> for GetSearchResultsError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl Serialize for GetSearchResultsError

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 T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

Variants§

§

Unimplemented(Unimplemented)

§

QueryError(QueryError)

§

InvalidQuery(BadQuery)

Implementations§

source§

impl GetSearchResultsError

source

pub fn status(&self) -> StatusCode

Trait Implementations§

source§

impl Clone for GetSearchResultsError

source§

fn clone(&self) -> GetSearchResultsError

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 GetSearchResultsError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GetSearchResultsError

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 GetSearchResultsError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for GetSearchResultsError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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 From<QueryError> for GetSearchResultsError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl Serialize for GetSearchResultsError

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 T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> AsErrorSource for T
where - T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

impl<T> AsErrorSource for T
where - T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where + T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> Error for T
where - T: Error + 'static,

§

fn as_error(&self) -> &(dyn Error + 'static)

Gets this error as an std::error::Error.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> Error for T
where + T: Error + 'static,

§

fn as_error(&self) -> &(dyn Error + 'static)

Gets this error as an std::error::Error.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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<E> InstrumentError for E
where - TracedError<E>: From<E>,

§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ TracedError<E>: From<E>,
§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -71,84 +71,84 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

§

impl<T> TaskErr for T
where - T: Error + Sync + Send + 'static,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

§

impl<T> TaskErr for T
where + T: Error + Sync + Send + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/explorer/enum.GetTransactionDetailError.html b/hotshot_query_service/explorer/enum.GetTransactionDetailError.html index 3ab9532b7..15aa735ca 100644 --- a/hotshot_query_service/explorer/enum.GetTransactionDetailError.html +++ b/hotshot_query_service/explorer/enum.GetTransactionDetailError.html @@ -1,69 +1,69 @@ -GetTransactionDetailError in hotshot_query_service::explorer - Rust
pub enum GetTransactionDetailError {
+GetTransactionDetailError in hotshot_query_service::explorer - Rust
pub enum GetTransactionDetailError {
     Unimplemented(Unimplemented),
     TransactionNotFound(NotFound),
     QueryError(QueryError),
 }
Expand description

GetTransactionDetailError represents an error that has occurred in response to the [GetTransactionDetail] request.

-

Variants§

§

Unimplemented(Unimplemented)

§

TransactionNotFound(NotFound)

§

QueryError(QueryError)

Implementations§

source§

impl GetTransactionDetailError

source

pub fn status(&self) -> StatusCode

Trait Implementations§

source§

impl Clone for GetTransactionDetailError

source§

fn clone(&self) -> GetTransactionDetailError

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 GetTransactionDetailError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GetTransactionDetailError

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 GetTransactionDetailError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for GetTransactionDetailError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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 From<QueryError> for GetTransactionDetailError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl From<TimestampConversionError> for GetTransactionDetailError

source§

fn from(value: TimestampConversionError) -> Self

Converts to this type from the input type.
source§

impl Serialize for GetTransactionDetailError

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 T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

Variants§

§

Unimplemented(Unimplemented)

§

TransactionNotFound(NotFound)

§

QueryError(QueryError)

Implementations§

source§

impl GetTransactionDetailError

source

pub fn status(&self) -> StatusCode

Trait Implementations§

source§

impl Clone for GetTransactionDetailError

source§

fn clone(&self) -> GetTransactionDetailError

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 GetTransactionDetailError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GetTransactionDetailError

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 GetTransactionDetailError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for GetTransactionDetailError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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 From<QueryError> for GetTransactionDetailError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl From<TimestampConversionError> for GetTransactionDetailError

source§

fn from(value: TimestampConversionError) -> Self

Converts to this type from the input type.
source§

impl Serialize for GetTransactionDetailError

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 T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> AsErrorSource for T
where - T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

impl<T> AsErrorSource for T
where - T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where + T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> Error for T
where - T: Error + 'static,

§

fn as_error(&self) -> &(dyn Error + 'static)

Gets this error as an std::error::Error.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> Error for T
where + T: Error + 'static,

§

fn as_error(&self) -> &(dyn Error + 'static)

Gets this error as an std::error::Error.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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<E> InstrumentError for E
where - TracedError<E>: From<E>,

§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ TracedError<E>: From<E>,
§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -71,84 +71,84 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

§

impl<T> TaskErr for T
where - T: Error + Sync + Send + 'static,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

§

impl<T> TaskErr for T
where + T: Error + Sync + Send + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/explorer/enum.GetTransactionSummariesError.html b/hotshot_query_service/explorer/enum.GetTransactionSummariesError.html index 77e54c01c..b3a95b102 100644 --- a/hotshot_query_service/explorer/enum.GetTransactionSummariesError.html +++ b/hotshot_query_service/explorer/enum.GetTransactionSummariesError.html @@ -1,70 +1,70 @@ -GetTransactionSummariesError in hotshot_query_service::explorer - Rust
pub enum GetTransactionSummariesError {
+GetTransactionSummariesError in hotshot_query_service::explorer - Rust
pub enum GetTransactionSummariesError {
     Unimplemented(Unimplemented),
     InvalidLimit(InvalidLimit),
     TargetNotFound(NotFound),
     QueryError(QueryError),
 }
Expand description

GetTransactionSummariesError represents an error that has occurred in response to the [GetTransactionSummaries] request.

-

Variants§

§

Unimplemented(Unimplemented)

§

InvalidLimit(InvalidLimit)

§

TargetNotFound(NotFound)

§

QueryError(QueryError)

Implementations§

source§

impl GetTransactionSummariesError

source

pub fn status(&self) -> StatusCode

Trait Implementations§

source§

impl Clone for GetTransactionSummariesError

source§

fn clone(&self) -> GetTransactionSummariesError

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 GetTransactionSummariesError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GetTransactionSummariesError

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 GetTransactionSummariesError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for GetTransactionSummariesError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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 From<GetTransactionSummariesError> for GetExplorerSummaryError

source§

fn from(value: GetTransactionSummariesError) -> Self

Converts to this type from the input type.
source§

impl From<QueryError> for GetTransactionSummariesError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl Serialize for GetTransactionSummariesError

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 T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

Variants§

§

Unimplemented(Unimplemented)

§

InvalidLimit(InvalidLimit)

§

TargetNotFound(NotFound)

§

QueryError(QueryError)

Implementations§

source§

impl GetTransactionSummariesError

source

pub fn status(&self) -> StatusCode

Trait Implementations§

source§

impl Clone for GetTransactionSummariesError

source§

fn clone(&self) -> GetTransactionSummariesError

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 GetTransactionSummariesError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GetTransactionSummariesError

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 GetTransactionSummariesError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for GetTransactionSummariesError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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 From<GetTransactionSummariesError> for GetExplorerSummaryError

source§

fn from(value: GetTransactionSummariesError) -> Self

Converts to this type from the input type.
source§

impl From<QueryError> for GetTransactionSummariesError

source§

fn from(value: QueryError) -> Self

Converts to this type from the input type.
source§

impl Serialize for GetTransactionSummariesError

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 T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> AsErrorSource for T
where - T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

impl<T> AsErrorSource for T
where - T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where + T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> Error for T
where - T: Error + 'static,

§

fn as_error(&self) -> &(dyn Error + 'static)

Gets this error as an std::error::Error.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> Error for T
where + T: Error + 'static,

§

fn as_error(&self) -> &(dyn Error + 'static)

Gets this error as an std::error::Error.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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<E> InstrumentError for E
where - TracedError<E>: From<E>,

§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ TracedError<E>: From<E>,
§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -72,84 +72,84 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

§

impl<T> TaskErr for T
where - T: Error + Sync + Send + 'static,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

§

impl<T> TaskErr for T
where + T: Error + Sync + Send + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/explorer/enum.TimestampConversionError.html b/hotshot_query_service/explorer/enum.TimestampConversionError.html index 94186d57f..3abfdaaf9 100644 --- a/hotshot_query_service/explorer/enum.TimestampConversionError.html +++ b/hotshot_query_service/explorer/enum.TimestampConversionError.html @@ -1,75 +1,75 @@ -TimestampConversionError in hotshot_query_service::explorer - Rust
pub enum TimestampConversionError {
+TimestampConversionError in hotshot_query_service::explorer - Rust
pub enum TimestampConversionError {
     TimeError(ComponentRange),
-    IntError(TryFromIntError),
+    IntError(TryFromIntError),
 }
Expand description

TimestampConversionError represents an error that has occurred when attempting to convert a timestamp from a specific format to another. It is primarily used when attempting to deserialize a Timestamp from its serialized string representation.

-

Variants§

§

TimeError(ComponentRange)

§

IntError(TryFromIntError)

Trait Implementations§

source§

impl Debug for TimestampConversionError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for TimestampConversionError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for TimestampConversionError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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 From<ComponentRange> for TimestampConversionError

source§

fn from(value: ComponentRange) -> Self

Converts to this type from the input type.
source§

impl From<TimestampConversionError> for GetTransactionDetailError

source§

fn from(value: TimestampConversionError) -> Self

Converts to this type from the input type.
source§

impl From<TimestampConversionError> for QueryError

source§

fn from(value: TimestampConversionError) -> Self

Converts to this type from the input type.
source§

impl From<TryFromIntError> for TimestampConversionError

source§

fn from(value: TryFromIntError) -> Self

Converts to this type from the input type.
source§

impl PartialEq for TimestampConversionError

source§

fn eq(&self, other: &TimestampConversionError) -> 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 Eq for TimestampConversionError

source§

impl StructuralPartialEq for TimestampConversionError

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

Variants§

§

TimeError(ComponentRange)

§

IntError(TryFromIntError)

Trait Implementations§

source§

impl Debug for TimestampConversionError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for TimestampConversionError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for TimestampConversionError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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 From<ComponentRange> for TimestampConversionError

source§

fn from(value: ComponentRange) -> Self

Converts to this type from the input type.
source§

impl From<TimestampConversionError> for GetTransactionDetailError

source§

fn from(value: TimestampConversionError) -> Self

Converts to this type from the input type.
source§

impl From<TimestampConversionError> for QueryError

source§

fn from(value: TimestampConversionError) -> Self

Converts to this type from the input type.
source§

impl From<TryFromIntError> for TimestampConversionError

source§

fn from(value: TryFromIntError) -> Self

Converts to this type from the input type.
source§

impl PartialEq for TimestampConversionError

source§

fn eq(&self, other: &TimestampConversionError) -> 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 Eq for TimestampConversionError

source§

impl StructuralPartialEq for TimestampConversionError

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> AsErrorSource for T
where - T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

impl<T> AsErrorSource for T
where - T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method + 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 receivers.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where + T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<T> Error for T
where - T: Error + 'static,

§

fn as_error(&self) -> &(dyn Error + 'static)

Gets this error as an std::error::Error.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<T> Error for T
where + T: Error + 'static,

§

fn as_error(&self) -> &(dyn Error + 'static)

Gets this error as an std::error::Error.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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<E> InstrumentError for E
where - TracedError<E>: From<E>,

§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ TracedError<E>: From<E>,
§

type Instrumented = TracedError<E>

The type of the wrapped error after instrumentation
source§

fn in_current_span(self) -> <E as InstrumentError>::Instrumented

Instrument an Error by bundling it with a SpanTrace Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -77,81 +77,81 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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
§

impl<T> TaskErr for T
where - T: Error + Sync + Send + 'static,

\ No newline at end of file + T: Error + Sync + Send + 'static, \ No newline at end of file diff --git a/hotshot_query_service/explorer/enum.TransactionIdentifier.html b/hotshot_query_service/explorer/enum.TransactionIdentifier.html index c79df4f0a..7daf2b954 100644 --- a/hotshot_query_service/explorer/enum.TransactionIdentifier.html +++ b/hotshot_query_service/explorer/enum.TransactionIdentifier.html @@ -1,6 +1,6 @@ -TransactionIdentifier in hotshot_query_service::explorer - Rust
pub enum TransactionIdentifier<Types: NodeType> {
+TransactionIdentifier in hotshot_query_service::explorer - Rust
pub enum TransactionIdentifier<Types: NodeType> {
     Latest,
-    HeightAndOffset(usize, usize),
+    HeightAndOffset(usize, usize),
     Hash(TransactionHash<Types>),
 }
Expand description

TransactionIdentifier is an enum that represents multiple ways of of identifying a specific Transaction. These use cases are specific to a @@ -12,64 +12,64 @@

A TransactionHash is not actually guaranteed to point to a unique transaction at the moment, however we will assume that it does for the purposes of this API.

-

Variants§

§

Latest

§

HeightAndOffset(usize, usize)

§

Hash(TransactionHash<Types>)

Trait Implementations§

source§

impl<Types: Clone + NodeType> Clone for TransactionIdentifier<Types>

source§

fn clone(&self) -> TransactionIdentifier<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 TransactionIdentifier<Types>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Types: NodeType> Display for TransactionIdentifier<Types>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Types: PartialEq + NodeType> PartialEq for TransactionIdentifier<Types>

source§

fn eq(&self, other: &TransactionIdentifier<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: Eq + NodeType> Eq for TransactionIdentifier<Types>

source§

impl<Types: NodeType> StructuralPartialEq for TransactionIdentifier<Types>

Auto Trait Implementations§

§

impl<Types> Freeze for TransactionIdentifier<Types>

§

impl<Types> RefUnwindSafe for TransactionIdentifier<Types>

§

impl<Types> Send for TransactionIdentifier<Types>

§

impl<Types> Sync for TransactionIdentifier<Types>

§

impl<Types> Unpin for TransactionIdentifier<Types>

§

impl<Types> UnwindSafe for TransactionIdentifier<Types>

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

Variants§

§

Latest

§

HeightAndOffset(usize, usize)

§

Hash(TransactionHash<Types>)

Trait Implementations§

source§

impl<Types: Clone + NodeType> Clone for TransactionIdentifier<Types>

source§

fn clone(&self) -> TransactionIdentifier<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 TransactionIdentifier<Types>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Types: NodeType> Display for TransactionIdentifier<Types>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Types: PartialEq + NodeType> PartialEq for TransactionIdentifier<Types>

source§

fn eq(&self, other: &TransactionIdentifier<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: Eq + NodeType> Eq for TransactionIdentifier<Types>

source§

impl<Types: NodeType> StructuralPartialEq for TransactionIdentifier<Types>

Auto Trait Implementations§

§

impl<Types> Freeze for TransactionIdentifier<Types>

§

impl<Types> RefUnwindSafe for TransactionIdentifier<Types>

§

impl<Types> Send for TransactionIdentifier<Types>

§

impl<Types> Sync for TransactionIdentifier<Types>

§

impl<Types> Unpin for TransactionIdentifier<Types>

§

impl<Types> UnwindSafe for TransactionIdentifier<Types>

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where + T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -77,81 +77,81 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/explorer/enum.TransactionSummaryFilter.html b/hotshot_query_service/explorer/enum.TransactionSummaryFilter.html index c24da9578..bd5724147 100644 --- a/hotshot_query_service/explorer/enum.TransactionSummaryFilter.html +++ b/hotshot_query_service/explorer/enum.TransactionSummaryFilter.html @@ -1,60 +1,60 @@ -TransactionSummaryFilter in hotshot_query_service::explorer - Rust
pub enum TransactionSummaryFilter {
+TransactionSummaryFilter in hotshot_query_service::explorer - Rust
pub enum TransactionSummaryFilter {
     None,
-    RollUp(usize),
-    Block(usize),
+    RollUp(usize),
+    Block(usize),
 }
Expand description

TransactionSummaryFilter represents the various filters that can be applied when retrieving a list of TransactionSummary entries.

-

Variants§

§

None

§

RollUp(usize)

§

Block(usize)

Trait Implementations§

source§

impl Debug for TransactionSummaryFilter

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TransactionSummaryFilter

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 Serialize for TransactionSummaryFilter

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 T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

Variants§

§

None

§

RollUp(usize)

§

Block(usize)

Trait Implementations§

source§

impl Debug for TransactionSummaryFilter

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TransactionSummaryFilter

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 Serialize for TransactionSummaryFilter

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 T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where + T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -62,78 +62,78 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
§

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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/hotshot_query_service/explorer/fn.define_api.html b/hotshot_query_service/explorer/fn.define_api.html index de063cdef..ba4825865 100644 --- a/hotshot_query_service/explorer/fn.define_api.html +++ b/hotshot_query_service/explorer/fn.define_api.html @@ -1,11 +1,11 @@ -define_api in hotshot_query_service::explorer - Rust

Function hotshot_query_service::explorer::define_api

source ·
pub fn define_api<State, Types: NodeType, Ver: StaticVersionType + 'static>(
+define_api in hotshot_query_service::explorer - Rust

Function hotshot_query_service::explorer::define_api

source ·
pub fn define_api<State, Types: NodeType, Ver: StaticVersionType + 'static>(
     _: Ver,
-) -> Result<Api<State, Error, Ver>, ApiError>
where - State: 'static + Send + Sync + ReadState, +) -> Result<Api<State, Error, Ver>, ApiError>
where + State: 'static + Send + Sync + ReadState, Header<Types>: ExplorerHeader<Types> + QueryableHeader<Types>, Transaction<Types>: ExplorerTransaction, Payload<Types>: QueryablePayload<Types>, - <State as ReadState>::State: Send + Sync + ExplorerStorage<Types>,
Expand description

define_api is a function that defines the API endpoints for the Explorer + <State as ReadState>::State: Send + Sync + ExplorerStorage<Types>,

Expand description

define_api is a function that defines the API endpoints for the Explorer module of the HotShot Query Service. It implements the specification defined in the explorer.toml file.

\ No newline at end of file diff --git a/hotshot_query_service/explorer/index.html b/hotshot_query_service/explorer/index.html index 4c33e907e..03fbf7d36 100644 --- a/hotshot_query_service/explorer/index.html +++ b/hotshot_query_service/explorer/index.html @@ -1,4 +1,4 @@ -hotshot_query_service::explorer - Rust

Module hotshot_query_service::explorer

source ·

Structs§

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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -101,78 +101,78 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
§

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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.BlockDetailResponse.html b/hotshot_query_service/explorer/struct.BlockDetailResponse.html index 50e4e6d78..e8dbb9e46 100644 --- a/hotshot_query_service/explorer/struct.BlockDetailResponse.html +++ b/hotshot_query_service/explorer/struct.BlockDetailResponse.html @@ -1,77 +1,77 @@ -BlockDetailResponse in hotshot_query_service::explorer - Rust
pub struct BlockDetailResponse<Types: NodeType>
where +BlockDetailResponse in hotshot_query_service::explorer - Rust
pub struct BlockDetailResponse<Types: NodeType>
where Header<Types>: ExplorerHeader<Types>,
{ pub block_detail: BlockDetail<Types>, }
Expand description

BlockDetailResponse is a struct that represents the response from the get_block_detail endpoint.

-

Fields§

§block_detail: BlockDetail<Types>

Trait Implementations§

source§

impl<Types: Debug + NodeType> Debug for BlockDetailResponse<Types>
where - Header<Types>: ExplorerHeader<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 BlockDetailResponse<Types>
where - Header<Types>: ExplorerHeader<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: NodeType> From<BlockDetail<Types>> for BlockDetailResponse<Types>
where - Header<Types>: ExplorerHeader<Types>,

source§

fn from(block_detail: BlockDetail<Types>) -> Self

Converts to this type from the input type.
source§

impl<Types: NodeType> Serialize for BlockDetailResponse<Types>
where - Header<Types>: ExplorerHeader<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

Auto Trait Implementations§

§

impl<Types> Freeze for BlockDetailResponse<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Freeze, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Freeze,

§

impl<Types> RefUnwindSafe for BlockDetailResponse<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: RefUnwindSafe,

§

impl<Types> Send for BlockDetailResponse<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> Sync for BlockDetailResponse<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> Unpin for BlockDetailResponse<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Unpin,

§

impl<Types> UnwindSafe for BlockDetailResponse<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

Fields§

§block_detail: BlockDetail<Types>

Trait Implementations§

source§

impl<Types: Debug + NodeType> Debug for BlockDetailResponse<Types>
where + Header<Types>: ExplorerHeader<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 BlockDetailResponse<Types>
where + Header<Types>: ExplorerHeader<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: NodeType> From<BlockDetail<Types>> for BlockDetailResponse<Types>
where + Header<Types>: ExplorerHeader<Types>,

source§

fn from(block_detail: BlockDetail<Types>) -> Self

Converts to this type from the input type.
source§

impl<Types: NodeType> Serialize for BlockDetailResponse<Types>
where + Header<Types>: ExplorerHeader<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

Auto Trait Implementations§

§

impl<Types> Freeze for BlockDetailResponse<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Freeze, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Freeze,

§

impl<Types> RefUnwindSafe for BlockDetailResponse<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: RefUnwindSafe,

§

impl<Types> Send for BlockDetailResponse<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> Sync for BlockDetailResponse<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> Unpin for BlockDetailResponse<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Unpin,

§

impl<Types> UnwindSafe for BlockDetailResponse<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where + T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -79,78 +79,78 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
§

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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.BlockRange.html b/hotshot_query_service/explorer/struct.BlockRange.html index 855d4ff03..a655cc6dd 100644 --- a/hotshot_query_service/explorer/struct.BlockRange.html +++ b/hotshot_query_service/explorer/struct.BlockRange.html @@ -1,6 +1,6 @@ -BlockRange in hotshot_query_service::explorer - Rust

Struct hotshot_query_service::explorer::BlockRange

source ·
pub struct BlockRange<Types: NodeType> {
+BlockRange in hotshot_query_service::explorer - Rust

Struct hotshot_query_service::explorer::BlockRange

source ·
pub struct BlockRange<Types: NodeType> {
     pub target: BlockIdentifier<Types>,
-    pub num_blocks: NonZeroUsize,
+    pub num_blocks: NonZeroUsize,
 }
Expand description

BlockRange is a struct that represents a range for a specific set of blocks, starting at the given BlockIdentifier.

This range is expected to be descending starting and the target and @@ -9,64 +9,64 @@ same set of blocks when the parameters themselves are the same.

If the num_blocks is not possible, then this should be considered as referring to as many Blocks as are possible.

-

Fields§

§target: BlockIdentifier<Types>§num_blocks: NonZeroUsize

Trait Implementations§

source§

impl<Types: Clone + NodeType> Clone for BlockRange<Types>

source§

fn clone(&self) -> BlockRange<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 BlockRange<Types>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Types: PartialEq + NodeType> PartialEq for BlockRange<Types>

source§

fn eq(&self, other: &BlockRange<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: Eq + NodeType> Eq for BlockRange<Types>

source§

impl<Types: NodeType> StructuralPartialEq for BlockRange<Types>

Auto Trait Implementations§

§

impl<Types> Freeze for BlockRange<Types>

§

impl<Types> RefUnwindSafe for BlockRange<Types>

§

impl<Types> Send for BlockRange<Types>

§

impl<Types> Sync for BlockRange<Types>

§

impl<Types> Unpin for BlockRange<Types>

§

impl<Types> UnwindSafe for BlockRange<Types>

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

Fields§

§target: BlockIdentifier<Types>§num_blocks: NonZeroUsize

Trait Implementations§

source§

impl<Types: Clone + NodeType> Clone for BlockRange<Types>

source§

fn clone(&self) -> BlockRange<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 BlockRange<Types>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Types: PartialEq + NodeType> PartialEq for BlockRange<Types>

source§

fn eq(&self, other: &BlockRange<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: Eq + NodeType> Eq for BlockRange<Types>

source§

impl<Types: NodeType> StructuralPartialEq for BlockRange<Types>

Auto Trait Implementations§

§

impl<Types> Freeze for BlockRange<Types>

§

impl<Types> RefUnwindSafe for BlockRange<Types>

§

impl<Types> Send for BlockRange<Types>

§

impl<Types> Sync for BlockRange<Types>

§

impl<Types> Unpin for BlockRange<Types>

§

impl<Types> UnwindSafe for BlockRange<Types>

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where + T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -74,78 +74,78 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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 T
where + 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 T
where + 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 T
where 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 + 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
\ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.BlockSummary.html b/hotshot_query_service/explorer/struct.BlockSummary.html index 0a9d44852..cc1ec1904 100644 --- a/hotshot_query_service/explorer/struct.BlockSummary.html +++ b/hotshot_query_service/explorer/struct.BlockSummary.html @@ -1,92 +1,92 @@ -BlockSummary in hotshot_query_service::explorer - Rust

Struct hotshot_query_service::explorer::BlockSummary

source ·
pub struct BlockSummary<Types: NodeType>
where +BlockSummary in hotshot_query_service::explorer - Rust

Struct hotshot_query_service::explorer::BlockSummary

source ·
pub struct BlockSummary<Types: NodeType>
where Header<Types>: ExplorerHeader<Types>,
{ pub hash: BlockHash<Types>, - pub height: u64, + pub height: u64, pub proposer_id: ProposerId<Types>, - pub num_transactions: u64, - pub size: u64, + pub num_transactions: u64, + pub size: u64, pub time: Timestamp, }
Expand description

BlockSummary is a struct that represents a summary overview of a specific block. It does not have all of the details of a BlockDetail, but it is useful for displaying information in a list of Blocks.

-

Fields§

§hash: BlockHash<Types>§height: u64§proposer_id: ProposerId<Types>§num_transactions: u64§size: u64§time: Timestamp

Trait Implementations§

source§

impl<Types: Debug + NodeType> Debug for BlockSummary<Types>
where - Header<Types>: ExplorerHeader<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 BlockSummary<Types>
where - Header<Types>: ExplorerHeader<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 BlockSummary<Types>
where - Header<Types>: ExplorerHeader<Types>,

source§

fn eq(&self, other: &BlockSummary<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 BlockSummary<Types>
where - Header<Types>: ExplorerHeader<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: NodeType> TryFrom<BlockQueryData<Types>> for BlockSummary<Types>
where +

Fields§

§hash: BlockHash<Types>§height: u64§proposer_id: ProposerId<Types>§num_transactions: u64§size: u64§time: Timestamp

Trait Implementations§

source§

impl<Types: Debug + NodeType> Debug for BlockSummary<Types>
where + Header<Types>: ExplorerHeader<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 BlockSummary<Types>
where + Header<Types>: ExplorerHeader<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 BlockSummary<Types>
where + Header<Types>: ExplorerHeader<Types>,

source§

fn eq(&self, other: &BlockSummary<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 BlockSummary<Types>
where + Header<Types>: ExplorerHeader<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: NodeType> TryFrom<BlockQueryData<Types>> for BlockSummary<Types>
where BlockQueryData<Types>: HeightIndexed, Payload<Types>: QueryablePayload<Types>, - Header<Types>: QueryableHeader<Types> + ExplorerHeader<Types>,

§

type Error = TimestampConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: BlockQueryData<Types>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<Types: Eq + NodeType> Eq for BlockSummary<Types>
where - Header<Types>: ExplorerHeader<Types>,

source§

impl<Types: NodeType> StructuralPartialEq for BlockSummary<Types>
where - Header<Types>: ExplorerHeader<Types>,

Auto Trait Implementations§

§

impl<Types> Freeze for BlockSummary<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Freeze,

§

impl<Types> RefUnwindSafe for BlockSummary<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe,

§

impl<Types> Send for BlockSummary<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> Sync for BlockSummary<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> Unpin for BlockSummary<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin,

§

impl<Types> UnwindSafe for BlockSummary<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + Header<Types>: QueryableHeader<Types> + ExplorerHeader<Types>,

§

type Error = TimestampConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: BlockQueryData<Types>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<Types: Eq + NodeType> Eq for BlockSummary<Types>
where + Header<Types>: ExplorerHeader<Types>,

source§

impl<Types: NodeType> StructuralPartialEq for BlockSummary<Types>
where + Header<Types>: ExplorerHeader<Types>,

Auto Trait Implementations§

§

impl<Types> Freeze for BlockSummary<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Freeze,

§

impl<Types> RefUnwindSafe for BlockSummary<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe,

§

impl<Types> Send for BlockSummary<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> Sync for BlockSummary<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> Unpin for BlockSummary<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin,

§

impl<Types> UnwindSafe for BlockSummary<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where + T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -94,78 +94,78 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
§

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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.BlockSummaryResponse.html b/hotshot_query_service/explorer/struct.BlockSummaryResponse.html index 37d17c6a8..f0f7f2dfd 100644 --- a/hotshot_query_service/explorer/struct.BlockSummaryResponse.html +++ b/hotshot_query_service/explorer/struct.BlockSummaryResponse.html @@ -1,72 +1,72 @@ -BlockSummaryResponse in hotshot_query_service::explorer - Rust
pub struct BlockSummaryResponse<Types: NodeType>
where +BlockSummaryResponse in hotshot_query_service::explorer - Rust
pub struct BlockSummaryResponse<Types: NodeType>
where Header<Types>: ExplorerHeader<Types>,
{ - pub block_summaries: Vec<BlockSummary<Types>>, + pub block_summaries: Vec<BlockSummary<Types>>, }
Expand description

BlockSummaryResponse is a struct that represents the response from the get_block_summaries endpoint.

-

Fields§

§block_summaries: Vec<BlockSummary<Types>>

Trait Implementations§

source§

impl<Types: Debug + NodeType> Debug for BlockSummaryResponse<Types>
where - Header<Types>: ExplorerHeader<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 BlockSummaryResponse<Types>
where - Header<Types>: ExplorerHeader<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: NodeType> From<Vec<BlockSummary<Types>>> for BlockSummaryResponse<Types>
where - Header<Types>: ExplorerHeader<Types>,

source§

fn from(block_summaries: Vec<BlockSummary<Types>>) -> Self

Converts to this type from the input type.
source§

impl<Types: NodeType> Serialize for BlockSummaryResponse<Types>
where - Header<Types>: ExplorerHeader<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

Auto Trait Implementations§

§

impl<Types> Freeze for BlockSummaryResponse<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> RefUnwindSafe for BlockSummaryResponse<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe,

§

impl<Types> Send for BlockSummaryResponse<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> Sync for BlockSummaryResponse<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> Unpin for BlockSummaryResponse<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin,

§

impl<Types> UnwindSafe for BlockSummaryResponse<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

Fields§

§block_summaries: Vec<BlockSummary<Types>>

Trait Implementations§

source§

impl<Types: Debug + NodeType> Debug for BlockSummaryResponse<Types>
where + Header<Types>: ExplorerHeader<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 BlockSummaryResponse<Types>
where + Header<Types>: ExplorerHeader<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: NodeType> From<Vec<BlockSummary<Types>>> for BlockSummaryResponse<Types>
where + Header<Types>: ExplorerHeader<Types>,

source§

fn from(block_summaries: Vec<BlockSummary<Types>>) -> Self

Converts to this type from the input type.
source§

impl<Types: NodeType> Serialize for BlockSummaryResponse<Types>
where + Header<Types>: ExplorerHeader<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

Auto Trait Implementations§

§

impl<Types> Freeze for BlockSummaryResponse<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> RefUnwindSafe for BlockSummaryResponse<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe,

§

impl<Types> Send for BlockSummaryResponse<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> Sync for BlockSummaryResponse<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> Unpin for BlockSummaryResponse<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin,

§

impl<Types> UnwindSafe for BlockSummaryResponse<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where + T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -74,78 +74,78 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
§

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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.CurrencyMismatchError.html b/hotshot_query_service/explorer/struct.CurrencyMismatchError.html index 249e9d1a1..2287a9c03 100644 --- a/hotshot_query_service/explorer/struct.CurrencyMismatchError.html +++ b/hotshot_query_service/explorer/struct.CurrencyMismatchError.html @@ -1,4 +1,4 @@ -CurrencyMismatchError in hotshot_query_service::explorer - Rust
pub struct CurrencyMismatchError {
+CurrencyMismatchError in hotshot_query_service::explorer - Rust
pub struct CurrencyMismatchError {
     pub currency1: CurrencyCode,
     pub currency2: CurrencyCode,
 }
Expand description

CurrencyMismatchError is an error that occurs when two different currencies @@ -6,60 +6,60 @@ state.

For example, attempting to add two different currencies together: USD 1.00 + EUR 1.00

-

Fields§

§currency1: CurrencyCode§currency2: CurrencyCode

Trait Implementations§

source§

impl Clone for CurrencyMismatchError

source§

fn clone(&self) -> CurrencyMismatchError

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 CurrencyMismatchError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CurrencyMismatchError

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 CurrencyMismatchError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

fmt formats the error into a human readable string

-
source§

impl Serialize for CurrencyMismatchError

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where - S: Serializer,

serialize converts the error into a struct representation

-

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

Fields§

§currency1: CurrencyCode§currency2: CurrencyCode

Trait Implementations§

source§

impl Clone for CurrencyMismatchError

source§

fn clone(&self) -> CurrencyMismatchError

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 CurrencyMismatchError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CurrencyMismatchError

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 CurrencyMismatchError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

fmt formats the error into a human readable string

+
source§

impl Serialize for CurrencyMismatchError

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

serialize converts the error into a struct representation

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where + T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§

impl<T> DynClone for T
where + 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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -67,83 +67,83 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where - T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where - C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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 T
where - 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
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SectionExt for T
where + T: Display + Send + Sync + 'static,

source§

fn header<C>(self, header: C) -> IndentedSection<C, T>
where + C: Display + Send + Sync + 'static,

Add a header to a Section and indent the body Read more
§

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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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 T
where + 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
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> NetworkMsg for T
where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

\ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.ExplorerHistograms.html b/hotshot_query_service/explorer/struct.ExplorerHistograms.html index 1a8384734..b700959e7 100644 --- a/hotshot_query_service/explorer/struct.ExplorerHistograms.html +++ b/hotshot_query_service/explorer/struct.ExplorerHistograms.html @@ -1,8 +1,8 @@ -ExplorerHistograms in hotshot_query_service::explorer - Rust
pub struct ExplorerHistograms {
-    pub block_time: Vec<u64>,
-    pub block_size: Vec<u64>,
-    pub block_transactions: Vec<u64>,
-    pub block_heights: Vec<u64>,
+ExplorerHistograms in hotshot_query_service::explorer - Rust
pub struct ExplorerHistograms {
+    pub block_time: Vec<u64>,
+    pub block_size: Vec<u64>,
+    pub block_transactions: Vec<u64>,
+    pub block_heights: Vec<u64>,
 }
Expand description

ExplorerHistograms provides a series of data points that can be used to draw simple histograms for the Block Explorer. The data returned is meant to be an optimal packing of the values being returned.

@@ -11,57 +11,57 @@ same length. The labels of the graph points is the block_heights vector. The remaining data points are the block_time, block_size, and block_transactions for those block_heights.

-

Fields§

§block_time: Vec<u64>§block_size: Vec<u64>§block_transactions: Vec<u64>§block_heights: Vec<u64>

Trait Implementations§

source§

impl Debug for ExplorerHistograms

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ExplorerHistograms

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 Serialize for ExplorerHistograms

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 T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( +

Fields§

§block_time: Vec<u64>§block_size: Vec<u64>§block_transactions: Vec<u64>§block_heights: Vec<u64>

Trait Implementations§

source§

impl Debug for ExplorerHistograms

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ExplorerHistograms

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 Serialize for ExplorerHistograms

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 T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where + T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -69,78 +69,78 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
§

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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.ExplorerSummary.html b/hotshot_query_service/explorer/struct.ExplorerSummary.html index 3a4c85e1f..b65bc0f56 100644 --- a/hotshot_query_service/explorer/struct.ExplorerSummary.html +++ b/hotshot_query_service/explorer/struct.ExplorerSummary.html @@ -1,10 +1,10 @@ -ExplorerSummary in hotshot_query_service::explorer - Rust

Struct hotshot_query_service::explorer::ExplorerSummary

source ·
pub struct ExplorerSummary<Types: NodeType>
where +ExplorerSummary in hotshot_query_service::explorer - Rust

Struct hotshot_query_service::explorer::ExplorerSummary

source ·
pub struct ExplorerSummary<Types: NodeType>
where Header<Types>: ExplorerHeader<Types>, Transaction<Types>: ExplorerTransaction,
{ pub latest_block: BlockDetail<Types>, pub genesis_overview: GenesisOverview, - pub latest_blocks: Vec<BlockSummary<Types>>, - pub latest_transactions: Vec<TransactionSummary<Types>>, + pub latest_blocks: Vec<BlockSummary<Types>>, + pub latest_transactions: Vec<TransactionSummary<Types>>, pub histograms: ExplorerHistograms, }
Expand description

ExplorerSummary is a struct that represents an at-a-glance snapshot of the Block Chain. It contains some helpful information that can be used @@ -13,82 +13,82 @@ most recent transactions, some statistics concerning the total number of elements contained within the chain, and some histograms that can be used to draw graphs for the Block Explorer.

-

Fields§

§latest_block: BlockDetail<Types>§genesis_overview: GenesisOverview§latest_blocks: Vec<BlockSummary<Types>>§latest_transactions: Vec<TransactionSummary<Types>>§histograms: ExplorerHistograms

Trait Implementations§

source§

impl<Types: Debug + NodeType> Debug for ExplorerSummary<Types>
where +

Fields§

§latest_block: BlockDetail<Types>§genesis_overview: GenesisOverview§latest_blocks: Vec<BlockSummary<Types>>§latest_transactions: Vec<TransactionSummary<Types>>§histograms: ExplorerHistograms

Trait Implementations§

source§

impl<Types: Debug + NodeType> Debug for ExplorerSummary<Types>
where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

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 ExplorerSummary<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 ExplorerSummary<Types>
where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

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: NodeType> From<ExplorerSummary<Types>> for ExplorerSummaryResponse<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: NodeType> From<ExplorerSummary<Types>> for ExplorerSummaryResponse<Types>
where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

source§

fn from(explorer_summary: ExplorerSummary<Types>) -> Self

Converts to this type from the input type.
source§

impl<Types: NodeType> Serialize for ExplorerSummary<Types>

source§

fn from(explorer_summary: ExplorerSummary<Types>) -> Self

Converts to this type from the input type.
source§

impl<Types: NodeType> Serialize for ExplorerSummary<Types>
where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

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<Types> Freeze for ExplorerSummary<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Freeze, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Freeze,

§

impl<Types> RefUnwindSafe for ExplorerSummary<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: RefUnwindSafe, - <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,

§

impl<Types> Send for ExplorerSummary<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> Sync for ExplorerSummary<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> Unpin for ExplorerSummary<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Unpin, - <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,

§

impl<Types> UnwindSafe for ExplorerSummary<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: UnwindSafe, - <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + Transaction<Types>: ExplorerTransaction,

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<Types> Freeze for ExplorerSummary<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Freeze, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Freeze,

§

impl<Types> RefUnwindSafe for ExplorerSummary<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: RefUnwindSafe, + <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,

§

impl<Types> Send for ExplorerSummary<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> Sync for ExplorerSummary<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> Unpin for ExplorerSummary<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Unpin, + <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,

§

impl<Types> UnwindSafe for ExplorerSummary<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: UnwindSafe, + <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where + T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -96,78 +96,78 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
§

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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.ExplorerSummaryResponse.html b/hotshot_query_service/explorer/struct.ExplorerSummaryResponse.html index d38cdd89f..afdb9ea49 100644 --- a/hotshot_query_service/explorer/struct.ExplorerSummaryResponse.html +++ b/hotshot_query_service/explorer/struct.ExplorerSummaryResponse.html @@ -1,85 +1,85 @@ -ExplorerSummaryResponse in hotshot_query_service::explorer - Rust
pub struct ExplorerSummaryResponse<Types: NodeType>
where +ExplorerSummaryResponse in hotshot_query_service::explorer - Rust
pub struct ExplorerSummaryResponse<Types: NodeType>
where Header<Types>: ExplorerHeader<Types>, Transaction<Types>: ExplorerTransaction,
{ pub explorer_summary: ExplorerSummary<Types>, }
Expand description

ExplorerSummaryResponse is a struct that represents the response from the get_explorer_summary endpoint.

-

Fields§

§explorer_summary: ExplorerSummary<Types>

Trait Implementations§

source§

impl<Types: Debug + NodeType> Debug for ExplorerSummaryResponse<Types>
where +

Fields§

§explorer_summary: ExplorerSummary<Types>

Trait Implementations§

source§

impl<Types: Debug + NodeType> Debug for ExplorerSummaryResponse<Types>
where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

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 ExplorerSummaryResponse<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 ExplorerSummaryResponse<Types>
where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

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: NodeType> From<ExplorerSummary<Types>> for ExplorerSummaryResponse<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: NodeType> From<ExplorerSummary<Types>> for ExplorerSummaryResponse<Types>
where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

source§

fn from(explorer_summary: ExplorerSummary<Types>) -> Self

Converts to this type from the input type.
source§

impl<Types: NodeType> Serialize for ExplorerSummaryResponse<Types>

source§

fn from(explorer_summary: ExplorerSummary<Types>) -> Self

Converts to this type from the input type.
source§

impl<Types: NodeType> Serialize for ExplorerSummaryResponse<Types>
where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

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<Types> Freeze for ExplorerSummaryResponse<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Freeze, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Freeze,

§

impl<Types> RefUnwindSafe for ExplorerSummaryResponse<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: RefUnwindSafe, - <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,

§

impl<Types> Send for ExplorerSummaryResponse<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> Sync for ExplorerSummaryResponse<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> Unpin for ExplorerSummaryResponse<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Unpin, - <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,

§

impl<Types> UnwindSafe for ExplorerSummaryResponse<Types>
where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: UnwindSafe, - <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + Transaction<Types>: ExplorerTransaction,

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<Types> Freeze for ExplorerSummaryResponse<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Freeze, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Freeze,

§

impl<Types> RefUnwindSafe for ExplorerSummaryResponse<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: RefUnwindSafe, + <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,

§

impl<Types> Send for ExplorerSummaryResponse<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> Sync for ExplorerSummaryResponse<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized,

§

impl<Types> Unpin for ExplorerSummaryResponse<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Unpin, + <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,

§

impl<Types> UnwindSafe for ExplorerSummaryResponse<Types>
where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: UnwindSafe, + <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where + T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - 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) -> T
where - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + 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) -> T
where + Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

§

fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

§

fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
§

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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§

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 + 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 + 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 + 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 + 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 + 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.

+ &'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, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + 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.

-
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where +otherwise. Read more

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

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 @@ -87,78 +87,78 @@ 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>( +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>( +) -> 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 T
where - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where - 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) -> R
where - 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) -> R
where - 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) -> R
where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
where + T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where + 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) -> R
where + 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) -> R
where + 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) -> R
where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
where - 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) -> R
where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where + 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) -> R
where + 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) -> R
where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - 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)) -> Self
where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

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 T
where - 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 T
where - 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 T
where +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
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + 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)) -> Self
where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
§

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 T
where + 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 T
where + 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 T
where 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 + 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> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.FeeAttribution.html b/hotshot_query_service/explorer/struct.FeeAttribution.html index ca6d2f318..c9852dcaa 100644 --- a/hotshot_query_service/explorer/struct.FeeAttribution.html +++ b/hotshot_query_service/explorer/struct.FeeAttribution.html @@ -1,6 +1,6 @@ -FeeAttribution in hotshot_query_service::explorer - Rust

Struct hotshot_query_service::explorer::FeeAttribution

source ·
pub struct FeeAttribution {
-    pub target: String,
-    pub fees: Vec<MonetaryValue>,
+FeeAttribution in hotshot_query_service::explorer - Rust

Struct hotshot_query_service::explorer::FeeAttribution

source ·
pub struct FeeAttribution {
+    pub target: String,
+    pub fees: Vec<MonetaryValue>,
 }
Expand description

FeeAttribution represents a specific attribution of fees for a specific purpose.

The current documentation lists attribution as potentially being @@ -10,65 +10,65 @@

  • DA Layer
  • Ethereum Mainnet
  • -

    Fields§

    §target: String§fees: Vec<MonetaryValue>

    Trait Implementations§

    source§

    impl Debug for FeeAttribution

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for FeeAttribution

    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 PartialEq for FeeAttribution

    source§

    fn eq(&self, other: &FeeAttribution) -> 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 Serialize for FeeAttribution

    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 FeeAttribution

    source§

    impl StructuralPartialEq for FeeAttribution

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +

    Fields§

    §target: String§fees: Vec<MonetaryValue>

    Trait Implementations§

    source§

    impl Debug for FeeAttribution

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for FeeAttribution

    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 PartialEq for FeeAttribution

    source§

    fn eq(&self, other: &FeeAttribution) -> 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 Serialize for FeeAttribution

    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 FeeAttribution

    source§

    impl StructuralPartialEq for FeeAttribution

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -76,78 +76,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
    §

    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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
    §

    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 T
    where + 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 T
    where + 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 T
    where 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 + 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> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    \ No newline at end of file +[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.GenesisOverview.html b/hotshot_query_service/explorer/struct.GenesisOverview.html index c77947e36..eb073dd3c 100644 --- a/hotshot_query_service/explorer/struct.GenesisOverview.html +++ b/hotshot_query_service/explorer/struct.GenesisOverview.html @@ -1,61 +1,61 @@ -GenesisOverview in hotshot_query_service::explorer - Rust

    Struct hotshot_query_service::explorer::GenesisOverview

    source ·
    pub struct GenesisOverview {
    -    pub rollups: u64,
    -    pub transactions: u64,
    -    pub blocks: u64,
    +GenesisOverview in hotshot_query_service::explorer - Rust

    Struct hotshot_query_service::explorer::GenesisOverview

    source ·
    pub struct GenesisOverview {
    +    pub rollups: u64,
    +    pub transactions: u64,
    +    pub blocks: u64,
     }
    Expand description

    GenesisOverview provides a summary overview of the block chain since it’s genesis. At a high level it includes the total number of unique rollups, transactions, and blocks that are in the block chain.

    -

    Fields§

    §rollups: u64§transactions: u64§blocks: u64

    Trait Implementations§

    source§

    impl Debug for GenesisOverview

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for GenesisOverview

    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 Serialize for GenesisOverview

    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 T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +

    Fields§

    §rollups: u64§transactions: u64§blocks: u64

    Trait Implementations§

    source§

    impl Debug for GenesisOverview

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for GenesisOverview

    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 Serialize for GenesisOverview

    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 T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -63,78 +63,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
    §

    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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
    §

    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 T
    where + 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 T
    where + 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 T
    where 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 + 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> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    \ No newline at end of file +[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.GetBlockSummariesRequest.html b/hotshot_query_service/explorer/struct.GetBlockSummariesRequest.html index 462a48583..5b479ed79 100644 --- a/hotshot_query_service/explorer/struct.GetBlockSummariesRequest.html +++ b/hotshot_query_service/explorer/struct.GetBlockSummariesRequest.html @@ -1,63 +1,63 @@ -GetBlockSummariesRequest in hotshot_query_service::explorer - Rust
    pub struct GetBlockSummariesRequest<Types: NodeType>(pub BlockRange<Types>);
    Expand description

    GetBlockSummariesRequest is a struct that represents an incoming request +GetBlockSummariesRequest in hotshot_query_service::explorer - Rust

    pub struct GetBlockSummariesRequest<Types: NodeType>(pub BlockRange<Types>);
    Expand description

    GetBlockSummariesRequest is a struct that represents an incoming request for Block Summaries. This isn’t sent on the line, but an endpoint will be mapped to this struct in order for the request to be processed.

    -

    Tuple Fields§

    §0: BlockRange<Types>

    Trait Implementations§

    source§

    impl<Types: Debug + NodeType> Debug for GetBlockSummariesRequest<Types>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Types: PartialEq + NodeType> PartialEq for GetBlockSummariesRequest<Types>

    source§

    fn eq(&self, other: &GetBlockSummariesRequest<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: Eq + NodeType> Eq for GetBlockSummariesRequest<Types>

    source§

    impl<Types: NodeType> StructuralPartialEq for GetBlockSummariesRequest<Types>

    Auto Trait Implementations§

    §

    impl<Types> Freeze for GetBlockSummariesRequest<Types>

    §

    impl<Types> RefUnwindSafe for GetBlockSummariesRequest<Types>

    §

    impl<Types> Send for GetBlockSummariesRequest<Types>

    §

    impl<Types> Sync for GetBlockSummariesRequest<Types>

    §

    impl<Types> Unpin for GetBlockSummariesRequest<Types>

    §

    impl<Types> UnwindSafe for GetBlockSummariesRequest<Types>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +

    Tuple Fields§

    §0: BlockRange<Types>

    Trait Implementations§

    source§

    impl<Types: Debug + NodeType> Debug for GetBlockSummariesRequest<Types>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Types: PartialEq + NodeType> PartialEq for GetBlockSummariesRequest<Types>

    source§

    fn eq(&self, other: &GetBlockSummariesRequest<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: Eq + NodeType> Eq for GetBlockSummariesRequest<Types>

    source§

    impl<Types: NodeType> StructuralPartialEq for GetBlockSummariesRequest<Types>

    Auto Trait Implementations§

    §

    impl<Types> Freeze for GetBlockSummariesRequest<Types>

    §

    impl<Types> RefUnwindSafe for GetBlockSummariesRequest<Types>

    §

    impl<Types> Send for GetBlockSummariesRequest<Types>

    §

    impl<Types> Sync for GetBlockSummariesRequest<Types>

    §

    impl<Types> Unpin for GetBlockSummariesRequest<Types>

    §

    impl<Types> UnwindSafe for GetBlockSummariesRequest<Types>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -65,77 +65,77 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
    §

    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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
    §

    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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.GetTransactionSummariesRequest.html b/hotshot_query_service/explorer/struct.GetTransactionSummariesRequest.html index 37b9ba5de..cbb532e4f 100644 --- a/hotshot_query_service/explorer/struct.GetTransactionSummariesRequest.html +++ b/hotshot_query_service/explorer/struct.GetTransactionSummariesRequest.html @@ -1,59 +1,59 @@ -GetTransactionSummariesRequest in hotshot_query_service::explorer - Rust
    pub struct GetTransactionSummariesRequest<Types: NodeType> {
    +GetTransactionSummariesRequest in hotshot_query_service::explorer - Rust
    pub struct GetTransactionSummariesRequest<Types: NodeType> {
         pub range: TransactionRange<Types>,
         pub filter: TransactionSummaryFilter,
     }
    Expand description

    GetTransactionSummariesRequest is a struct that represents an incoming request for Transaction Summaries. This isn’t sent on the line, but an endpoint will be mapped to this struct in order for the request to be processed.

    -

    Fields§

    §range: TransactionRange<Types>§filter: TransactionSummaryFilter

    Trait Implementations§

    source§

    impl<Types: Debug + NodeType> Debug for GetTransactionSummariesRequest<Types>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Types: NodeType> Default for GetTransactionSummariesRequest<Types>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +

    Fields§

    §range: TransactionRange<Types>§filter: TransactionSummaryFilter

    Trait Implementations§

    source§

    impl<Types: Debug + NodeType> Debug for GetTransactionSummariesRequest<Types>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Types: NodeType> Default for GetTransactionSummariesRequest<Types>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -61,77 +61,77 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
    §

    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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
    §

    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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.InvalidCurrencyCodeError.html b/hotshot_query_service/explorer/struct.InvalidCurrencyCodeError.html index 78008cee2..da168343b 100644 --- a/hotshot_query_service/explorer/struct.InvalidCurrencyCodeError.html +++ b/hotshot_query_service/explorer/struct.InvalidCurrencyCodeError.html @@ -1,62 +1,62 @@ -InvalidCurrencyCodeError in hotshot_query_service::explorer - Rust
    pub struct InvalidCurrencyCodeError {
    -    pub currency: String,
    +InvalidCurrencyCodeError in hotshot_query_service::explorer - Rust
    pub struct InvalidCurrencyCodeError {
    +    pub currency: String,
     }
    Expand description

    InvalidCurrencyCodeError is an error that occurs when an invalid currency code representation is encountered. This should only occur when the currency is being decoded from a string representation.

    -

    Fields§

    §currency: String

    Trait Implementations§

    source§

    impl Clone for InvalidCurrencyCodeError

    source§

    fn clone(&self) -> InvalidCurrencyCodeError

    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 InvalidCurrencyCodeError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for InvalidCurrencyCodeError

    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 InvalidCurrencyCodeError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    fmt formats the error into a human readable string

    -
    source§

    impl Serialize for InvalidCurrencyCodeError

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where - S: Serializer,

    serialize converts the error into a struct representation

    -

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +

    Fields§

    §currency: String

    Trait Implementations§

    source§

    impl Clone for InvalidCurrencyCodeError

    source§

    fn clone(&self) -> InvalidCurrencyCodeError

    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 InvalidCurrencyCodeError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for InvalidCurrencyCodeError

    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 InvalidCurrencyCodeError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    fmt formats the error into a human readable string

    +
    source§

    impl Serialize for InvalidCurrencyCodeError

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where + S: Serializer,

    serialize converts the error into a struct representation

    +

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -64,83 +64,83 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> SectionExt for T
    where - T: Display + Send + Sync + 'static,

    source§

    fn header<C>(self, header: C) -> IndentedSection<C, T>
    where - C: Display + Send + Sync + 'static,

    Add a header to a Section and indent the body Read more
    §

    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> SectionExt for T
    where + T: Display + Send + Sync + 'static,

    source§

    fn header<C>(self, header: C) -> IndentedSection<C, T>
    where + C: Display + Send + Sync + 'static,

    Add a header to a Section and indent the body Read more
    §

    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. 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 T
    where + 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 T
    where + 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 T
    where 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 + 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> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> NetworkMsg for T
    where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    \ No newline at end of file +[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> NetworkMsg for T
    where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    \ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.MonetaryValue.html b/hotshot_query_service/explorer/struct.MonetaryValue.html index 1a7de8409..9a9289033 100644 --- a/hotshot_query_service/explorer/struct.MonetaryValue.html +++ b/hotshot_query_service/explorer/struct.MonetaryValue.html @@ -1,26 +1,26 @@ -MonetaryValue in hotshot_query_service::explorer - Rust

    Struct hotshot_query_service::explorer::MonetaryValue

    source ·
    pub struct MonetaryValue {
    +MonetaryValue in hotshot_query_service::explorer - Rust

    Struct hotshot_query_service::explorer::MonetaryValue

    source ·
    pub struct MonetaryValue {
         pub currency: CurrencyCode,
    -    pub value: i128,
    +    pub value: i128,
     }
    Expand description

    MonetaryValues is a struct that paris a CurrencyCode with a value. This structure is able to represent both positive and negative currencies.

    -

    Fields§

    §currency: CurrencyCode§value: i128

    Implementations§

    source§

    impl MonetaryValue

    source

    pub fn new(currency: CurrencyCode, value: i128) -> Self

    new creates a new MonetaryValue instance with the given CurrencyCode -and i128 value.

    -
    source

    pub fn usd(value: i128) -> Self

    usd is a convenience function to create a MonetaryValue with the +

    Fields§

    §currency: CurrencyCode§value: i128

    Implementations§

    source§

    impl MonetaryValue

    source

    pub fn new(currency: CurrencyCode, value: i128) -> Self

    new creates a new MonetaryValue instance with the given CurrencyCode +and i128 value.

    +
    source

    pub fn usd(value: i128) -> Self

    usd is a convenience function to create a MonetaryValue with the USD currency code.

    -
    source

    pub fn btc(value: i128) -> Self

    btc is a convenience function to create a MonetaryValue with the +

    source

    pub fn btc(value: i128) -> Self

    btc is a convenience function to create a MonetaryValue with the BTC currency code.

    -
    source

    pub fn eth(value: i128) -> Self

    eth is a convenience function to create a MonetaryValue with the +

    source

    pub fn eth(value: i128) -> Self

    eth is a convenience function to create a MonetaryValue with the ETH currency code.

    -
    source

    pub fn esp(value: i128) -> Self

    esp is a convenience function to create a MonetaryValue with the +

    source

    pub fn esp(value: i128) -> Self

    esp is a convenience function to create a MonetaryValue with the ESP currency code.

    This is used to represents Espresso Tokens, and is the default that is used for Espresso Fees and Rewards

    -

    Trait Implementations§

    source§

    impl Add for MonetaryValue

    source§

    fn add(self, rhs: Self) -> Self::Output

    add attempts to add the two MonetaryValues together. This returns -a Result because this addition can fail if the two +

    Trait Implementations§

    source§

    impl Add for MonetaryValue

    source§

    fn add(self, rhs: Self) -> Self::Output

    add attempts to add the two MonetaryValues together. This returns +a Result because this addition can fail if the two MonetaryValues do not have the same CurrencyCode.

    -
    §

    type Output = Result<MonetaryValue, CurrencyMismatchError>

    The resulting type after applying the + operator.
    source§

    impl Clone for MonetaryValue

    source§

    fn clone(&self) -> MonetaryValue

    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 MonetaryValue

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for MonetaryValue

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    deserialize attempts to convert a string into a MonetaryValue.

    -
    source§

    impl Display for MonetaryValue

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    fmt formats the MonetaryValue into a human readable string. There’s +

    §

    type Output = Result<MonetaryValue, CurrencyMismatchError>

    The resulting type after applying the + operator.
    source§

    impl Clone for MonetaryValue

    source§

    fn clone(&self) -> MonetaryValue

    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 MonetaryValue

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for MonetaryValue

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    deserialize attempts to convert a string into a MonetaryValue.

    +
    source§

    impl Display for MonetaryValue

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    fmt formats the MonetaryValue into a human readable string. There’s no official standard for formatting a MonetaryValue into a string, but there are highly utilized cases that we can use as a reference to inform our implementation.

    @@ -34,71 +34,71 @@ countries which swaps the position of the currency code and the value.

    In this case, we opt to use the European Union’s style guide, as it is at least backed by some form of standardization.

    -
    source§

    impl From<i128> for MonetaryValue

    source§

    fn from(value: i128) -> Self

    from converts an i128 into a MonetaryValue with the USD currency +

    source§

    impl From<i128> for MonetaryValue

    source§

    fn from(value: i128) -> Self

    from converts an i128 into a MonetaryValue with the USD currency code.

    -
    source§

    impl PartialEq for MonetaryValue

    source§

    fn eq(&self, other: &MonetaryValue) -> 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 Serialize for MonetaryValue

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where - S: Serializer,

    serialize converts the MonetaryValue into a String representation.

    -
    source§

    impl Sub for MonetaryValue

    source§

    fn sub(self, rhs: Self) -> Self::Output

    sub attempts to subtract the two MonetaryValues together. This returns -a Result because this subtraction can fail if the two +

    source§

    impl PartialEq for MonetaryValue

    source§

    fn eq(&self, other: &MonetaryValue) -> 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 Serialize for MonetaryValue

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where + S: Serializer,

    serialize converts the MonetaryValue into a String representation.

    +
    source§

    impl Sub for MonetaryValue

    source§

    fn sub(self, rhs: Self) -> Self::Output

    sub attempts to subtract the two MonetaryValues together. This returns +a Result because this subtraction can fail if the two MonetaryValues do not have the same CurrencyCode.

    -
    §

    type Output = Result<MonetaryValue, CurrencyMismatchError>

    The resulting type after applying the - operator.
    source§

    impl Eq for MonetaryValue

    source§

    impl StructuralPartialEq for MonetaryValue

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +

    §

    type Output = Result<MonetaryValue, CurrencyMismatchError>

    The resulting type after applying the - operator.
    source§

    impl Eq for MonetaryValue

    source§

    impl StructuralPartialEq for MonetaryValue

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -106,83 +106,83 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> SectionExt for T
    where - T: Display + Send + Sync + 'static,

    source§

    fn header<C>(self, header: C) -> IndentedSection<C, T>
    where - C: Display + Send + Sync + 'static,

    Add a header to a Section and indent the body Read more
    §

    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> SectionExt for T
    where + T: Display + Send + Sync + 'static,

    source§

    fn header<C>(self, header: C) -> IndentedSection<C, T>
    where + C: Display + Send + Sync + 'static,

    Add a header to a Section and indent the body Read more
    §

    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. 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 T
    where + 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 T
    where + 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 T
    where 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 + 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> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> NetworkMsg for T
    where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    \ No newline at end of file +[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> NetworkMsg for T
    where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    \ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.SearchResult.html b/hotshot_query_service/explorer/struct.SearchResult.html index 1f22f621a..0c2a1721b 100644 --- a/hotshot_query_service/explorer/struct.SearchResult.html +++ b/hotshot_query_service/explorer/struct.SearchResult.html @@ -1,82 +1,82 @@ -SearchResult in hotshot_query_service::explorer - Rust

    Struct hotshot_query_service::explorer::SearchResult

    source ·
    pub struct SearchResult<Types: NodeType>
    where +SearchResult in hotshot_query_service::explorer - Rust

    Struct hotshot_query_service::explorer::SearchResult

    source ·
    pub struct SearchResult<Types: NodeType>
    where Header<Types>: ExplorerHeader<Types>, Transaction<Types>: ExplorerTransaction,
    { - pub blocks: Vec<BlockSummary<Types>>, - pub transactions: Vec<TransactionSummary<Types>>, + pub blocks: Vec<BlockSummary<Types>>, + pub transactions: Vec<TransactionSummary<Types>>, }
    Expand description

    SearchResult is a struct that represents the results of executing a search query against the chain. It contains a list of blocks and transactions that match the search query.

    -

    Fields§

    §blocks: Vec<BlockSummary<Types>>§transactions: Vec<TransactionSummary<Types>>

    Trait Implementations§

    source§

    impl<Types: Debug + NodeType> Debug for SearchResult<Types>
    where +

    Fields§

    §blocks: Vec<BlockSummary<Types>>§transactions: Vec<TransactionSummary<Types>>

    Trait Implementations§

    source§

    impl<Types: Debug + NodeType> Debug for SearchResult<Types>
    where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

    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 SearchResult<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 SearchResult<Types>
    where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

    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: NodeType> From<SearchResult<Types>> for SearchResultResponse<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: NodeType> From<SearchResult<Types>> for SearchResultResponse<Types>
    where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

    source§

    fn from(search_results: SearchResult<Types>) -> Self

    Converts to this type from the input type.
    source§

    impl<Types: NodeType> Serialize for SearchResult<Types>

    source§

    fn from(search_results: SearchResult<Types>) -> Self

    Converts to this type from the input type.
    source§

    impl<Types: NodeType> Serialize for SearchResult<Types>
    where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

    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<Types> Freeze for SearchResult<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> RefUnwindSafe for SearchResult<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe, - <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,

    §

    impl<Types> Send for SearchResult<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> Sync for SearchResult<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> Unpin for SearchResult<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin, - <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,

    §

    impl<Types> UnwindSafe for SearchResult<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe, - <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( + Transaction<Types>: ExplorerTransaction,

    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<Types> Freeze for SearchResult<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> RefUnwindSafe for SearchResult<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe, + <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,

    §

    impl<Types> Send for SearchResult<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> Sync for SearchResult<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> Unpin for SearchResult<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin, + <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,

    §

    impl<Types> UnwindSafe for SearchResult<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe, + <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -84,78 +84,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
    §

    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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
    §

    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 T
    where + 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 T
    where + 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 T
    where 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 + 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> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    \ No newline at end of file +[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.SearchResultResponse.html b/hotshot_query_service/explorer/struct.SearchResultResponse.html index 81f6f2922..febc662bc 100644 --- a/hotshot_query_service/explorer/struct.SearchResultResponse.html +++ b/hotshot_query_service/explorer/struct.SearchResultResponse.html @@ -1,80 +1,80 @@ -SearchResultResponse in hotshot_query_service::explorer - Rust
    pub struct SearchResultResponse<Types: NodeType>
    where +SearchResultResponse in hotshot_query_service::explorer - Rust
    pub struct SearchResultResponse<Types: NodeType>
    where Header<Types>: ExplorerHeader<Types>, Transaction<Types>: ExplorerTransaction,
    { pub search_results: SearchResult<Types>, }
    Expand description

    SearchResultResponse is a struct that represents the response from the get_search_result endpoint.

    -

    Fields§

    §search_results: SearchResult<Types>

    Trait Implementations§

    source§

    impl<Types: Debug + NodeType> Debug for SearchResultResponse<Types>
    where +

    Fields§

    §search_results: SearchResult<Types>

    Trait Implementations§

    source§

    impl<Types: Debug + NodeType> Debug for SearchResultResponse<Types>
    where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

    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 SearchResultResponse<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 SearchResultResponse<Types>
    where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

    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: NodeType> From<SearchResult<Types>> for SearchResultResponse<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: NodeType> From<SearchResult<Types>> for SearchResultResponse<Types>
    where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

    source§

    fn from(search_results: SearchResult<Types>) -> Self

    Converts to this type from the input type.
    source§

    impl<Types: NodeType> Serialize for SearchResultResponse<Types>

    source§

    fn from(search_results: SearchResult<Types>) -> Self

    Converts to this type from the input type.
    source§

    impl<Types: NodeType> Serialize for SearchResultResponse<Types>
    where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

    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<Types> Freeze for SearchResultResponse<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> RefUnwindSafe for SearchResultResponse<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe, - <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,

    §

    impl<Types> Send for SearchResultResponse<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> Sync for SearchResultResponse<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> Unpin for SearchResultResponse<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin, - <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,

    §

    impl<Types> UnwindSafe for SearchResultResponse<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe, - <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( + Transaction<Types>: ExplorerTransaction,

    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<Types> Freeze for SearchResultResponse<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> RefUnwindSafe for SearchResultResponse<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe, + <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,

    §

    impl<Types> Send for SearchResultResponse<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> Sync for SearchResultResponse<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> Unpin for SearchResultResponse<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin, + <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,

    §

    impl<Types> UnwindSafe for SearchResultResponse<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe, + <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -82,78 +82,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
    §

    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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
    §

    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 T
    where + 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 T
    where + 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 T
    where 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 + 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> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    \ No newline at end of file +[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.Timestamp.html b/hotshot_query_service/explorer/struct.Timestamp.html index 8ab6343e2..2a2835dc2 100644 --- a/hotshot_query_service/explorer/struct.Timestamp.html +++ b/hotshot_query_service/explorer/struct.Timestamp.html @@ -1,70 +1,70 @@ -Timestamp in hotshot_query_service::explorer - Rust

    Struct hotshot_query_service::explorer::Timestamp

    source ·
    pub struct Timestamp(pub OffsetDateTime);
    Expand description

    Timestamp represents a specific point in time that has a possible +Timestamp in hotshot_query_service::explorer - Rust

    Struct hotshot_query_service::explorer::Timestamp

    source ·
    pub struct Timestamp(pub OffsetDateTime);
    Expand description

    Timestamp represents a specific point in time that has a possible offset.

    This specific type is utilized in order to ensure that the timestamp is always serialized in a specific format, specifically as string following the RFC3339 standard.

    -

    Tuple Fields§

    §0: OffsetDateTime

    Trait Implementations§

    source§

    impl Clone for Timestamp

    source§

    fn clone(&self) -> Timestamp

    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 Timestamp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Timestamp

    source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    deserialize converts a string representation of a RFC3339 formatted +

    Tuple Fields§

    §0: OffsetDateTime

    Trait Implementations§

    source§

    impl Clone for Timestamp

    source§

    fn clone(&self) -> Timestamp

    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 Timestamp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Timestamp

    source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    deserialize converts a string representation of a RFC3339 formatted date.

    -
    source§

    impl PartialEq for Timestamp

    source§

    fn eq(&self, other: &Timestamp) -> 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 Serialize for Timestamp

    source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    serialize converts the timestamp into a string representation of a +

    source§

    impl PartialEq for Timestamp

    source§

    fn eq(&self, other: &Timestamp) -> 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 Serialize for Timestamp

    source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    serialize converts the timestamp into a string representation of a RFC3339 formatted date.

    -
    source§

    impl Copy for Timestamp

    source§

    impl Eq for Timestamp

    source§

    impl StructuralPartialEq for Timestamp

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +

    source§

    impl Copy for Timestamp

    source§

    impl Eq for Timestamp

    source§

    impl StructuralPartialEq for Timestamp

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -72,80 +72,80 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> NetworkMsg for T
    where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    \ No newline at end of file +[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> NetworkMsg for T
    where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    \ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.TransactionDetail.html b/hotshot_query_service/explorer/struct.TransactionDetail.html index ad258bf95..a912e436b 100644 --- a/hotshot_query_service/explorer/struct.TransactionDetail.html +++ b/hotshot_query_service/explorer/struct.TransactionDetail.html @@ -1,74 +1,74 @@ -TransactionDetail in hotshot_query_service::explorer - Rust
    pub struct TransactionDetail<Types: NodeType> {
    +TransactionDetail in hotshot_query_service::explorer - Rust
    pub struct TransactionDetail<Types: NodeType> {
         pub hash: TransactionHash<Types>,
    -    pub height: u64,
    -    pub block_confirmed: bool,
    -    pub offset: u64,
    -    pub num_transactions: u64,
    -    pub size: u64,
    +    pub height: u64,
    +    pub block_confirmed: bool,
    +    pub offset: u64,
    +    pub num_transactions: u64,
    +    pub size: u64,
         pub time: Timestamp,
    -    pub sequencing_fees: Vec<MonetaryValue>,
    -    pub fee_details: Vec<FeeAttribution>,
    +    pub sequencing_fees: Vec<MonetaryValue>,
    +    pub fee_details: Vec<FeeAttribution>,
     }
    Expand description

    TransactionDetail is a struct that represents the details of a specific transaction / payload contained within a Block.

    -

    Fields§

    §hash: TransactionHash<Types>§height: u64§block_confirmed: bool§offset: u64§num_transactions: u64§size: u64§time: Timestamp§sequencing_fees: Vec<MonetaryValue>§fee_details: Vec<FeeAttribution>

    Trait Implementations§

    source§

    impl<Types: Debug + NodeType> Debug for TransactionDetail<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 TransactionDetail<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 TransactionDetail<Types>

    source§

    fn eq(&self, other: &TransactionDetail<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 TransactionDetail<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 TransactionDetail<Types>

    source§

    impl<Types: NodeType> StructuralPartialEq for TransactionDetail<Types>

    Auto Trait Implementations§

    §

    impl<Types> Freeze for TransactionDetail<Types>

    §

    impl<Types> RefUnwindSafe for TransactionDetail<Types>

    §

    impl<Types> Send for TransactionDetail<Types>

    §

    impl<Types> Sync for TransactionDetail<Types>

    §

    impl<Types> Unpin for TransactionDetail<Types>

    §

    impl<Types> UnwindSafe for TransactionDetail<Types>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +

    Fields§

    §hash: TransactionHash<Types>§height: u64§block_confirmed: bool§offset: u64§num_transactions: u64§size: u64§time: Timestamp§sequencing_fees: Vec<MonetaryValue>§fee_details: Vec<FeeAttribution>

    Trait Implementations§

    source§

    impl<Types: Debug + NodeType> Debug for TransactionDetail<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 TransactionDetail<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 TransactionDetail<Types>

    source§

    fn eq(&self, other: &TransactionDetail<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 TransactionDetail<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 TransactionDetail<Types>

    source§

    impl<Types: NodeType> StructuralPartialEq for TransactionDetail<Types>

    Auto Trait Implementations§

    §

    impl<Types> Freeze for TransactionDetail<Types>

    §

    impl<Types> RefUnwindSafe for TransactionDetail<Types>

    §

    impl<Types> Send for TransactionDetail<Types>

    §

    impl<Types> Sync for TransactionDetail<Types>

    §

    impl<Types> Unpin for TransactionDetail<Types>

    §

    impl<Types> UnwindSafe for TransactionDetail<Types>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -76,78 +76,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
    §

    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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
    §

    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 T
    where + 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 T
    where + 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 T
    where 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 + 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> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    \ No newline at end of file +[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.TransactionDetailResponse.html b/hotshot_query_service/explorer/struct.TransactionDetailResponse.html index fa76f583f..602cfb2fb 100644 --- a/hotshot_query_service/explorer/struct.TransactionDetailResponse.html +++ b/hotshot_query_service/explorer/struct.TransactionDetailResponse.html @@ -1,61 +1,61 @@ -TransactionDetailResponse in hotshot_query_service::explorer - Rust
    pub struct TransactionDetailResponse<Types: NodeType> {
    +TransactionDetailResponse in hotshot_query_service::explorer - Rust
    pub struct TransactionDetailResponse<Types: NodeType> {
         pub transaction_detail: TransactionDetailResponse<Types>,
     }
    Expand description

    TransactionDetailResponse is a struct that represents the response from the get_transaction_detail endpoint.

    -

    Fields§

    §transaction_detail: TransactionDetailResponse<Types>

    Trait Implementations§

    source§

    impl<Types: Debug + NodeType> Debug for TransactionDetailResponse<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 TransactionDetailResponse<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: NodeType> Serialize for TransactionDetailResponse<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

    Auto Trait Implementations§

    §

    impl<Types> Freeze for TransactionDetailResponse<Types>

    §

    impl<Types> RefUnwindSafe for TransactionDetailResponse<Types>
    where - <Types as NodeType>::Transaction: RefUnwindSafe,

    §

    impl<Types> Send for TransactionDetailResponse<Types>

    §

    impl<Types> Sync for TransactionDetailResponse<Types>

    §

    impl<Types> Unpin for TransactionDetailResponse<Types>
    where - <Types as NodeType>::Transaction: Unpin,

    §

    impl<Types> UnwindSafe for TransactionDetailResponse<Types>
    where - <Types as NodeType>::Transaction: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +

    Fields§

    §transaction_detail: TransactionDetailResponse<Types>

    Trait Implementations§

    source§

    impl<Types: Debug + NodeType> Debug for TransactionDetailResponse<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 TransactionDetailResponse<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: NodeType> Serialize for TransactionDetailResponse<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

    Auto Trait Implementations§

    §

    impl<Types> Freeze for TransactionDetailResponse<Types>

    §

    impl<Types> RefUnwindSafe for TransactionDetailResponse<Types>
    where + <Types as NodeType>::Transaction: RefUnwindSafe,

    §

    impl<Types> Send for TransactionDetailResponse<Types>

    §

    impl<Types> Sync for TransactionDetailResponse<Types>

    §

    impl<Types> Unpin for TransactionDetailResponse<Types>
    where + <Types as NodeType>::Transaction: Unpin,

    §

    impl<Types> UnwindSafe for TransactionDetailResponse<Types>
    where + <Types as NodeType>::Transaction: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -63,78 +63,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
    §

    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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
    §

    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 T
    where + 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 T
    where + 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 T
    where 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 + 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> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    \ No newline at end of file +[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.TransactionRange.html b/hotshot_query_service/explorer/struct.TransactionRange.html index 5f915489d..185b195c8 100644 --- a/hotshot_query_service/explorer/struct.TransactionRange.html +++ b/hotshot_query_service/explorer/struct.TransactionRange.html @@ -1,68 +1,68 @@ -TransactionRange in hotshot_query_service::explorer - Rust

    Struct hotshot_query_service::explorer::TransactionRange

    source ·
    pub struct TransactionRange<Types: NodeType> {
    +TransactionRange in hotshot_query_service::explorer - Rust

    Struct hotshot_query_service::explorer::TransactionRange

    source ·
    pub struct TransactionRange<Types: NodeType> {
         pub target: TransactionIdentifier<Types>,
    -    pub num_transactions: NonZeroUsize,
    +    pub num_transactions: NonZeroUsize,
     }
    Expand description

    TransactionRange is a struct that represents a range for a specific set of transactions, starting at the given TransactionIdentifier.

    This range is expected to be descending starting at the target and descending toward the first transaction in the Block Chain.

    -

    Fields§

    §target: TransactionIdentifier<Types>§num_transactions: NonZeroUsize

    Trait Implementations§

    source§

    impl<Types: Clone + NodeType> Clone for TransactionRange<Types>

    source§

    fn clone(&self) -> TransactionRange<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 TransactionRange<Types>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Types: PartialEq + NodeType> PartialEq for TransactionRange<Types>

    source§

    fn eq(&self, other: &TransactionRange<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: Eq + NodeType> Eq for TransactionRange<Types>

    source§

    impl<Types: NodeType> StructuralPartialEq for TransactionRange<Types>

    Auto Trait Implementations§

    §

    impl<Types> Freeze for TransactionRange<Types>

    §

    impl<Types> RefUnwindSafe for TransactionRange<Types>

    §

    impl<Types> Send for TransactionRange<Types>

    §

    impl<Types> Sync for TransactionRange<Types>

    §

    impl<Types> Unpin for TransactionRange<Types>

    §

    impl<Types> UnwindSafe for TransactionRange<Types>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +

    Fields§

    §target: TransactionIdentifier<Types>§num_transactions: NonZeroUsize

    Trait Implementations§

    source§

    impl<Types: Clone + NodeType> Clone for TransactionRange<Types>

    source§

    fn clone(&self) -> TransactionRange<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 TransactionRange<Types>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Types: PartialEq + NodeType> PartialEq for TransactionRange<Types>

    source§

    fn eq(&self, other: &TransactionRange<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: Eq + NodeType> Eq for TransactionRange<Types>

    source§

    impl<Types: NodeType> StructuralPartialEq for TransactionRange<Types>

    Auto Trait Implementations§

    §

    impl<Types> Freeze for TransactionRange<Types>

    §

    impl<Types> RefUnwindSafe for TransactionRange<Types>

    §

    impl<Types> Send for TransactionRange<Types>

    §

    impl<Types> Sync for TransactionRange<Types>

    §

    impl<Types> Unpin for TransactionRange<Types>

    §

    impl<Types> UnwindSafe for TransactionRange<Types>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -70,78 +70,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.TransactionSummariesResponse.html b/hotshot_query_service/explorer/struct.TransactionSummariesResponse.html index 1eff660b5..e8b01352d 100644 --- a/hotshot_query_service/explorer/struct.TransactionSummariesResponse.html +++ b/hotshot_query_service/explorer/struct.TransactionSummariesResponse.html @@ -1,77 +1,77 @@ -TransactionSummariesResponse in hotshot_query_service::explorer - Rust
    pub struct TransactionSummariesResponse<Types: NodeType>
    where +TransactionSummariesResponse in hotshot_query_service::explorer - Rust
    pub struct TransactionSummariesResponse<Types: NodeType>
    where Header<Types>: ExplorerHeader<Types>, Transaction<Types>: ExplorerTransaction,
    { - pub transaction_summaries: Vec<TransactionSummary<Types>>, + pub transaction_summaries: Vec<TransactionSummary<Types>>, }
    Expand description

    TransactionSummariesResponse is a struct that represents the response from the get_transaction_summaries endpoint.

    -

    Fields§

    §transaction_summaries: Vec<TransactionSummary<Types>>

    Trait Implementations§

    source§

    impl<Types: Debug + NodeType> Debug for TransactionSummariesResponse<Types>
    where +

    Fields§

    §transaction_summaries: Vec<TransactionSummary<Types>>

    Trait Implementations§

    source§

    impl<Types: Debug + NodeType> Debug for TransactionSummariesResponse<Types>
    where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

    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 TransactionSummariesResponse<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 TransactionSummariesResponse<Types>
    where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

    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: NodeType> From<Vec<TransactionSummary<Types>>> for TransactionSummariesResponse<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: NodeType> From<Vec<TransactionSummary<Types>>> for TransactionSummariesResponse<Types>
    where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

    source§

    fn from(transaction_summaries: Vec<TransactionSummary<Types>>) -> Self

    Converts to this type from the input type.
    source§

    impl<Types: NodeType> Serialize for TransactionSummariesResponse<Types>

    source§

    fn from(transaction_summaries: Vec<TransactionSummary<Types>>) -> Self

    Converts to this type from the input type.
    source§

    impl<Types: NodeType> Serialize for TransactionSummariesResponse<Types>
    where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

    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<Types> Freeze for TransactionSummariesResponse<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> RefUnwindSafe for TransactionSummariesResponse<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,

    §

    impl<Types> Send for TransactionSummariesResponse<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> Sync for TransactionSummariesResponse<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> Unpin for TransactionSummariesResponse<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,

    §

    impl<Types> UnwindSafe for TransactionSummariesResponse<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( + Transaction<Types>: ExplorerTransaction,

    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<Types> Freeze for TransactionSummariesResponse<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> RefUnwindSafe for TransactionSummariesResponse<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,

    §

    impl<Types> Send for TransactionSummariesResponse<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> Sync for TransactionSummariesResponse<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> Unpin for TransactionSummariesResponse<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,

    §

    impl<Types> UnwindSafe for TransactionSummariesResponse<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -79,78 +79,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
    §

    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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
    §

    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 T
    where + 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 T
    where + 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 T
    where 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 + 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> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    \ No newline at end of file +[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/hotshot_query_service/explorer/struct.TransactionSummary.html b/hotshot_query_service/explorer/struct.TransactionSummary.html index fc811c29f..8172ed076 100644 --- a/hotshot_query_service/explorer/struct.TransactionSummary.html +++ b/hotshot_query_service/explorer/struct.TransactionSummary.html @@ -1,102 +1,102 @@ -TransactionSummary in hotshot_query_service::explorer - Rust
    pub struct TransactionSummary<Types: NodeType>
    where +TransactionSummary in hotshot_query_service::explorer - Rust
    pub struct TransactionSummary<Types: NodeType>
    where Header<Types>: ExplorerHeader<Types>, Transaction<Types>: ExplorerTransaction,
    { pub hash: TransactionHash<Types>, - pub rollups: Vec<TransactionNamespaceId<Types>>, - pub height: u64, - pub offset: u64, - pub num_transactions: u64, + pub rollups: Vec<TransactionNamespaceId<Types>>, + pub height: u64, + pub offset: u64, + pub num_transactions: u64, pub time: Timestamp, }
    Expand description

    TransactionSummary is a struct that represents a summary overview of a specific transaction / payload contained within a Block. It does not have all of the details of a TransactionDetail, but it is useful for displaying information in a list of Transactions.

    -

    Fields§

    §hash: TransactionHash<Types>§rollups: Vec<TransactionNamespaceId<Types>>§height: u64§offset: u64§num_transactions: u64§time: Timestamp

    Trait Implementations§

    source§

    impl<Types: Debug + NodeType> Debug for TransactionSummary<Types>
    where +

    Fields§

    §hash: TransactionHash<Types>§rollups: Vec<TransactionNamespaceId<Types>>§height: u64§offset: u64§num_transactions: u64§time: Timestamp

    Trait Implementations§

    source§

    impl<Types: Debug + NodeType> Debug for TransactionSummary<Types>
    where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

    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 TransactionSummary<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 TransactionSummary<Types>
    where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

    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 TransactionSummary<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 TransactionSummary<Types>
    where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

    source§

    fn eq(&self, other: &TransactionSummary<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 TransactionSummary<Types>

    source§

    fn eq(&self, other: &TransactionSummary<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 TransactionSummary<Types>
    where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

    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: NodeType> TryFrom<(&BlockQueryData<Types>, usize, <Types as NodeType>::Transaction)> for TransactionSummary<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: NodeType> TryFrom<(&BlockQueryData<Types>, usize, <Types as NodeType>::Transaction)> for TransactionSummary<Types>

    §

    type Error = TimestampConversionError

    The type returned in the event of a conversion error.
    source§

    fn try_from( - (block, offset, transaction): (&BlockQueryData<Types>, usize, <Types as NodeType>::Transaction), -) -> Result<Self, Self::Error>

    Performs the conversion.
    source§

    impl<Types: Eq + NodeType> Eq for TransactionSummary<Types>

    §

    type Error = TimestampConversionError

    The type returned in the event of a conversion error.
    source§

    fn try_from( + (block, offset, transaction): (&BlockQueryData<Types>, usize, <Types as NodeType>::Transaction), +) -> Result<Self, Self::Error>

    Performs the conversion.
    source§

    impl<Types: Eq + NodeType> Eq for TransactionSummary<Types>
    where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

    source§

    impl<Types: NodeType> StructuralPartialEq for TransactionSummary<Types>

    source§

    impl<Types: NodeType> StructuralPartialEq for TransactionSummary<Types>
    where Header<Types>: ExplorerHeader<Types>, - Transaction<Types>: ExplorerTransaction,

    Auto Trait Implementations§

    §

    impl<Types> Freeze for TransactionSummary<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> RefUnwindSafe for TransactionSummary<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,

    §

    impl<Types> Send for TransactionSummary<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> Sync for TransactionSummary<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> Unpin for TransactionSummary<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,

    §

    impl<Types> UnwindSafe for TransactionSummary<Types>
    where - <Types as NodeType>::BlockHeader: for<'de> Sized, - <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( + Transaction<Types>: ExplorerTransaction,

    Auto Trait Implementations§

    §

    impl<Types> Freeze for TransactionSummary<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> RefUnwindSafe for TransactionSummary<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,

    §

    impl<Types> Send for TransactionSummary<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> Sync for TransactionSummary<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized,

    §

    impl<Types> Unpin for TransactionSummary<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,

    §

    impl<Types> UnwindSafe for TransactionSummary<Types>
    where + <Types as NodeType>::BlockHeader: for<'de> Sized, + <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -104,78 +104,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
    §

    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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
    §

    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 T
    where + 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 T
    where + 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 T
    where 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 + 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> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    \ No newline at end of file +[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/hotshot_query_service/explorer/trait.ExplorerHeader.html b/hotshot_query_service/explorer/trait.ExplorerHeader.html index 80b127032..97a08e14c 100644 --- a/hotshot_query_service/explorer/trait.ExplorerHeader.html +++ b/hotshot_query_service/explorer/trait.ExplorerHeader.html @@ -1,29 +1,29 @@ -ExplorerHeader in hotshot_query_service::explorer - Rust

    Trait hotshot_query_service::explorer::ExplorerHeader

    source ·
    pub trait ExplorerHeader<Types: NodeType>: BlockHeader<Types> {
    -    type BalanceAmount: Clone + Debug + Serialize + DeserializeOwned + Send + Sync + PartialEq + Eq;
    -    type WalletAddress: Clone + Debug + Serialize + DeserializeOwned + Send + Sync + PartialEq + Eq;
    -    type ProposerId: Clone + Debug + Serialize + DeserializeOwned + Send + Sync + PartialEq + Eq;
    -    type NamespaceId: Clone + Debug + Serialize + DeserializeOwned + Send + Sync + PartialEq + Eq;
    +ExplorerHeader in hotshot_query_service::explorer - Rust

    Trait hotshot_query_service::explorer::ExplorerHeader

    source ·
    pub trait ExplorerHeader<Types: NodeType>: BlockHeader<Types> {
    +    type BalanceAmount: Clone + Debug + Serialize + DeserializeOwned + Send + Sync + PartialEq + Eq;
    +    type WalletAddress: Clone + Debug + Serialize + DeserializeOwned + Send + Sync + PartialEq + Eq;
    +    type ProposerId: Clone + Debug + Serialize + DeserializeOwned + Send + Sync + PartialEq + Eq;
    +    type NamespaceId: Clone + Debug + Serialize + DeserializeOwned + Send + Sync + PartialEq + Eq;
     
         // Required methods
         fn proposer_id(&self) -> Self::ProposerId;
         fn fee_info_account(&self) -> Self::WalletAddress;
         fn fee_info_balance(&self) -> Self::BalanceAmount;
         fn reward_balance(&self) -> Self::BalanceAmount;
    -    fn namespace_ids(&self) -> Vec<Self::NamespaceId>;
    +    fn namespace_ids(&self) -> Vec<Self::NamespaceId>;
     }
    Expand description

    ExplorerHeader is a trait that represents certain extensions to the [BlockHeader] that are specific to the Block Explorer API. This trait allows for the explorer module to be defined and provide an API for any consuming Block Explorer.

    -

    Required Associated Types§

    source

    type BalanceAmount: Clone + Debug + Serialize + DeserializeOwned + Send + Sync + PartialEq + Eq

    BalanceAmount is a type that represents a general balance amount. It +

    Required Associated Types§

    source

    type BalanceAmount: Clone + Debug + Serialize + DeserializeOwned + Send + Sync + PartialEq + Eq

    BalanceAmount is a type that represents a general balance amount. It does not indicate how this balance is represented, just that there is a representation of it that adheres to the trait restrictions specified.

    -
    source

    type WalletAddress: Clone + Debug + Serialize + DeserializeOwned + Send + Sync + PartialEq + Eq

    WalletAddress is a type that represents the address of a Wallet. It +

    source

    type WalletAddress: Clone + Debug + Serialize + DeserializeOwned + Send + Sync + PartialEq + Eq

    WalletAddress is a type that represents the address of a Wallet. It does not indicate how this address is represented, just that there is a representation of it that adheres to the trait restrictions specified.

    -
    source

    type ProposerId: Clone + Debug + Serialize + DeserializeOwned + Send + Sync + PartialEq + Eq

    ProposerId is a type that represents the proposer id of the block. It +

    source

    type ProposerId: Clone + Debug + Serialize + DeserializeOwned + Send + Sync + PartialEq + Eq

    ProposerId is a type that represents the proposer id of the block. It does not indicate how this proposer id is represented, just that there is a representation of it that adheres to the trait restrictions specified.

    -
    source

    type NamespaceId: Clone + Debug + Serialize + DeserializeOwned + Send + Sync + PartialEq + Eq

    NamespaceId is a type that represents the id of a namespace. It does +

    source

    type NamespaceId: Clone + Debug + Serialize + DeserializeOwned + Send + Sync + PartialEq + Eq

    NamespaceId is a type that represents the id of a namespace. It does not indicate how this namespace id is represented, just that there is a representation of it that adheres to the trait restrictions specified.

    Required Methods§

    source

    fn proposer_id(&self) -> Self::ProposerId

    The proposer id of the block as stored within the block header.

    @@ -31,5 +31,5 @@ header.

    source

    fn fee_info_balance(&self) -> Self::BalanceAmount

    The balance amount of the fee info contained within the block header.

    source

    fn reward_balance(&self) -> Self::BalanceAmount

    The balance amount of the reward for constructing the block.

    -
    source

    fn namespace_ids(&self) -> Vec<Self::NamespaceId>

    A collection of namespace ids that are contained within the block header.

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file +
    source

    fn namespace_ids(&self) -> Vec<Self::NamespaceId>

    A collection of namespace ids that are contained within the block header.

    +

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/hotshot_query_service/explorer/trait.ExplorerTransaction.html b/hotshot_query_service/explorer/trait.ExplorerTransaction.html index afdddcadd..221bfe1f4 100644 --- a/hotshot_query_service/explorer/trait.ExplorerTransaction.html +++ b/hotshot_query_service/explorer/trait.ExplorerTransaction.html @@ -1,5 +1,5 @@ -ExplorerTransaction in hotshot_query_service::explorer - Rust
    pub trait ExplorerTransaction {
    -    type NamespaceId: Clone + Debug + Serialize + DeserializeOwned + Send + Sync + PartialEq + Eq;
    +ExplorerTransaction in hotshot_query_service::explorer - Rust
    pub trait ExplorerTransaction {
    +    type NamespaceId: Clone + Debug + Serialize + DeserializeOwned + Send + Sync + PartialEq + Eq;
     
         // Required method
         fn namespace_id(&self) -> Self::NamespaceId;
    @@ -7,7 +7,7 @@
     retrieve a namespace id from a transaction.  This is necessary for the
     Explorer API to be able to display the namespace id for a
     TransactionSummary.

    -

    Required Associated Types§

    source

    type NamespaceId: Clone + Debug + Serialize + DeserializeOwned + Send + Sync + PartialEq + Eq

    NamespaceId is a type that represents the id of a namespace. It does +

    Required Associated Types§

    source

    type NamespaceId: Clone + Debug + Serialize + DeserializeOwned + Send + Sync + PartialEq + Eq

    NamespaceId is a type that represents the id of a namespace. It does not indicate how this namespace id is represented, just that there is a representation of it that adheres to the trait restrictions specified.

    -

    Required Methods§

    source

    fn namespace_id(&self) -> Self::NamespaceId

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Required Methods§

    source

    fn namespace_id(&self) -> Self::NamespaceId

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/hotshot_query_service/explorer/type.BalanceAmount.html b/hotshot_query_service/explorer/type.BalanceAmount.html index 54df69877..00d705529 100644 --- a/hotshot_query_service/explorer/type.BalanceAmount.html +++ b/hotshot_query_service/explorer/type.BalanceAmount.html @@ -1 +1 @@ -BalanceAmount in hotshot_query_service::explorer - Rust

    Type Alias hotshot_query_service::explorer::BalanceAmount

    source ·
    pub type BalanceAmount<Types> = <Header<Types> as ExplorerHeader<Types>>::BalanceAmount;
    \ No newline at end of file +BalanceAmount in hotshot_query_service::explorer - Rust

    Type Alias hotshot_query_service::explorer::BalanceAmount

    source ·
    pub type BalanceAmount<Types> = <Header<Types> as ExplorerHeader<Types>>::BalanceAmount;
    \ No newline at end of file diff --git a/hotshot_query_service/explorer/type.BlockNamespaceId.html b/hotshot_query_service/explorer/type.BlockNamespaceId.html index a0b577a1e..cdadaba00 100644 --- a/hotshot_query_service/explorer/type.BlockNamespaceId.html +++ b/hotshot_query_service/explorer/type.BlockNamespaceId.html @@ -1 +1 @@ -BlockNamespaceId in hotshot_query_service::explorer - Rust

    Type Alias hotshot_query_service::explorer::BlockNamespaceId

    source ·
    pub type BlockNamespaceId<Types> = <Header<Types> as ExplorerHeader<Types>>::NamespaceId;
    \ No newline at end of file +BlockNamespaceId in hotshot_query_service::explorer - Rust

    Type Alias hotshot_query_service::explorer::BlockNamespaceId

    source ·
    pub type BlockNamespaceId<Types> = <Header<Types> as ExplorerHeader<Types>>::NamespaceId;
    \ No newline at end of file diff --git a/hotshot_query_service/explorer/type.ProposerId.html b/hotshot_query_service/explorer/type.ProposerId.html index fc2bc585b..c57a39024 100644 --- a/hotshot_query_service/explorer/type.ProposerId.html +++ b/hotshot_query_service/explorer/type.ProposerId.html @@ -1 +1 @@ -ProposerId in hotshot_query_service::explorer - Rust

    Type Alias hotshot_query_service::explorer::ProposerId

    source ·
    pub type ProposerId<Types> = <Header<Types> as ExplorerHeader<Types>>::ProposerId;
    \ No newline at end of file +ProposerId in hotshot_query_service::explorer - Rust

    Type Alias hotshot_query_service::explorer::ProposerId

    source ·
    pub type ProposerId<Types> = <Header<Types> as ExplorerHeader<Types>>::ProposerId;
    \ No newline at end of file diff --git a/hotshot_query_service/explorer/type.TransactionNamespaceId.html b/hotshot_query_service/explorer/type.TransactionNamespaceId.html index 6a52a18a0..5fd82eb56 100644 --- a/hotshot_query_service/explorer/type.TransactionNamespaceId.html +++ b/hotshot_query_service/explorer/type.TransactionNamespaceId.html @@ -1 +1 @@ -TransactionNamespaceId in hotshot_query_service::explorer - Rust

    Type Alias hotshot_query_service::explorer::TransactionNamespaceId

    source ·
    pub type TransactionNamespaceId<Types> = <Transaction<Types> as ExplorerTransaction>::NamespaceId;
    \ No newline at end of file +TransactionNamespaceId in hotshot_query_service::explorer - Rust

    Type Alias hotshot_query_service::explorer::TransactionNamespaceId

    source ·
    pub type TransactionNamespaceId<Types> = <Transaction<Types> as ExplorerTransaction>::NamespaceId;
    \ No newline at end of file diff --git a/hotshot_query_service/explorer/type.WalletAddress.html b/hotshot_query_service/explorer/type.WalletAddress.html index 8fd69e648..696fe2ba6 100644 --- a/hotshot_query_service/explorer/type.WalletAddress.html +++ b/hotshot_query_service/explorer/type.WalletAddress.html @@ -1 +1 @@ -WalletAddress in hotshot_query_service::explorer - Rust

    Type Alias hotshot_query_service::explorer::WalletAddress

    source ·
    pub type WalletAddress<Types> = <Header<Types> as ExplorerHeader<Types>>::WalletAddress;
    \ No newline at end of file +WalletAddress in hotshot_query_service::explorer - Rust

    Type Alias hotshot_query_service::explorer::WalletAddress

    source ·
    pub type WalletAddress<Types> = <Header<Types> as ExplorerHeader<Types>>::WalletAddress;
    \ No newline at end of file diff --git a/hotshot_query_service/fetching/index.html b/hotshot_query_service/fetching/index.html index a8f49ab86..032caa94b 100644 --- a/hotshot_query_service/fetching/index.html +++ b/hotshot_query_service/fetching/index.html @@ -1,4 +1,4 @@ -hotshot_query_service::fetching - Rust

    Module hotshot_query_service::fetching

    source ·
    Expand description

    Fetching missing data from remote providers.

    +hotshot_query_service::fetching - Rust

    Module hotshot_query_service::fetching

    source ·
    Expand description

    Fetching missing data from remote providers.

    This module provides a mechanism to fetch data that is missing from this query service’s storage from a remote data availability provider. Fetcher can be used to handle concurrent requests for data, ensuring that each distinct resource is only fetched once at a time.

    diff --git a/hotshot_query_service/fetching/provider/index.html b/hotshot_query_service/fetching/provider/index.html index ed629d3f9..c2925d544 100644 --- a/hotshot_query_service/fetching/provider/index.html +++ b/hotshot_query_service/fetching/provider/index.html @@ -1,4 +1,4 @@ -hotshot_query_service::fetching::provider - Rust

    Module hotshot_query_service::fetching::provider

    source ·
    Expand description

    Asynchronous fetching from external data availability providers.

    +hotshot_query_service::fetching::provider - Rust

    Module hotshot_query_service::fetching::provider

    source ·
    Expand description

    Asynchronous fetching from external data availability providers.

    Occasionally, data will be missing from the local persistent storage of this query service. This may be because the query service never received the data from the attached HotShot instance, which happens for each block payload committed while the attached HotShot instance is not a diff --git a/hotshot_query_service/fetching/provider/struct.AnyProvider.html b/hotshot_query_service/fetching/provider/struct.AnyProvider.html index 86da6ed9d..ae44b65d2 100644 --- a/hotshot_query_service/fetching/provider/struct.AnyProvider.html +++ b/hotshot_query_service/fetching/provider/struct.AnyProvider.html @@ -1,4 +1,4 @@ -AnyProvider in hotshot_query_service::fetching::provider - Rust

    Struct hotshot_query_service::fetching::provider::AnyProvider

    source ·
    pub struct AnyProvider<Types>
    where +AnyProvider in hotshot_query_service::fetching::provider - Rust

    Struct hotshot_query_service::fetching::provider::AnyProvider

    source ·
    pub struct AnyProvider<Types>
    where Types: NodeType,
    { /* private fields */ }
    Expand description

    Adaptor combining multiple data availability providers.

    This provider adaptor implements the Provider protocol by fetching requested objects from several different underlying providers. If any of the underlying sources @@ -25,84 +25,84 @@

    §Examples

    .with_provider(qs2);

    Implementations§

    source§

    impl<Types> AnyProvider<Types>
    where Types: NodeType,

    source

    pub fn with_provider<P>(self, provider: P) -> Self
    where - P: AvailabilityProvider<Types> + Debug + 'static,

    Add a sub-provider which fetches both blocks and leaves.

    + P: AvailabilityProvider<Types> + Debug + 'static,

    Add a sub-provider which fetches both blocks and leaves.

    source

    pub fn with_block_provider<P>(self, provider: P) -> Self
    where - P: Provider<Types, PayloadRequest> + Debug + 'static,

    Add a sub-provider which fetches blocks.

    + P: Provider<Types, PayloadRequest> + Debug + 'static,

    Add a sub-provider which fetches blocks.

    source

    pub fn with_leaf_provider<P>(self, provider: P) -> Self
    where - P: Provider<Types, LeafRequest> + Debug + 'static,

    Add a sub-provider which fetches leaves.

    + P: Provider<Types, LeafRequest> + Debug + 'static,

    Add a sub-provider which fetches leaves.

    source

    pub fn with_vid_common_provider<P>(self, provider: P) -> Self
    where - P: Provider<Types, VidCommonRequest> + Debug + 'static,

    Add a sub-provider which fetches VID common data.

    -

    Trait Implementations§

    source§

    impl<Types> Clone for AnyProvider<Types>
    where - Types: NodeType,

    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<Types> Debug for AnyProvider<Types>
    where - Types: NodeType,

    source§

    fn fmt(&self, __f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Types> Default for AnyProvider<Types>
    where - Types: NodeType,

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<Types> Provider<Types, LeafRequest> for AnyProvider<Types>
    where + P: Provider<Types, VidCommonRequest> + Debug + 'static,

    Add a sub-provider which fetches VID common data.

    +

    Trait Implementations§

    source§

    impl<Types> Clone for AnyProvider<Types>
    where + Types: NodeType,

    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<Types> Debug for AnyProvider<Types>
    where + Types: NodeType,

    source§

    fn fmt(&self, __f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Types> Default for AnyProvider<Types>
    where + Types: NodeType,

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<Types> Provider<Types, LeafRequest> for AnyProvider<Types>
    where Types: NodeType,

    source§

    fn fetch<'life0, 'async_trait>( &'life0 self, req: LeafRequest, -) -> Pin<Box<dyn Future<Output = Option<LeafQueryData<Types>>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = Option<LeafQueryData<Types>>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    Fetch a resource.
    source§

    impl<Types> Provider<Types, PayloadRequest> for AnyProvider<Types>
    where - Types: NodeType,

    source§

    fn fetch<'life0, 'async_trait>( + Types: NodeType,

    source§

    fn fetch<'life0, 'async_trait>( &'life0 self, req: PayloadRequest, -) -> Pin<Box<dyn Future<Output = Option<Payload<Types>>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = Option<Payload<Types>>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    Fetch a resource.
    source§

    impl<Types> Provider<Types, VidCommonRequest> for AnyProvider<Types>
    where - Types: NodeType,

    source§

    fn fetch<'life0, 'async_trait>( + Types: NodeType,

    source§

    fn fetch<'life0, 'async_trait>( &'life0 self, req: VidCommonRequest, -) -> Pin<Box<dyn Future<Output = Option<VidCommon>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = Option<VidCommon>> + Send + 'async_trait>>
    where Self: 'async_trait, - 'life0: 'async_trait,

    Fetch a resource.

    Auto Trait Implementations§

    §

    impl<Types> Freeze for AnyProvider<Types>

    §

    impl<Types> !RefUnwindSafe for AnyProvider<Types>

    §

    impl<Types> Send for AnyProvider<Types>

    §

    impl<Types> Sync for AnyProvider<Types>

    §

    impl<Types> Unpin for AnyProvider<Types>

    §

    impl<Types> !UnwindSafe for AnyProvider<Types>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( + 'life0: 'async_trait,

    Fetch a resource.

    Auto Trait Implementations§

    §

    impl<Types> Freeze for AnyProvider<Types>

    §

    impl<Types> !RefUnwindSafe for AnyProvider<Types>

    §

    impl<Types> Send for AnyProvider<Types>

    §

    impl<Types> Sync for AnyProvider<Types>

    §

    impl<Types> Unpin for AnyProvider<Types>

    §

    impl<Types> !UnwindSafe for AnyProvider<Types>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -110,80 +110,80 @@

    §Examples

    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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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<Types, P> AvailabilityProvider<Types> for P
    where Types: NodeType, - P: Provider<Types, LeafRequest> + Provider<Types, PayloadRequest> + Provider<Types, VidCommonRequest> + Sync + 'static,

    \ No newline at end of file + P: Provider<Types, LeafRequest> + Provider<Types, PayloadRequest> + Provider<Types, VidCommonRequest> + Sync + 'static, \ No newline at end of file diff --git a/hotshot_query_service/fetching/provider/struct.NoFetching.html b/hotshot_query_service/fetching/provider/struct.NoFetching.html index dc3f154dc..6bc55d0ae 100644 --- a/hotshot_query_service/fetching/provider/struct.NoFetching.html +++ b/hotshot_query_service/fetching/provider/struct.NoFetching.html @@ -1,60 +1,60 @@ -NoFetching in hotshot_query_service::fetching::provider - Rust

    Struct hotshot_query_service::fetching::provider::NoFetching

    source ·
    pub struct NoFetching;
    Expand description

    Trivial Provider where fetching always fails.

    +NoFetching in hotshot_query_service::fetching::provider - Rust

    Struct hotshot_query_service::fetching::provider::NoFetching

    source ·
    pub struct NoFetching;
    Expand description

    Trivial Provider where fetching always fails.

    Useful for examples and tests which should never have need of a fetcher.

    -

    Trait Implementations§

    source§

    impl Clone for NoFetching

    source§

    fn clone(&self) -> NoFetching

    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 NoFetching

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for NoFetching

    source§

    fn default() -> NoFetching

    Returns the “default value” for a type. Read more
    source§

    impl<Types, T: Send + Request<Types> + 'static> Provider<Types, T> for NoFetching

    source§

    fn fetch<'life0, 'async_trait>( +

    Trait Implementations§

    source§

    impl Clone for NoFetching

    source§

    fn clone(&self) -> NoFetching

    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 NoFetching

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for NoFetching

    source§

    fn default() -> NoFetching

    Returns the “default value” for a type. Read more
    source§

    impl<Types, T: Send + Request<Types> + 'static> Provider<Types, T> for NoFetching

    source§

    fn fetch<'life0, 'async_trait>( &'life0 self, _req: T, -) -> Pin<Box<dyn Future<Output = Option<T::Response>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = Option<T::Response>> + Send + 'async_trait>>
    where Self: 'async_trait, - 'life0: 'async_trait,

    Fetch a resource.
    source§

    impl Copy for NoFetching

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( + 'life0: 'async_trait,

    Fetch a resource.
    source§

    impl Copy for NoFetching

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -62,80 +62,80 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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<Types, P> AvailabilityProvider<Types> for P
    where Types: NodeType, - P: Provider<Types, LeafRequest> + Provider<Types, PayloadRequest> + Provider<Types, VidCommonRequest> + Sync + 'static,

    \ No newline at end of file + P: Provider<Types, LeafRequest> + Provider<Types, PayloadRequest> + Provider<Types, VidCommonRequest> + Sync + 'static, \ No newline at end of file diff --git a/hotshot_query_service/fetching/provider/struct.QueryServiceProvider.html b/hotshot_query_service/fetching/provider/struct.QueryServiceProvider.html index f64ee2e67..a25bb7d54 100644 --- a/hotshot_query_service/fetching/provider/struct.QueryServiceProvider.html +++ b/hotshot_query_service/fetching/provider/struct.QueryServiceProvider.html @@ -1,74 +1,74 @@ -QueryServiceProvider in hotshot_query_service::fetching::provider - Rust
    pub struct QueryServiceProvider<Ver: StaticVersionType> { /* private fields */ }
    Expand description

    Data availability provider backed by another instance of this query service.

    +QueryServiceProvider in hotshot_query_service::fetching::provider - Rust
    pub struct QueryServiceProvider<Ver: StaticVersionType> { /* private fields */ }
    Expand description

    Data availability provider backed by another instance of this query service.

    This fetcher implements the Provider interface by querying the REST API provided by another instance of this query service to try and retrieve missing objects.

    -

    Implementations§

    source§

    impl<Ver: StaticVersionType> QueryServiceProvider<Ver>

    source

    pub fn new(url: Url, _: Ver) -> Self

    Trait Implementations§

    source§

    impl<Ver: Clone + StaticVersionType> Clone for QueryServiceProvider<Ver>

    source§

    fn clone(&self) -> QueryServiceProvider<Ver>

    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<Ver: Debug + StaticVersionType> Debug for QueryServiceProvider<Ver>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Types, Ver: StaticVersionType> Provider<Types, LeafRequest> for QueryServiceProvider<Ver>
    where +

    Implementations§

    source§

    impl<Ver: StaticVersionType> QueryServiceProvider<Ver>

    source

    pub fn new(url: Url, _: Ver) -> Self

    Trait Implementations§

    source§

    impl<Ver: Clone + StaticVersionType> Clone for QueryServiceProvider<Ver>

    source§

    fn clone(&self) -> QueryServiceProvider<Ver>

    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<Ver: Debug + StaticVersionType> Debug for QueryServiceProvider<Ver>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Types, Ver: StaticVersionType> Provider<Types, LeafRequest> for QueryServiceProvider<Ver>
    where Types: NodeType,

    source§

    fn fetch<'life0, 'async_trait>( &'life0 self, req: LeafRequest, -) -> Pin<Box<dyn Future<Output = Option<LeafQueryData<Types>>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = Option<LeafQueryData<Types>>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    Fetch a resource.
    source§

    impl<Types, Ver: StaticVersionType> Provider<Types, PayloadRequest> for QueryServiceProvider<Ver>
    where Types: NodeType,

    source§

    fn fetch<'life0, 'async_trait>( &'life0 self, req: PayloadRequest, -) -> Pin<Box<dyn Future<Output = Option<Payload<Types>>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = Option<Payload<Types>>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    Fetch a resource.
    source§

    impl<Types, Ver: StaticVersionType> Provider<Types, VidCommonRequest> for QueryServiceProvider<Ver>
    where Types: NodeType,

    source§

    fn fetch<'life0, 'async_trait>( &'life0 self, req: VidCommonRequest, -) -> Pin<Box<dyn Future<Output = Option<VidCommon>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = Option<VidCommon>> + Send + 'async_trait>>
    where Self: 'async_trait, - 'life0: 'async_trait,

    Fetch a resource.

    Auto Trait Implementations§

    §

    impl<Ver> Freeze for QueryServiceProvider<Ver>

    §

    impl<Ver> !RefUnwindSafe for QueryServiceProvider<Ver>

    §

    impl<Ver> Send for QueryServiceProvider<Ver>

    §

    impl<Ver> Sync for QueryServiceProvider<Ver>

    §

    impl<Ver> Unpin for QueryServiceProvider<Ver>

    §

    impl<Ver> !UnwindSafe for QueryServiceProvider<Ver>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( + 'life0: 'async_trait,

    Fetch a resource.

    Auto Trait Implementations§

    §

    impl<Ver> Freeze for QueryServiceProvider<Ver>

    §

    impl<Ver> !RefUnwindSafe for QueryServiceProvider<Ver>

    §

    impl<Ver> Send for QueryServiceProvider<Ver>

    §

    impl<Ver> Sync for QueryServiceProvider<Ver>

    §

    impl<Ver> Unpin for QueryServiceProvider<Ver>

    §

    impl<Ver> !UnwindSafe for QueryServiceProvider<Ver>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -76,80 +76,80 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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<Types, P> AvailabilityProvider<Types> for P
    where Types: NodeType, - P: Provider<Types, LeafRequest> + Provider<Types, PayloadRequest> + Provider<Types, VidCommonRequest> + Sync + 'static,

    \ No newline at end of file + P: Provider<Types, LeafRequest> + Provider<Types, PayloadRequest> + Provider<Types, VidCommonRequest> + Sync + 'static, \ No newline at end of file diff --git a/hotshot_query_service/fetching/provider/struct.TestProvider.html b/hotshot_query_service/fetching/provider/struct.TestProvider.html index 115b23652..655c36190 100644 --- a/hotshot_query_service/fetching/provider/struct.TestProvider.html +++ b/hotshot_query_service/fetching/provider/struct.TestProvider.html @@ -1,4 +1,4 @@ -TestProvider in hotshot_query_service::fetching::provider - Rust
    pub struct TestProvider<P> { /* private fields */ }
    Expand description

    Adaptor to add test-only functionality to an existing Provider.

    +TestProvider in hotshot_query_service::fetching::provider - Rust
    pub struct TestProvider<P> { /* private fields */ }
    Expand description

    Adaptor to add test-only functionality to an existing Provider.

    TestProvider wraps an existing provider P and adds some additional functionality which can be useful in tests, such as the ability to inject delays into the handling of fetch requests.

    Implementations§

    source§

    impl<P> TestProvider<P>

    source

    pub fn new(inner: P) -> Self

    source

    pub async fn block(&self)

    Delay fetch requests until unblock.

    @@ -13,67 +13,67 @@

    All requests to the provider after this function is called will fail, until unfail is called.

    source

    pub fn unfail(&self)

    Stop requests from failing as a result of a previous call to fail.

    -

    Trait Implementations§

    source§

    impl<P> Clone for TestProvider<P>

    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<P> Debug for TestProvider<P>
    where - P: Debug,

    source§

    fn fmt(&self, __f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Types, P, T> Provider<Types, T> for TestProvider<P>
    where +

    Trait Implementations§

    source§

    impl<P> Clone for TestProvider<P>

    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<P> Debug for TestProvider<P>
    where + P: Debug,

    source§

    fn fmt(&self, __f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Types, P, T> Provider<Types, T> for TestProvider<P>
    where Types: NodeType, T: Request<Types> + 'static, - P: Provider<Types, T> + Sync,

    source§

    fn fetch<'life0, 'async_trait>( + P: Provider<Types, T> + Sync,

    source§

    fn fetch<'life0, 'async_trait>( &'life0 self, req: T, -) -> Pin<Box<dyn Future<Output = Option<T::Response>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = Option<T::Response>> + Send + 'async_trait>>
    where Self: 'async_trait, - 'life0: 'async_trait,

    Fetch a resource.

    Auto Trait Implementations§

    §

    impl<P> Freeze for TestProvider<P>

    §

    impl<P> !RefUnwindSafe for TestProvider<P>

    §

    impl<P> Send for TestProvider<P>
    where - P: Sync + Send,

    §

    impl<P> Sync for TestProvider<P>
    where - P: Sync + Send,

    §

    impl<P> Unpin for TestProvider<P>

    §

    impl<P> !UnwindSafe for TestProvider<P>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( + 'life0: 'async_trait,

    Fetch a resource.

    Auto Trait Implementations§

    §

    impl<P> Freeze for TestProvider<P>

    §

    impl<P> !RefUnwindSafe for TestProvider<P>

    §

    impl<P> Send for TestProvider<P>
    where + P: Sync + Send,

    §

    impl<P> Sync for TestProvider<P>
    where + P: Sync + Send,

    §

    impl<P> Unpin for TestProvider<P>

    §

    impl<P> !UnwindSafe for TestProvider<P>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -81,80 +81,80 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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<Types, P> AvailabilityProvider<Types> for P
    where Types: NodeType, - P: Provider<Types, LeafRequest> + Provider<Types, PayloadRequest> + Provider<Types, VidCommonRequest> + Sync + 'static,

    \ No newline at end of file + P: Provider<Types, LeafRequest> + Provider<Types, PayloadRequest> + Provider<Types, VidCommonRequest> + Sync + 'static, \ No newline at end of file diff --git a/hotshot_query_service/fetching/provider/trait.Provider.html b/hotshot_query_service/fetching/provider/trait.Provider.html index f18b4cde7..a0e686c2a 100644 --- a/hotshot_query_service/fetching/provider/trait.Provider.html +++ b/hotshot_query_service/fetching/provider/trait.Provider.html @@ -1,9 +1,9 @@ -Provider in hotshot_query_service::fetching::provider - Rust

    Trait hotshot_query_service::fetching::provider::Provider

    source ·
    pub trait Provider<Types, T: Request<Types>>: Send + Sync {
    +Provider in hotshot_query_service::fetching::provider - Rust

    Trait hotshot_query_service::fetching::provider::Provider

    source ·
    pub trait Provider<Types, T: Request<Types>>: Send + Sync {
         // Required method
         fn fetch<'life0, 'async_trait>(
             &'life0 self,
             req: T,
    -    ) -> Pin<Box<dyn Future<Output = Option<T::Response>> + Send + 'async_trait>>
    +    ) -> Pin<Box<dyn Future<Output = Option<T::Response>> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait;
     }
    Expand description

    A provider which is able to satisfy requests for data of type T.

    @@ -12,15 +12,15 @@

    Required Methods§

    source

    fn fetch<'life0, 'async_trait>( &'life0 self, req: T, -) -> Pin<Box<dyn Future<Output = Option<T::Response>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = Option<T::Response>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    Fetch a resource.

    -

    Implementations on Foreign Types§

    source§

    impl<Types, T, P> Provider<Types, T> for Arc<P>
    where +

    Implementations on Foreign Types§

    source§

    impl<Types, T, P> Provider<Types, T> for Arc<P>
    where T: Request<Types> + 'static, - P: Provider<Types, T> + Sync,

    source§

    fn fetch<'life0, 'async_trait>( + P: Provider<Types, T> + Sync,

    source§

    fn fetch<'life0, 'async_trait>( &'life0 self, req: T, -) -> Pin<Box<dyn Future<Output = Option<T::Response>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = Option<T::Response>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    Implementors§

    source§

    impl<Types> Provider<Types, LeafRequest> for AnyProvider<Types>
    where Types: NodeType,

    source§

    impl<Types> Provider<Types, PayloadRequest> for AnyProvider<Types>
    where @@ -28,7 +28,7 @@ Types: NodeType,

    source§

    impl<Types, P, T> Provider<Types, T> for TestProvider<P>
    where Types: NodeType, T: Request<Types> + 'static, - P: Provider<Types, T> + Sync,

    source§

    impl<Types, T: Send + Request<Types> + 'static> Provider<Types, T> for NoFetching

    source§

    impl<Types, Ver: StaticVersionType> Provider<Types, LeafRequest> for QueryServiceProvider<Ver>
    where + P: Provider<Types, T> + Sync,

    source§

    impl<Types, T: Send + Request<Types> + 'static> Provider<Types, T> for NoFetching

    source§

    impl<Types, Ver: StaticVersionType> Provider<Types, LeafRequest> for QueryServiceProvider<Ver>
    where Types: NodeType,

    source§

    impl<Types, Ver: StaticVersionType> Provider<Types, PayloadRequest> for QueryServiceProvider<Ver>
    where Types: NodeType,

    source§

    impl<Types, Ver: StaticVersionType> Provider<Types, VidCommonRequest> for QueryServiceProvider<Ver>
    where Types: NodeType,

    \ No newline at end of file diff --git a/hotshot_query_service/fetching/request/index.html b/hotshot_query_service/fetching/request/index.html index 88aaff743..19a82593d 100644 --- a/hotshot_query_service/fetching/request/index.html +++ b/hotshot_query_service/fetching/request/index.html @@ -1,2 +1,2 @@ -hotshot_query_service::fetching::request - Rust

    Module hotshot_query_service::fetching::request

    source ·
    Expand description

    Requests for fetching resources.

    +hotshot_query_service::fetching::request - Rust

    Module hotshot_query_service::fetching::request

    source ·
    Expand description

    Requests for fetching resources.

    Structs§

    Traits§

    \ No newline at end of file diff --git a/hotshot_query_service/fetching/request/struct.LeafRequest.html b/hotshot_query_service/fetching/request/struct.LeafRequest.html index bf8f6bdfc..500233fea 100644 --- a/hotshot_query_service/fetching/request/struct.LeafRequest.html +++ b/hotshot_query_service/fetching/request/struct.LeafRequest.html @@ -1,79 +1,79 @@ -LeafRequest in hotshot_query_service::fetching::request - Rust

    Struct hotshot_query_service::fetching::request::LeafRequest

    source ·
    pub struct LeafRequest(/* private fields */);
    Expand description

    A request for a leaf with a given height.

    -

    Trait Implementations§

    source§

    impl Clone for LeafRequest

    source§

    fn clone(&self) -> LeafRequest

    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 LeafRequest

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<LeafRequest> for usize

    source§

    fn from(original: LeafRequest) -> Self

    Converts to this type from the input type.
    source§

    impl From<usize> for LeafRequest

    source§

    fn from(original: usize) -> LeafRequest

    Converts to this type from the input type.
    source§

    impl Hash for LeafRequest

    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 PartialEq for LeafRequest

    source§

    fn eq(&self, other: &LeafRequest) -> 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 +LeafRequest in hotshot_query_service::fetching::request - Rust

    Struct hotshot_query_service::fetching::request::LeafRequest

    source ·
    pub struct LeafRequest(/* private fields */);
    Expand description

    A request for a leaf with a given height.

    +

    Trait Implementations§

    source§

    impl Clone for LeafRequest

    source§

    fn clone(&self) -> LeafRequest

    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 LeafRequest

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<LeafRequest> for usize

    source§

    fn from(original: LeafRequest) -> Self

    Converts to this type from the input type.
    source§

    impl From<usize> for LeafRequest

    source§

    fn from(original: usize) -> LeafRequest

    Converts to this type from the input type.
    source§

    impl Hash for LeafRequest

    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 PartialEq for LeafRequest

    source§

    fn eq(&self, other: &LeafRequest) -> 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> Provider<Types, LeafRequest> for AnyProvider<Types>
    where Types: NodeType,

    source§

    fn fetch<'life0, 'async_trait>( &'life0 self, req: LeafRequest, -) -> Pin<Box<dyn Future<Output = Option<LeafQueryData<Types>>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = Option<LeafQueryData<Types>>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    Fetch a resource.
    source§

    impl<Types, Ver: StaticVersionType> Provider<Types, LeafRequest> for QueryServiceProvider<Ver>
    where Types: NodeType,

    source§

    fn fetch<'life0, 'async_trait>( &'life0 self, req: LeafRequest, -) -> Pin<Box<dyn Future<Output = Option<LeafQueryData<Types>>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = Option<LeafQueryData<Types>>> + Send + 'async_trait>>
    where Self: 'async_trait, - 'life0: 'async_trait,

    Fetch a resource.
    source§

    impl<Types: NodeType> Request<Types> for LeafRequest

    §

    type Response = LeafQueryData<Types>

    The type of resource that will be returned as a successful response to this request.
    source§

    impl Copy for LeafRequest

    source§

    impl Eq for LeafRequest

    source§

    impl StructuralPartialEq for LeafRequest

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( + 'life0: 'async_trait,

    Fetch a resource.
    source§

    impl<Types: NodeType> Request<Types> for LeafRequest

    §

    type Response = LeafQueryData<Types>

    The type of resource that will be returned as a successful response to this request.
    source§

    impl Copy for LeafRequest

    source§

    impl Eq for LeafRequest

    source§

    impl StructuralPartialEq for LeafRequest

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CallHasher for T
    where - T: Hash + ?Sized,

    §

    fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
    where - H: Hash + ?Sized, - B: BuildHasher,

    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CallHasher for T
    where + T: Hash + ?Sized,

    §

    fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
    where + H: Hash + ?Sized, + B: BuildHasher,

    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -81,79 +81,79 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    §

    impl<T> Element for T
    where - T: Clone + Eq + PartialEq + Hash,

    \ No newline at end of file + T: Clone + Eq + PartialEq + Hash, \ No newline at end of file diff --git a/hotshot_query_service/fetching/request/struct.PayloadRequest.html b/hotshot_query_service/fetching/request/struct.PayloadRequest.html index dc79231c2..908023ed2 100644 --- a/hotshot_query_service/fetching/request/struct.PayloadRequest.html +++ b/hotshot_query_service/fetching/request/struct.PayloadRequest.html @@ -1,79 +1,79 @@ -PayloadRequest in hotshot_query_service::fetching::request - Rust
    pub struct PayloadRequest(pub VidCommitment);
    Expand description

    A request for a payload with a given commitment.

    -

    Tuple Fields§

    §0: VidCommitment

    Trait Implementations§

    source§

    impl Clone for PayloadRequest

    source§

    fn clone(&self) -> PayloadRequest

    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 PayloadRequest

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for PayloadRequest

    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 PartialEq for PayloadRequest

    source§

    fn eq(&self, other: &PayloadRequest) -> 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 +PayloadRequest in hotshot_query_service::fetching::request - Rust
    pub struct PayloadRequest(pub VidCommitment);
    Expand description

    A request for a payload with a given commitment.

    +

    Tuple Fields§

    §0: VidCommitment

    Trait Implementations§

    source§

    impl Clone for PayloadRequest

    source§

    fn clone(&self) -> PayloadRequest

    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 PayloadRequest

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for PayloadRequest

    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 PartialEq for PayloadRequest

    source§

    fn eq(&self, other: &PayloadRequest) -> 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> Provider<Types, PayloadRequest> for AnyProvider<Types>
    where - Types: NodeType,

    source§

    fn fetch<'life0, 'async_trait>( + Types: NodeType,

    source§

    fn fetch<'life0, 'async_trait>( &'life0 self, req: PayloadRequest, -) -> Pin<Box<dyn Future<Output = Option<Payload<Types>>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = Option<Payload<Types>>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    Fetch a resource.
    source§

    impl<Types, Ver: StaticVersionType> Provider<Types, PayloadRequest> for QueryServiceProvider<Ver>
    where - Types: NodeType,

    source§

    fn fetch<'life0, 'async_trait>( + Types: NodeType,

    source§

    fn fetch<'life0, 'async_trait>( &'life0 self, req: PayloadRequest, -) -> Pin<Box<dyn Future<Output = Option<Payload<Types>>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = Option<Payload<Types>>> + Send + 'async_trait>>
    where Self: 'async_trait, - 'life0: 'async_trait,

    Fetch a resource.
    source§

    impl<Types: NodeType> Request<Types> for PayloadRequest

    §

    type Response = <Types as NodeType>::BlockPayload

    The type of resource that will be returned as a successful response to this request.
    source§

    impl Copy for PayloadRequest

    source§

    impl Eq for PayloadRequest

    source§

    impl StructuralPartialEq for PayloadRequest

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( + 'life0: 'async_trait,

    Fetch a resource.
    source§

    impl<Types: NodeType> Request<Types> for PayloadRequest

    §

    type Response = <Types as NodeType>::BlockPayload

    The type of resource that will be returned as a successful response to this request.
    source§

    impl Copy for PayloadRequest

    source§

    impl Eq for PayloadRequest

    source§

    impl StructuralPartialEq for PayloadRequest

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CallHasher for T
    where - T: Hash + ?Sized,

    §

    fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
    where - H: Hash + ?Sized, - B: BuildHasher,

    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CallHasher for T
    where + T: Hash + ?Sized,

    §

    fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
    where + H: Hash + ?Sized, + B: BuildHasher,

    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -81,79 +81,79 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    §

    impl<T> Element for T
    where - T: Clone + Eq + PartialEq + Hash,

    \ No newline at end of file + T: Clone + Eq + PartialEq + Hash, \ No newline at end of file diff --git a/hotshot_query_service/fetching/request/struct.VidCommonRequest.html b/hotshot_query_service/fetching/request/struct.VidCommonRequest.html index acbe77c99..44f7b9110 100644 --- a/hotshot_query_service/fetching/request/struct.VidCommonRequest.html +++ b/hotshot_query_service/fetching/request/struct.VidCommonRequest.html @@ -1,79 +1,79 @@ -VidCommonRequest in hotshot_query_service::fetching::request - Rust
    pub struct VidCommonRequest(pub VidCommitment);
    Expand description

    A request for VID common data.

    -

    Tuple Fields§

    §0: VidCommitment

    Trait Implementations§

    source§

    impl Clone for VidCommonRequest

    source§

    fn clone(&self) -> VidCommonRequest

    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 VidCommonRequest

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for VidCommonRequest

    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 PartialEq for VidCommonRequest

    source§

    fn eq(&self, other: &VidCommonRequest) -> 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 +VidCommonRequest in hotshot_query_service::fetching::request - Rust
    pub struct VidCommonRequest(pub VidCommitment);
    Expand description

    A request for VID common data.

    +

    Tuple Fields§

    §0: VidCommitment

    Trait Implementations§

    source§

    impl Clone for VidCommonRequest

    source§

    fn clone(&self) -> VidCommonRequest

    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 VidCommonRequest

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for VidCommonRequest

    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 PartialEq for VidCommonRequest

    source§

    fn eq(&self, other: &VidCommonRequest) -> 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> Provider<Types, VidCommonRequest> for AnyProvider<Types>
    where - Types: NodeType,

    source§

    fn fetch<'life0, 'async_trait>( + Types: NodeType,

    source§

    fn fetch<'life0, 'async_trait>( &'life0 self, req: VidCommonRequest, -) -> Pin<Box<dyn Future<Output = Option<VidCommon>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = Option<VidCommon>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    Fetch a resource.
    source§

    impl<Types, Ver: StaticVersionType> Provider<Types, VidCommonRequest> for QueryServiceProvider<Ver>
    where - Types: NodeType,

    source§

    fn fetch<'life0, 'async_trait>( + Types: NodeType,

    source§

    fn fetch<'life0, 'async_trait>( &'life0 self, req: VidCommonRequest, -) -> Pin<Box<dyn Future<Output = Option<VidCommon>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = Option<VidCommon>> + Send + 'async_trait>>
    where Self: 'async_trait, - 'life0: 'async_trait,

    Fetch a resource.
    source§

    impl<Types: NodeType> Request<Types> for VidCommonRequest

    §

    type Response = <VidSchemeType as VidScheme>::Common

    The type of resource that will be returned as a successful response to this request.
    source§

    impl Copy for VidCommonRequest

    source§

    impl Eq for VidCommonRequest

    source§

    impl StructuralPartialEq for VidCommonRequest

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( + 'life0: 'async_trait,

    Fetch a resource.
    source§

    impl<Types: NodeType> Request<Types> for VidCommonRequest

    §

    type Response = <VidSchemeType as VidScheme>::Common

    The type of resource that will be returned as a successful response to this request.
    source§

    impl Copy for VidCommonRequest

    source§

    impl Eq for VidCommonRequest

    source§

    impl StructuralPartialEq for VidCommonRequest

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CallHasher for T
    where - T: Hash + ?Sized,

    §

    fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
    where - H: Hash + ?Sized, - B: BuildHasher,

    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CallHasher for T
    where + T: Hash + ?Sized,

    §

    fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
    where + H: Hash + ?Sized, + B: BuildHasher,

    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -81,79 +81,79 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    §

    impl<T> Element for T
    where - T: Clone + Eq + PartialEq + Hash,

    \ No newline at end of file + T: Clone + Eq + PartialEq + Hash, \ No newline at end of file diff --git a/hotshot_query_service/fetching/request/trait.Request.html b/hotshot_query_service/fetching/request/trait.Request.html index 9bd29b3de..673ee99f7 100644 --- a/hotshot_query_service/fetching/request/trait.Request.html +++ b/hotshot_query_service/fetching/request/trait.Request.html @@ -1,5 +1,5 @@ -Request in hotshot_query_service::fetching::request - Rust

    Trait hotshot_query_service::fetching::request::Request

    source ·
    pub trait Request<Types>: Copy + Debug + Eq + Hash + Send {
    -    type Response: Clone + Send;
    +Request in hotshot_query_service::fetching::request - Rust

    Trait hotshot_query_service::fetching::request::Request

    source ·
    pub trait Request<Types>: Copy + Debug + Eq + Hash + Send {
    +    type Response: Clone + Send;
     }
    Expand description

    A request for a resource.

    -

    Required Associated Types§

    source

    type Response: Clone + Send

    The type of resource that will be returned as a successful response to this request.

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl<Types: NodeType> Request<Types> for LeafRequest

    source§

    impl<Types: NodeType> Request<Types> for PayloadRequest

    §

    type Response = <Types as NodeType>::BlockPayload

    source§

    impl<Types: NodeType> Request<Types> for VidCommonRequest

    §

    type Response = <VidSchemeType as VidScheme>::Common

    \ No newline at end of file +

    Required Associated Types§

    source

    type Response: Clone + Send

    The type of resource that will be returned as a successful response to this request.

    +

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl<Types: NodeType> Request<Types> for LeafRequest

    source§

    impl<Types: NodeType> Request<Types> for PayloadRequest

    §

    type Response = <Types as NodeType>::BlockPayload

    source§

    impl<Types: NodeType> Request<Types> for VidCommonRequest

    §

    type Response = <VidSchemeType as VidScheme>::Common

    \ No newline at end of file diff --git a/hotshot_query_service/fetching/struct.Fetcher.html b/hotshot_query_service/fetching/struct.Fetcher.html index 42941bf4a..8010c729d 100644 --- a/hotshot_query_service/fetching/struct.Fetcher.html +++ b/hotshot_query_service/fetching/struct.Fetcher.html @@ -1,9 +1,9 @@ -Fetcher in hotshot_query_service::fetching - Rust

    Struct hotshot_query_service::fetching::Fetcher

    source ·
    pub struct Fetcher<T, C> { /* private fields */ }
    Expand description

    Management of concurrent requests to fetch resources.

    -

    Implementations§

    source§

    impl<T, C> Fetcher<T, C>

    source

    pub fn with_retry_delay(self, retry_delay: Duration) -> Self

    source

    pub fn with_rate_limit(self, permit: Arc<Semaphore>) -> Self

    source§

    impl<T, C> Fetcher<T, C>

    source

    pub fn spawn_fetch<Types>( +Fetcher in hotshot_query_service::fetching - Rust

    Struct hotshot_query_service::fetching::Fetcher

    source ·
    pub struct Fetcher<T, C> { /* private fields */ }
    Expand description

    Management of concurrent requests to fetch resources.

    +

    Implementations§

    source§

    impl<T, C> Fetcher<T, C>

    source

    pub fn with_retry_delay(self, retry_delay: Duration) -> Self

    source

    pub fn with_rate_limit(self, permit: Arc<Semaphore>) -> Self

    source§

    impl<T, C> Fetcher<T, C>

    source

    pub fn spawn_fetch<Types>( &self, req: T, provider: impl Provider<Types, T> + 'static, - callbacks: impl IntoIterator<Item = C> + Send + 'static, + callbacks: impl IntoIterator<Item = C> + Send + 'static, )
    where T: Request<Types> + 'static, C: Callback<T::Response> + 'static,

    Fetch a resource, if it is not already being fetched.

    @@ -20,60 +20,60 @@

    The spawned task will continue trying to fetch the object until it succeeds, so it is the caller’s responsibility only to use this method for resources which are known to exist and be fetchable by provider.

    -

    Trait Implementations§

    source§

    impl<T, C> Clone for Fetcher<T, C>

    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, C> Debug for Fetcher<T, C>

    source§

    fn fmt(&self, __f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<T, C> Default for Fetcher<T, C>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl<T, C> Freeze for Fetcher<T, C>

    §

    impl<T, C> !RefUnwindSafe for Fetcher<T, C>

    §

    impl<T, C> Send for Fetcher<T, C>
    where - T: Send, - C: Send,

    §

    impl<T, C> Sync for Fetcher<T, C>
    where - T: Send, - C: Send,

    §

    impl<T, C> Unpin for Fetcher<T, C>

    §

    impl<T, C> !UnwindSafe for Fetcher<T, C>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +

    Trait Implementations§

    source§

    impl<T, C> Clone for Fetcher<T, C>

    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, C> Debug for Fetcher<T, C>

    source§

    fn fmt(&self, __f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<T, C> Default for Fetcher<T, C>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl<T, C> Freeze for Fetcher<T, C>

    §

    impl<T, C> !RefUnwindSafe for Fetcher<T, C>

    §

    impl<T, C> Send for Fetcher<T, C>
    where + T: Send, + C: Send,

    §

    impl<T, C> Sync for Fetcher<T, C>
    where + T: Send, + C: Send,

    §

    impl<T, C> Unpin for Fetcher<T, C>

    §

    impl<T, C> !UnwindSafe for Fetcher<T, C>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -81,78 +81,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ No newline at end of file diff --git a/hotshot_query_service/fetching/trait.Callback.html b/hotshot_query_service/fetching/trait.Callback.html index 05e6a5b47..05171b5b2 100644 --- a/hotshot_query_service/fetching/trait.Callback.html +++ b/hotshot_query_service/fetching/trait.Callback.html @@ -1,6 +1,6 @@ -Callback in hotshot_query_service::fetching - Rust

    Trait hotshot_query_service::fetching::Callback

    source ·
    pub trait Callback<T>: Debug + Ord + Send {
    +Callback in hotshot_query_service::fetching - Rust

    Trait hotshot_query_service::fetching::Callback

    source ·
    pub trait Callback<T>: Debug + Ord + Send {
         // Required method
    -    fn run(self, response: T) -> impl Future<Output = ()> + Send;
    +    fn run(self, response: T) -> impl Future<Output = ()> + Send;
     }
    Expand description

    A callback to process the result of a request.

    Sometimes, we may fetch the same object for multiple purposes, so a request may have more than one callback registered. For example, we may fetch a leaf for its own sake and also to @@ -11,4 +11,4 @@ callback, so that when the task that actually fetched the resource completes, it will run one instance of each distinct callback which was registered. Callbacks will run in the order determined by Ord.

    -

    Required Methods§

    source

    fn run(self, response: T) -> impl Future<Output = ()> + Send

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Required Methods§

    source

    fn run(self, response: T) -> impl Future<Output = ()> + Send

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/hotshot_query_service/fetching/trait.LocalCallback.html b/hotshot_query_service/fetching/trait.LocalCallback.html index 8203ce878..8f34e925e 100644 --- a/hotshot_query_service/fetching/trait.LocalCallback.html +++ b/hotshot_query_service/fetching/trait.LocalCallback.html @@ -1,4 +1,4 @@ -LocalCallback in hotshot_query_service::fetching - Rust

    Trait hotshot_query_service::fetching::LocalCallback

    source ·
    pub trait LocalCallback<T>: Debug + Ord {
    +LocalCallback in hotshot_query_service::fetching - Rust

    Trait hotshot_query_service::fetching::LocalCallback

    source ·
    pub trait LocalCallback<T>: Debug + Ord {
         // Required method
         async fn run(self, response: T);
     }
    Expand description

    A callback to process the result of a request.

    @@ -11,4 +11,4 @@ callback, so that when the task that actually fetched the resource completes, it will run one instance of each distinct callback which was registered. Callbacks will run in the order determined by Ord.

    -

    Required Methods§

    source

    async fn run(self, response: T)

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl<T, TraitVariantBlanketType: Callback<T>> LocalCallback<T> for TraitVariantBlanketType

    \ No newline at end of file +

    Required Methods§

    source

    async fn run(self, response: T)

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl<T, TraitVariantBlanketType: Callback<T>> LocalCallback<T> for TraitVariantBlanketType

    \ 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 c4afd17f1..59ea6b137 100644 --- a/hotshot_query_service/fn.run_standalone_service.html +++ b/hotshot_query_service/fn.run_standalone_service.html @@ -1,11 +1,11 @@ -run_standalone_service in hotshot_query_service - Rust

    Function hotshot_query_service::run_standalone_service

    source ·
    pub async fn run_standalone_service<Types: NodeType, I: NodeImplementation<Types>, D, Ver>(
    +run_standalone_service in hotshot_query_service - Rust

    Function hotshot_query_service::run_standalone_service

    source ·
    pub async fn run_standalone_service<Types: NodeType, I: NodeImplementation<Types>, D, Ver>(
         options: Options,
         data_source: D,
         hotshot: SystemContextHandle<Types, I>,
         bind_version: Ver,
    -) -> Result<(), Error>
    where +) -> Result<(), Error>
    where Payload<Types>: QueryablePayload<Types>, Header<Types>: QueryableHeader<Types>, - D: AvailabilityDataSource<Types> + NodeDataSource<Types> + StatusDataSource + UpdateDataSource<Types> + VersionedDataSource + Send + Sync + 'static, + D: AvailabilityDataSource<Types> + NodeDataSource<Types> + StatusDataSource + UpdateDataSource<Types> + VersionedDataSource + Send + Sync + 'static, Ver: StaticVersionType + 'static,
    Expand description

    Run an instance of the HotShot Query service with no customization.

    \ No newline at end of file diff --git a/hotshot_query_service/index.html b/hotshot_query_service/index.html index d7806fd1d..e95afbc13 100644 --- a/hotshot_query_service/index.html +++ b/hotshot_query_service/index.html @@ -1,4 +1,4 @@ -hotshot_query_service - Rust

    Crate hotshot_query_service

    source ·
    Expand description

    The HotShot Query Service is a minimal, generic query service that can be integrated into any +hotshot_query_service - Rust

    Crate hotshot_query_service

    source ·
    Expand description

    The HotShot Query Service is a minimal, generic query service that can be integrated into any decentralized application running on the [hotshot] consensus layer. It provides all the features that HotShot itself expects of a query service (such as providing consensus-related data for catchup and synchronization) as well as some application-level features that deal only with diff --git a/hotshot_query_service/macro.include_migrations.html b/hotshot_query_service/macro.include_migrations.html index 062fd04b9..3f6287177 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 hotshot_query_service::include_migrations

    source ·
    macro_rules! include_migrations {
    +include_migrations in hotshot_query_service - Rust

    Macro hotshot_query_service::include_migrations

    source ·
    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/macro.instantiate_availability_tests.html b/hotshot_query_service/macro.instantiate_availability_tests.html index 6983a91c3..689009bb7 100644 --- a/hotshot_query_service/macro.instantiate_availability_tests.html +++ b/hotshot_query_service/macro.instantiate_availability_tests.html @@ -1,3 +1,3 @@ -instantiate_availability_tests in hotshot_query_service - Rust

    macro_rules! instantiate_availability_tests {
    +instantiate_availability_tests in hotshot_query_service - Rust
    macro_rules! instantiate_availability_tests {
         ($($t:ty),*) => { ... };
     }
    \ No newline at end of file diff --git a/hotshot_query_service/macro.instantiate_data_source_tests.html b/hotshot_query_service/macro.instantiate_data_source_tests.html index c19e36e9f..feed95d01 100644 --- a/hotshot_query_service/macro.instantiate_data_source_tests.html +++ b/hotshot_query_service/macro.instantiate_data_source_tests.html @@ -1,3 +1,3 @@ -instantiate_data_source_tests in hotshot_query_service - Rust
    macro_rules! instantiate_data_source_tests {
    +instantiate_data_source_tests in hotshot_query_service - Rust
    macro_rules! instantiate_data_source_tests {
         ($t:ty) => { ... };
     }
    \ No newline at end of file diff --git a/hotshot_query_service/macro.instantiate_node_tests.html b/hotshot_query_service/macro.instantiate_node_tests.html index 0ce701f50..bb617ae41 100644 --- a/hotshot_query_service/macro.instantiate_node_tests.html +++ b/hotshot_query_service/macro.instantiate_node_tests.html @@ -1,3 +1,3 @@ -instantiate_node_tests in hotshot_query_service - Rust
    macro_rules! instantiate_node_tests {
    +instantiate_node_tests in hotshot_query_service - Rust
    macro_rules! instantiate_node_tests {
         ($($t:ty),*) => { ... };
     }
    \ No newline at end of file diff --git a/hotshot_query_service/macro.instantiate_persistence_tests.html b/hotshot_query_service/macro.instantiate_persistence_tests.html index b337578a2..bb66d8a18 100644 --- a/hotshot_query_service/macro.instantiate_persistence_tests.html +++ b/hotshot_query_service/macro.instantiate_persistence_tests.html @@ -1,3 +1,3 @@ -instantiate_persistence_tests in hotshot_query_service - Rust
    macro_rules! instantiate_persistence_tests {
    +instantiate_persistence_tests in hotshot_query_service - Rust
    macro_rules! instantiate_persistence_tests {
         ($($t:ty),*) => { ... };
     }
    \ No newline at end of file diff --git a/hotshot_query_service/macro.instantiate_status_tests.html b/hotshot_query_service/macro.instantiate_status_tests.html index 37862738e..d6d34e034 100644 --- a/hotshot_query_service/macro.instantiate_status_tests.html +++ b/hotshot_query_service/macro.instantiate_status_tests.html @@ -1,3 +1,3 @@ -instantiate_status_tests in hotshot_query_service - Rust
    macro_rules! instantiate_status_tests {
    +instantiate_status_tests in hotshot_query_service - Rust
    macro_rules! instantiate_status_tests {
         ($($t:ty),*) => { ... };
     }
    \ No newline at end of file diff --git a/hotshot_query_service/merklized_state/enum.Error.html b/hotshot_query_service/merklized_state/enum.Error.html index a8870b73a..cd0988743 100644 --- a/hotshot_query_service/merklized_state/enum.Error.html +++ b/hotshot_query_service/merklized_state/enum.Error.html @@ -1,4 +1,4 @@ -Error in hotshot_query_service::merklized_state - Rust

    Enum hotshot_query_service::merklized_state::Error

    source ·
    pub enum Error {
    +Error in hotshot_query_service::merklized_state - Rust

    Enum hotshot_query_service::merklized_state::Error

    source ·
    pub enum Error {
         Request {
             source: RequestError,
         },
    @@ -6,73 +6,73 @@
             source: QueryError,
         },
         Custom {
    -        message: String,
    +        message: String,
             status: StatusCode,
         },
    -}

    Variants§

    §

    Request

    Fields

    §source: RequestError
    §

    Query

    Fields

    §source: QueryError
    §

    Custom

    Fields

    §message: String
    §status: StatusCode

    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 Error
    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 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
    §

    Query

    Fields

    §source: QueryError
    §

    Custom

    Fields

    §message: String
    §status: StatusCode

    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 Error
    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 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<QueryError> for Error

    source§

    fn from(original: QueryError) -> 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 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 Freeze for Error

    §

    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 T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +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<QueryError> for Error

    source§

    fn from(original: QueryError) -> 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 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 Freeze for Error

    §

    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 T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<T> AsErrorSource for T
    where - T: Error + 'static,

    §

    fn as_error_source(&self) -> &(dyn Error + 'static)

    For maximum effectiveness, this needs to be called as a method + 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 receivers.
    §

    impl<T> AsErrorSource for T
    where - T: Error + 'static,

    §

    fn as_error_source(&self) -> &(dyn Error + 'static)

    For maximum effectiveness, this needs to be called as a method + 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 receivers.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> Error for T
    where - T: Error + 'static,

    §

    fn as_error(&self) -> &(dyn Error + 'static)

    Gets this error as an std::error::Error.
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> Error for T
    where + T: Error + 'static,

    §

    fn as_error(&self) -> &(dyn Error + 'static)

    Gets this error as an std::error::Error.
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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<E> InstrumentError for E
    where - TracedError<E>: From<E>,

    §

    type Instrumented = TracedError<E>

    The type of the wrapped error after instrumentation
    source§

    fn in_current_span(self) -> <E as InstrumentError>::Instrumented

    Instrument an Error by bundling it with a SpanTrace Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + TracedError<E>: From<E>,
    §

    type Instrumented = TracedError<E>

    The type of the wrapped error after instrumentation
    source§

    fn in_current_span(self) -> <E as InstrumentError>::Instrumented

    Instrument an Error by bundling it with a SpanTrace Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -80,84 +80,84 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> SectionExt for T
    where - T: Display + Send + Sync + 'static,

    source§

    fn header<C>(self, header: C) -> IndentedSection<C, T>
    where - C: Display + Send + Sync + 'static,

    Add a header to a Section and indent the body Read more
    §

    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> SectionExt for T
    where + T: Display + Send + Sync + 'static,

    source§

    fn header<C>(self, header: C) -> IndentedSection<C, T>
    where + C: Display + Send + Sync + 'static,

    Add a header to a Section and indent the body Read more
    §

    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. 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 T
    where + 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 T
    where + 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 T
    where 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 + 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> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> NetworkMsg for T
    where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    §

    impl<T> TaskErr for T
    where - T: Error + Sync + Send + 'static,

    \ No newline at end of file +[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> NetworkMsg for T
    where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    §

    impl<T> TaskErr for T
    where + T: Error + Sync + Send + 'static,

    \ No newline at end of file diff --git a/hotshot_query_service/merklized_state/enum.Snapshot.html b/hotshot_query_service/merklized_state/enum.Snapshot.html index 7d1c7ea90..fd398552d 100644 --- a/hotshot_query_service/merklized_state/enum.Snapshot.html +++ b/hotshot_query_service/merklized_state/enum.Snapshot.html @@ -1,82 +1,82 @@ -Snapshot in hotshot_query_service::merklized_state - Rust
    pub enum Snapshot<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> {
    +Snapshot in hotshot_query_service::merklized_state - Rust
    pub enum Snapshot<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> {
         Commit(<T as MerklizedState<Types, ARITY>>::Commit),
    -    Index(u64),
    +    Index(u64),
     }
    Expand description

    Snapshot can be queried by block height (index) or merkle tree commitment

    -

    Variants§

    §

    Commit(<T as MerklizedState<Types, ARITY>>::Commit)

    §

    Index(u64)

    Trait Implementations§

    source§

    impl<T: MerklizedState<Types, ARITY>, Types: NodeType, const ARITY: usize> Clone for Snapshot<Types, T, ARITY>

    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<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Debug for Snapshot<Types, T, ARITY>

    source§

    fn fmt(&self, __f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Display for Snapshot<Types, T, ARITY>

    source§

    fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Hash for Snapshot<Types, T, ARITY>

    source§

    fn hash<__HTypesT>(&self, __state: &mut __HTypesT)
    where - __HTypesT: 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<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Ord for Snapshot<Types, T, ARITY>

    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) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> PartialEq for Snapshot<Types, T, ARITY>

    source§

    fn eq(&self, other: &Self) -> 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<T: MerklizedState<Types, ARITY>, Types: NodeType, const ARITY: usize> PartialOrd for Snapshot<Types, T, ARITY>

    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 <= -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<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Copy for Snapshot<Types, T, ARITY>

    source§

    impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Eq for Snapshot<Types, T, ARITY>

    Auto Trait Implementations§

    §

    impl<Types, T, const ARITY: usize> Freeze for Snapshot<Types, T, ARITY>
    where - <T as MerklizedState<Types, ARITY>>::Commit: Freeze,

    §

    impl<Types, T, const ARITY: usize> RefUnwindSafe for Snapshot<Types, T, ARITY>
    where - <T as MerklizedState<Types, ARITY>>::Commit: RefUnwindSafe,

    §

    impl<Types, T, const ARITY: usize> Send for Snapshot<Types, T, ARITY>

    §

    impl<Types, T, const ARITY: usize> Sync for Snapshot<Types, T, ARITY>

    §

    impl<Types, T, const ARITY: usize> Unpin for Snapshot<Types, T, ARITY>
    where - <T as MerklizedState<Types, ARITY>>::Commit: Unpin,

    §

    impl<Types, T, const ARITY: usize> UnwindSafe for Snapshot<Types, T, ARITY>
    where - <T as MerklizedState<Types, ARITY>>::Commit: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +

    Variants§

    §

    Commit(<T as MerklizedState<Types, ARITY>>::Commit)

    §

    Index(u64)

    Trait Implementations§

    source§

    impl<T: MerklizedState<Types, ARITY>, Types: NodeType, const ARITY: usize> Clone for Snapshot<Types, T, ARITY>

    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<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Debug for Snapshot<Types, T, ARITY>

    source§

    fn fmt(&self, __f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Display for Snapshot<Types, T, ARITY>

    source§

    fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Hash for Snapshot<Types, T, ARITY>

    source§

    fn hash<__HTypesT>(&self, __state: &mut __HTypesT)
    where + __HTypesT: 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<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Ord for Snapshot<Types, T, ARITY>

    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) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> PartialEq for Snapshot<Types, T, ARITY>

    source§

    fn eq(&self, other: &Self) -> 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<T: MerklizedState<Types, ARITY>, Types: NodeType, const ARITY: usize> PartialOrd for Snapshot<Types, T, ARITY>

    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 <= +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<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Copy for Snapshot<Types, T, ARITY>

    source§

    impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Eq for Snapshot<Types, T, ARITY>

    Auto Trait Implementations§

    §

    impl<Types, T, const ARITY: usize> Freeze for Snapshot<Types, T, ARITY>
    where + <T as MerklizedState<Types, ARITY>>::Commit: Freeze,

    §

    impl<Types, T, const ARITY: usize> RefUnwindSafe for Snapshot<Types, T, ARITY>
    where + <T as MerklizedState<Types, ARITY>>::Commit: RefUnwindSafe,

    §

    impl<Types, T, const ARITY: usize> Send for Snapshot<Types, T, ARITY>

    §

    impl<Types, T, const ARITY: usize> Sync for Snapshot<Types, T, ARITY>

    §

    impl<Types, T, const ARITY: usize> Unpin for Snapshot<Types, T, ARITY>
    where + <T as MerklizedState<Types, ARITY>>::Commit: Unpin,

    §

    impl<Types, T, const ARITY: usize> UnwindSafe for Snapshot<Types, T, ARITY>
    where + <T as MerklizedState<Types, ARITY>>::Commit: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CallHasher for T
    where - T: Hash + ?Sized,

    §

    fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
    where - H: Hash + ?Sized, - B: BuildHasher,

    §

    impl<Q, K> Comparable<K> for Q
    where - Q: Ord + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn compare(&self, key: &K) -> Ordering

    Compare self to key and return their ordering.
    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CallHasher for T
    where + T: Hash + ?Sized,

    §

    fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
    where + H: Hash + ?Sized, + B: BuildHasher,

    §

    impl<Q, K> Comparable<K> for Q
    where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn compare(&self, key: &K) -> Ordering

    Compare self to key and return their ordering.
    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -84,84 +84,84 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> SectionExt for T
    where - T: Display + Send + Sync + 'static,

    source§

    fn header<C>(self, header: C) -> IndentedSection<C, T>
    where - C: Display + Send + Sync + 'static,

    Add a header to a Section and indent the body Read more
    §

    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> SectionExt for T
    where + T: Display + Send + Sync + 'static,

    source§

    fn header<C>(self, header: C) -> IndentedSection<C, T>
    where + C: Display + Send + Sync + 'static,

    Add a header to a Section and indent the body Read more
    §

    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    §

    impl<T> Element for T
    where - T: Clone + Eq + PartialEq + Hash,

    §

    impl<T> Index for T
    where - T: Debug + Eq + PartialEq + Hash + Ord + PartialOrd + Clone,

    source§

    impl<T> RuleType for T
    where - T: Copy + Debug + Eq + Hash + Ord,

    \ No newline at end of file + T: Clone + Eq + PartialEq + Hash,
    §

    impl<T> Index for T
    where + T: Debug + Eq + PartialEq + Hash + Ord + PartialOrd + Clone,

    source§

    impl<T> RuleType for T
    where + T: Copy + Debug + Eq + Hash + Ord,

    \ No newline at end of file diff --git a/hotshot_query_service/merklized_state/fn.define_api.html b/hotshot_query_service/merklized_state/fn.define_api.html index b5e31e6ae..793dfb6d8 100644 --- a/hotshot_query_service/merklized_state/fn.define_api.html +++ b/hotshot_query_service/merklized_state/fn.define_api.html @@ -1,6 +1,6 @@ -define_api in hotshot_query_service::merklized_state - Rust

    Function hotshot_query_service::merklized_state::define_api

    source ·
    pub fn define_api<State, Types: NodeType, M: MerklizedState<Types, ARITY>, Ver: StaticVersionType + 'static, const ARITY: usize>(
    +define_api in hotshot_query_service::merklized_state - Rust

    Function hotshot_query_service::merklized_state::define_api

    source ·
    pub fn define_api<State, Types: NodeType, M: MerklizedState<Types, ARITY>, Ver: StaticVersionType + 'static, const ARITY: usize>(
         options: &Options,
    -) -> Result<Api<State, Error, Ver>, ApiError>
    where - State: 'static + Send + Sync + ReadState, - <State as ReadState>::State: Send + Sync + MerklizedStateDataSource<Types, M, ARITY> + MerklizedStateHeightPersistence, - for<'a> <M::Commit as TryFrom<&'a TaggedBase64>>::Error: Display,
    \ No newline at end of file +) -> Result<Api<State, Error, Ver>, ApiError>
    where + State: 'static + Send + Sync + ReadState, + <State as ReadState>::State: Send + Sync + MerklizedStateDataSource<Types, M, ARITY> + MerklizedStateHeightPersistence, + for<'a> <M::Commit as TryFrom<&'a TaggedBase64>>::Error: Display,
    \ No newline at end of file diff --git a/hotshot_query_service/merklized_state/index.html b/hotshot_query_service/merklized_state/index.html index 290c195e0..d02619d86 100644 --- a/hotshot_query_service/merklized_state/index.html +++ b/hotshot_query_service/merklized_state/index.html @@ -1,4 +1,4 @@ -hotshot_query_service::merklized_state - Rust

    Module hotshot_query_service::merklized_state

    source ·
    Expand description

    Api for querying merklized state

    +hotshot_query_service::merklized_state - Rust

    Module hotshot_query_service::merklized_state

    source ·
    Expand description

    Api for querying merklized state

    The state API provides an interface for serving queries against arbitrarily old snapshots of the state. This allows a full Merkle tree to be reconstructed from storage. If any parent state is missing then the partial snapshot can not be queried.

    diff --git a/hotshot_query_service/merklized_state/struct.Options.html b/hotshot_query_service/merklized_state/struct.Options.html index 45de6686a..af4b70ea7 100644 --- a/hotshot_query_service/merklized_state/struct.Options.html +++ b/hotshot_query_service/merklized_state/struct.Options.html @@ -1,58 +1,58 @@ -Options in hotshot_query_service::merklized_state - Rust

    Struct hotshot_query_service::merklized_state::Options

    source ·
    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 merklized-state-api-path.

    +Options in hotshot_query_service::merklized_state - Rust

    Struct hotshot_query_service::merklized_state::Options

    source ·
    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 merklized-state-api-path.

    These optional files may contain route definitions for application-specific routes that have been added as extensions to the basic status API.

    -

    Trait Implementations§

    source§

    impl Default for Options

    source§

    fn default() -> Options

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +

    Trait Implementations§

    source§

    impl Default for Options

    source§

    fn default() -> Options

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -60,77 +60,77 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
    §

    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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
    §

    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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ No newline at end of file diff --git a/hotshot_query_service/merklized_state/trait.MerklizedState.html b/hotshot_query_service/merklized_state/trait.MerklizedState.html index 966c3008b..5af5efe5a 100644 --- a/hotshot_query_service/merklized_state/trait.MerklizedState.html +++ b/hotshot_query_service/merklized_state/trait.MerklizedState.html @@ -1,29 +1,29 @@ -MerklizedState in hotshot_query_service::merklized_state - Rust
    pub trait MerklizedState<Types, const ARITY: usize>: ForgetableMerkleTreeScheme<Commitment = Self::Commit> + Send + Sync + Clone + 'static
    where +MerklizedState in hotshot_query_service::merklized_state - Rust
    pub trait MerklizedState<Types, const ARITY: usize>: ForgetableMerkleTreeScheme<Commitment = Self::Commit> + Send + Sync + Clone + 'static
    where Types: NodeType,
    { - type Key: Index + Send + Sync + Serialize + ToTraversalPath<ARITY> + FromStr + DeserializeOwned + Display + CanonicalSerialize + CanonicalDeserialize; - type Entry: Element + Send + Sync + Serialize + DeserializeOwned + CanonicalSerialize + CanonicalDeserialize; - type T: NodeValue + Send; - type Commit: MerkleCommitment<Self::T> + Send + for<'a> TryFrom<&'a TaggedBase64> + Display + Debug + Into<TaggedBase64>; + type Key: Index + Send + Sync + Serialize + ToTraversalPath<ARITY> + FromStr + DeserializeOwned + Display + CanonicalSerialize + CanonicalDeserialize; + type Entry: Element + Send + Sync + Serialize + DeserializeOwned + CanonicalSerialize + CanonicalDeserialize; + type T: NodeValue + Send; + type Commit: MerkleCommitment<Self::T> + Send + for<'a> TryFrom<&'a TaggedBase64> + Display + Debug + Into<TaggedBase64>; type Digest: DigestAlgorithm<Self::Entry, Self::Key, Self::T>; // Required methods - fn state_type() -> &'static str; - fn header_state_commitment_field() -> &'static str; - fn tree_height() -> usize; + fn state_type() -> &'static str; + fn header_state_commitment_field() -> &'static str; + fn tree_height() -> usize; fn insert_path( &mut self, key: Self::Key, proof: &MerkleProof<Self::Entry, Self::Key, Self::T, ARITY>, - ) -> Result<()>; + ) -> Result<()>; }
    Expand description

    This trait should be implemented by the MerkleTree that the module is initialized for. It defines methods utilized by the module.

    -

    Required Associated Types§

    source

    type Key: Index + Send + Sync + Serialize + ToTraversalPath<ARITY> + FromStr + DeserializeOwned + Display + CanonicalSerialize + CanonicalDeserialize

    source

    type Entry: Element + Send + Sync + Serialize + DeserializeOwned + CanonicalSerialize + CanonicalDeserialize

    source

    type T: NodeValue + Send

    source

    type Commit: MerkleCommitment<Self::T> + Send + for<'a> TryFrom<&'a TaggedBase64> + Display + Debug + Into<TaggedBase64>

    source

    type Digest: DigestAlgorithm<Self::Entry, Self::Key, Self::T>

    Required Methods§

    source

    fn state_type() -> &'static str

    Retrieves the name of the state being queried.

    -
    source

    fn header_state_commitment_field() -> &'static str

    Retrieves the field in the header containing the Merkle tree commitment +

    Required Associated Types§

    source

    type Key: Index + Send + Sync + Serialize + ToTraversalPath<ARITY> + FromStr + DeserializeOwned + Display + CanonicalSerialize + CanonicalDeserialize

    source

    type Entry: Element + Send + Sync + Serialize + DeserializeOwned + CanonicalSerialize + CanonicalDeserialize

    source

    type T: NodeValue + Send

    source

    type Commit: MerkleCommitment<Self::T> + Send + for<'a> TryFrom<&'a TaggedBase64> + Display + Debug + Into<TaggedBase64>

    source

    type Digest: DigestAlgorithm<Self::Entry, Self::Key, Self::T>

    Required Methods§

    source

    fn state_type() -> &'static str

    Retrieves the name of the state being queried.

    +
    source

    fn header_state_commitment_field() -> &'static str

    Retrieves the field in the header containing the Merkle tree commitment for the state implementing this trait.

    -
    source

    fn tree_height() -> usize

    Get the height of the tree

    +
    source

    fn tree_height() -> usize

    Get the height of the tree

    source

    fn insert_path( &mut self, key: Self::Key, proof: &MerkleProof<Self::Entry, Self::Key, Self::T, ARITY>, -) -> Result<()>

    Insert a forgotten path into the tree.

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl MerklizedState<MockTypes, 8> for MockMerkleTree

    §

    type Key = usize

    §

    type Entry = usize

    §

    type T = Sha3Node

    §

    type Commit = <UniversalMerkleTree<usize, Sha3Digest, usize, 8, Sha3Node> as MerkleTreeScheme>::Commitment

    §

    type Digest = Sha3Digest

    \ No newline at end of file +) -> Result<()>

    Insert a forgotten path into the tree.

    +

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl MerklizedState<MockTypes, 8> for MockMerkleTree

    §

    type Key = usize

    §

    type Entry = usize

    §

    type T = Sha3Node

    §

    type Commit = <UniversalMerkleTree<usize, Sha3Digest, usize, 8, Sha3Node> as MerkleTreeScheme>::Commitment

    §

    type Digest = Sha3Digest

    \ No newline at end of file diff --git a/hotshot_query_service/merklized_state/trait.MerklizedStateDataSource.html b/hotshot_query_service/merklized_state/trait.MerklizedStateDataSource.html index 6530ced6a..bd482d61f 100644 --- a/hotshot_query_service/merklized_state/trait.MerklizedStateDataSource.html +++ b/hotshot_query_service/merklized_state/trait.MerklizedStateDataSource.html @@ -1,4 +1,4 @@ -MerklizedStateDataSource in hotshot_query_service::merklized_state - Rust
    pub trait MerklizedStateDataSource<Types, State, const ARITY: usize>
    where +MerklizedStateDataSource in hotshot_query_service::merklized_state - Rust
    pub trait MerklizedStateDataSource<Types, State, const ARITY: usize>
    where Types: NodeType, State: MerklizedState<Types, ARITY>,
    { // Required method @@ -6,7 +6,7 @@ &'life0 self, snapshot: Snapshot<Types, State, ARITY>, key: State::Key, - ) -> Pin<Box<dyn Future<Output = QueryResult<MerkleProof<State::Entry, State::Key, State::T, ARITY>>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = QueryResult<MerkleProof<State::Entry, State::Key, State::T, ARITY>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; }
    Expand description

    This trait defines methods that a data source should implement @@ -15,17 +15,17 @@ &'life0 self, snapshot: Snapshot<Types, State, ARITY>, key: State::Key, -) -> Pin<Box<dyn Future<Output = QueryResult<MerkleProof<State::Entry, State::Key, State::T, ARITY>>> + Send + 'async_trait>>

    where +) -> Pin<Box<dyn Future<Output = QueryResult<MerkleProof<State::Entry, State::Key, State::T, ARITY>>> + Send + 'async_trait>>
    where Self: 'async_trait, - 'life0: 'async_trait,

    Implementors§

    source§

    impl<D, U, Types, State, const ARITY: usize> MerklizedStateDataSource<Types, State, ARITY> for ExtensibleDataSource<D, U>
    where - D: MerklizedStateDataSource<Types, State, ARITY> + Send + Sync, - U: Send + Sync, + 'life0: 'async_trait,

    Implementors§

    source§

    impl<D, U, Types, State, const ARITY: usize> MerklizedStateDataSource<Types, State, ARITY> for ExtensibleDataSource<D, U>
    where + D: MerklizedStateDataSource<Types, State, ARITY> + Send + Sync, + U: Send + Sync, Types: NodeType, - State: MerklizedState<Types, ARITY>,

    source§

    impl<Types, S, State, P, const ARITY: usize> MerklizedStateDataSource<Types, State, ARITY> for FetchingDataSource<Types, S, P>
    where + State: MerklizedState<Types, ARITY>,

    source§

    impl<Types, S, State, P, const ARITY: usize> MerklizedStateDataSource<Types, State, ARITY> for FetchingDataSource<Types, S, P>
    where Types: NodeType, - S: MerklizedStateDataSource<Types, State, ARITY> + Send + Sync + 'static, + S: MerklizedStateDataSource<Types, State, ARITY> + Send + Sync + 'static, P: AvailabilityProvider<Types>, State: MerklizedState<Types, ARITY> + 'static, - <State as MerkleTreeScheme>::Commitment: Send,

    source§

    impl<Types, State, const ARITY: usize> MerklizedStateDataSource<Types, State, ARITY> for SqlStorage
    where + <State as MerkleTreeScheme>::Commitment: Send,

    source§

    impl<Types, State, const ARITY: usize> MerklizedStateDataSource<Types, State, ARITY> for SqlStorage
    where Types: NodeType, State: MerklizedState<Types, ARITY> + 'static,

    \ No newline at end of file diff --git a/hotshot_query_service/merklized_state/trait.MerklizedStateHeightPersistence.html b/hotshot_query_service/merklized_state/trait.MerklizedStateHeightPersistence.html index 5ed0f724f..78220c40d 100644 --- a/hotshot_query_service/merklized_state/trait.MerklizedStateHeightPersistence.html +++ b/hotshot_query_service/merklized_state/trait.MerklizedStateHeightPersistence.html @@ -1,29 +1,29 @@ -MerklizedStateHeightPersistence in hotshot_query_service::merklized_state - Rust
    pub trait MerklizedStateHeightPersistence {
    +MerklizedStateHeightPersistence in hotshot_query_service::merklized_state - Rust
    pub trait MerklizedStateHeightPersistence {
         // Required methods
         fn set_last_state_height<'life0, 'async_trait>(
             &'life0 mut self,
    -        height: usize,
    -    ) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
    +        height: usize,
    +    ) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait;
         fn get_last_state_height<'life0, 'async_trait>(
             &'life0 self,
    -    ) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
    +    ) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait;
     }

    Required Methods§

    source

    fn set_last_state_height<'life0, 'async_trait>( &'life0 mut self, - height: usize, -) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
    where + height: usize, +) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    source

    fn get_last_state_height<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    Implementors§

    \ No newline at end of file + S: MerklizedStateHeightPersistence + Send + Sync, + P: Send + Sync,
    \ No newline at end of file diff --git a/hotshot_query_service/merklized_state/trait.UpdateStateData.html b/hotshot_query_service/merklized_state/trait.UpdateStateData.html index 0101198b8..1c1d14520 100644 --- a/hotshot_query_service/merklized_state/trait.UpdateStateData.html +++ b/hotshot_query_service/merklized_state/trait.UpdateStateData.html @@ -1,27 +1,27 @@ -UpdateStateData in hotshot_query_service::merklized_state - Rust
    pub trait UpdateStateData<Types: NodeType, State: MerklizedState<Types, ARITY>, const ARITY: usize>: Send + Sync {
    +UpdateStateData in hotshot_query_service::merklized_state - Rust
    pub trait UpdateStateData<Types: NodeType, State: MerklizedState<Types, ARITY>, const ARITY: usize>: Send + Sync {
         // Required method
         fn insert_merkle_nodes<'life0, 'async_trait>(
             &'life0 mut self,
             path: MerkleProof<State::Entry, State::Key, State::T, ARITY>,
    -        traversal_path: Vec<usize>,
    -        block_number: u64,
    -    ) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
    +        traversal_path: Vec<usize>,
    +        block_number: u64,
    +    ) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait;
     }
    Expand description

    This trait defines methods for updating the storage with the merkle tree state.

    Required Methods§

    source

    fn insert_merkle_nodes<'life0, 'async_trait>( &'life0 mut self, path: MerkleProof<State::Entry, State::Key, State::T, ARITY>, - traversal_path: Vec<usize>, - block_number: u64, -) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
    where + traversal_path: Vec<usize>, + block_number: u64, +) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
    where Self: 'async_trait, - 'life0: 'async_trait,

    Implementors§

    source§

    impl<D, U, Types, State, const ARITY: usize> UpdateStateData<Types, State, ARITY> for ExtensibleDataSource<D, U>
    where - D: UpdateStateData<Types, State, ARITY> + Send + Sync, - U: Send + Sync, + 'life0: 'async_trait,

    Implementors§

    source§

    impl<D, U, Types, State, const ARITY: usize> UpdateStateData<Types, State, ARITY> for ExtensibleDataSource<D, U>
    where + D: UpdateStateData<Types, State, ARITY> + Send + Sync, + U: Send + Sync, State: MerklizedState<Types, ARITY>, - Types: NodeType,

    source§

    impl<Types, State, S, P, const ARITY: usize> UpdateStateData<Types, State, ARITY> for FetchingDataSource<Types, S, P>
    where + Types: NodeType,

    source§

    impl<Types, State, S, P, const ARITY: usize> UpdateStateData<Types, State, ARITY> for FetchingDataSource<Types, S, P>
    where Types: NodeType, State: MerklizedState<Types, ARITY>, - S: UpdateStateData<Types, State, ARITY> + Send + Sync + 'static, - P: AvailabilityProvider<Types>,

    source§

    impl<Types: NodeType, State: MerklizedState<Types, ARITY>, const ARITY: usize> UpdateStateData<Types, State, ARITY> for SqlStorage

    \ No newline at end of file + S: UpdateStateData<Types, State, ARITY> + Send + Sync + 'static, + P: AvailabilityProvider<Types>,
    source§

    impl<Types: NodeType, State: MerklizedState<Types, ARITY>, const ARITY: usize> UpdateStateData<Types, State, ARITY> for SqlStorage

    \ No newline at end of file diff --git a/hotshot_query_service/metrics/enum.MetricsError.html b/hotshot_query_service/metrics/enum.MetricsError.html index ef280527b..8d3718c98 100644 --- a/hotshot_query_service/metrics/enum.MetricsError.html +++ b/hotshot_query_service/metrics/enum.MetricsError.html @@ -1,75 +1,75 @@ -MetricsError in hotshot_query_service::metrics - Rust

    Enum hotshot_query_service::metrics::MetricsError

    source ·
    pub enum MetricsError {
    +MetricsError in hotshot_query_service::metrics - Rust

    Enum hotshot_query_service::metrics::MetricsError

    source ·
    pub enum MetricsError {
         NoSuchSubgroup {
    -        path: Vec<String>,
    +        path: Vec<String>,
         },
         NoSuchMetric {
    -        namespace: Vec<String>,
    -        name: String,
    +        namespace: Vec<String>,
    +        name: String,
         },
         Prometheus {
             source: Error,
         },
    -}

    Variants§

    §

    NoSuchSubgroup

    Fields

    §path: Vec<String>
    §

    NoSuchMetric

    Fields

    §namespace: Vec<String>
    §name: 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 MetricsError
    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 ErrorCompat for MetricsError

    source§

    fn backtrace(&self) -> Option<&Backtrace>

    Returns a Backtrace that may be printed.
    §

    fn iter_chain(&self) -> ChainCompat<'_, '_>
    where +}

    Variants§

    §

    NoSuchSubgroup

    Fields

    §path: Vec<String>
    §

    NoSuchMetric

    Fields

    §namespace: Vec<String>
    §name: 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 MetricsError
    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 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 -and continuing with recursive calls to Error::source. Read more
    source§

    impl From<Error> for MetricsError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +and continuing with recursive calls to Error::source. Read more

    source§

    impl From<Error> for MetricsError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<T> AsErrorSource for T
    where - T: Error + 'static,

    §

    fn as_error_source(&self) -> &(dyn Error + 'static)

    For maximum effectiveness, this needs to be called as a method + 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 receivers.
    §

    impl<T> AsErrorSource for T
    where - T: Error + 'static,

    §

    fn as_error_source(&self) -> &(dyn Error + 'static)

    For maximum effectiveness, this needs to be called as a method + 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 receivers.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    §

    impl<T> Error for T
    where - T: Error + 'static,

    §

    fn as_error(&self) -> &(dyn Error + 'static)

    Gets this error as an std::error::Error.
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    §

    impl<T> Error for T
    where + T: Error + 'static,

    §

    fn as_error(&self) -> &(dyn Error + 'static)

    Gets this error as an std::error::Error.
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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<E> InstrumentError for E
    where - TracedError<E>: From<E>,

    §

    type Instrumented = TracedError<E>

    The type of the wrapped error after instrumentation
    source§

    fn in_current_span(self) -> <E as InstrumentError>::Instrumented

    Instrument an Error by bundling it with a SpanTrace Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + TracedError<E>: From<E>,
    §

    type Instrumented = TracedError<E>

    The type of the wrapped error after instrumentation
    source§

    fn in_current_span(self) -> <E as InstrumentError>::Instrumented

    Instrument an Error by bundling it with a SpanTrace Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -77,81 +77,81 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> SectionExt for T
    where - T: Display + Send + Sync + 'static,

    source§

    fn header<C>(self, header: C) -> IndentedSection<C, T>
    where - C: Display + Send + Sync + 'static,

    Add a header to a Section and indent the body Read more
    §

    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> SectionExt for T
    where + T: Display + Send + Sync + 'static,

    source§

    fn header<C>(self, header: C) -> IndentedSection<C, T>
    where + C: Display + Send + Sync + 'static,

    Add a header to a Section and indent the body Read more
    §

    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    §

    impl<T> TaskErr for T
    where - T: Error + Sync + Send + 'static,

    \ No newline at end of file + T: Error + Sync + Send + 'static, \ No newline at end of file diff --git a/hotshot_query_service/metrics/index.html b/hotshot_query_service/metrics/index.html index 7534e1aaa..e795e9044 100644 --- a/hotshot_query_service/metrics/index.html +++ b/hotshot_query_service/metrics/index.html @@ -1 +1 @@ -hotshot_query_service::metrics - Rust

    Module hotshot_query_service::metrics

    source ·

    Structs§

    Enums§

    \ No newline at end of file +hotshot_query_service::metrics - Rust

    Module hotshot_query_service::metrics

    source ·

    Structs§

    Enums§

    \ No newline at end of file diff --git a/hotshot_query_service/metrics/struct.Counter.html b/hotshot_query_service/metrics/struct.Counter.html index f62bb7796..e9b3b827c 100644 --- a/hotshot_query_service/metrics/struct.Counter.html +++ b/hotshot_query_service/metrics/struct.Counter.html @@ -1,54 +1,54 @@ -Counter in hotshot_query_service::metrics - Rust

    Struct hotshot_query_service::metrics::Counter

    source ·
    pub struct Counter(/* private fields */);
    Expand description

    A Counter metric.

    -

    Implementations§

    source§

    impl Counter

    source

    pub fn get(&self) -> usize

    Trait Implementations§

    source§

    impl Clone for Counter

    source§

    fn clone(&self) -> Counter

    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 Counter for Counter

    source§

    fn add(&self, amount: usize)

    Add a value to the counter
    source§

    impl Debug for Counter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +Counter in hotshot_query_service::metrics - Rust

    Struct hotshot_query_service::metrics::Counter

    source ·
    pub struct Counter(/* private fields */);
    Expand description

    A Counter metric.

    +

    Implementations§

    source§

    impl Counter

    source

    pub fn get(&self) -> usize

    Trait Implementations§

    source§

    impl Clone for Counter

    source§

    fn clone(&self) -> Counter

    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 Counter for Counter

    source§

    fn add(&self, amount: usize)

    Add a value to the counter
    source§

    impl Debug for Counter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -56,78 +56,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ No newline at end of file diff --git a/hotshot_query_service/metrics/struct.CounterFamily.html b/hotshot_query_service/metrics/struct.CounterFamily.html index 0ac53bffb..40c970c90 100644 --- a/hotshot_query_service/metrics/struct.CounterFamily.html +++ b/hotshot_query_service/metrics/struct.CounterFamily.html @@ -1,54 +1,54 @@ -CounterFamily in hotshot_query_service::metrics - Rust

    Struct hotshot_query_service::metrics::CounterFamily

    source ·
    pub struct CounterFamily(/* private fields */);
    Expand description

    A CounterFamily metric.

    -

    Implementations§

    source§

    impl CounterFamily

    source

    pub fn get(&self, label_values: &[impl AsRef<str>]) -> Counter

    Trait Implementations§

    source§

    impl Clone for CounterFamily

    source§

    fn clone(&self) -> CounterFamily

    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 CounterFamily

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl MetricsFamily<Box<dyn Counter>> for CounterFamily

    source§

    fn create(&self, labels: Vec<String>) -> Box<dyn Counter>

    Instantiate a metric in this family with a specific label vector. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +CounterFamily in hotshot_query_service::metrics - Rust

    Struct hotshot_query_service::metrics::CounterFamily

    source ·
    pub struct CounterFamily(/* private fields */);
    Expand description

    A CounterFamily metric.

    +

    Implementations§

    source§

    impl CounterFamily

    source

    pub fn get(&self, label_values: &[impl AsRef<str>]) -> Counter

    Trait Implementations§

    source§

    impl Clone for CounterFamily

    source§

    fn clone(&self) -> CounterFamily

    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 CounterFamily

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl MetricsFamily<Box<dyn Counter>> for CounterFamily

    source§

    fn create(&self, labels: Vec<String>) -> Box<dyn Counter>

    Instantiate a metric in this family with a specific label vector. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -56,79 +56,79 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    §

    impl<T> CounterFamily for T
    where - T: MetricsFamily<Box<dyn Counter>>,

    \ No newline at end of file + T: MetricsFamily<Box<dyn Counter>>, \ No newline at end of file diff --git a/hotshot_query_service/metrics/struct.Gauge.html b/hotshot_query_service/metrics/struct.Gauge.html index daa91bcb1..8b13c5250 100644 --- a/hotshot_query_service/metrics/struct.Gauge.html +++ b/hotshot_query_service/metrics/struct.Gauge.html @@ -1,54 +1,54 @@ -Gauge in hotshot_query_service::metrics - Rust

    Struct hotshot_query_service::metrics::Gauge

    source ·
    pub struct Gauge(/* private fields */);
    Expand description

    A Gauge metric.

    -

    Implementations§

    source§

    impl Gauge

    source

    pub fn get(&self) -> usize

    Trait Implementations§

    source§

    impl Clone for Gauge

    source§

    fn clone(&self) -> Gauge

    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 Gauge

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Gauge for Gauge

    source§

    fn set(&self, amount: usize)

    Set the gauge value
    source§

    fn update(&self, delta: i64)

    Update the guage value

    Auto Trait Implementations§

    §

    impl Freeze for Gauge

    §

    impl RefUnwindSafe for Gauge

    §

    impl Send for Gauge

    §

    impl Sync for Gauge

    §

    impl Unpin for Gauge

    §

    impl UnwindSafe for Gauge

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +Gauge in hotshot_query_service::metrics - Rust

    Struct hotshot_query_service::metrics::Gauge

    source ·
    pub struct Gauge(/* private fields */);
    Expand description

    A Gauge metric.

    +

    Implementations§

    source§

    impl Gauge

    source

    pub fn get(&self) -> usize

    Trait Implementations§

    source§

    impl Clone for Gauge

    source§

    fn clone(&self) -> Gauge

    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 Gauge

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Gauge for Gauge

    source§

    fn set(&self, amount: usize)

    Set the gauge value
    source§

    fn update(&self, delta: i64)

    Update the guage value

    Auto Trait Implementations§

    §

    impl Freeze for Gauge

    §

    impl RefUnwindSafe for Gauge

    §

    impl Send for Gauge

    §

    impl Sync for Gauge

    §

    impl Unpin for Gauge

    §

    impl UnwindSafe for Gauge

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -56,78 +56,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ No newline at end of file diff --git a/hotshot_query_service/metrics/struct.GaugeFamily.html b/hotshot_query_service/metrics/struct.GaugeFamily.html index 37e604468..d1a582d43 100644 --- a/hotshot_query_service/metrics/struct.GaugeFamily.html +++ b/hotshot_query_service/metrics/struct.GaugeFamily.html @@ -1,54 +1,54 @@ -GaugeFamily in hotshot_query_service::metrics - Rust

    Struct hotshot_query_service::metrics::GaugeFamily

    source ·
    pub struct GaugeFamily(/* private fields */);
    Expand description

    A GaugeFamily metric.

    -

    Implementations§

    source§

    impl GaugeFamily

    source

    pub fn get(&self, label_values: &[impl AsRef<str>]) -> Gauge

    Trait Implementations§

    source§

    impl Clone for GaugeFamily

    source§

    fn clone(&self) -> GaugeFamily

    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 GaugeFamily

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl MetricsFamily<Box<dyn Gauge>> for GaugeFamily

    source§

    fn create(&self, labels: Vec<String>) -> Box<dyn Gauge>

    Instantiate a metric in this family with a specific label vector. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +GaugeFamily in hotshot_query_service::metrics - Rust

    Struct hotshot_query_service::metrics::GaugeFamily

    source ·
    pub struct GaugeFamily(/* private fields */);
    Expand description

    A GaugeFamily metric.

    +

    Implementations§

    source§

    impl GaugeFamily

    source

    pub fn get(&self, label_values: &[impl AsRef<str>]) -> Gauge

    Trait Implementations§

    source§

    impl Clone for GaugeFamily

    source§

    fn clone(&self) -> GaugeFamily

    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 GaugeFamily

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl MetricsFamily<Box<dyn Gauge>> for GaugeFamily

    source§

    fn create(&self, labels: Vec<String>) -> Box<dyn Gauge>

    Instantiate a metric in this family with a specific label vector. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -56,79 +56,79 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    §

    impl<T> GaugeFamily for T
    where - T: MetricsFamily<Box<dyn Gauge>>,

    \ No newline at end of file + T: MetricsFamily<Box<dyn Gauge>>, \ No newline at end of file diff --git a/hotshot_query_service/metrics/struct.Histogram.html b/hotshot_query_service/metrics/struct.Histogram.html index 0095dd184..55b7318cb 100644 --- a/hotshot_query_service/metrics/struct.Histogram.html +++ b/hotshot_query_service/metrics/struct.Histogram.html @@ -1,54 +1,54 @@ -Histogram in hotshot_query_service::metrics - Rust

    Struct hotshot_query_service::metrics::Histogram

    source ·
    pub struct Histogram(/* private fields */);
    Expand description

    A Histogram metric.

    -

    Implementations§

    source§

    impl Histogram

    source

    pub fn sample_count(&self) -> usize

    source

    pub fn sum(&self) -> f64

    source

    pub fn mean(&self) -> f64

    Trait Implementations§

    source§

    impl Clone for Histogram

    source§

    fn clone(&self) -> Histogram

    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 Histogram

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Histogram for Histogram

    source§

    fn add_point(&self, point: f64)

    Add a point to this histogram.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +Histogram in hotshot_query_service::metrics - Rust

    Struct hotshot_query_service::metrics::Histogram

    source ·
    pub struct Histogram(/* private fields */);
    Expand description

    A Histogram metric.

    +

    Implementations§

    source§

    impl Histogram

    source

    pub fn sample_count(&self) -> usize

    source

    pub fn sum(&self) -> f64

    source

    pub fn mean(&self) -> f64

    Trait Implementations§

    source§

    impl Clone for Histogram

    source§

    fn clone(&self) -> Histogram

    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 Histogram

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Histogram for Histogram

    source§

    fn add_point(&self, point: f64)

    Add a point to this histogram.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -56,78 +56,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ No newline at end of file diff --git a/hotshot_query_service/metrics/struct.HistogramFamily.html b/hotshot_query_service/metrics/struct.HistogramFamily.html index 907b464e8..9da318d37 100644 --- a/hotshot_query_service/metrics/struct.HistogramFamily.html +++ b/hotshot_query_service/metrics/struct.HistogramFamily.html @@ -1,54 +1,54 @@ -HistogramFamily in hotshot_query_service::metrics - Rust

    Struct hotshot_query_service::metrics::HistogramFamily

    source ·
    pub struct HistogramFamily(/* private fields */);
    Expand description

    A HistogramFamily metric.

    -

    Implementations§

    source§

    impl HistogramFamily

    source

    pub fn get(&self, label_values: &[impl AsRef<str>]) -> Histogram

    Trait Implementations§

    source§

    impl Clone for HistogramFamily

    source§

    fn clone(&self) -> HistogramFamily

    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 HistogramFamily

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl MetricsFamily<Box<dyn Histogram>> for HistogramFamily

    source§

    fn create(&self, labels: Vec<String>) -> Box<dyn Histogram>

    Instantiate a metric in this family with a specific label vector. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +HistogramFamily in hotshot_query_service::metrics - Rust

    Struct hotshot_query_service::metrics::HistogramFamily

    source ·
    pub struct HistogramFamily(/* private fields */);
    Expand description

    A HistogramFamily metric.

    +

    Implementations§

    source§

    impl HistogramFamily

    source

    pub fn get(&self, label_values: &[impl AsRef<str>]) -> Histogram

    Trait Implementations§

    source§

    impl Clone for HistogramFamily

    source§

    fn clone(&self) -> HistogramFamily

    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 HistogramFamily

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl MetricsFamily<Box<dyn Histogram>> for HistogramFamily

    source§

    fn create(&self, labels: Vec<String>) -> Box<dyn Histogram>

    Instantiate a metric in this family with a specific label vector. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -56,79 +56,79 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    §

    impl<T> HistogramFamily for T
    where - T: MetricsFamily<Box<dyn Histogram>>,

    \ No newline at end of file + T: MetricsFamily<Box<dyn Histogram>>, \ No newline at end of file diff --git a/hotshot_query_service/metrics/struct.PrometheusMetrics.html b/hotshot_query_service/metrics/struct.PrometheusMetrics.html index 8cfac0931..c48229cb9 100644 --- a/hotshot_query_service/metrics/struct.PrometheusMetrics.html +++ b/hotshot_query_service/metrics/struct.PrometheusMetrics.html @@ -1,4 +1,4 @@ -PrometheusMetrics in hotshot_query_service::metrics - Rust

    Struct hotshot_query_service::metrics::PrometheusMetrics

    source ·
    pub struct PrometheusMetrics { /* private fields */ }
    Expand description

    A Prometheus-based implementation of a Metrics registry.

    +PrometheusMetrics in hotshot_query_service::metrics - Rust

    Struct hotshot_query_service::metrics::PrometheusMetrics

    source ·
    pub struct PrometheusMetrics { /* private fields */ }
    Expand description

    A Prometheus-based implementation of a Metrics registry.

    PrometheusMetrics provides a collection of metrics including Counter, Gauge, Histogram, and [Label]. These metrics can be created and associated with a PrometheusMetrics collection and then used as handles for updating and populating. The PrometheusMetrics registry can then @@ -14,98 +14,98 @@

    PrometheusMetrics also supports querying for individual metrics by name, unlike [prometheus::Registry]. This provides a programming interface for inspecting the values of specific metrics at run-time, if that is preferrable to exporting all metrics wholesale.

    -

    Implementations§

    source§

    impl PrometheusMetrics

    source

    pub fn get_counter(&self, name: &str) -> Result<Counter, MetricsError>

    Get a counter in this sub-group by name.

    -
    source

    pub fn get_gauge(&self, name: &str) -> Result<Gauge, MetricsError>

    Get a gauge in this sub-group by name.

    -
    source

    pub fn get_histogram(&self, name: &str) -> Result<Histogram, MetricsError>

    Get a histogram in this sub-group by name.

    +

    Implementations§

    source§

    impl PrometheusMetrics

    source

    pub fn get_counter(&self, name: &str) -> Result<Counter, MetricsError>

    Get a counter in this sub-group by name.

    +
    source

    pub fn get_gauge(&self, name: &str) -> Result<Gauge, MetricsError>

    Get a gauge in this sub-group by name.

    +
    source

    pub fn get_histogram(&self, name: &str) -> Result<Histogram, MetricsError>

    Get a histogram in this sub-group by name.

    source

    pub fn get_counter_family( &self, - name: &str, -) -> Result<CounterFamily, MetricsError>

    Get a counter family in this sub-group by name.

    -
    source

    pub fn gauge_family(&self, name: &str) -> Result<GaugeFamily, MetricsError>

    Get a gauge family in this sub-group by name.

    + name: &str, +) -> Result<CounterFamily, MetricsError>

    Get a counter family in this sub-group by name.

    +
    source

    pub fn gauge_family(&self, name: &str) -> Result<GaugeFamily, MetricsError>

    Get a gauge family in this sub-group by name.

    source

    pub fn get_histogram_family( &self, - name: &str, -) -> Result<HistogramFamily, MetricsError>

    Get a histogram family in this sub-group by name.

    + name: &str, +) -> Result<HistogramFamily, MetricsError>

    Get a histogram family in this sub-group by name.

    source

    pub fn get_subgroup<I>( &self, path: I, -) -> Result<PrometheusMetrics, MetricsError>
    where - I: IntoIterator, - I::Item: AsRef<str>,

    Get a (possibly nested) subgroup of this group by its path.

    -

    Trait Implementations§

    source§

    impl Clone for PrometheusMetrics

    source§

    fn clone(&self) -> PrometheusMetrics

    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 PrometheusMetrics

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for PrometheusMetrics

    source§

    fn default() -> PrometheusMetrics

    Returns the “default value” for a type. Read more
    source§

    impl Metrics for PrometheusMetrics

    source§

    fn create_counter( +) -> Result<PrometheusMetrics, MetricsError>
    where + I: IntoIterator, + I::Item: AsRef<str>,

    Get a (possibly nested) subgroup of this group by its path.

    +

    Trait Implementations§

    source§

    impl Clone for PrometheusMetrics

    source§

    fn clone(&self) -> PrometheusMetrics

    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 PrometheusMetrics

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for PrometheusMetrics

    source§

    fn default() -> PrometheusMetrics

    Returns the “default value” for a type. Read more
    source§

    impl Metrics for PrometheusMetrics

    source§

    fn create_counter( &self, - name: String, - unit_label: Option<String>, -) -> Box<dyn Counter>

    Create a [Counter] with an optional unit_label. Read more
    source§

    fn create_gauge( + name: String, + unit_label: Option<String>, +) -> Box<dyn Counter>

    Create a [Counter] with an optional unit_label. Read more
    source§

    fn create_gauge( &self, - name: String, - unit_label: Option<String>, -) -> Box<dyn Gauge>

    Create a [Gauge] with an optional unit_label. Read more
    source§

    fn create_histogram( + name: String, + unit_label: Option<String>, +) -> Box<dyn Gauge>

    Create a [Gauge] with an optional unit_label. Read more
    source§

    fn create_histogram( &self, - name: String, - unit_label: Option<String>, -) -> Box<dyn Histogram>

    Create a [Histogram] with an optional unit_label. Read more
    source§

    fn create_text(&self, name: String)

    Create a text metric. Read more
    source§

    fn counter_family( + name: String, + unit_label: Option<String>, +) -> Box<dyn Histogram>

    Create a [Histogram] with an optional unit_label. Read more
    source§

    fn create_text(&self, name: String)

    Create a text metric. Read more
    source§

    fn counter_family( &self, - name: String, - labels: Vec<String>, -) -> Box<dyn CounterFamily>

    Create a family of related counters, partitioned by their label values.
    source§

    fn gauge_family( + name: String, + labels: Vec<String>, +) -> Box<dyn CounterFamily>

    Create a family of related counters, partitioned by their label values.
    source§

    fn gauge_family( &self, - name: String, - labels: Vec<String>, -) -> Box<dyn GaugeFamily>

    Create a family of related gauges, partitioned by their label values.
    source§

    fn histogram_family( + name: String, + labels: Vec<String>, +) -> Box<dyn GaugeFamily>

    Create a family of related gauges, partitioned by their label values.
    source§

    fn histogram_family( &self, - name: String, - labels: Vec<String>, -) -> Box<dyn HistogramFamily>

    Create a family of related histograms, partitioned by their label values.
    source§

    fn text_family(&self, name: String, labels: Vec<String>) -> Box<dyn TextFamily>

    Create a family of related text metricx, partitioned by their label values.
    source§

    fn subgroup(&self, subgroup_name: String) -> Box<dyn Metrics>

    Create a subgroup with a specified prefix.
    source§

    impl Metrics for PrometheusMetrics

    §

    type Error = MetricsError

    source§

    fn export(&self) -> Result<String, Self::Error>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( + name: String, + labels: Vec<String>, +) -> Box<dyn HistogramFamily>

    Create a family of related histograms, partitioned by their label values.
    source§

    fn text_family(&self, name: String, labels: Vec<String>) -> Box<dyn TextFamily>

    Create a family of related text metricx, partitioned by their label values.
    source§

    fn subgroup(&self, subgroup_name: String) -> Box<dyn Metrics>

    Create a subgroup with a specified prefix.
    source§

    impl Metrics for PrometheusMetrics

    §

    type Error = MetricsError

    source§

    fn export(&self) -> Result<String, Self::Error>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -113,78 +113,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ No newline at end of file diff --git a/hotshot_query_service/metrics/struct.TextFamily.html b/hotshot_query_service/metrics/struct.TextFamily.html index 38cebf28d..406ce4f7e 100644 --- a/hotshot_query_service/metrics/struct.TextFamily.html +++ b/hotshot_query_service/metrics/struct.TextFamily.html @@ -1,54 +1,54 @@ -TextFamily in hotshot_query_service::metrics - Rust

    Struct hotshot_query_service::metrics::TextFamily

    source ·
    pub struct TextFamily(/* private fields */);
    Expand description

    A TextFamily metric.

    -

    Trait Implementations§

    source§

    impl Clone for TextFamily

    source§

    fn clone(&self) -> TextFamily

    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 TextFamily

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl MetricsFamily<()> for TextFamily

    source§

    fn create(&self, labels: Vec<String>)

    Instantiate a metric in this family with a specific label vector. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +TextFamily in hotshot_query_service::metrics - Rust

    Struct hotshot_query_service::metrics::TextFamily

    source ·
    pub struct TextFamily(/* private fields */);
    Expand description

    A TextFamily metric.

    +

    Trait Implementations§

    source§

    impl Clone for TextFamily

    source§

    fn clone(&self) -> TextFamily

    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 TextFamily

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl MetricsFamily<()> for TextFamily

    source§

    fn create(&self, labels: Vec<String>)

    Instantiate a metric in this family with a specific label vector. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -56,79 +56,79 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    §

    impl<T> TextFamily for T
    where - T: MetricsFamily<()>,

    \ No newline at end of file + T: MetricsFamily<()>, \ No newline at end of file diff --git a/hotshot_query_service/node/enum.Error.html b/hotshot_query_service/node/enum.Error.html index d56f798f8..50941ea54 100644 --- a/hotshot_query_service/node/enum.Error.html +++ b/hotshot_query_service/node/enum.Error.html @@ -1,4 +1,4 @@ -Error in hotshot_query_service::node - Rust

    Enum hotshot_query_service::node::Error

    source ·
    pub enum Error {
    +Error in hotshot_query_service::node - Rust

    Enum hotshot_query_service::node::Error

    source ·
    pub enum Error {
         Request {
             source: RequestError,
         },
    @@ -7,91 +7,91 @@
         },
         QueryVid {
             source: QueryError,
    -        block: String,
    +        block: String,
         },
         QueryWindow {
             source: QueryError,
    -        start: String,
    -        end: u64,
    +        start: String,
    +        end: u64,
         },
         Custom {
    -        message: String,
    +        message: String,
             status: StatusCode,
         },
    -}

    Variants§

    §

    Request

    Fields

    §source: RequestError
    §

    Query

    Fields

    §source: QueryError
    §

    QueryVid

    Fields

    §source: QueryError
    §block: String
    §

    QueryWindow

    Fields

    §source: QueryError
    §start: String
    §end: u64
    §

    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 Error
    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 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
    §

    Query

    Fields

    §source: QueryError
    §

    QueryVid

    Fields

    §source: QueryError
    §block: String
    §

    QueryWindow

    Fields

    §source: QueryError
    §start: String
    §end: u64
    §

    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 Error
    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 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<QueryError> for Error

    source§

    fn from(original: QueryError) -> 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 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 IntoError<Error> for QuerySnafu
    where - 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<__T0> IntoError<Error> for QueryVidSnafu<__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, __T1> IntoError<Error> for QueryWindowSnafu<__T0, __T1>
    where - Error: Error + ErrorCompat, - __T0: Into<String>, - __T1: Into<u64>,

    §

    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 RequestSnafu
    where - 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 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 Freeze for Error

    §

    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 T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +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<QueryError> for Error

    source§

    fn from(original: QueryError) -> 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 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 IntoError<Error> for QuerySnafu
    where + 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<__T0> IntoError<Error> for QueryVidSnafu<__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, __T1> IntoError<Error> for QueryWindowSnafu<__T0, __T1>
    where + Error: Error + ErrorCompat, + __T0: Into<String>, + __T1: Into<u64>,

    §

    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 RequestSnafu
    where + 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 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 Freeze for Error

    §

    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 T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<T> AsErrorSource for T
    where - T: Error + 'static,

    §

    fn as_error_source(&self) -> &(dyn Error + 'static)

    For maximum effectiveness, this needs to be called as a method + 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 receivers.
    §

    impl<T> AsErrorSource for T
    where - T: Error + 'static,

    §

    fn as_error_source(&self) -> &(dyn Error + 'static)

    For maximum effectiveness, this needs to be called as a method + 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 receivers.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> Error for T
    where - T: Error + 'static,

    §

    fn as_error(&self) -> &(dyn Error + 'static)

    Gets this error as an std::error::Error.
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> Error for T
    where + T: Error + 'static,

    §

    fn as_error(&self) -> &(dyn Error + 'static)

    Gets this error as an std::error::Error.
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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<E> InstrumentError for E
    where - TracedError<E>: From<E>,

    §

    type Instrumented = TracedError<E>

    The type of the wrapped error after instrumentation
    source§

    fn in_current_span(self) -> <E as InstrumentError>::Instrumented

    Instrument an Error by bundling it with a SpanTrace Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + TracedError<E>: From<E>,
    §

    type Instrumented = TracedError<E>

    The type of the wrapped error after instrumentation
    source§

    fn in_current_span(self) -> <E as InstrumentError>::Instrumented

    Instrument an Error by bundling it with a SpanTrace Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -99,84 +99,84 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> SectionExt for T
    where - T: Display + Send + Sync + 'static,

    source§

    fn header<C>(self, header: C) -> IndentedSection<C, T>
    where - C: Display + Send + Sync + 'static,

    Add a header to a Section and indent the body Read more
    §

    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> SectionExt for T
    where + T: Display + Send + Sync + 'static,

    source§

    fn header<C>(self, header: C) -> IndentedSection<C, T>
    where + C: Display + Send + Sync + 'static,

    Add a header to a Section and indent the body Read more
    §

    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. 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 T
    where + 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 T
    where + 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 T
    where 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 + 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> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> NetworkMsg for T
    where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    §

    impl<T> TaskErr for T
    where - T: Error + Sync + Send + 'static,

    \ No newline at end of file +[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> NetworkMsg for T
    where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    §

    impl<T> TaskErr for T
    where + T: Error + Sync + Send + 'static,

    \ No newline at end of file diff --git a/hotshot_query_service/node/enum.WindowStart.html b/hotshot_query_service/node/enum.WindowStart.html index 5ebbc8900..0226fe673 100644 --- a/hotshot_query_service/node/enum.WindowStart.html +++ b/hotshot_query_service/node/enum.WindowStart.html @@ -1,57 +1,57 @@ -WindowStart in hotshot_query_service::node - Rust

    Enum hotshot_query_service::node::WindowStart

    source ·
    pub enum WindowStart<Types: NodeType> {
    -    Time(u64),
    -    Height(u64),
    +WindowStart in hotshot_query_service::node - Rust

    Enum hotshot_query_service::node::WindowStart

    source ·
    pub enum WindowStart<Types: NodeType> {
    +    Time(u64),
    +    Height(u64),
         Hash(BlockHash<Types>),
    -}

    Variants§

    §

    Time(u64)

    §

    Height(u64)

    §

    Hash(BlockHash<Types>)

    Trait Implementations§

    source§

    impl<Types: NodeType> Clone for WindowStart<Types>

    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<Types: NodeType> Debug for WindowStart<Types>

    source§

    fn fmt(&self, __f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Types: NodeType> From<Commitment<<Types as NodeType>::BlockHeader>> for WindowStart<Types>

    source§

    fn from(original: BlockHash<Types>) -> WindowStart<Types>

    Converts to this type from the input type.
    source§

    impl<Types: NodeType> Copy for WindowStart<Types>

    Auto Trait Implementations§

    §

    impl<Types> Freeze for WindowStart<Types>

    §

    impl<Types> RefUnwindSafe for WindowStart<Types>

    §

    impl<Types> Send for WindowStart<Types>

    §

    impl<Types> Sync for WindowStart<Types>

    §

    impl<Types> Unpin for WindowStart<Types>

    §

    impl<Types> UnwindSafe for WindowStart<Types>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +}

    Variants§

    §

    Time(u64)

    §

    Height(u64)

    §

    Hash(BlockHash<Types>)

    Trait Implementations§

    source§

    impl<Types: NodeType> Clone for WindowStart<Types>

    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<Types: NodeType> Debug for WindowStart<Types>

    source§

    fn fmt(&self, __f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Types: NodeType> From<Commitment<<Types as NodeType>::BlockHeader>> for WindowStart<Types>

    source§

    fn from(original: BlockHash<Types>) -> WindowStart<Types>

    Converts to this type from the input type.
    source§

    impl<Types: NodeType> Copy for WindowStart<Types>

    Auto Trait Implementations§

    §

    impl<Types> Freeze for WindowStart<Types>

    §

    impl<Types> RefUnwindSafe for WindowStart<Types>

    §

    impl<Types> Send for WindowStart<Types>

    §

    impl<Types> Sync for WindowStart<Types>

    §

    impl<Types> Unpin for WindowStart<Types>

    §

    impl<Types> UnwindSafe for WindowStart<Types>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -59,78 +59,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ No newline at end of file diff --git a/hotshot_query_service/node/fn.define_api.html b/hotshot_query_service/node/fn.define_api.html index 9dc236715..743eede7b 100644 --- a/hotshot_query_service/node/fn.define_api.html +++ b/hotshot_query_service/node/fn.define_api.html @@ -1,6 +1,6 @@ -define_api in hotshot_query_service::node - Rust

    Function hotshot_query_service::node::define_api

    source ·
    pub fn define_api<State, Types: NodeType, Ver: StaticVersionType + 'static>(
    +define_api in hotshot_query_service::node - Rust

    Function hotshot_query_service::node::define_api

    source ·
    pub fn define_api<State, Types: NodeType, Ver: StaticVersionType + 'static>(
         options: &Options,
         _: Ver,
    -) -> Result<Api<State, Error, Ver>, ApiError>
    where - State: 'static + Send + Sync + ReadState, - <State as ReadState>::State: Send + Sync + NodeDataSource<Types>,
    \ No newline at end of file +) -> Result<Api<State, Error, Ver>, ApiError>
    where + State: 'static + Send + Sync + ReadState, + <State as ReadState>::State: Send + Sync + NodeDataSource<Types>,
    \ No newline at end of file diff --git a/hotshot_query_service/node/index.html b/hotshot_query_service/node/index.html index f585ad5f7..da1a2a059 100644 --- a/hotshot_query_service/node/index.html +++ b/hotshot_query_service/node/index.html @@ -1,4 +1,4 @@ -hotshot_query_service::node - Rust

    Module hotshot_query_service::node

    source ·
    Expand description

    A node’s view of a HotShot chain

    +hotshot_query_service::node - Rust

    Module hotshot_query_service::node

    source ·
    Expand description

    A node’s view of a HotShot chain

    The node API provides a subjective view of the HotShot blockchain, from the perspective of one particular node. It provides access to information that the availability API does not, because this information depends on the diff --git a/hotshot_query_service/node/struct.CustomSnafu.html b/hotshot_query_service/node/struct.CustomSnafu.html index bf87747b7..141891b35 100644 --- a/hotshot_query_service/node/struct.CustomSnafu.html +++ b/hotshot_query_service/node/struct.CustomSnafu.html @@ -1,78 +1,78 @@ -CustomSnafu in hotshot_query_service::node - Rust

    Struct hotshot_query_service::node::CustomSnafu

    source ·
    pub struct CustomSnafu<__T0, __T1> {
    +CustomSnafu in hotshot_query_service::node - Rust

    Struct hotshot_query_service::node::CustomSnafu

    source ·
    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) -> Error
    where - __T0: Into<String>, - __T1: Into<StatusCode>,

    Consume the selector and return the associated error

    -
    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 - 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> Freeze for CustomSnafu<__T0, __T1>
    where - __T0: Freeze, - __T1: Freeze,

    §

    impl<__T0, __T1> RefUnwindSafe for CustomSnafu<__T0, __T1>
    where - __T0: RefUnwindSafe, - __T1: RefUnwindSafe,

    §

    impl<__T0, __T1> Send for CustomSnafu<__T0, __T1>
    where - __T0: Send, - __T1: Send,

    §

    impl<__T0, __T1> Sync for CustomSnafu<__T0, __T1>
    where - __T0: Sync, - __T1: Sync,

    §

    impl<__T0, __T1> Unpin for CustomSnafu<__T0, __T1>
    where - __T0: Unpin, - __T1: Unpin,

    §

    impl<__T0, __T1> UnwindSafe for CustomSnafu<__T0, __T1>
    where - __T0: UnwindSafe, - __T1: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( + __T0: Into<String>, + __T1: Into<StatusCode>,

    Consume the selector and return the associated error

    +
    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 + 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> Freeze for CustomSnafu<__T0, __T1>
    where + __T0: Freeze, + __T1: Freeze,

    §

    impl<__T0, __T1> RefUnwindSafe for CustomSnafu<__T0, __T1>
    where + __T0: RefUnwindSafe, + __T1: RefUnwindSafe,

    §

    impl<__T0, __T1> Send for CustomSnafu<__T0, __T1>
    where + __T0: Send, + __T1: Send,

    §

    impl<__T0, __T1> Sync for CustomSnafu<__T0, __T1>
    where + __T0: Sync, + __T1: Sync,

    §

    impl<__T0, __T1> Unpin for CustomSnafu<__T0, __T1>
    where + __T0: Unpin, + __T1: Unpin,

    §

    impl<__T0, __T1> UnwindSafe for CustomSnafu<__T0, __T1>
    where + __T0: UnwindSafe, + __T1: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -80,78 +80,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ No newline at end of file diff --git a/hotshot_query_service/node/struct.Options.html b/hotshot_query_service/node/struct.Options.html index ef1a9a580..5ef2b3f39 100644 --- a/hotshot_query_service/node/struct.Options.html +++ b/hotshot_query_service/node/struct.Options.html @@ -1,58 +1,58 @@ -Options in hotshot_query_service::node - Rust

    Struct hotshot_query_service::node::Options

    source ·
    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 node-api-path.

    +Options in hotshot_query_service::node - Rust

    Struct hotshot_query_service::node::Options

    source ·
    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 node-api-path.

    These optional files may contain route definitions for application-specific routes that have been added as extensions to the basic node API.

    -

    Trait Implementations§

    source§

    impl Default for Options

    source§

    fn default() -> Options

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +

    Trait Implementations§

    source§

    impl Default for Options

    source§

    fn default() -> Options

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -60,77 +60,77 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
    §

    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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
    §

    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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ No newline at end of file diff --git a/hotshot_query_service/node/struct.QuerySnafu.html b/hotshot_query_service/node/struct.QuerySnafu.html index edc5bb1b1..d8f8ed10c 100644 --- a/hotshot_query_service/node/struct.QuerySnafu.html +++ b/hotshot_query_service/node/struct.QuerySnafu.html @@ -1,55 +1,55 @@ -QuerySnafu in hotshot_query_service::node - Rust

    Struct hotshot_query_service::node::QuerySnafu

    source ·
    pub struct QuerySnafu;
    Expand description

    SNAFU context selector for the Error::Query variant

    -

    Trait Implementations§

    source§

    impl Clone for QuerySnafu

    source§

    fn clone(&self) -> QuerySnafu

    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 QuerySnafu

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoError<Error> for QuerySnafu
    where - 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 QuerySnafu

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +QuerySnafu in hotshot_query_service::node - Rust

    Struct hotshot_query_service::node::QuerySnafu

    source ·
    pub struct QuerySnafu;
    Expand description

    SNAFU context selector for the Error::Query variant

    +

    Trait Implementations§

    source§

    impl Clone for QuerySnafu

    source§

    fn clone(&self) -> QuerySnafu

    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 QuerySnafu

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoError<Error> for QuerySnafu
    where + 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 QuerySnafu

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -57,78 +57,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ No newline at end of file diff --git a/hotshot_query_service/node/struct.QueryVidSnafu.html b/hotshot_query_service/node/struct.QueryVidSnafu.html index 991c9fe77..41ed7d55d 100644 --- a/hotshot_query_service/node/struct.QueryVidSnafu.html +++ b/hotshot_query_service/node/struct.QueryVidSnafu.html @@ -1,64 +1,64 @@ -QueryVidSnafu in hotshot_query_service::node - Rust

    Struct hotshot_query_service::node::QueryVidSnafu

    source ·
    pub struct QueryVidSnafu<__T0> {
    +QueryVidSnafu in hotshot_query_service::node - Rust

    Struct hotshot_query_service::node::QueryVidSnafu

    source ·
    pub struct QueryVidSnafu<__T0> {
         pub block: __T0,
     }
    Expand description

    SNAFU context selector for the Error::QueryVid variant

    -

    Fields§

    §block: __T0

    Trait Implementations§

    source§

    impl<__T0: Clone> Clone for QueryVidSnafu<__T0>

    source§

    fn clone(&self) -> QueryVidSnafu<__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 QueryVidSnafu<__T0>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<__T0> IntoError<Error> for QueryVidSnafu<__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 QueryVidSnafu<__T0>

    Auto Trait Implementations§

    §

    impl<__T0> Freeze for QueryVidSnafu<__T0>
    where - __T0: Freeze,

    §

    impl<__T0> RefUnwindSafe for QueryVidSnafu<__T0>
    where - __T0: RefUnwindSafe,

    §

    impl<__T0> Send for QueryVidSnafu<__T0>
    where - __T0: Send,

    §

    impl<__T0> Sync for QueryVidSnafu<__T0>
    where - __T0: Sync,

    §

    impl<__T0> Unpin for QueryVidSnafu<__T0>
    where - __T0: Unpin,

    §

    impl<__T0> UnwindSafe for QueryVidSnafu<__T0>
    where - __T0: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +

    Fields§

    §block: __T0

    Trait Implementations§

    source§

    impl<__T0: Clone> Clone for QueryVidSnafu<__T0>

    source§

    fn clone(&self) -> QueryVidSnafu<__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 QueryVidSnafu<__T0>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<__T0> IntoError<Error> for QueryVidSnafu<__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 QueryVidSnafu<__T0>

    Auto Trait Implementations§

    §

    impl<__T0> Freeze for QueryVidSnafu<__T0>
    where + __T0: Freeze,

    §

    impl<__T0> RefUnwindSafe for QueryVidSnafu<__T0>
    where + __T0: RefUnwindSafe,

    §

    impl<__T0> Send for QueryVidSnafu<__T0>
    where + __T0: Send,

    §

    impl<__T0> Sync for QueryVidSnafu<__T0>
    where + __T0: Sync,

    §

    impl<__T0> Unpin for QueryVidSnafu<__T0>
    where + __T0: Unpin,

    §

    impl<__T0> UnwindSafe for QueryVidSnafu<__T0>
    where + __T0: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -66,78 +66,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ No newline at end of file diff --git a/hotshot_query_service/node/struct.QueryWindowSnafu.html b/hotshot_query_service/node/struct.QueryWindowSnafu.html index 753686e16..1a2969c68 100644 --- a/hotshot_query_service/node/struct.QueryWindowSnafu.html +++ b/hotshot_query_service/node/struct.QueryWindowSnafu.html @@ -1,72 +1,72 @@ -QueryWindowSnafu in hotshot_query_service::node - Rust

    Struct hotshot_query_service::node::QueryWindowSnafu

    source ·
    pub struct QueryWindowSnafu<__T0, __T1> {
    +QueryWindowSnafu in hotshot_query_service::node - Rust

    Struct hotshot_query_service::node::QueryWindowSnafu

    source ·
    pub struct QueryWindowSnafu<__T0, __T1> {
         pub start: __T0,
         pub end: __T1,
     }
    Expand description

    SNAFU context selector for the Error::QueryWindow variant

    -

    Fields§

    §start: __T0§end: __T1

    Trait Implementations§

    source§

    impl<__T0: Clone, __T1: Clone> Clone for QueryWindowSnafu<__T0, __T1>

    source§

    fn clone(&self) -> QueryWindowSnafu<__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 QueryWindowSnafu<__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 QueryWindowSnafu<__T0, __T1>
    where - Error: Error + ErrorCompat, - __T0: Into<String>, - __T1: Into<u64>,

    §

    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, __T1: Copy> Copy for QueryWindowSnafu<__T0, __T1>

    Auto Trait Implementations§

    §

    impl<__T0, __T1> Freeze for QueryWindowSnafu<__T0, __T1>
    where - __T0: Freeze, - __T1: Freeze,

    §

    impl<__T0, __T1> RefUnwindSafe for QueryWindowSnafu<__T0, __T1>
    where - __T0: RefUnwindSafe, - __T1: RefUnwindSafe,

    §

    impl<__T0, __T1> Send for QueryWindowSnafu<__T0, __T1>
    where - __T0: Send, - __T1: Send,

    §

    impl<__T0, __T1> Sync for QueryWindowSnafu<__T0, __T1>
    where - __T0: Sync, - __T1: Sync,

    §

    impl<__T0, __T1> Unpin for QueryWindowSnafu<__T0, __T1>
    where - __T0: Unpin, - __T1: Unpin,

    §

    impl<__T0, __T1> UnwindSafe for QueryWindowSnafu<__T0, __T1>
    where - __T0: UnwindSafe, - __T1: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +

    Fields§

    §start: __T0§end: __T1

    Trait Implementations§

    source§

    impl<__T0: Clone, __T1: Clone> Clone for QueryWindowSnafu<__T0, __T1>

    source§

    fn clone(&self) -> QueryWindowSnafu<__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 QueryWindowSnafu<__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 QueryWindowSnafu<__T0, __T1>
    where + Error: Error + ErrorCompat, + __T0: Into<String>, + __T1: Into<u64>,

    §

    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, __T1: Copy> Copy for QueryWindowSnafu<__T0, __T1>

    Auto Trait Implementations§

    §

    impl<__T0, __T1> Freeze for QueryWindowSnafu<__T0, __T1>
    where + __T0: Freeze, + __T1: Freeze,

    §

    impl<__T0, __T1> RefUnwindSafe for QueryWindowSnafu<__T0, __T1>
    where + __T0: RefUnwindSafe, + __T1: RefUnwindSafe,

    §

    impl<__T0, __T1> Send for QueryWindowSnafu<__T0, __T1>
    where + __T0: Send, + __T1: Send,

    §

    impl<__T0, __T1> Sync for QueryWindowSnafu<__T0, __T1>
    where + __T0: Sync, + __T1: Sync,

    §

    impl<__T0, __T1> Unpin for QueryWindowSnafu<__T0, __T1>
    where + __T0: Unpin, + __T1: Unpin,

    §

    impl<__T0, __T1> UnwindSafe for QueryWindowSnafu<__T0, __T1>
    where + __T0: UnwindSafe, + __T1: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -74,78 +74,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ No newline at end of file diff --git a/hotshot_query_service/node/struct.RequestSnafu.html b/hotshot_query_service/node/struct.RequestSnafu.html index 626c9e59b..a4de7efa6 100644 --- a/hotshot_query_service/node/struct.RequestSnafu.html +++ b/hotshot_query_service/node/struct.RequestSnafu.html @@ -1,55 +1,55 @@ -RequestSnafu in hotshot_query_service::node - Rust

    Struct hotshot_query_service::node::RequestSnafu

    source ·
    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 RequestSnafu
    where - 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 T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +RequestSnafu in hotshot_query_service::node - Rust

    Struct hotshot_query_service::node::RequestSnafu

    source ·
    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 RequestSnafu
    where + 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 T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -57,78 +57,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ No newline at end of file diff --git a/hotshot_query_service/node/struct.SyncStatus.html b/hotshot_query_service/node/struct.SyncStatus.html index 81ac9cb01..a2a61040a 100644 --- a/hotshot_query_service/node/struct.SyncStatus.html +++ b/hotshot_query_service/node/struct.SyncStatus.html @@ -1,81 +1,81 @@ -SyncStatus in hotshot_query_service::node - Rust

    Struct hotshot_query_service::node::SyncStatus

    source ·
    pub struct SyncStatus {
    -    pub missing_blocks: usize,
    -    pub missing_leaves: usize,
    -    pub missing_vid_common: usize,
    -    pub missing_vid_shares: usize,
    -    pub pruned_height: Option<usize>,
    -}

    Fields§

    §missing_blocks: usize§missing_leaves: usize§missing_vid_common: usize§missing_vid_shares: usize§pruned_height: Option<usize>

    Implementations§

    Trait Implementations§

    source§

    impl Clone for SyncStatus

    source§

    fn clone(&self) -> SyncStatus

    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 SyncStatus

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for SyncStatus

    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 SyncStatus

    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 SyncStatus

    source§

    fn cmp(&self, other: &SyncStatus) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for SyncStatus

    source§

    fn eq(&self, other: &SyncStatus) -> 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 PartialOrd for SyncStatus

    source§

    fn partial_cmp(&self, other: &SyncStatus) -> 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 SyncStatus

    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 SyncStatus

    source§

    impl StructuralPartialEq for SyncStatus

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +SyncStatus in hotshot_query_service::node - Rust

    Struct hotshot_query_service::node::SyncStatus

    source ·
    pub struct SyncStatus {
    +    pub missing_blocks: usize,
    +    pub missing_leaves: usize,
    +    pub missing_vid_common: usize,
    +    pub missing_vid_shares: usize,
    +    pub pruned_height: Option<usize>,
    +}

    Fields§

    §missing_blocks: usize§missing_leaves: usize§missing_vid_common: usize§missing_vid_shares: usize§pruned_height: Option<usize>

    Implementations§

    Trait Implementations§

    source§

    impl Clone for SyncStatus

    source§

    fn clone(&self) -> SyncStatus

    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 SyncStatus

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for SyncStatus

    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 SyncStatus

    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 SyncStatus

    source§

    fn cmp(&self, other: &SyncStatus) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for SyncStatus

    source§

    fn eq(&self, other: &SyncStatus) -> 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 PartialOrd for SyncStatus

    source§

    fn partial_cmp(&self, other: &SyncStatus) -> 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 SyncStatus

    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 SyncStatus

    source§

    impl StructuralPartialEq for SyncStatus

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CallHasher for T
    where - T: Hash + ?Sized,

    §

    fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
    where - H: Hash + ?Sized, - B: BuildHasher,

    §

    impl<Q, K> Comparable<K> for Q
    where - Q: Ord + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn compare(&self, key: &K) -> Ordering

    Compare self to key and return their ordering.
    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CallHasher for T
    where + T: Hash + ?Sized,

    §

    fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
    where + H: Hash + ?Sized, + B: BuildHasher,

    §

    impl<Q, K> Comparable<K> for Q
    where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn compare(&self, key: &K) -> Ordering

    Compare self to key and return their ordering.
    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -83,82 +83,82 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> Element for T
    where - T: Clone + Eq + PartialEq + Hash,

    §

    impl<T> Index for T
    where - T: Debug + Eq + PartialEq + Hash + Ord + PartialOrd + Clone,

    §

    impl<T> NetworkMsg for T
    where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    \ No newline at end of file +[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> Element for T
    where + T: Clone + Eq + PartialEq + Hash,

    §

    impl<T> Index for T
    where + T: Debug + Eq + PartialEq + Hash + Ord + PartialOrd + Clone,

    §

    impl<T> NetworkMsg for T
    where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    \ No newline at end of file diff --git a/hotshot_query_service/node/struct.TimeWindowQueryData.html b/hotshot_query_service/node/struct.TimeWindowQueryData.html index a4eae88d2..2bc9d3cb6 100644 --- a/hotshot_query_service/node/struct.TimeWindowQueryData.html +++ b/hotshot_query_service/node/struct.TimeWindowQueryData.html @@ -1,78 +1,78 @@ -TimeWindowQueryData in hotshot_query_service::node - Rust

    Struct hotshot_query_service::node::TimeWindowQueryData

    source ·
    pub struct TimeWindowQueryData<T> {
    -    pub window: Vec<T>,
    -    pub prev: Option<T>,
    -    pub next: Option<T>,
    +TimeWindowQueryData in hotshot_query_service::node - Rust

    Struct hotshot_query_service::node::TimeWindowQueryData

    source ·
    pub struct TimeWindowQueryData<T> {
    +    pub window: Vec<T>,
    +    pub prev: Option<T>,
    +    pub next: Option<T>,
     }
    Expand description

    Response to a /:resource/window query.

    -

    Fields§

    §window: Vec<T>§prev: Option<T>§next: Option<T>

    Implementations§

    source§

    impl<T: HeightIndexed> TimeWindowQueryData<T>

    source

    pub fn from(&self) -> Option<u64>

    The block height of the block that starts the window.

    +

    Fields§

    §window: Vec<T>§prev: Option<T>§next: Option<T>

    Implementations§

    source§

    impl<T: HeightIndexed> TimeWindowQueryData<T>

    source

    pub fn from(&self) -> Option<u64>

    The block height of the block that starts the window.

    If the window is empty, this is the height of the block that ends the window.

    -

    Trait Implementations§

    source§

    impl<T: Clone> Clone for TimeWindowQueryData<T>

    source§

    fn clone(&self) -> TimeWindowQueryData<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
    source§

    impl<T: Debug> Debug for TimeWindowQueryData<T>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<T> Default for TimeWindowQueryData<T>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de, T> Deserialize<'de> for TimeWindowQueryData<T>
    where - T: Deserialize<'de>,

    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<T: PartialEq> PartialEq for TimeWindowQueryData<T>

    source§

    fn eq(&self, other: &TimeWindowQueryData<T>) -> 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<T> Serialize for TimeWindowQueryData<T>
    where - T: Serialize,

    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<T: Eq> Eq for TimeWindowQueryData<T>

    source§

    impl<T> StructuralPartialEq for TimeWindowQueryData<T>

    Auto Trait Implementations§

    §

    impl<T> Freeze for TimeWindowQueryData<T>
    where - T: Freeze,

    §

    impl<T> RefUnwindSafe for TimeWindowQueryData<T>
    where - T: RefUnwindSafe,

    §

    impl<T> Send for TimeWindowQueryData<T>
    where - T: Send,

    §

    impl<T> Sync for TimeWindowQueryData<T>
    where - T: Sync,

    §

    impl<T> Unpin for TimeWindowQueryData<T>
    where - T: Unpin,

    §

    impl<T> UnwindSafe for TimeWindowQueryData<T>
    where - T: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +

    Trait Implementations§

    source§

    impl<T: Clone> Clone for TimeWindowQueryData<T>

    source§

    fn clone(&self) -> TimeWindowQueryData<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
    source§

    impl<T: Debug> Debug for TimeWindowQueryData<T>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<T> Default for TimeWindowQueryData<T>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de, T> Deserialize<'de> for TimeWindowQueryData<T>
    where + T: Deserialize<'de>,

    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<T: PartialEq> PartialEq for TimeWindowQueryData<T>

    source§

    fn eq(&self, other: &TimeWindowQueryData<T>) -> 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<T> Serialize for TimeWindowQueryData<T>
    where + T: Serialize,

    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<T: Eq> Eq for TimeWindowQueryData<T>

    source§

    impl<T> StructuralPartialEq for TimeWindowQueryData<T>

    Auto Trait Implementations§

    §

    impl<T> Freeze for TimeWindowQueryData<T>
    where + T: Freeze,

    §

    impl<T> RefUnwindSafe for TimeWindowQueryData<T>
    where + T: RefUnwindSafe,

    §

    impl<T> Send for TimeWindowQueryData<T>
    where + T: Send,

    §

    impl<T> Sync for TimeWindowQueryData<T>
    where + T: Sync,

    §

    impl<T> Unpin for TimeWindowQueryData<T>
    where + T: Unpin,

    §

    impl<T> UnwindSafe for TimeWindowQueryData<T>
    where + T: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -80,80 +80,80 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> NetworkMsg for T
    where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    \ No newline at end of file +[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> NetworkMsg for T
    where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    \ No newline at end of file diff --git a/hotshot_query_service/node/trait.NodeDataSource.html b/hotshot_query_service/node/trait.NodeDataSource.html index 9a6ec5e14..425a1e10f 100644 --- a/hotshot_query_service/node/trait.NodeDataSource.html +++ b/hotshot_query_service/node/trait.NodeDataSource.html @@ -1,66 +1,66 @@ -NodeDataSource in hotshot_query_service::node - Rust

    Trait hotshot_query_service::node::NodeDataSource

    source ·
    pub trait NodeDataSource<Types: NodeType> {
    +NodeDataSource in hotshot_query_service::node - Rust

    Trait hotshot_query_service::node::NodeDataSource

    source ·
    pub trait NodeDataSource<Types: NodeType> {
         // Required methods
         fn block_height<'life0, 'async_trait>(
             &'life0 self,
    -    ) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
    +    ) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait;
         fn count_transactions<'life0, 'async_trait>(
             &'life0 self,
    -    ) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
    +    ) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait;
         fn payload_size<'life0, 'async_trait>(
             &'life0 self,
    -    ) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
    +    ) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait;
         fn vid_share<'life0, 'async_trait, ID>(
             &'life0 self,
             id: ID,
    -    ) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
    -       where ID: Into<BlockId<Types>> + Send + Sync + 'async_trait,
    +    ) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
    +       where ID: Into<BlockId<Types>> + Send + Sync + 'async_trait,
                  Self: 'async_trait,
                  'life0: 'async_trait;
         fn get_header_window<'life0, 'async_trait>(
             &'life0 self,
    -        start: impl 'async_trait + Into<WindowStart<Types>> + Send + Sync,
    -        end: u64,
    -    ) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<Types>>>> + Send + 'async_trait>>
    +        start: impl 'async_trait + Into<WindowStart<Types>> + Send + Sync,
    +        end: u64,
    +    ) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<Types>>>> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait;
         fn sync_status<'life0, 'async_trait>(
             &'life0 self,
    -    ) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
    +    ) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait;
     }

    Required Methods§

    source

    fn block_height<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    source

    fn count_transactions<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    source

    fn payload_size<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    source

    fn vid_share<'life0, 'async_trait, ID>( &'life0 self, id: ID, -) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
    where - ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
    where + ID: Into<BlockId<Types>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

    source

    fn get_header_window<'life0, 'async_trait>( &'life0 self, - start: impl 'async_trait + Into<WindowStart<Types>> + Send + Sync, - end: u64, -) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<Types>>>> + Send + 'async_trait>>
    where + start: impl 'async_trait + Into<WindowStart<Types>> + Send + Sync, + end: u64, +) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<Types>>>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    source

    fn sync_status<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    Search the database for missing objects and generate a report.

    The query to find missing objects can be quite expensive while the database is large, but it @@ -69,14 +69,14 @@ to release a lock on the storage layer and run the expensive query asynchronously, while other operations, including write that require exclusive access to the API state, are able to proceed.

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl NodeDataSource<MockTypes> for DataSource

    source§

    impl<D, U, Types> NodeDataSource<Types> for ExtensibleDataSource<D, U>
    where - D: NodeDataSource<Types> + Send + Sync, - U: Send + Sync, +

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl NodeDataSource<MockTypes> for DataSource

    source§

    impl<D, U, Types> NodeDataSource<Types> for ExtensibleDataSource<D, U>
    where + D: NodeDataSource<Types> + Send + Sync, + U: Send + Sync, Types: NodeType,

    source§

    impl<Types> NodeDataSource<Types> for SqlStorage
    where Types: NodeType,

    source§

    impl<Types, S, P> NodeDataSource<Types> for FetchingDataSource<Types, S, P>
    where Types: NodeType, - S: NodeDataSource<Types> + Send + Sync, - P: Send + Sync,

    source§

    impl<Types: NodeType> NodeDataSource<Types> for FileSystemStorage<Types>
    where + S: NodeDataSource<Types> + Send + Sync, + P: Send + Sync,

    source§

    impl<Types: NodeType> NodeDataSource<Types> for FileSystemStorage<Types>
    where Payload<Types>: QueryablePayload<Types>, Header<Types>: QueryableHeader<Types>,

    source§

    impl<Types: NodeType> NodeDataSource<Types> for NoStorage
    where Payload<Types>: QueryablePayload<Types>,

    \ 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 c0bd6e412..43dccec43 100644 --- a/hotshot_query_service/status/enum.Error.html +++ b/hotshot_query_service/status/enum.Error.html @@ -1,74 +1,74 @@ -Error in hotshot_query_service::status - Rust

    Enum hotshot_query_service::status::Error

    source ·
    pub enum Error {
    +Error in hotshot_query_service::status - Rust

    Enum hotshot_query_service::status::Error

    source ·
    pub enum Error {
         Request {
             source: RequestError,
         },
         Internal {
    -        reason: String,
    +        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 Error
    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 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
    §

    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 Error
    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 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 Freeze for Error

    §

    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 T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +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 Freeze for Error

    §

    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 T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<T> AsErrorSource for T
    where - T: Error + 'static,

    §

    fn as_error_source(&self) -> &(dyn Error + 'static)

    For maximum effectiveness, this needs to be called as a method + 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 receivers.
    §

    impl<T> AsErrorSource for T
    where - T: Error + 'static,

    §

    fn as_error_source(&self) -> &(dyn Error + 'static)

    For maximum effectiveness, this needs to be called as a method + 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 receivers.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> Error for T
    where - T: Error + 'static,

    §

    fn as_error(&self) -> &(dyn Error + 'static)

    Gets this error as an std::error::Error.
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> Error for T
    where + T: Error + 'static,

    §

    fn as_error(&self) -> &(dyn Error + 'static)

    Gets this error as an std::error::Error.
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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<E> InstrumentError for E
    where - TracedError<E>: From<E>,

    §

    type Instrumented = TracedError<E>

    The type of the wrapped error after instrumentation
    source§

    fn in_current_span(self) -> <E as InstrumentError>::Instrumented

    Instrument an Error by bundling it with a SpanTrace Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + TracedError<E>: From<E>,
    §

    type Instrumented = TracedError<E>

    The type of the wrapped error after instrumentation
    source§

    fn in_current_span(self) -> <E as InstrumentError>::Instrumented

    Instrument an Error by bundling it with a SpanTrace Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -76,84 +76,84 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> SectionExt for T
    where - T: Display + Send + Sync + 'static,

    source§

    fn header<C>(self, header: C) -> IndentedSection<C, T>
    where - C: Display + Send + Sync + 'static,

    Add a header to a Section and indent the body Read more
    §

    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> SectionExt for T
    where + T: Display + Send + Sync + 'static,

    source§

    fn header<C>(self, header: C) -> IndentedSection<C, T>
    where + C: Display + Send + Sync + 'static,

    Add a header to a Section and indent the body Read more
    §

    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. 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 T
    where + 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 T
    where + 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 T
    where 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 + 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> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> NetworkMsg for T
    where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    §

    impl<T> TaskErr for T
    where - T: Error + Sync + Send + 'static,

    \ No newline at end of file +[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> NetworkMsg for T
    where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    §

    impl<T> TaskErr for T
    where + T: Error + Sync + Send + 'static,

    \ No newline at end of file diff --git a/hotshot_query_service/status/fn.define_api.html b/hotshot_query_service/status/fn.define_api.html index 7d00afef9..4acf966e6 100644 --- a/hotshot_query_service/status/fn.define_api.html +++ b/hotshot_query_service/status/fn.define_api.html @@ -1,6 +1,6 @@ -define_api in hotshot_query_service::status - Rust

    Function hotshot_query_service::status::define_api

    source ·
    pub fn define_api<State, Ver: StaticVersionType + 'static>(
    +define_api in hotshot_query_service::status - Rust

    Function hotshot_query_service::status::define_api

    source ·
    pub fn define_api<State, Ver: StaticVersionType + 'static>(
         options: &Options,
         _: Ver,
    -) -> Result<Api<State, Error, Ver>, ApiError>
    where - State: 'static + Send + Sync + ReadState, - <State as ReadState>::State: Send + Sync + StatusDataSource,
    \ No newline at end of file +) -> Result<Api<State, Error, Ver>, ApiError>
    where + State: 'static + Send + Sync + ReadState, + <State as ReadState>::State: Send + Sync + StatusDataSource,
    \ No newline at end of file diff --git a/hotshot_query_service/status/index.html b/hotshot_query_service/status/index.html index e1a444fef..db296ce30 100644 --- a/hotshot_query_service/status/index.html +++ b/hotshot_query_service/status/index.html @@ -1,4 +1,4 @@ -hotshot_query_service::status - Rust

    Module hotshot_query_service::status

    source ·
    Expand description

    Queries for node-specific state and uncommitted data.

    +hotshot_query_service::status - Rust

    Module hotshot_query_service::status

    source ·
    Expand description

    Queries for node-specific state and uncommitted data.

    Unlike the availability and node APIs, which deal only with committed data (albeit with different consistency properties), the status API offers a glimpse into internal consensus state and uncommitted data. Here you can find low-level diff --git a/hotshot_query_service/status/struct.Options.html b/hotshot_query_service/status/struct.Options.html index 3f9238ddf..e55273b2a 100644 --- a/hotshot_query_service/status/struct.Options.html +++ b/hotshot_query_service/status/struct.Options.html @@ -1,58 +1,58 @@ -Options in hotshot_query_service::status - Rust

    Struct hotshot_query_service::status::Options

    source ·
    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 status-api-path.

    +Options in hotshot_query_service::status - Rust

    Struct hotshot_query_service::status::Options

    source ·
    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 status-api-path.

    These optional files may contain route definitions for application-specific routes that have been added as extensions to the basic status API.

    -

    Trait Implementations§

    source§

    impl Default for Options

    source§

    fn default() -> Options

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +

    Trait Implementations§

    source§

    impl Default for Options

    source§

    fn default() -> Options

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -60,77 +60,77 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
    §

    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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
    §

    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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ 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 d80ed1edc..32a95d8c9 100644 --- a/hotshot_query_service/status/trait.StatusDataSource.html +++ b/hotshot_query_service/status/trait.StatusDataSource.html @@ -1,8 +1,8 @@ -StatusDataSource in hotshot_query_service::status - Rust

    Trait hotshot_query_service::status::StatusDataSource

    source ·
    pub trait StatusDataSource {
    +StatusDataSource in hotshot_query_service::status - Rust

    Trait hotshot_query_service::status::StatusDataSource

    source ·
    pub trait StatusDataSource {
         // Required methods
         fn block_height<'life0, 'async_trait>(
             &'life0 self,
    -    ) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
    +    ) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait;
         fn metrics(&self) -> &PrometheusMetrics;
    @@ -11,29 +11,29 @@
         fn consensus_metrics(&self) -> QueryResult<PrometheusMetrics> { ... }
         fn elapsed_time_since_last_decide<'life0, 'async_trait>(
             &'life0 self,
    -    ) -> Pin<Box<dyn Future<Output = QueryResult<u64>> + Send + 'async_trait>>
    -       where Self: Sync + 'async_trait,
    +    ) -> Pin<Box<dyn Future<Output = QueryResult<u64>> + Send + 'async_trait>>
    +       where Self: Sync + 'async_trait,
                  'life0: 'async_trait { ... }
         fn success_rate<'life0, 'async_trait>(
             &'life0 self,
    -    ) -> Pin<Box<dyn Future<Output = QueryResult<f64>> + Send + 'async_trait>>
    -       where Self: Sync + 'async_trait,
    +    ) -> Pin<Box<dyn Future<Output = QueryResult<f64>> + Send + 'async_trait>>
    +       where Self: Sync + 'async_trait,
                  'life0: 'async_trait { ... }
     }

    Required Methods§

    source

    fn block_height<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    source

    fn metrics(&self) -> &PrometheusMetrics

    Provided Methods§

    source

    fn consensus_metrics(&self) -> QueryResult<PrometheusMetrics>

    source

    fn elapsed_time_since_last_decide<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<u64>> + Send + 'async_trait>>
    where - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<u64>> + Send + 'async_trait>>
    where + Self: Sync + 'async_trait, 'life0: 'async_trait,

    source

    fn success_rate<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<f64>> + Send + 'async_trait>>
    where - Self: Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<f64>> + Send + 'async_trait>>
    where + Self: Sync + 'async_trait, 'life0: 'async_trait,

    Implementors§

    source§

    impl StatusDataSource for DataSource

    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, S, P> StatusDataSource for FetchingDataSource<Types, S, P>
    where + D: StatusDataSource + Send + Sync, + U: Send + Sync,

    source§

    impl<Types, S, P> StatusDataSource for FetchingDataSource<Types, S, P>
    where Types: NodeType, - S: NodeDataSource<Types> + Send + Sync, - P: Send + Sync,

    \ No newline at end of file + S: NodeDataSource<Types> + Send + Sync, + P: Send + Sync,
    \ No newline at end of file diff --git a/hotshot_query_service/status/trait.UpdateStatusData.html b/hotshot_query_service/status/trait.UpdateStatusData.html index 3c56a9a13..9eab80ab7 100644 --- a/hotshot_query_service/status/trait.UpdateStatusData.html +++ b/hotshot_query_service/status/trait.UpdateStatusData.html @@ -1,4 +1,4 @@ -UpdateStatusData in hotshot_query_service::status - Rust

    Trait hotshot_query_service::status::UpdateStatusData

    source ·
    pub trait UpdateStatusData {
    +UpdateStatusData in hotshot_query_service::status - Rust

    Trait hotshot_query_service::status::UpdateStatusData

    source ·
    pub trait UpdateStatusData {
         // Required method
    -    fn populate_metrics(&self) -> Box<dyn Metrics>;
    -}

    Required Methods§

    source

    fn populate_metrics(&self) -> Box<dyn Metrics>

    Implementors§

    \ No newline at end of file + fn populate_metrics(&self) -> Box<dyn Metrics>; +}

    Required Methods§

    source

    fn populate_metrics(&self) -> Box<dyn Metrics>

    Implementors§

    \ No newline at end of file diff --git a/hotshot_query_service/struct.ErrorSnafu.html b/hotshot_query_service/struct.ErrorSnafu.html index 6163a9f95..e0ce9021a 100644 --- a/hotshot_query_service/struct.ErrorSnafu.html +++ b/hotshot_query_service/struct.ErrorSnafu.html @@ -1,68 +1,68 @@ -ErrorSnafu in hotshot_query_service - Rust

    Struct hotshot_query_service::ErrorSnafu

    source ·
    pub struct ErrorSnafu<__T0> {
    +ErrorSnafu in hotshot_query_service - Rust

    Struct hotshot_query_service::ErrorSnafu

    source ·
    pub struct ErrorSnafu<__T0> {
         pub message: __T0,
     }
    Expand description

    SNAFU context selector for the QueryError::Error variant

    Fields§

    §message: __T0

    Implementations§

    source§

    impl<__T0> ErrorSnafu<__T0>

    source

    pub fn build(self) -> QueryError
    where - __T0: Into<String>,

    Consume the selector and return the associated error

    -
    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 ErrorSnafu<__T0>

    source§

    fn clone(&self) -> ErrorSnafu<__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 ErrorSnafu<__T0>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<__T0> IntoError<QueryError> for ErrorSnafu<__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 ErrorSnafu<__T0>

    Auto Trait Implementations§

    §

    impl<__T0> Freeze for ErrorSnafu<__T0>
    where - __T0: Freeze,

    §

    impl<__T0> RefUnwindSafe for ErrorSnafu<__T0>
    where - __T0: RefUnwindSafe,

    §

    impl<__T0> Send for ErrorSnafu<__T0>
    where - __T0: Send,

    §

    impl<__T0> Sync for ErrorSnafu<__T0>
    where - __T0: Sync,

    §

    impl<__T0> Unpin for ErrorSnafu<__T0>
    where - __T0: Unpin,

    §

    impl<__T0> UnwindSafe for ErrorSnafu<__T0>
    where - __T0: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( + __T0: Into<String>,

    Consume the selector and return the associated error

    +
    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 ErrorSnafu<__T0>

    source§

    fn clone(&self) -> ErrorSnafu<__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 ErrorSnafu<__T0>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<__T0> IntoError<QueryError> for ErrorSnafu<__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 ErrorSnafu<__T0>

    Auto Trait Implementations§

    §

    impl<__T0> Freeze for ErrorSnafu<__T0>
    where + __T0: Freeze,

    §

    impl<__T0> RefUnwindSafe for ErrorSnafu<__T0>
    where + __T0: RefUnwindSafe,

    §

    impl<__T0> Send for ErrorSnafu<__T0>
    where + __T0: Send,

    §

    impl<__T0> Sync for ErrorSnafu<__T0>
    where + __T0: Sync,

    §

    impl<__T0> Unpin for ErrorSnafu<__T0>
    where + __T0: Unpin,

    §

    impl<__T0> UnwindSafe for ErrorSnafu<__T0>
    where + __T0: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -70,78 +70,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ No newline at end of file diff --git a/hotshot_query_service/struct.Leaf.html b/hotshot_query_service/struct.Leaf.html index 4236ff0c2..65dfb3291 100644 --- a/hotshot_query_service/struct.Leaf.html +++ b/hotshot_query_service/struct.Leaf.html @@ -1,4 +1,4 @@ -Leaf in hotshot_query_service - Rust

    Struct hotshot_query_service::Leaf

    pub struct Leaf<TYPES>
    where +Leaf in hotshot_query_service - Rust

    Struct hotshot_query_service::Leaf

    pub struct Leaf<TYPES>
    where TYPES: NodeType,
    { /* private fields */ }
    Expand description

    This is the consensus-internal analogous concept to a block, and it contains the block proper, as well as the hash of its parent Leaf. NOTE: State is constrained to implementing BlockContents, is TypeMap::BlockPayload

    @@ -11,22 +11,22 @@
    §Panics

    Panics if the genesis payload (TYPES::BlockPayload::genesis()) is malformed (unable to be interpreted as bytes).

    pub fn view_number(&self) -> <TYPES as NodeType>::Time

    Time when this leaf was created.

    -

    pub fn height(&self) -> u64

    Height of this leaf in the chain.

    +

    pub fn height(&self) -> u64

    Height of this leaf in the chain.

    Equivalently, this is the number of leaves before this one in the chain.

    pub fn justify_qc( &self, ) -> SimpleCertificate<TYPES, QuorumData<TYPES>, SuccessThreshold>

    The QC linking this leaf to its parent in the chain.

    pub fn upgrade_certificate( &self, -) -> Option<SimpleCertificate<TYPES, UpgradeProposalData<TYPES>, UpgradeThreshold>>

    The QC linking this leaf to its parent in the chain.

    +) -> Option<SimpleCertificate<TYPES, UpgradeProposalData<TYPES>, UpgradeThreshold>>

    The QC linking this leaf to its parent in the chain.

    pub fn parent_commitment(&self) -> Commitment<Leaf<TYPES>>

    Commitment to this leaf’s parent.

    pub fn block_header(&self) -> &<TYPES as NodeType>::BlockHeader

    The block header contained in this leaf.

    pub fn block_header_mut(&mut self) -> &mut <TYPES as NodeType>::BlockHeader

    Get a mutable reference to the block header contained in this leaf.

    pub fn fill_block_payload( &mut self, block_payload: <TYPES as NodeType>::BlockPayload, - num_storage_nodes: usize, -) -> Result<(), BlockError>

    Fill this leaf with the block payload.

    + num_storage_nodes: usize, +) -> Result<(), BlockError>

    Fill this leaf with the block payload.

    §Errors

    Fails if the payload commitment doesn’t match self.block_header.payload_commitment() or if the transactions are of invalid length

    @@ -35,13 +35,13 @@
    §Errors
    block_payload: <TYPES as NodeType>::BlockPayload, )

    Fill this leaf with the block payload, without checking header and payload consistency

    -

    pub fn block_payload(&self) -> Option<<TYPES as NodeType>::BlockPayload>

    Optional block payload.

    +

    pub fn block_payload(&self) -> Option<<TYPES as NodeType>::BlockPayload>

    Optional block payload.

    pub fn payload_commitment(&self) -> <VidSchemeType as VidScheme>::Commit

    A commitment to the block payload contained in this leaf.

    pub fn temp_extends_upgrade( &self, parent: &Leaf<TYPES>, - decided_upgrade_certificate: &Option<SimpleCertificate<TYPES, UpgradeProposalData<TYPES>, UpgradeThreshold>>, -) -> Result<(), Error>

    Validate that a leaf has the right upgrade certificate to be the immediate child of another leaf

    + decided_upgrade_certificate: &Option<SimpleCertificate<TYPES, UpgradeProposalData<TYPES>, UpgradeThreshold>>, +) -> Result<(), Error>

    Validate that a leaf has the right upgrade certificate to be the immediate child of another leaf

    This may not be a complete function. Please double-check that it performs the checks you expect before subtituting validation logic with it.

    §Errors

    Returns an error if the certificates are not identical, or that when we no longer see a @@ -49,8 +49,8 @@

    §Errors

    pub async fn extends_upgrade( &self, parent: &Leaf<TYPES>, - decided_upgrade_certificate: &Arc<RwLock<Option<SimpleCertificate<TYPES, UpgradeProposalData<TYPES>, UpgradeThreshold>>>>, -) -> Result<(), Error>

    Validate that a leaf has the right upgrade certificate to be the immediate child of another leaf

    + decided_upgrade_certificate: &Arc<RwLock<Option<SimpleCertificate<TYPES, UpgradeProposalData<TYPES>, UpgradeThreshold>>>>, +) -> Result<(), Error>

    Validate that a leaf has the right upgrade certificate to be the immediate child of another leaf

    This may not be a complete function. Please double-check that it performs the checks you expect before subtituting validation logic with it.

    §Errors

    Returns an error if the certificates are not identical, or that when we no longer see a @@ -59,123 +59,123 @@

    §Errors
    TYPES: NodeType,

    pub fn from_quorum_proposal( quorum_proposal: &QuorumProposal<TYPES>, ) -> Leaf<TYPES>

    Constructs a leaf from a given quorum proposal.

    -

    Trait Implementations§

    §

    impl<TYPES> Clone for Leaf<TYPES>
    where - TYPES: Clone + NodeType, - <TYPES as NodeType>::Time: Clone, - <TYPES as NodeType>::BlockHeader: Clone, - <TYPES as NodeType>::BlockPayload: Clone,

    §

    fn clone(&self) -> Leaf<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
    §

    impl<TYPES> Committable for Leaf<TYPES>
    where - TYPES: NodeType,

    §

    fn commit(&self) -> Commitment<Leaf<TYPES>>

    Create a binding commitment to self.
    §

    fn tag() -> String

    Tag that should be used when serializing commitments to this type. Read more
    §

    impl<TYPES> Debug for Leaf<TYPES>
    where - TYPES: Debug + NodeType, - <TYPES as NodeType>::Time: Debug, - <TYPES as NodeType>::BlockHeader: Debug, - <TYPES as NodeType>::BlockPayload: Debug,

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, TYPES> Deserialize<'de> for Leaf<TYPES>
    where - TYPES: NodeType,

    §

    fn deserialize<__D>( +

    Trait Implementations§

    §

    impl<TYPES> Clone for Leaf<TYPES>
    where + TYPES: Clone + NodeType, + <TYPES as NodeType>::Time: Clone, + <TYPES as NodeType>::BlockHeader: Clone, + <TYPES as NodeType>::BlockPayload: Clone,

    §

    fn clone(&self) -> Leaf<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
    §

    impl<TYPES> Committable for Leaf<TYPES>
    where + TYPES: NodeType,

    §

    fn commit(&self) -> Commitment<Leaf<TYPES>>

    Create a binding commitment to self.
    §

    fn tag() -> String

    Tag that should be used when serializing commitments to this type. Read more
    §

    impl<TYPES> Debug for Leaf<TYPES>
    where + TYPES: Debug + NodeType, + <TYPES as NodeType>::Time: Debug, + <TYPES as NodeType>::BlockHeader: Debug, + <TYPES as NodeType>::BlockPayload: Debug,

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, TYPES> Deserialize<'de> for Leaf<TYPES>
    where + TYPES: NodeType,

    §

    fn deserialize<__D>( __deserializer: __D, -) -> Result<Leaf<TYPES>, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<TYPES> Display for Leaf<TYPES>
    where - TYPES: NodeType,

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<TYPES> Hash for Leaf<TYPES>
    where - TYPES: NodeType,

    §

    fn hash<H>(&self, state: &mut H)
    where - 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 - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl<TYPES> PartialEq for Leaf<TYPES>
    where - TYPES: NodeType,

    §

    fn eq(&self, other: &Leaf<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.
    §

    impl<TYPES> Serialize for Leaf<TYPES>
    where - TYPES: NodeType + Serialize, - <TYPES as NodeType>::Time: Serialize, - <TYPES as NodeType>::BlockHeader: Serialize,

    §

    fn serialize<__S>( +) -> Result<Leaf<TYPES>, <__D as Deserializer<'de>>::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<TYPES> Display for Leaf<TYPES>
    where + TYPES: NodeType,

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<TYPES> Hash for Leaf<TYPES>
    where + TYPES: NodeType,

    §

    fn hash<H>(&self, state: &mut H)
    where + 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 + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl<TYPES> PartialEq for Leaf<TYPES>
    where + TYPES: NodeType,

    §

    fn eq(&self, other: &Leaf<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.
    §

    impl<TYPES> Serialize for Leaf<TYPES>
    where + TYPES: NodeType + Serialize, + <TYPES as NodeType>::Time: Serialize, + <TYPES as NodeType>::BlockHeader: Serialize,

    §

    fn serialize<__S>( &self, __serializer: __S, -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl<TYPES> TestableLeaf for Leaf<TYPES>
    where +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl<TYPES> TestableLeaf for Leaf<TYPES>
    where TYPES: NodeType, <TYPES as NodeType>::ValidatedState: TestableState<TYPES>, <TYPES as NodeType>::BlockPayload: TestableBlock<TYPES>,

    §

    type NodeType = TYPES

    Type of nodes participating in the network.
    §

    fn create_random_transaction( &self, rng: &mut dyn RngCore, - padding: u64, -) -> <<<Leaf<TYPES> as TestableLeaf>::NodeType as NodeType>::BlockPayload as BlockPayload<<Leaf<TYPES> as TestableLeaf>::NodeType>>::Transaction

    Create a transaction that can be added to the block contained in this leaf.
    §

    impl<TYPES> Eq for Leaf<TYPES>
    where - TYPES: Eq + NodeType, - <TYPES as NodeType>::Time: Eq, - <TYPES as NodeType>::BlockHeader: Eq, - <TYPES as NodeType>::BlockPayload: Eq,

    Auto Trait Implementations§

    §

    impl<TYPES> Freeze for Leaf<TYPES>
    where - <TYPES as NodeType>::Time: Freeze, - <TYPES as NodeType>::BlockHeader: Freeze, - <TYPES as NodeType>::BlockPayload: Freeze, - <<TYPES as NodeType>::SignatureKey as SignatureKey>::QcType: Freeze,

    §

    impl<TYPES> RefUnwindSafe for Leaf<TYPES>
    where - <TYPES as NodeType>::Time: RefUnwindSafe, - <TYPES as NodeType>::BlockHeader: RefUnwindSafe, - <TYPES as NodeType>::BlockPayload: RefUnwindSafe, - <<TYPES as NodeType>::SignatureKey as SignatureKey>::QcType: RefUnwindSafe, - TYPES: RefUnwindSafe,

    §

    impl<TYPES> Send for Leaf<TYPES>

    §

    impl<TYPES> Sync for Leaf<TYPES>

    §

    impl<TYPES> Unpin for Leaf<TYPES>
    where - <TYPES as NodeType>::Time: Unpin, - <TYPES as NodeType>::BlockHeader: Unpin, - <TYPES as NodeType>::BlockPayload: Unpin, - <<TYPES as NodeType>::SignatureKey as SignatureKey>::QcType: Unpin, - TYPES: Unpin,

    §

    impl<TYPES> UnwindSafe for Leaf<TYPES>
    where - <TYPES as NodeType>::Time: UnwindSafe, - <TYPES as NodeType>::BlockHeader: UnwindSafe, - <TYPES as NodeType>::BlockPayload: UnwindSafe, - <<TYPES as NodeType>::SignatureKey as SignatureKey>::QcType: UnwindSafe, - TYPES: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( + padding: u64, +) -> <<<Leaf<TYPES> as TestableLeaf>::NodeType as NodeType>::BlockPayload as BlockPayload<<Leaf<TYPES> as TestableLeaf>::NodeType>>::Transaction

    Create a transaction that can be added to the block contained in this leaf.
    §

    impl<TYPES> Eq for Leaf<TYPES>
    where + TYPES: Eq + NodeType, + <TYPES as NodeType>::Time: Eq, + <TYPES as NodeType>::BlockHeader: Eq, + <TYPES as NodeType>::BlockPayload: Eq,

    Auto Trait Implementations§

    §

    impl<TYPES> Freeze for Leaf<TYPES>
    where + <TYPES as NodeType>::Time: Freeze, + <TYPES as NodeType>::BlockHeader: Freeze, + <TYPES as NodeType>::BlockPayload: Freeze, + <<TYPES as NodeType>::SignatureKey as SignatureKey>::QcType: Freeze,

    §

    impl<TYPES> RefUnwindSafe for Leaf<TYPES>
    where + <TYPES as NodeType>::Time: RefUnwindSafe, + <TYPES as NodeType>::BlockHeader: RefUnwindSafe, + <TYPES as NodeType>::BlockPayload: RefUnwindSafe, + <<TYPES as NodeType>::SignatureKey as SignatureKey>::QcType: RefUnwindSafe, + TYPES: RefUnwindSafe,

    §

    impl<TYPES> Send for Leaf<TYPES>

    §

    impl<TYPES> Sync for Leaf<TYPES>

    §

    impl<TYPES> Unpin for Leaf<TYPES>
    where + <TYPES as NodeType>::Time: Unpin, + <TYPES as NodeType>::BlockHeader: Unpin, + <TYPES as NodeType>::BlockPayload: Unpin, + <<TYPES as NodeType>::SignatureKey as SignatureKey>::QcType: Unpin, + TYPES: Unpin,

    §

    impl<TYPES> UnwindSafe for Leaf<TYPES>
    where + <TYPES as NodeType>::Time: UnwindSafe, + <TYPES as NodeType>::BlockHeader: UnwindSafe, + <TYPES as NodeType>::BlockPayload: UnwindSafe, + <<TYPES as NodeType>::SignatureKey as SignatureKey>::QcType: UnwindSafe, + TYPES: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CallHasher for T
    where - T: Hash + ?Sized,

    §

    fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
    where - H: Hash + ?Sized, - B: BuildHasher,

    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CallHasher for T
    where + T: Hash + ?Sized,

    §

    fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
    where + H: Hash + ?Sized, + B: BuildHasher,

    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -183,86 +183,86 @@
    §Errors
    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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    source§

    impl<T> Resolvable<T> for T
    where - T: Committable,

    source§

    fn try_resolve(self) -> Result<T, T>

    Get the underlying object if it is available without blocking.
    source§

    fn commitment(&self) -> Commitment<T>

    Get a commitment to the underlying object.
    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> SectionExt for T
    where - T: Display + Send + Sync + 'static,

    source§

    fn header<C>(self, header: C) -> IndentedSection<C, T>
    where - C: Display + Send + Sync + 'static,

    Add a header to a Section and indent the body Read more
    §

    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    source§

    impl<T> Resolvable<T> for T
    where + T: Committable,

    source§

    fn try_resolve(self) -> Result<T, T>

    Get the underlying object if it is available without blocking.
    source§

    fn commitment(&self) -> Commitment<T>

    Get a commitment to the underlying object.
    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> SectionExt for T
    where + T: Display + Send + Sync + 'static,

    source§

    fn header<C>(self, header: C) -> IndentedSection<C, T>
    where + C: Display + Send + Sync + 'static,

    Add a header to a Section and indent the body Read more
    §

    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. 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 T
    where + 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 T
    where + 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 T
    where 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 + 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> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> Element for T
    where - T: Clone + Eq + PartialEq + Hash,

    §

    impl<T> NetworkMsg for T
    where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    §

    impl<V> Voteable for V
    where - V: Sealed + Committable + Clone + Serialize + Debug + PartialEq + Hash + Eq,

    \ No newline at end of file +[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> Element for T
    where + T: Clone + Eq + PartialEq + Hash,

    §

    impl<T> NetworkMsg for T
    where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    §

    impl<V> Voteable for V
    where + V: Sealed + Committable + Clone + Serialize + Debug + PartialEq + Hash + Eq,

    \ No newline at end of file diff --git a/hotshot_query_service/struct.MissingSnafu.html b/hotshot_query_service/struct.MissingSnafu.html index 4f395c8f9..d10ba66a0 100644 --- a/hotshot_query_service/struct.MissingSnafu.html +++ b/hotshot_query_service/struct.MissingSnafu.html @@ -1,57 +1,57 @@ -MissingSnafu in hotshot_query_service - Rust

    Struct hotshot_query_service::MissingSnafu

    source ·
    pub struct MissingSnafu;
    Expand description

    SNAFU context selector for the QueryError::Missing variant

    +MissingSnafu in hotshot_query_service - Rust

    Struct hotshot_query_service::MissingSnafu

    source ·
    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 MissingSnafu
    where - 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 T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +

    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 MissingSnafu
    where + 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 T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -59,78 +59,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ No newline at end of file diff --git a/hotshot_query_service/struct.NotFoundSnafu.html b/hotshot_query_service/struct.NotFoundSnafu.html index d5db248ef..af010c0b8 100644 --- a/hotshot_query_service/struct.NotFoundSnafu.html +++ b/hotshot_query_service/struct.NotFoundSnafu.html @@ -1,57 +1,57 @@ -NotFoundSnafu in hotshot_query_service - Rust

    Struct hotshot_query_service::NotFoundSnafu

    source ·
    pub struct NotFoundSnafu;
    Expand description

    SNAFU context selector for the QueryError::NotFound variant

    +NotFoundSnafu in hotshot_query_service - Rust

    Struct hotshot_query_service::NotFoundSnafu

    source ·
    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 NotFoundSnafu
    where - 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 T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +

    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 NotFoundSnafu
    where + 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 T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - 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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + 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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -59,78 +59,78 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ No newline at end of file diff --git a/hotshot_query_service/struct.Options.html b/hotshot_query_service/struct.Options.html index 23975ba4d..a7a2d9578 100644 --- a/hotshot_query_service/struct.Options.html +++ b/hotshot_query_service/struct.Options.html @@ -1,57 +1,57 @@ -Options in hotshot_query_service - Rust

    Struct hotshot_query_service::Options

    source ·
    pub struct Options {
    +Options in hotshot_query_service - Rust

    Struct hotshot_query_service::Options

    source ·
    pub struct Options {
         pub availability: Options,
         pub node: Options,
         pub status: Options,
    -    pub port: u16,
    -}

    Fields§

    §availability: Options§node: Options§status: Options§port: u16

    Trait Implementations§

    source§

    impl Default for Options

    source§

    fn default() -> Options

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( + pub port: u16, +}

    Fields§

    §availability: Options§node: Options§status: Options§port: u16

    Trait Implementations§

    source§

    impl Default for Options

    source§

    fn default() -> Options

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -59,77 +59,77 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
    §

    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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
    §

    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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ No newline at end of file diff --git a/hotshot_query_service/testing/consensus/constant.NUM_NODES.html b/hotshot_query_service/testing/consensus/constant.NUM_NODES.html index f06ec49c6..12177ca7d 100644 --- a/hotshot_query_service/testing/consensus/constant.NUM_NODES.html +++ b/hotshot_query_service/testing/consensus/constant.NUM_NODES.html @@ -1 +1 @@ -NUM_NODES in hotshot_query_service::testing::consensus - Rust

    Constant hotshot_query_service::testing::consensus::NUM_NODES

    source ·
    pub const NUM_NODES: usize = 2;
    \ No newline at end of file +NUM_NODES in hotshot_query_service::testing::consensus - Rust

    Constant hotshot_query_service::testing::consensus::NUM_NODES

    source ·
    pub const NUM_NODES: usize = 2;
    \ No newline at end of file diff --git a/hotshot_query_service/testing/consensus/index.html b/hotshot_query_service/testing/consensus/index.html index 02eb34510..7fd23b12d 100644 --- a/hotshot_query_service/testing/consensus/index.html +++ b/hotshot_query_service/testing/consensus/index.html @@ -1 +1 @@ -hotshot_query_service::testing::consensus - Rust
    \ No newline at end of file +hotshot_query_service::testing::consensus - Rust
    \ No newline at end of file diff --git a/hotshot_query_service/testing/consensus/struct.MockNetwork.html b/hotshot_query_service/testing/consensus/struct.MockNetwork.html index 4b52fb990..92a199fb9 100644 --- a/hotshot_query_service/testing/consensus/struct.MockNetwork.html +++ b/hotshot_query_service/testing/consensus/struct.MockNetwork.html @@ -1,55 +1,55 @@ -MockNetwork in hotshot_query_service::testing::consensus - Rust

    Struct hotshot_query_service::testing::consensus::MockNetwork

    source ·
    pub struct MockNetwork<D: DataSourceLifeCycle> { /* private fields */ }

    Implementations§

    source§

    impl<D: DataSourceLifeCycle + UpdateStatusData> MockNetwork<D>

    source

    pub async fn init() -> Self

    source

    pub async fn init_with_config( - update_config: impl FnOnce(&mut HotShotConfig<BLSPubKey>), -) -> Self

    source§

    impl<D: DataSourceLifeCycle> MockNetwork<D>

    source

    pub fn handle(&self) -> &SystemContextHandle<MockTypes, MockNodeImpl>

    source

    pub async fn submit_transaction(&self, tx: MockTransaction)

    source

    pub fn num_nodes(&self) -> usize

    source

    pub fn proposer(&self, i: usize) -> SignatureKey<MockTypes>

    source

    pub fn data_source_index(&self, i: usize) -> Arc<RwLock<D>>

    source

    pub fn data_source(&self) -> Arc<RwLock<D>>

    source

    pub fn storage(&self) -> &D::Storage

    source

    pub fn spawn(&mut self, name: impl Display, task: impl Future + Send + 'static)

    source

    pub async fn shut_down(self)

    source§

    impl<D: DataSourceLifeCycle> MockNetwork<D>

    source

    pub async fn start(&mut self)

    Trait Implementations§

    source§

    impl<D: DataSourceLifeCycle> Drop for MockNetwork<D>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    §

    impl<D> Freeze for MockNetwork<D>

    §

    impl<D> !RefUnwindSafe for MockNetwork<D>

    §

    impl<D> Send for MockNetwork<D>

    §

    impl<D> Sync for MockNetwork<D>

    §

    impl<D> Unpin for MockNetwork<D>

    §

    impl<D> !UnwindSafe for MockNetwork<D>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +MockNetwork in hotshot_query_service::testing::consensus - Rust

    Struct hotshot_query_service::testing::consensus::MockNetwork

    source ·
    pub struct MockNetwork<D: DataSourceLifeCycle> { /* private fields */ }

    Implementations§

    source§

    impl<D: DataSourceLifeCycle + UpdateStatusData> MockNetwork<D>

    source

    pub async fn init() -> Self

    source

    pub async fn init_with_config( + update_config: impl FnOnce(&mut HotShotConfig<BLSPubKey>), +) -> Self

    source§

    impl<D: DataSourceLifeCycle> MockNetwork<D>

    source

    pub fn handle(&self) -> &SystemContextHandle<MockTypes, MockNodeImpl>

    source

    pub async fn submit_transaction(&self, tx: MockTransaction)

    source

    pub fn num_nodes(&self) -> usize

    source

    pub fn proposer(&self, i: usize) -> SignatureKey<MockTypes>

    source

    pub fn data_source_index(&self, i: usize) -> Arc<RwLock<D>>

    source

    pub fn data_source(&self) -> Arc<RwLock<D>>

    source

    pub fn storage(&self) -> &D::Storage

    source

    pub fn spawn(&mut self, name: impl Display, task: impl Future + Send + 'static)

    source

    pub async fn shut_down(self)

    source§

    impl<D: DataSourceLifeCycle> MockNetwork<D>

    source

    pub async fn start(&mut self)

    Trait Implementations§

    source§

    impl<D: DataSourceLifeCycle> Drop for MockNetwork<D>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    §

    impl<D> Freeze for MockNetwork<D>

    §

    impl<D> !RefUnwindSafe for MockNetwork<D>

    §

    impl<D> Send for MockNetwork<D>

    §

    impl<D> Sync for MockNetwork<D>

    §

    impl<D> Unpin for MockNetwork<D>

    §

    impl<D> !UnwindSafe for MockNetwork<D>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - 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) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + 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) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -57,77 +57,77 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
    §

    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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + Self: DerefMut<Target = T> + Deref, + T: ?Sized,

    Calls .tap_deref_mut() only in debug builds, and is erased in release +builds.
    §

    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 T
    where + 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 T
    where + 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 T
    where 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 + 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
    \ No newline at end of file diff --git a/hotshot_query_service/testing/consensus/trait.DataSourceLifeCycle.html b/hotshot_query_service/testing/consensus/trait.DataSourceLifeCycle.html index 154a259b2..2b70ef388 100644 --- a/hotshot_query_service/testing/consensus/trait.DataSourceLifeCycle.html +++ b/hotshot_query_service/testing/consensus/trait.DataSourceLifeCycle.html @@ -1,25 +1,25 @@ -DataSourceLifeCycle in hotshot_query_service::testing::consensus - Rust
    pub trait DataSourceLifeCycle: Send + Sync + Sized + 'static {
    -    type Storage: Send + Sync;
    +DataSourceLifeCycle in hotshot_query_service::testing::consensus - Rust
    pub trait DataSourceLifeCycle: Send + Sync + Sized + 'static {
    +    type Storage: Send + Sync;
     
         // Required methods
         fn create<'async_trait>(
    -        node_id: usize,
    -    ) -> Pin<Box<dyn Future<Output = Self::Storage> + Send + 'async_trait>>
    +        node_id: usize,
    +    ) -> Pin<Box<dyn Future<Output = Self::Storage> + Send + 'async_trait>>
            where Self: 'async_trait;
         fn connect<'life0, 'async_trait>(
             storage: &'life0 Self::Storage,
    -    ) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
    +    ) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait;
         fn reset<'life0, 'async_trait>(
             storage: &'life0 Self::Storage,
    -    ) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
    +    ) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait;
         fn handle_event<'life0, 'life1, 'async_trait>(
             &'life0 mut self,
             event: &'life1 Event<MockTypes>,
    -    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    +    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait,
                  'life1: 'async_trait;
    @@ -27,34 +27,34 @@
         // Provided method
         fn setup<'life0, 'async_trait>(
             _network: &'life0 mut MockNetwork<Self>,
    -    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    +    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait { ... }
    -}

    Required Associated Types§

    source

    type Storage: Send + Sync

    Backing storage for the data source.

    +}

    Required Associated Types§

    source

    type Storage: Send + Sync

    Backing storage for the data source.

    This can be used to connect to data sources to the same underlying data. It must be kept alive as long as the related data sources are open.

    Required Methods§

    source

    fn create<'async_trait>( - node_id: usize, -) -> Pin<Box<dyn Future<Output = Self::Storage> + Send + 'async_trait>>
    where + node_id: usize, +) -> Pin<Box<dyn Future<Output = Self::Storage> + Send + 'async_trait>>
    where Self: 'async_trait,

    source

    fn connect<'life0, 'async_trait>( storage: &'life0 Self::Storage, -) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    source

    fn reset<'life0, 'async_trait>( storage: &'life0 Self::Storage, -) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    source

    fn handle_event<'life0, 'life1, 'async_trait>( &'life0 mut self, event: &'life1 Event<MockTypes>, -) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

    Provided Methods§

    source

    fn setup<'life0, 'async_trait>( _network: &'life0 mut MockNetwork<Self>, -) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    Setup runs after setting up the network but before starting a test.

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file + U: Default + Send + Sync + 'static,
    source§

    impl<P: AvailabilityProvider<MockTypes> + Default> DataSourceLifeCycle for SqlDataSource<MockTypes, P>

    source§

    impl<P: AvailabilityProvider<MockTypes> + Default> DataSourceLifeCycle for FileSystemDataSource<MockTypes, P>

    \ No newline at end of file diff --git a/hotshot_query_service/testing/consensus/trait.TestableDataSource.html b/hotshot_query_service/testing/consensus/trait.TestableDataSource.html index 1cd624fb9..8ed5c4c46 100644 --- a/hotshot_query_service/testing/consensus/trait.TestableDataSource.html +++ b/hotshot_query_service/testing/consensus/trait.TestableDataSource.html @@ -1,2 +1,2 @@ -TestableDataSource in hotshot_query_service::testing::consensus - Rust
    pub trait TestableDataSource: DataSourceLifeCycle + AvailabilityDataSource<MockTypes> + NodeDataSource<MockTypes> + StatusDataSource + UpdateDataSource<MockTypes> + VersionedDataSource { }

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl<T> TestableDataSource for T
    where +TestableDataSource in hotshot_query_service::testing::consensus - Rust
    \ No newline at end of file diff --git a/hotshot_query_service/testing/consensus/type.MockDataSource.html b/hotshot_query_service/testing/consensus/type.MockDataSource.html index 40155e1b7..5604063b7 100644 --- a/hotshot_query_service/testing/consensus/type.MockDataSource.html +++ b/hotshot_query_service/testing/consensus/type.MockDataSource.html @@ -1 +1 @@ -MockDataSource in hotshot_query_service::testing::consensus - Rust

    Type Alias hotshot_query_service::testing::consensus::MockDataSource

    source ·
    pub type MockDataSource = FileSystemDataSource<MockTypes, NoFetching>;

    Aliased Type§

    struct MockDataSource { /* private fields */ }
    \ No newline at end of file +MockDataSource in hotshot_query_service::testing::consensus - Rust

    Type Alias hotshot_query_service::testing::consensus::MockDataSource

    source ·
    pub type MockDataSource = FileSystemDataSource<MockTypes, NoFetching>;

    Aliased Type§

    struct MockDataSource { /* private fields */ }
    \ No newline at end of file diff --git a/hotshot_query_service/testing/consensus/type.MockSqlDataSource.html b/hotshot_query_service/testing/consensus/type.MockSqlDataSource.html index ea1767789..4e7bda871 100644 --- a/hotshot_query_service/testing/consensus/type.MockSqlDataSource.html +++ b/hotshot_query_service/testing/consensus/type.MockSqlDataSource.html @@ -1 +1 @@ -MockSqlDataSource in hotshot_query_service::testing::consensus - Rust

    Type Alias hotshot_query_service::testing::consensus::MockSqlDataSource

    source ·
    pub type MockSqlDataSource = SqlDataSource<MockTypes, NoFetching>;

    Aliased Type§

    struct MockSqlDataSource { /* private fields */ }
    \ No newline at end of file +MockSqlDataSource in hotshot_query_service::testing::consensus - Rust

    Type Alias hotshot_query_service::testing::consensus::MockSqlDataSource

    source ·
    pub type MockSqlDataSource = SqlDataSource<MockTypes, NoFetching>;

    Aliased Type§

    struct MockSqlDataSource { /* private fields */ }
    \ No newline at end of file diff --git a/hotshot_query_service/testing/fn.setup_test.html b/hotshot_query_service/testing/fn.setup_test.html index 5673dd381..90857bef4 100644 --- a/hotshot_query_service/testing/fn.setup_test.html +++ b/hotshot_query_service/testing/fn.setup_test.html @@ -1 +1 @@ -setup_test in hotshot_query_service::testing - Rust

    Function hotshot_query_service::testing::setup_test

    source ·
    pub fn setup_test()
    \ No newline at end of file +setup_test in hotshot_query_service::testing - Rust

    Function hotshot_query_service::testing::setup_test

    source ·
    pub fn setup_test()
    \ No newline at end of file diff --git a/hotshot_query_service/testing/fn.sleep.html b/hotshot_query_service/testing/fn.sleep.html index 966534b1d..ba0f84762 100644 --- a/hotshot_query_service/testing/fn.sleep.html +++ b/hotshot_query_service/testing/fn.sleep.html @@ -1 +1 @@ -sleep in hotshot_query_service::testing - Rust

    Function hotshot_query_service::testing::sleep

    source ·
    pub async fn sleep(dur: Duration)
    \ No newline at end of file +sleep in hotshot_query_service::testing - Rust

    Function hotshot_query_service::testing::sleep

    source ·
    pub async fn sleep(dur: Duration)
    \ No newline at end of file diff --git a/hotshot_query_service/testing/index.html b/hotshot_query_service/testing/index.html index c5e151899..5b01d71cc 100644 --- a/hotshot_query_service/testing/index.html +++ b/hotshot_query_service/testing/index.html @@ -1 +1 @@ -hotshot_query_service::testing - Rust

    Module hotshot_query_service::testing

    source ·

    Modules§

    Functions§

    \ No newline at end of file +hotshot_query_service::testing - Rust

    Module hotshot_query_service::testing

    source ·

    Modules§

    Functions§

    \ No newline at end of file diff --git a/hotshot_query_service/testing/mocks/fn.mock_transaction.html b/hotshot_query_service/testing/mocks/fn.mock_transaction.html index 3635ab90a..4fb6364b1 100644 --- a/hotshot_query_service/testing/mocks/fn.mock_transaction.html +++ b/hotshot_query_service/testing/mocks/fn.mock_transaction.html @@ -1 +1 @@ -mock_transaction in hotshot_query_service::testing::mocks - Rust

    Function hotshot_query_service::testing::mocks::mock_transaction

    source ·
    pub fn mock_transaction(payload: Vec<u8>) -> MockTransaction
    \ No newline at end of file +mock_transaction in hotshot_query_service::testing::mocks - Rust

    Function hotshot_query_service::testing::mocks::mock_transaction

    source ·
    pub fn mock_transaction(payload: Vec<u8>) -> MockTransaction
    \ No newline at end of file diff --git a/hotshot_query_service/testing/mocks/index.html b/hotshot_query_service/testing/mocks/index.html index aee3f62de..e9c6a2288 100644 --- a/hotshot_query_service/testing/mocks/index.html +++ b/hotshot_query_service/testing/mocks/index.html @@ -1 +1 @@ -hotshot_query_service::testing::mocks - Rust
    \ No newline at end of file +hotshot_query_service::testing::mocks - Rust
    \ No newline at end of file diff --git a/hotshot_query_service/testing/mocks/struct.MockNodeImpl.html b/hotshot_query_service/testing/mocks/struct.MockNodeImpl.html index 886baa703..62a46a3ec 100644 --- a/hotshot_query_service/testing/mocks/struct.MockNodeImpl.html +++ b/hotshot_query_service/testing/mocks/struct.MockNodeImpl.html @@ -1,75 +1,75 @@ -MockNodeImpl in hotshot_query_service::testing::mocks - Rust

    Struct hotshot_query_service::testing::mocks::MockNodeImpl

    source ·
    pub struct MockNodeImpl;

    Trait Implementations§

    source§

    impl Clone for MockNodeImpl

    source§

    fn clone(&self) -> MockNodeImpl

    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 MockNodeImpl

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for MockNodeImpl

    source§

    fn default() -> MockNodeImpl

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for MockNodeImpl

    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 MockNodeImpl

    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 NodeImplementation<MockTypes> for MockNodeImpl

    §

    type Network = MemoryNetwork<VerKey>

    The underlying network type
    §

    type Storage = TestStorage<MockTypes>

    Storage for DA layer interactions
    §

    type AuctionResultsProvider = TestAuctionResultsProvider<MockTypes>

    The auction results type for Solver interactions
    source§

    impl Ord for MockNodeImpl

    source§

    fn cmp(&self, other: &MockNodeImpl) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for MockNodeImpl

    source§

    fn eq(&self, other: &MockNodeImpl) -> 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 PartialOrd for MockNodeImpl

    source§

    fn partial_cmp(&self, other: &MockNodeImpl) -> 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 MockNodeImpl

    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 Copy for MockNodeImpl

    source§

    impl Eq for MockNodeImpl

    source§

    impl StructuralPartialEq for MockNodeImpl

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( +MockNodeImpl in hotshot_query_service::testing::mocks - Rust

    Struct hotshot_query_service::testing::mocks::MockNodeImpl

    source ·
    pub struct MockNodeImpl;

    Trait Implementations§

    source§

    impl Clone for MockNodeImpl

    source§

    fn clone(&self) -> MockNodeImpl

    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 MockNodeImpl

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for MockNodeImpl

    source§

    fn default() -> MockNodeImpl

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for MockNodeImpl

    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 MockNodeImpl

    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 NodeImplementation<MockTypes> for MockNodeImpl

    §

    type Network = MemoryNetwork<VerKey>

    The underlying network type
    §

    type Storage = TestStorage<MockTypes>

    Storage for DA layer interactions
    §

    type AuctionResultsProvider = TestAuctionResultsProvider<MockTypes>

    The auction results type for Solver interactions
    source§

    impl Ord for MockNodeImpl

    source§

    fn cmp(&self, other: &MockNodeImpl) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for MockNodeImpl

    source§

    fn eq(&self, other: &MockNodeImpl) -> 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 PartialOrd for MockNodeImpl

    source§

    fn partial_cmp(&self, other: &MockNodeImpl) -> 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 MockNodeImpl

    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 Copy for MockNodeImpl

    source§

    impl Eq for MockNodeImpl

    source§

    impl StructuralPartialEq for MockNodeImpl

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CallHasher for T
    where - T: Hash + ?Sized,

    §

    fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
    where - H: Hash + ?Sized, - B: BuildHasher,

    §

    impl<Q, K> Comparable<K> for Q
    where - Q: Ord + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn compare(&self, key: &K) -> Ordering

    Compare self to key and return their ordering.
    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CallHasher for T
    where + T: Hash + ?Sized,

    §

    fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
    where + H: Hash + ?Sized, + B: BuildHasher,

    §

    impl<Q, K> Comparable<K> for Q
    where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn compare(&self, key: &K) -> Ordering

    Compare self to key and return their ordering.
    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -77,83 +77,83 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> Element for T
    where - T: Clone + Eq + PartialEq + Hash,

    §

    impl<T> Index for T
    where - T: Debug + Eq + PartialEq + Hash + Ord + PartialOrd + Clone,

    §

    impl<T> NetworkMsg for T
    where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    source§

    impl<T> RuleType for T
    where - T: Copy + Debug + Eq + Hash + Ord,

    \ No newline at end of file +[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> Element for T
    where + T: Clone + Eq + PartialEq + Hash,

    §

    impl<T> Index for T
    where + T: Debug + Eq + PartialEq + Hash + Ord + PartialOrd + Clone,

    §

    impl<T> NetworkMsg for T
    where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    source§

    impl<T> RuleType for T
    where + T: Copy + Debug + Eq + Hash + Ord,

    \ No newline at end of file diff --git a/hotshot_query_service/testing/mocks/struct.MockTypes.html b/hotshot_query_service/testing/mocks/struct.MockTypes.html index 4c7459f78..0086cc6e2 100644 --- a/hotshot_query_service/testing/mocks/struct.MockTypes.html +++ b/hotshot_query_service/testing/mocks/struct.MockTypes.html @@ -1,215 +1,215 @@ -MockTypes in hotshot_query_service::testing::mocks - Rust

    Struct hotshot_query_service::testing::mocks::MockTypes

    source ·
    pub struct MockTypes;

    Trait Implementations§

    source§

    impl AvailabilityDataSource<MockTypes> for DataSource

    §

    type LeafRange<R> = Pin<Box<dyn Stream<Item = Fetch<LeafQueryData<MockTypes>>> + Send>> +MockTypes in hotshot_query_service::testing::mocks - Rust

    Struct hotshot_query_service::testing::mocks::MockTypes

    source ·
    pub struct MockTypes;

    Trait Implementations§

    source§

    impl AvailabilityDataSource<MockTypes> for DataSource

    §

    type LeafRange<R> = Pin<Box<dyn Stream<Item = Fetch<LeafQueryData<MockTypes>>> + Send>> where - R: RangeBounds<usize> + Send

    §

    type BlockRange<R> = Pin<Box<dyn Stream<Item = Fetch<BlockQueryData<MockTypes>>> + Send>> + R: RangeBounds<usize> + Send

    §

    type BlockRange<R> = Pin<Box<dyn Stream<Item = Fetch<BlockQueryData<MockTypes>>> + Send>> where - R: RangeBounds<usize> + Send

    §

    type PayloadRange<R> = Pin<Box<dyn Stream<Item = Fetch<PayloadQueryData<MockTypes>>> + Send>> + R: RangeBounds<usize> + Send

    §

    type PayloadRange<R> = Pin<Box<dyn Stream<Item = Fetch<PayloadQueryData<MockTypes>>> + Send>> where - R: RangeBounds<usize> + Send

    §

    type VidCommonRange<R> = Pin<Box<dyn Stream<Item = Fetch<VidCommonQueryData<MockTypes>>> + Send>> + R: RangeBounds<usize> + Send

    §

    type VidCommonRange<R> = Pin<Box<dyn Stream<Item = Fetch<VidCommonQueryData<MockTypes>>> + Send>> where - 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 = Fetch<LeafQueryData<MockTypes>>> + Send + 'async_trait>>
    where - ID: Into<LeafId<MockTypes>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Fetch<LeafQueryData<MockTypes>>> + Send + 'async_trait>>
    where + ID: Into<LeafId<MockTypes>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

    source§

    fn get_block<'life0, 'async_trait, ID>( &'life0 self, id: ID, -) -> Pin<Box<dyn Future<Output = Fetch<BlockQueryData<MockTypes>>> + Send + 'async_trait>>
    where - ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Fetch<BlockQueryData<MockTypes>>> + Send + 'async_trait>>
    where + ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

    source§

    fn get_payload<'life0, 'async_trait, ID>( &'life0 self, id: ID, -) -> Pin<Box<dyn Future<Output = Fetch<PayloadQueryData<MockTypes>>> + Send + 'async_trait>>
    where - ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Fetch<PayloadQueryData<MockTypes>>> + Send + 'async_trait>>
    where + ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

    source§

    fn get_vid_common<'life0, 'async_trait, ID>( &'life0 self, id: ID, -) -> Pin<Box<dyn Future<Output = Fetch<VidCommonQueryData<MockTypes>>> + Send + 'async_trait>>
    where - ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = Fetch<VidCommonQueryData<MockTypes>>> + Send + 'async_trait>>
    where + ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

    source§

    fn get_leaf_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = Self::LeafRange<R>> + Send + 'async_trait>>
    where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = Self::LeafRange<R>> + Send + 'async_trait>>
    where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

    source§

    fn get_block_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = Self::BlockRange<R>> + Send + 'async_trait>>
    where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = Self::BlockRange<R>> + Send + 'async_trait>>
    where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

    source§

    fn get_payload_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = Self::PayloadRange<R>> + Send + 'async_trait>>
    where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = Self::PayloadRange<R>> + Send + 'async_trait>>
    where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

    source§

    fn get_vid_common_range<'life0, 'async_trait, R>( &'life0 self, range: R, -) -> Pin<Box<dyn Future<Output = Self::VidCommonRange<R>> + Send + 'async_trait>>
    where - R: RangeBounds<usize> + Send + 'static + 'async_trait, +) -> Pin<Box<dyn Future<Output = Self::VidCommonRange<R>> + Send + 'async_trait>>
    where + R: RangeBounds<usize> + Send + 'static + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

    source§

    fn get_transaction<'life0, 'async_trait>( &'life0 self, hash: TransactionHash<MockTypes>, -) -> Pin<Box<dyn Future<Output = Fetch<TransactionQueryData<MockTypes>>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = Fetch<TransactionQueryData<MockTypes>>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    Returns the transaction with the given hash.
    source§

    fn subscribe_blocks<'life0, 'async_trait>( &'life0 self, - from: usize, -) -> Pin<Box<dyn Future<Output = BoxStream<'static, BlockQueryData<Types>>> + Send + 'async_trait>>
    where - Self: Sync + 'async_trait, + from: usize, +) -> Pin<Box<dyn Future<Output = BoxStream<'static, BlockQueryData<Types>>> + Send + 'async_trait>>
    where + Self: Sync + 'async_trait, 'life0: 'async_trait,

    source§

    fn subscribe_payloads<'life0, 'async_trait>( &'life0 self, - from: usize, -) -> Pin<Box<dyn Future<Output = BoxStream<'static, PayloadQueryData<Types>>> + Send + 'async_trait>>
    where - Self: Sync + 'async_trait, + from: usize, +) -> Pin<Box<dyn Future<Output = BoxStream<'static, PayloadQueryData<Types>>> + Send + 'async_trait>>
    where + Self: Sync + 'async_trait, 'life0: 'async_trait,

    source§

    fn subscribe_leaves<'life0, 'async_trait>( &'life0 self, - from: usize, -) -> Pin<Box<dyn Future<Output = BoxStream<'static, LeafQueryData<Types>>> + Send + 'async_trait>>
    where - Self: Sync + 'async_trait, + from: usize, +) -> Pin<Box<dyn Future<Output = BoxStream<'static, LeafQueryData<Types>>> + Send + 'async_trait>>
    where + Self: Sync + 'async_trait, 'life0: 'async_trait,

    source§

    fn subscribe_vid_common<'life0, 'async_trait>( &'life0 self, - from: usize, -) -> Pin<Box<dyn Future<Output = BoxStream<'static, VidCommonQueryData<Types>>> + Send + 'async_trait>>
    where - Self: Sync + 'async_trait, - 'life0: 'async_trait,

    source§

    impl Clone for MockTypes

    source§

    fn clone(&self) -> MockTypes

    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 MockTypes

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for MockTypes

    source§

    fn default() -> MockTypes

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for MockTypes

    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 ExplorerHeader<MockTypes> for MockHeader

    §

    type BalanceAmount = i128

    BalanceAmount is a type that represents a general balance amount. It + from: usize, +) -> Pin<Box<dyn Future<Output = BoxStream<'static, VidCommonQueryData<Types>>> + Send + 'async_trait>>
    where + Self: Sync + 'async_trait, + 'life0: 'async_trait,

    source§

    impl Clone for MockTypes

    source§

    fn clone(&self) -> MockTypes

    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 MockTypes

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for MockTypes

    source§

    fn default() -> MockTypes

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for MockTypes

    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 ExplorerHeader<MockTypes> for MockHeader

    §

    type BalanceAmount = i128

    BalanceAmount is a type that represents a general balance amount. It does not indicate how this balance is represented, just that there is -a representation of it that adheres to the trait restrictions specified.
    §

    type WalletAddress = [u8; 32]

    WalletAddress is a type that represents the address of a Wallet. It +a representation of it that adheres to the trait restrictions specified.
    §

    type WalletAddress = [u8; 32]

    WalletAddress is a type that represents the address of a Wallet. It does not indicate how this address is represented, just that there is -a representation of it that adheres to the trait restrictions specified.
    §

    type ProposerId = [u8; 32]

    ProposerId is a type that represents the proposer id of the block. It +a representation of it that adheres to the trait restrictions specified.
    §

    type ProposerId = [u8; 32]

    ProposerId is a type that represents the proposer id of the block. It does not indicate how this proposer id is represented, just that there is -a representation of it that adheres to the trait restrictions specified.
    §

    type NamespaceId = u64

    NamespaceId is a type that represents the id of a namespace. It does +a representation of it that adheres to the trait restrictions specified.
    §

    type NamespaceId = u64

    NamespaceId is a type that represents the id of a namespace. It does not indicate how this namespace id is represented, just that there is a representation of it that adheres to the trait restrictions specified.
    source§

    fn proposer_id(&self) -> Self::ProposerId

    The proposer id of the block as stored within the block header.
    source§

    fn fee_info_account(&self) -> Self::WalletAddress

    The wallet address of the fee info account contained within the block -header.
    source§

    fn fee_info_balance(&self) -> Self::BalanceAmount

    The balance amount of the fee info contained within the block header.
    source§

    fn reward_balance(&self) -> Self::BalanceAmount

    The balance amount of the reward for constructing the block.
    source§

    fn namespace_ids(&self) -> Vec<Self::NamespaceId>

    A collection of namespace ids that are contained within the block header.
    source§

    impl Hash for MockTypes

    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 MerklizedState<MockTypes, 8> for MockMerkleTree

    §

    type Key = usize

    §

    type Entry = usize

    §

    type T = Sha3Node

    §

    type Commit = <UniversalMerkleTree<usize, Sha3Digest, usize, 8, Sha3Node> as MerkleTreeScheme>::Commitment

    §

    type Digest = Sha3Digest

    source§

    fn state_type() -> &'static str

    Retrieves the name of the state being queried.
    source§

    fn header_state_commitment_field() -> &'static str

    Retrieves the field in the header containing the Merkle tree commitment -for the state implementing this trait.
    source§

    fn tree_height() -> usize

    Get the height of the tree
    source§

    fn insert_path( +header.

    source§

    fn fee_info_balance(&self) -> Self::BalanceAmount

    The balance amount of the fee info contained within the block header.
    source§

    fn reward_balance(&self) -> Self::BalanceAmount

    The balance amount of the reward for constructing the block.
    source§

    fn namespace_ids(&self) -> Vec<Self::NamespaceId>

    A collection of namespace ids that are contained within the block header.
    source§

    impl Hash for MockTypes

    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 MerklizedState<MockTypes, 8> for MockMerkleTree

    §

    type Key = usize

    §

    type Entry = usize

    §

    type T = Sha3Node

    §

    type Commit = <UniversalMerkleTree<usize, Sha3Digest, usize, 8, Sha3Node> as MerkleTreeScheme>::Commitment

    §

    type Digest = Sha3Digest

    source§

    fn state_type() -> &'static str

    Retrieves the name of the state being queried.
    source§

    fn header_state_commitment_field() -> &'static str

    Retrieves the field in the header containing the Merkle tree commitment +for the state implementing this trait.
    source§

    fn tree_height() -> usize

    Get the height of the tree
    source§

    fn insert_path( &mut self, key: Self::Key, proof: &MerkleProof<Self::Entry, Self::Key, Self::T, 8>, -) -> Result<()>

    Insert a forgotten path into the tree.
    source§

    impl NodeDataSource<MockTypes> for DataSource

    source§

    fn block_height<'life0, 'async_trait>( +) -> Result<()>

    Insert a forgotten path into the tree.
    source§

    impl NodeDataSource<MockTypes> for DataSource

    source§

    fn block_height<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    source§

    fn count_transactions<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    source§

    fn payload_size<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    source§

    fn vid_share<'life0, 'async_trait, ID>( &'life0 self, id: ID, -) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
    where - ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait, +) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
    where + ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

    source§

    fn sync_status<'life0, 'async_trait>( &'life0 self, -) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    Search the database for missing objects and generate a report. Read more
    source§

    fn get_header_window<'life0, 'async_trait>( &'life0 self, - start: impl 'async_trait + Into<WindowStart<MockTypes>> + Send + Sync, - end: u64, -) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<MockTypes>>>> + Send + 'async_trait>>
    where + start: impl 'async_trait + Into<WindowStart<MockTypes>> + Send + Sync, + end: u64, +) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<MockTypes>>>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    source§

    impl NodeImplementation<MockTypes> for MockNodeImpl

    §

    type Network = MemoryNetwork<VerKey>

    The underlying network type
    §

    type Storage = TestStorage<MockTypes>

    Storage for DA layer interactions
    §

    type AuctionResultsProvider = TestAuctionResultsProvider<MockTypes>

    The auction results type for Solver interactions
    source§

    impl NodeType for MockTypes

    §

    type Time = ViewNumber

    The time type that this hotshot setup is using. Read more
    §

    type BlockHeader = TestBlockHeader

    The block header type that this hotshot setup is using.
    §

    type BlockPayload = TestBlockPayload

    The block type that this hotshot setup is using. Read more
    §

    type SignatureKey = VerKey

    The signature key that this hotshot setup is using.
    §

    type Transaction = TestTransaction

    The transaction type that this hotshot setup is using. Read more
    §

    type InstanceState = TestInstanceState

    The instance-level state type that this hotshot setup is using.
    §

    type ValidatedState = TestValidatedState

    The validated state type that this hotshot setup is using.
    §

    type Membership = GeneralStaticCommittee<MockTypes, VerKey>

    Membership used for this implementation
    §

    type BuilderSignatureKey = VerKey

    The type builder uses to sign its messages
    §

    type Base = StaticVersion<0, 1>

    The base version of HotShot this node is instantiated with.
    §

    type Upgrade = StaticVersion<0, 2>

    The version of HotShot this node may be upgraded to. Set equal to Base to disable upgrades.
    §

    type AuctionResult = TestAuctionResult

    The AuctionSolverResult is a type that holds the data associated with a particular solver -run, for a particular view.
    source§

    const UPGRADE_HASH: [u8; 32] = _

    The hash for the upgrade.
    source§

    impl Ord for MockTypes

    source§

    fn cmp(&self, other: &MockTypes) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for MockTypes

    source§

    fn eq(&self, other: &MockTypes) -> 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 PartialOrd for MockTypes

    source§

    fn partial_cmp(&self, other: &MockTypes) -> 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 QueryableHeader<MockTypes> for MockHeader

    source§

    fn timestamp(&self) -> u64

    source§

    impl Serialize for MockTypes

    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 UpdateAvailabilityData<MockTypes> for DataSource

    §

    type Error = QueryError

    source§

    fn insert_leaf<'life0, 'async_trait>( +run, for a particular view.

    source§

    const UPGRADE_HASH: [u8; 32] = _

    The hash for the upgrade.
    source§

    impl Ord for MockTypes

    source§

    fn cmp(&self, other: &MockTypes) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for MockTypes

    source§

    fn eq(&self, other: &MockTypes) -> 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 PartialOrd for MockTypes

    source§

    fn partial_cmp(&self, other: &MockTypes) -> 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 QueryableHeader<MockTypes> for MockHeader

    source§

    fn timestamp(&self) -> u64

    source§

    impl Serialize for MockTypes

    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 UpdateAvailabilityData<MockTypes> for DataSource

    §

    type Error = QueryError

    source§

    fn insert_leaf<'life0, 'async_trait>( &'life0 mut self, leaf: LeafQueryData<MockTypes>, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
    where +) -> 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 mut self, block: BlockQueryData<MockTypes>, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
    where +) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
    where Self: 'async_trait, 'life0: 'async_trait,

    source§

    fn insert_vid<'life0, 'async_trait>( &'life0 mut self, common: VidCommonQueryData<MockTypes>, - share: Option<VidShare>, -) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
    where + share: Option<VidShare>, +) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
    where Self: 'async_trait, - 'life0: 'async_trait,

    source§

    impl Copy for MockTypes

    source§

    impl Eq for MockTypes

    source§

    impl StructuralPartialEq for MockTypes

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( + 'life0: 'async_trait,

    source§

    impl Copy for MockTypes

    source§

    impl Eq for MockTypes

    source§

    impl StructuralPartialEq for MockTypes

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArchivePointee for T

    §

    type ArchivedMetadata = ()

    The archived version of the pointer metadata for this type.
    §

    fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

    Converts some archived metadata to the pointer metadata for itself.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CallHasher for T
    where - T: Hash + ?Sized,

    §

    fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
    where - H: Hash + ?Sized, - B: BuildHasher,

    §

    impl<Q, K> Comparable<K> for Q
    where - Q: Ord + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn compare(&self, key: &K) -> Ordering

    Compare self to key and return their ordering.
    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> T
    where - Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CallHasher for T
    where + T: Hash + ?Sized,

    §

    fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
    where + H: Hash + ?Sized, + B: BuildHasher,

    §

    impl<Q, K> Comparable<K> for Q
    where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn compare(&self, key: &K) -> Ordering

    Compare self to key and return their ordering.
    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> T
    where + Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<F, W, T, D> Deserialize<With<T, W>, D> for F
    where W: DeserializeWith<F, T, D>, - D: Fallible + ?Sized, - F: ?Sized,

    §

    fn deserialize( + D: Fallible + ?Sized, + F: ?Sized,

    §

    fn deserialize( &self, - deserializer: &mut D, -) -> Result<With<T, W>, <D as Fallible>::Error>

    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + deserializer: &mut D, +) -> Result<With<T, W>, <D as Fallible>::Error>
    Deserializes using the given deserializer
    source§

    impl<T> DynClone for T
    where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    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 + 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 + 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 + 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 + 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 + 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.

    + &'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, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + 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.

    -
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    impl<D> OwoColorize for D

    §

    fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
    where +otherwise. Read more

    §

    impl<T> LayoutRaw for T

    §

    fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

    Gets the layout of the type.
    §

    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 @@ -217,83 +217,83 @@ 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>( +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>( +) -> 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 T
    where - T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where - 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) -> R
    where - 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) -> R
    where - 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) -> R
    where - Self: Borrow<B>, - B: 'a + ?Sized, +) -> 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 T
    where + T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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) -> R
    where + 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, + func: impl FnOnce(&'a mut B) -> R, ) -> R
    where - Self: BorrowMut<B>, - B: 'a + ?Sized, + 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) -> R
    where - 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) -> R
    where - Self: AsMut<U>, - U: 'a + ?Sized, +function. Read more

    §

    fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
    where + 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) -> R
    where + 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) -> R
    where - Self: Deref<Target = T>, - T: 'a + ?Sized, +function.

    §

    fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
    where + 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, + func: impl FnOnce(&'a mut T) -> R, ) -> R
    where - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, + 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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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)) -> Self
    where - 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 T
    where - 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 T
    where - 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 T
    where - 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 T
    where +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
    §

    impl<T> Pointee for T

    §

    type Metadata = ()

    The type for metadata in pointers and references to Self.
    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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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)) -> Self
    where + 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 T
    where + 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 T
    where + 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 T
    where + 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 T
    where 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 + 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> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> Element for T
    where - T: Clone + Eq + PartialEq + Hash,

    §

    impl<T> Index for T
    where - T: Debug + Eq + PartialEq + Hash + Ord + PartialOrd + Clone,

    §

    impl<T> NetworkMsg for T
    where - T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    source§

    impl<T> RuleType for T
    where - T: Copy + Debug + Eq + Hash + Ord,

    \ No newline at end of file +[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> Element for T
    where + T: Clone + Eq + PartialEq + Hash,

    §

    impl<T> Index for T
    where + T: Debug + Eq + PartialEq + Hash + Ord + PartialOrd + Clone,

    §

    impl<T> NetworkMsg for T
    where + T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,

    source§

    impl<T> RuleType for T
    where + T: Copy + Debug + Eq + Hash + Ord,

    \ No newline at end of file diff --git a/hotshot_query_service/testing/mocks/type.MockAuctionResults.html b/hotshot_query_service/testing/mocks/type.MockAuctionResults.html index 0382d9d0d..793a7e502 100644 --- a/hotshot_query_service/testing/mocks/type.MockAuctionResults.html +++ b/hotshot_query_service/testing/mocks/type.MockAuctionResults.html @@ -1,4 +1,4 @@ -MockAuctionResults in hotshot_query_service::testing::mocks - Rust

    Type Alias hotshot_query_service::testing::mocks::MockAuctionResults

    source ·
    pub type MockAuctionResults = TestAuctionResult;

    Aliased Type§

    struct MockAuctionResults {
    -    pub urls: Vec<Url>,
    -}

    Fields§

    §urls: Vec<Url>

    The URL of the builder to reach out to.

    +MockAuctionResults in hotshot_query_service::testing::mocks - Rust

    Type Alias hotshot_query_service::testing::mocks::MockAuctionResults

    source ·
    pub type MockAuctionResults = TestAuctionResult;

    Aliased Type§

    struct MockAuctionResults {
    +    pub urls: Vec<Url>,
    +}

    Fields§

    §urls: Vec<Url>

    The URL of the builder to reach out to.

    \ No newline at end of file diff --git a/hotshot_query_service/testing/mocks/type.MockBase.html b/hotshot_query_service/testing/mocks/type.MockBase.html index 4048a7905..3feeb0f25 100644 --- a/hotshot_query_service/testing/mocks/type.MockBase.html +++ b/hotshot_query_service/testing/mocks/type.MockBase.html @@ -1,2 +1,2 @@ -MockBase in hotshot_query_service::testing::mocks - Rust

    Type Alias hotshot_query_service::testing::mocks::MockBase

    source ·
    pub type MockBase = <MockTypes as NodeType>::Base;
    Expand description

    A type alias for the mock base version

    +MockBase in hotshot_query_service::testing::mocks - Rust

    Type Alias hotshot_query_service::testing::mocks::MockBase

    source ·
    pub type MockBase = <MockTypes as NodeType>::Base;
    Expand description

    A type alias for the mock base version

    \ No newline at end of file diff --git a/hotshot_query_service/testing/mocks/type.MockHeader.html b/hotshot_query_service/testing/mocks/type.MockHeader.html index c5e1f968e..3e80bffc2 100644 --- a/hotshot_query_service/testing/mocks/type.MockHeader.html +++ b/hotshot_query_service/testing/mocks/type.MockHeader.html @@ -1,19 +1,19 @@ -MockHeader in hotshot_query_service::testing::mocks - Rust

    Type Alias hotshot_query_service::testing::mocks::MockHeader

    source ·
    pub type MockHeader = TestBlockHeader;

    Aliased Type§

    struct MockHeader {
    -    pub block_number: u64,
    +MockHeader in hotshot_query_service::testing::mocks - Rust

    Type Alias hotshot_query_service::testing::mocks::MockHeader

    source ·
    pub type MockHeader = TestBlockHeader;

    Aliased Type§

    struct MockHeader {
    +    pub block_number: u64,
         pub payload_commitment: HasherNode<CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>>,
         pub builder_commitment: BuilderCommitment,
    -    pub timestamp: u64,
    -}

    Fields§

    §block_number: u64

    Block number.

    + pub timestamp: u64, +}

    Fields§

    §block_number: u64

    Block number.

    §payload_commitment: HasherNode<CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>>

    VID commitment to the payload.

    §builder_commitment: BuilderCommitment

    Fast commitment for builder verification

    -
    §timestamp: u64

    Timestamp when this header was created.

    -

    Trait Implementations§

    source§

    impl ExplorerHeader<MockTypes> for MockHeader

    §

    type BalanceAmount = i128

    BalanceAmount is a type that represents a general balance amount. It +
    §timestamp: u64

    Timestamp when this header was created.

    +

    Trait Implementations§

    source§

    impl ExplorerHeader<MockTypes> for MockHeader

    §

    type BalanceAmount = i128

    BalanceAmount is a type that represents a general balance amount. It does not indicate how this balance is represented, just that there is -a representation of it that adheres to the trait restrictions specified.
    §

    type WalletAddress = [u8; 32]

    WalletAddress is a type that represents the address of a Wallet. It +a representation of it that adheres to the trait restrictions specified.
    §

    type WalletAddress = [u8; 32]

    WalletAddress is a type that represents the address of a Wallet. It does not indicate how this address is represented, just that there is -a representation of it that adheres to the trait restrictions specified.
    §

    type ProposerId = [u8; 32]

    ProposerId is a type that represents the proposer id of the block. It +a representation of it that adheres to the trait restrictions specified.
    §

    type ProposerId = [u8; 32]

    ProposerId is a type that represents the proposer id of the block. It does not indicate how this proposer id is represented, just that there is -a representation of it that adheres to the trait restrictions specified.
    §

    type NamespaceId = u64

    NamespaceId is a type that represents the id of a namespace. It does +a representation of it that adheres to the trait restrictions specified.
    §

    type NamespaceId = u64

    NamespaceId is a type that represents the id of a namespace. It does not indicate how this namespace id is represented, just that there is a representation of it that adheres to the trait restrictions specified.
    source§

    fn proposer_id(&self) -> Self::ProposerId

    The proposer id of the block as stored within the block header.
    source§

    fn fee_info_account(&self) -> Self::WalletAddress

    The wallet address of the fee info account contained within the block -header.
    source§

    fn fee_info_balance(&self) -> Self::BalanceAmount

    The balance amount of the fee info contained within the block header.
    source§

    fn reward_balance(&self) -> Self::BalanceAmount

    The balance amount of the reward for constructing the block.
    source§

    fn namespace_ids(&self) -> Vec<Self::NamespaceId>

    A collection of namespace ids that are contained within the block header.
    source§

    impl HeightIndexed for MockHeader

    source§

    fn height(&self) -> u64

    source§

    impl QueryableHeader<MockTypes> for MockHeader

    source§

    fn timestamp(&self) -> u64

    \ No newline at end of file +header.
    source§

    fn fee_info_balance(&self) -> Self::BalanceAmount

    The balance amount of the fee info contained within the block header.
    source§

    fn reward_balance(&self) -> Self::BalanceAmount

    The balance amount of the reward for constructing the block.
    source§

    fn namespace_ids(&self) -> Vec<Self::NamespaceId>

    A collection of namespace ids that are contained within the block header.
    source§

    impl HeightIndexed for MockHeader

    source§

    fn height(&self) -> u64

    source§

    impl QueryableHeader<MockTypes> for MockHeader

    source§

    fn timestamp(&self) -> u64

    \ No newline at end of file diff --git a/hotshot_query_service/testing/mocks/type.MockMembership.html b/hotshot_query_service/testing/mocks/type.MockMembership.html index d8b03c798..099382976 100644 --- a/hotshot_query_service/testing/mocks/type.MockMembership.html +++ b/hotshot_query_service/testing/mocks/type.MockMembership.html @@ -1 +1 @@ -MockMembership in hotshot_query_service::testing::mocks - Rust

    Type Alias hotshot_query_service::testing::mocks::MockMembership

    source ·
    pub type MockMembership = GeneralStaticCommittee<MockTypes, <MockTypes as NodeType>::SignatureKey>;

    Aliased Type§

    struct MockMembership { /* private fields */ }
    \ No newline at end of file +MockMembership in hotshot_query_service::testing::mocks - Rust

    Type Alias hotshot_query_service::testing::mocks::MockMembership

    source ·
    pub type MockMembership = GeneralStaticCommittee<MockTypes, <MockTypes as NodeType>::SignatureKey>;

    Aliased Type§

    struct MockMembership { /* private fields */ }
    \ No newline at end of file diff --git a/hotshot_query_service/testing/mocks/type.MockMerkleTree.html b/hotshot_query_service/testing/mocks/type.MockMerkleTree.html index 712daa7c4..21f797fc8 100644 --- a/hotshot_query_service/testing/mocks/type.MockMerkleTree.html +++ b/hotshot_query_service/testing/mocks/type.MockMerkleTree.html @@ -1,6 +1,6 @@ -MockMerkleTree in hotshot_query_service::testing::mocks - Rust

    Type Alias hotshot_query_service::testing::mocks::MockMerkleTree

    source ·
    pub type MockMerkleTree = UniversalMerkleTree<usize, Sha3Digest, usize, 8, Sha3Node>;

    Aliased Type§

    struct MockMerkleTree { /* private fields */ }

    Trait Implementations§

    source§

    impl MerklizedState<MockTypes, 8> for MockMerkleTree

    §

    type Key = usize

    §

    type Entry = usize

    §

    type T = Sha3Node

    §

    type Commit = <UniversalMerkleTree<usize, Sha3Digest, usize, 8, Sha3Node> as MerkleTreeScheme>::Commitment

    §

    type Digest = Sha3Digest

    source§

    fn state_type() -> &'static str

    Retrieves the name of the state being queried.
    source§

    fn header_state_commitment_field() -> &'static str

    Retrieves the field in the header containing the Merkle tree commitment -for the state implementing this trait.
    source§

    fn tree_height() -> usize

    Get the height of the tree
    source§

    fn insert_path( +MockMerkleTree in hotshot_query_service::testing::mocks - Rust

    Type Alias hotshot_query_service::testing::mocks::MockMerkleTree

    source ·
    pub type MockMerkleTree = UniversalMerkleTree<usize, Sha3Digest, usize, 8, Sha3Node>;

    Aliased Type§

    struct MockMerkleTree { /* private fields */ }

    Trait Implementations§

    source§

    impl MerklizedState<MockTypes, 8> for MockMerkleTree

    §

    type Key = usize

    §

    type Entry = usize

    §

    type T = Sha3Node

    §

    type Commit = <UniversalMerkleTree<usize, Sha3Digest, usize, 8, Sha3Node> as MerkleTreeScheme>::Commitment

    §

    type Digest = Sha3Digest

    source§

    fn state_type() -> &'static str

    Retrieves the name of the state being queried.
    source§

    fn header_state_commitment_field() -> &'static str

    Retrieves the field in the header containing the Merkle tree commitment +for the state implementing this trait.
    source§

    fn tree_height() -> usize

    Get the height of the tree
    source§

    fn insert_path( &mut self, key: Self::Key, proof: &MerkleProof<Self::Entry, Self::Key, Self::T, 8>, -) -> Result<()>

    Insert a forgotten path into the tree.
    \ No newline at end of file +) -> Result<()>

    Insert a forgotten path into the tree.
    \ No newline at end of file diff --git a/hotshot_query_service/testing/mocks/type.MockNetwork.html b/hotshot_query_service/testing/mocks/type.MockNetwork.html index 6bce2c9dc..dbde8c62c 100644 --- a/hotshot_query_service/testing/mocks/type.MockNetwork.html +++ b/hotshot_query_service/testing/mocks/type.MockNetwork.html @@ -1 +1 @@ -MockNetwork in hotshot_query_service::testing::mocks - Rust

    Type Alias hotshot_query_service::testing::mocks::MockNetwork

    source ·
    pub type MockNetwork = MemoryNetwork<BLSPubKey>;

    Aliased Type§

    struct MockNetwork { /* private fields */ }
    \ No newline at end of file +MockNetwork in hotshot_query_service::testing::mocks - Rust

    Type Alias hotshot_query_service::testing::mocks::MockNetwork

    source ·
    pub type MockNetwork = MemoryNetwork<BLSPubKey>;

    Aliased Type§

    struct MockNetwork { /* private fields */ }
    \ No newline at end of file diff --git a/hotshot_query_service/testing/mocks/type.MockPayload.html b/hotshot_query_service/testing/mocks/type.MockPayload.html index 98a8c5d3c..298a7daa2 100644 --- a/hotshot_query_service/testing/mocks/type.MockPayload.html +++ b/hotshot_query_service/testing/mocks/type.MockPayload.html @@ -1,39 +1,39 @@ -MockPayload in hotshot_query_service::testing::mocks - Rust

    Type Alias hotshot_query_service::testing::mocks::MockPayload

    source ·
    pub type MockPayload = TestBlockPayload;

    Aliased Type§

    struct MockPayload {
    -    pub transactions: Vec<TestTransaction>,
    -}

    Fields§

    §transactions: Vec<TestTransaction>

    List of transactions.

    -

    Trait Implementations§

    source§

    impl<Types: NodeType> QueryablePayload<Types> for MockPayload

    §

    type TransactionIndex = usize

    An index which can be used to efficiently retrieve a transaction for the block. Read more
    §

    type Iter<'a> = Range<usize>

    Enumerate the transactions in this block.
    §

    type InclusionProof = ()

    A proof that a certain transaction exists in the block. Read more
    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( +MockPayload in hotshot_query_service::testing::mocks - Rust

    Type Alias hotshot_query_service::testing::mocks::MockPayload

    source ·
    pub type MockPayload = TestBlockPayload;

    Aliased Type§

    struct MockPayload {
    +    pub transactions: Vec<TestTransaction>,
    +}

    Fields§

    §transactions: Vec<TestTransaction>

    List of transactions.

    +

    Trait Implementations§

    source§

    impl<Types: NodeType> QueryablePayload<Types> for MockPayload

    §

    type TransactionIndex = usize

    An index which can be used to efficiently retrieve a transaction for the block. Read more
    §

    type Iter<'a> = Range<usize>

    Enumerate the transactions in this block.
    §

    type InclusionProof = ()

    A proof that a certain transaction exists in the block. Read more
    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.
    source§

    fn is_empty(&self, meta: &Self::Metadata) -> bool

    Whether this block is empty of transactions.
    source§

    fn enumerate<'a>( +) -> Option<(Self::Transaction, Self::InclusionProof)>

    Get a transaction by its block-specific index, along with an inclusion proof.
    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( +) -> 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( +) -> Option<Self::Transaction>

    Get a transaction by its block-specific index.
    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( +) -> 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( + 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( + n: usize, +) -> Option<(Self::Transaction, Self::InclusionProof)>

    Get the nth transaction, along with an inclusion proof.
    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( +) -> Option<Self::TransactionIndex>

    Get the index of the transaction with a given hash, if it is in the block.
    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( +) -> Option<Self::Transaction>

    Get the transaction with a given hash, if it is in the block.
    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.
    \ No newline at end of file +) -> Option<(Self::Transaction, Self::InclusionProof)>

    Get the transaction with a given hash, if it is in the block, along with an inclusion proof.
    \ No newline at end of file diff --git a/hotshot_query_service/testing/mocks/type.MockQuorumProposal.html b/hotshot_query_service/testing/mocks/type.MockQuorumProposal.html index e4a8ecf49..e1b5eeff4 100644 --- a/hotshot_query_service/testing/mocks/type.MockQuorumProposal.html +++ b/hotshot_query_service/testing/mocks/type.MockQuorumProposal.html @@ -1,14 +1,14 @@ -MockQuorumProposal in hotshot_query_service::testing::mocks - Rust

    Type Alias hotshot_query_service::testing::mocks::MockQuorumProposal

    source ·
    pub type MockQuorumProposal = QuorumProposal<MockTypes>;

    Aliased Type§

    struct MockQuorumProposal {
    +MockQuorumProposal in hotshot_query_service::testing::mocks - Rust

    Type Alias hotshot_query_service::testing::mocks::MockQuorumProposal

    source ·
    pub type MockQuorumProposal = QuorumProposal<MockTypes>;

    Aliased Type§

    struct MockQuorumProposal {
         pub block_header: TestBlockHeader,
         pub view_number: ViewNumber,
         pub justify_qc: SimpleCertificate<MockTypes, QuorumData<MockTypes>, SuccessThreshold>,
    -    pub upgrade_certificate: Option<SimpleCertificate<MockTypes, UpgradeProposalData<MockTypes>, UpgradeThreshold>>,
    -    pub proposal_certificate: Option<ViewChangeEvidence<MockTypes>>,
    +    pub upgrade_certificate: Option<SimpleCertificate<MockTypes, UpgradeProposalData<MockTypes>, UpgradeThreshold>>,
    +    pub proposal_certificate: Option<ViewChangeEvidence<MockTypes>>,
     }

    Fields§

    §block_header: TestBlockHeader

    The block header to append

    §view_number: ViewNumber

    CurView from leader when proposing leaf

    §justify_qc: SimpleCertificate<MockTypes, QuorumData<MockTypes>, SuccessThreshold>

    Per spec, justification

    -
    §upgrade_certificate: Option<SimpleCertificate<MockTypes, UpgradeProposalData<MockTypes>, UpgradeThreshold>>

    Possible upgrade certificate, which the leader may optionally attach.

    -
    §proposal_certificate: Option<ViewChangeEvidence<MockTypes>>

    Possible timeout or view sync certificate.

    +
    §upgrade_certificate: Option<SimpleCertificate<MockTypes, UpgradeProposalData<MockTypes>, UpgradeThreshold>>

    Possible upgrade certificate, which the leader may optionally attach.

    +
    §proposal_certificate: Option<ViewChangeEvidence<MockTypes>>

    Possible timeout or view sync certificate.

    • A timeout certificate is only present if the justify_qc is not for the preceding view
    • A view sync certificate is only present if the justify_qc and timeout_cert are not diff --git a/hotshot_query_service/testing/mocks/type.MockStorage.html b/hotshot_query_service/testing/mocks/type.MockStorage.html index 541202911..c4da9e3f9 100644 --- a/hotshot_query_service/testing/mocks/type.MockStorage.html +++ b/hotshot_query_service/testing/mocks/type.MockStorage.html @@ -1,5 +1,5 @@ -MockStorage in hotshot_query_service::testing::mocks - Rust

      Type Alias hotshot_query_service::testing::mocks::MockStorage

      source ·
      pub type MockStorage = TestStorage<MockTypes>;

      Aliased Type§

      struct MockStorage {
      -    pub should_return_err: bool,
      +MockStorage in hotshot_query_service::testing::mocks - Rust

      Type Alias hotshot_query_service::testing::mocks::MockStorage

      source ·
      pub type MockStorage = TestStorage<MockTypes>;

      Aliased Type§

      struct MockStorage {
      +    pub should_return_err: bool,
           /* private fields */
      -}

      Fields§

      §should_return_err: bool

      should_return_err is a testing utility to validate negative cases.

      +}

      Fields§

      §should_return_err: bool

      should_return_err is a testing utility to validate negative cases.

      \ No newline at end of file diff --git a/hotshot_query_service/testing/mocks/type.MockTransaction.html b/hotshot_query_service/testing/mocks/type.MockTransaction.html index 4579ad152..2517f8c37 100644 --- a/hotshot_query_service/testing/mocks/type.MockTransaction.html +++ b/hotshot_query_service/testing/mocks/type.MockTransaction.html @@ -1,3 +1,3 @@ -MockTransaction in hotshot_query_service::testing::mocks - Rust

      Type Alias hotshot_query_service::testing::mocks::MockTransaction

      source ·
      pub type MockTransaction = TestTransaction;

      Aliased Type§

      struct MockTransaction(/* private fields */);

      Trait Implementations§

      source§

      impl ExplorerTransaction for MockTransaction

      §

      type NamespaceId = u64

      NamespaceId is a type that represents the id of a namespace. It does +MockTransaction in hotshot_query_service::testing::mocks - Rust

      Type Alias hotshot_query_service::testing::mocks::MockTransaction

      source ·
      pub type MockTransaction = TestTransaction;

      Aliased Type§

      struct MockTransaction(/* private fields */);

      Trait Implementations§

      source§

      impl ExplorerTransaction for MockTransaction

      §

      type NamespaceId = u64

      NamespaceId is a type that represents the id of a namespace. It does not indicate how this namespace id is represented, just that there is a representation of it that adheres to the trait restrictions specified.
      source§

      fn namespace_id(&self) -> Self::NamespaceId

      \ No newline at end of file diff --git a/hotshot_query_service/trait.Resolvable.html b/hotshot_query_service/trait.Resolvable.html index 8553ac1a2..d88408bdc 100644 --- a/hotshot_query_service/trait.Resolvable.html +++ b/hotshot_query_service/trait.Resolvable.html @@ -1,8 +1,8 @@ -Resolvable in hotshot_query_service - Rust

      Trait hotshot_query_service::Resolvable

      source ·
      pub trait Resolvable<T: Committable>: Sized {
      +Resolvable in hotshot_query_service - Rust

      Trait hotshot_query_service::Resolvable

      source ·
      pub trait Resolvable<T: Committable>: Sized {
           // Required methods
      -    fn try_resolve(self) -> Result<T, Self>;
      +    fn try_resolve(self) -> Result<T, Self>;
           fn commitment(&self) -> Commitment<T>;
       }
      Expand description

      A reference to a T which can be resolved into a whole T.

      -

      Required Methods§

      source

      fn try_resolve(self) -> Result<T, Self>

      Get the underlying object if it is available without blocking.

      +

      Required Methods§

      source

      fn try_resolve(self) -> Result<T, Self>

      Get the underlying object if it is available without blocking.

      source

      fn commitment(&self) -> Commitment<T>

      Get a commitment to the underlying object.

      -

      Object Safety§

      This trait is not object safe.

      Implementations on Foreign Types§

      source§

      impl<T: Committable> Resolvable<T> for Either<T, Commitment<T>>

      source§

      fn try_resolve(self) -> Result<T, Self>

      source§

      fn commitment(&self) -> Commitment<T>

      Implementors§

      source§

      impl<T: Committable> Resolvable<T> for T

      \ No newline at end of file +

      Object Safety§

      This trait is not object safe.

      Implementations on Foreign Types§

      source§

      impl<T: Committable> Resolvable<T> for Either<T, Commitment<T>>

      source§

      fn try_resolve(self) -> Result<T, Self>

      source§

      fn commitment(&self) -> Commitment<T>

      Implementors§

      source§

      impl<T: Committable> Resolvable<T> for T

      \ No newline at end of file diff --git a/hotshot_query_service/type.Header.html b/hotshot_query_service/type.Header.html index 935ef5979..0f43cad46 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 index fd3cdb670..1eac1a16a 100644 --- a/hotshot_query_service/type.Metadata.html +++ b/hotshot_query_service/type.Metadata.html @@ -1 +1 @@ -Metadata in hotshot_query_service - Rust

      Type Alias hotshot_query_service::Metadata

      source ·
      pub type Metadata<Types> = <Payload<Types> as BlockPayload<Types>>::Metadata;
      \ No newline at end of file +Metadata in hotshot_query_service - Rust

      Type Alias hotshot_query_service::Metadata

      source ·
      pub type Metadata<Types> = <Payload<Types> as BlockPayload<Types>>::Metadata;
      \ No newline at end of file diff --git a/hotshot_query_service/type.Payload.html b/hotshot_query_service/type.Payload.html index afaabf995..95421f3bc 100644 --- a/hotshot_query_service/type.Payload.html +++ b/hotshot_query_service/type.Payload.html @@ -1 +1 @@ -Payload in hotshot_query_service - Rust

      Type Alias hotshot_query_service::Payload

      source ·
      pub type Payload<Types> = <Types as NodeType>::BlockPayload;
      \ No newline at end of file +Payload in hotshot_query_service - Rust

      Type Alias hotshot_query_service::Payload

      source ·
      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 7b3c260d0..5e60d164d 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

      Type Alias hotshot_query_service::QueryResult

      source ·
      pub type QueryResult<T> = Result<T, QueryError>;

      Aliased Type§

      enum QueryResult<T> {
      +QueryResult in hotshot_query_service - Rust

      Type Alias hotshot_query_service::QueryResult

      source ·
      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 index a5d7c6411..e0b89125a 100644 --- a/hotshot_query_service/type.SignatureKey.html +++ b/hotshot_query_service/type.SignatureKey.html @@ -1 +1 @@ -SignatureKey in hotshot_query_service - Rust

      Type Alias hotshot_query_service::SignatureKey

      source ·
      pub type SignatureKey<Types> = <Types as NodeType>::SignatureKey;
      \ No newline at end of file +SignatureKey in hotshot_query_service - Rust

      Type Alias hotshot_query_service::SignatureKey

      source ·
      pub type SignatureKey<Types> = <Types as NodeType>::SignatureKey;
      \ No newline at end of file diff --git a/hotshot_query_service/type.Transaction.html b/hotshot_query_service/type.Transaction.html index 04ba82684..3335dce1e 100644 --- a/hotshot_query_service/type.Transaction.html +++ b/hotshot_query_service/type.Transaction.html @@ -1,2 +1,2 @@ -Transaction in hotshot_query_service - Rust

      Type Alias hotshot_query_service::Transaction

      source ·
      pub type Transaction<Types> = <Payload<Types> as BlockPayload<Types>>::Transaction;
      Expand description

      Item within a Payload.

      +Transaction in hotshot_query_service - Rust

      Type Alias hotshot_query_service::Transaction

      source ·
      pub type Transaction<Types> = <Payload<Types> as BlockPayload<Types>>::Transaction;
      Expand description

      Item within a Payload.

      \ No newline at end of file diff --git a/hotshot_query_service/type.VidCommitment.html b/hotshot_query_service/type.VidCommitment.html index e65225cb8..10e5c33a3 100644 --- a/hotshot_query_service/type.VidCommitment.html +++ b/hotshot_query_service/type.VidCommitment.html @@ -1,2 +1,2 @@ -VidCommitment in hotshot_query_service - Rust

      Type Alias hotshot_query_service::VidCommitment

      pub type VidCommitment = <VidSchemeType as VidScheme>::Commit;
      Expand description

      VID commitment type

      +VidCommitment in hotshot_query_service - Rust

      Type Alias hotshot_query_service::VidCommitment

      pub type VidCommitment = <VidSchemeType as VidScheme>::Commit;
      Expand description

      VID commitment type

      \ No newline at end of file diff --git a/hotshot_query_service/type.VidCommon.html b/hotshot_query_service/type.VidCommon.html index 0899fb084..26a17d6b7 100644 --- a/hotshot_query_service/type.VidCommon.html +++ b/hotshot_query_service/type.VidCommon.html @@ -1,2 +1,2 @@ -VidCommon in hotshot_query_service - Rust

      Type Alias hotshot_query_service::VidCommon

      pub type VidCommon = <VidSchemeType as VidScheme>::Common;
      Expand description

      VID common type

      +VidCommon in hotshot_query_service - Rust

      Type Alias hotshot_query_service::VidCommon

      pub type VidCommon = <VidSchemeType as VidScheme>::Common;
      Expand description

      VID common type

      \ No newline at end of file diff --git a/hotshot_query_service/type.VidShare.html b/hotshot_query_service/type.VidShare.html index 9a68188f8..f72934c9f 100644 --- a/hotshot_query_service/type.VidShare.html +++ b/hotshot_query_service/type.VidShare.html @@ -1,2 +1,2 @@ -VidShare in hotshot_query_service - Rust

      Type Alias hotshot_query_service::VidShare

      pub type VidShare = <VidSchemeType as VidScheme>::Share;
      Expand description

      VID share type

      +VidShare in hotshot_query_service - Rust

      Type Alias hotshot_query_service::VidShare

      pub type VidShare = <VidSchemeType as VidScheme>::Share;
      Expand description

      VID share type

      \ No newline at end of file diff --git a/hotshot_query_service/types/index.html b/hotshot_query_service/types/index.html index 1c827c8bf..b4c8d36ec 100644 --- a/hotshot_query_service/types/index.html +++ b/hotshot_query_service/types/index.html @@ -1,2 +1,2 @@ -hotshot_query_service::types - Rust

      Module hotshot_query_service::types

      source ·
      Expand description

      Common functionality provided by types used in this crate.

      +hotshot_query_service::types - Rust

      Module hotshot_query_service::types

      source ·
      Expand description

      Common functionality provided by types used in this crate.

      Traits§

      • Types which have a notion of “height” within a chain.
      \ No newline at end of file diff --git a/hotshot_query_service/types/trait.HeightIndexed.html b/hotshot_query_service/types/trait.HeightIndexed.html index 42c929d35..ec5189b1d 100644 --- a/hotshot_query_service/types/trait.HeightIndexed.html +++ b/hotshot_query_service/types/trait.HeightIndexed.html @@ -1,5 +1,5 @@ -HeightIndexed in hotshot_query_service::types - Rust

      Trait hotshot_query_service::types::HeightIndexed

      source ·
      pub trait HeightIndexed {
      +HeightIndexed in hotshot_query_service::types - Rust

      Trait hotshot_query_service::types::HeightIndexed

      source ·
      pub trait HeightIndexed {
           // Required method
      -    fn height(&self) -> u64;
      +    fn height(&self) -> u64;
       }
      Expand description

      Types which have a notion of “height” within a chain.

      -

      Required Methods§

      source

      fn height(&self) -> u64

      Implementors§

      source§

      impl HeightIndexed for MockHeader

      source§

      impl<Types: NodeType> HeightIndexed for BlockQueryData<Types>

      source§

      impl<Types: NodeType> HeightIndexed for BlockSummaryQueryData<Types>

      source§

      impl<Types: NodeType> HeightIndexed for LeafQueryData<Types>

      source§

      impl<Types: NodeType> HeightIndexed for PayloadQueryData<Types>

      source§

      impl<Types: NodeType> HeightIndexed for VidCommonQueryData<Types>

      \ No newline at end of file +

      Required Methods§

      source

      fn height(&self) -> u64

      Implementors§

      source§

      impl HeightIndexed for MockHeader

      source§

      impl<Types: NodeType> HeightIndexed for BlockQueryData<Types>

      source§

      impl<Types: NodeType> HeightIndexed for BlockSummaryQueryData<Types>

      source§

      impl<Types: NodeType> HeightIndexed for LeafQueryData<Types>

      source§

      impl<Types: NodeType> HeightIndexed for PayloadQueryData<Types>

      source§

      impl<Types: NodeType> HeightIndexed for VidCommonQueryData<Types>

      \ No newline at end of file diff --git a/search-index.js b/search-index.js index bad71cadd..b6a00138e 100644 --- a/search-index.js +++ b/search-index.js @@ -1,5 +1,5 @@ var searchIndex = new Map(JSON.parse('[\ -["hotshot_query_service",{"t":"PPPGPFPIFPIPFPPFPFIGIKIPIIIINNNNNNNNNNNNCONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNQNNNNNNNQQQQQNNNNNNNNNNNNNNNNNNNCOCCONNNNNNNNNOHNNNNNCNNONCNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNCNNNNNNNNNOOOOOOOOKIGFRFPFGRGPFPFPFPPRFPFRIGFRPPFPFRPKKPPFIIIIRFFKFRNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMMNNMMMMMMMNNNNNNNNNNNNNNNNNNNONNNONNNNNNNNNNNNNNNNNNNMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNOMNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONOOONNNNNNNNNNNNNNONNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOERFEIFEKKNNNNCNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNCNNNNNNNMNNNCCCNNNNNNNNNMNNNNHHKFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHHHHHHHHIEFFEIENNNNNQENCNEHKKEEECMMMMMMMMMMMMMMMMCCCFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNGPPPPGNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNORKKFKNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFFKFFNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNQQNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNIRPFFGIPFFFPPPGFGPPPKFFFKFPPPFPGPPGPFPGPGPGPGPFPPPPPFPPPPPPFRRPIRPPPPPPPFFPPPFGPPFFGIPFFFGPPPPPPPIRPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOMMOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMMNOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMOOOMOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNKFKEENNNNNNNNNNNNNNNNCCMMNNNNNNNNFFKFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFKRFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPRPRRGPRKKKFPPGRKNNONNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNMMNNNMNNNNMMNNNNNNNNNNNMNMNNNNNMNNNNNNNNNNNNOOOOFFFFFFGPPPFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOEEPFGPPKFPFPFPFPFFPFGNNNNNNNNNONNNNOMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOONMNNNNNNNNNNOONNNNONOMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNOOOOOOOOOOGPFPKKNONNNNMNNNNNNNNNNHNNNNNNNNNNNNONNNNNNNNNNNNNNMNNMNNNNNNNNNNNNNNNOOCCHHKIFISRKNNMMNNNNNNNNNMNNNNNNNNMNNNNNNNNNNIIIIIIFIIIIFNNOONNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNHNNNNONNONNNNONNONNNONNNNNNNOOONNKM","n":["Availability","Custom","Err","Error","Error","ErrorSnafu","Explorer","Header","Leaf","MerklizedState","Metadata","Missing","MissingSnafu","Node","NotFound","NotFoundSnafu","Ok","Options","Payload","QueryError","QueryResult","Resolvable","SignatureKey","Status","Transaction","VidCommitment","VidCommon","VidShare","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","as_error","as_error","as_error_source","as_error_source","as_error_source","as_error_source","availability","availability","backtrace","backtrace","block_header","block_header_mut","block_payload","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","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","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","commit","commitment","commitment","create_random_transaction","data_source","default","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","description","description","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","drop","drop","drop","drop","drop","drop","drop","eq","equivalent","equivalent","equivalent","equivalent","explorer","extends_upgrade","fail","fail","fail","fetching","fill_block_payload","fill_block_payload_unchecked","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_quorum_proposal","genesis","get_hash","hash","header","header","header","height","in_current_span","in_current_span","include_migrations","init","init","init","init","init","init","init","instantiate_availability_tests","instantiate_data_source_tests","instantiate_node_tests","instantiate_persistence_tests","instantiate_status_tests","internal","into","into","into","into","into","into","into","into_error","into_error","into_error","justify_qc","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","merklized_state","message","metrics","node","node","parent_commitment","payload_commitment","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","port","run_standalone_service","serialize","serialize","serialize","source","source","status","status","status","status","temp_extends_upgrade","testing","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","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_resolve","try_resolve","type_id","type_id","type_id","type_id","type_id","type_id","type_id","types","upgrade_certificate","view_number","vzip","vzip","vzip","vzip","vzip","vzip","vzip","message","source","source","source","source","source","status","message","AvailabilityDataSource","BlockHash","BlockId","BlockQueryData","BlockRange","BlockSummaryQueryData","Custom","CustomSnafu","Error","Error","Fetch","FetchBlock","FetchBlockSnafu","FetchLeaf","FetchLeafSnafu","FetchTransaction","FetchTransactionSnafu","Hash","Hash","InclusionProof","InconsistentLeafError","InvalidTransactionIndex","InvalidTransactionIndexSnafu","Iter","LeafHash","LeafId","LeafQueryData","LeafRange","Number","Number","Options","PayloadHash","PayloadQueryData","PayloadRange","Pending","QueryableHeader","QueryablePayload","Ready","Request","RequestSnafu","Timestamp","TransactionHash","TransactionInclusionProof","TransactionIndex","TransactionIndex","TransactionQueryData","TransactionSummaryQueryData","UpdateAvailabilityData","VidCommonQueryData","VidCommonRange","__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_error","as_error","as_error_source","as_error_source","as_error_source","as_error_source","backtrace","backtrace","block_hash","block_hash","block_hash","block_hash","block_height","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_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","cmp","common","compare","compare","context","data","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","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","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","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","extensions","fail","fail","fail","fail","fail","fetch_timeout","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","from","from","from","genesis","genesis","genesis","genesis","get_block","get_block_range","get_hash","get_hash","get_leaf","get_leaf_range","get_payload","get_payload_range","get_transaction","get_vid_common","get_vid_common_range","hash","hash","hash","hash","hash","hash","hash","header","header","header","header","header","header","header","height","height","height","height","height","height","in_current_span","in_current_span","index","index","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","insert_block","insert_leaf","insert_vid","internal","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_error","into_error","into_error","into_error","into_error","into_error","into_future","is_empty","is_empty","is_empty","iter","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","leaf","leaf","len","len","map","message","metadata","new","new","new","nth","nth","nth_transaction","nth_transaction","nth_transaction_with_proof","nth_transaction_with_proof","num_transactions","num_transactions","partial_cmp","partial_cmp","payload","payload_hash","payload_hash","payload_hash","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","proof","proof","proof","qc","qc_leaf","resolve","resource","resource","resource","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","size","size","size","source","source","status","status","subscribe_blocks","subscribe_blocks","subscribe_leaves","subscribe_leaves","subscribe_payloads","subscribe_payloads","subscribe_vid_common","subscribe_vid_common","timestamp","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","to_string","transaction","transaction","transaction","transaction","transaction_by_hash","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","try_resolve","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","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","with_context","with_timeout","height","index","message","resource","resource","resource","source","status","AvailabilityProvider","Error","ExtensibleDataSource","FetchingDataSource","FileSystemDataSource","MetricsDataSource","SqlDataSource","UpdateDataSource","VersionedDataSource","__clone_box","__clone_box","as_mut","as_ref","availability_tests","block_height","block_height","block_height","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","commit","commit","connect","connect","connect","count_transactions","create","create","create","create","create_with_store","default","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","fetching","fmt","fmt","from","from","get_block","get_block_detail","get_block_range","get_block_summaries","get_explorer_summary","get_header_window","get_last_state_height","get_leaf","get_leaf_range","get_path","get_payload","get_payload_range","get_search_results","get_transaction","get_transaction_detail","get_transaction_summaries","get_vid_common","get_vid_common_range","handle_event","handle_event","handle_event","init","init","inner","inner_mut","insert_block","insert_leaf","insert_merkle_nodes","insert_vid","into","into","layout_raw","layout_raw","metrics","metrics","new","node_tests","open","open_with_store","payload_size","persistence_tests","pointer_metadata","pointer_metadata","populate_metrics","populate_metrics","reset","reset","reset","revert","revert","set_last_state_height","skip_version","sql","status_tests","storage","sync_status","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","update","update","vid_share","vzip","vzip","test_range","test_update","AvailabilityProvider","Builder","FetchingDataSource","Pruner","StorageReadGuard","StorageWriteGuard","__clone_box","__clone_box","block_height","block_height","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","builder","check_connection","clone","clone","clone_into","clone_into","commit","connect","count_transactions","create","create_with_store","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","deserialize","deserialize","disable_proactive_fetching","drop","drop","drop","drop","drop","fmt","fmt","from","from","from","from","from","from","from","get_block","get_block_detail","get_block_range","get_block_summaries","get_db","get_explorer_summary","get_header_window","get_last_state_height","get_leaf","get_leaf_range","get_path","get_payload","get_payload_range","get_search_results","get_transaction","get_transaction_detail","get_transaction_summaries","get_vid_common","get_vid_common_range","init","init","init","init","init","insert_block","insert_leaf","insert_merkle_nodes","insert_vid","into","into","into","into","into","is_open","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","load","load","load","load","metrics","new","open","open_with_store","payload_size","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","populate_metrics","req_command","req_packed_command","req_packed_commands","revert","set_last_state_height","skip_version","storage","storage_mut","supports_pipelining","sync_status","to_owned","to_owned","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","update","vid_share","vzip","vzip","vzip","vzip","vzip","with_active_fetch_delay","with_chunk_fetch_delay","with_major_scan_interval","with_major_scan_offset","with_minor_scan_interval","with_proactive_range_chunk_size","with_range_chunk_size","with_rate_limit","with_retry_delay","test_counters","test_sync_status","test_timestamp_window","test_vid_monotonicity","test_vid_recovery","test_vid_shares","test_reset","test_revert","Builder","Config","Error","Migration","Query","SqlDataSource","Transaction","client","connect","connect","create","handle_event","include_migrations","postgres","reset","testing","transaction","TmpDb","test_metrics","AvailabilityStorage","ExplorerStorage","FileSystemStorage","NoStorage","SqlStorage","fs","get_block","get_block_detail","get_block_range","get_block_summaries","get_explorer_summary","get_header","get_leaf","get_leaf_range","get_payload","get_payload_range","get_search_results","get_transaction","get_transaction_detail","get_transaction_summaries","get_vid_common","get_vid_common_range","no_storage","pruning","sql","FileSystemStorage","block_height","borrow","borrow_mut","commit","count_transactions","create","create_with_store","deref","deref_mut","deserialize","drop","fmt","from","get_block","get_block_range","get_header","get_header_window","get_leaf","get_leaf_range","get_payload","get_payload_range","get_transaction","get_vid_common","get_vid_common_range","init","insert_block","insert_leaf","insert_vid","into","layout_raw","open","open_with_store","payload_size","pointer_metadata","revert","skip_version","sync_status","try_from","try_into","type_id","vid_share","vzip","NoStorage","__clone_box","block_height","borrow","borrow_mut","clone","clone_into","commit","count_transactions","default","deref","deref_mut","deserialize","drop","fmt","from","get_block","get_block_range","get_header","get_header_window","get_leaf","get_leaf_range","get_payload","get_payload_range","get_transaction","get_vid_common","get_vid_common_range","init","insert_block","insert_leaf","insert_vid","into","layout_raw","payload_size","pointer_metadata","revert","sync_status","testing","to_owned","try_from","try_into","type_id","vid_share","vzip","DataSource","NoStorage","NoStorage","Sql","Sql","Storage","block_height","block_height","borrow","borrow","borrow_mut","borrow_mut","commit","connect","count_transactions","create","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","from","from","get_block","get_block_range","get_header_window","get_leaf","get_leaf_range","get_payload","get_payload_range","get_transaction","get_vid_common","get_vid_common_range","handle_event","init","init","insert_block","insert_leaf","insert_vid","into","into","layout_raw","layout_raw","metrics","payload_size","pointer_metadata","pointer_metadata","populate_metrics","reset","revert","setup","sync_status","try_from","try_from","try_into","try_into","type_id","type_id","update","vid_share","vzip","vzip","fetch_from_port","Error","PruneStorage","PrunedHeightStorage","PrunerCfg","PrunerConfig","__clone_box","batch_size","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","deserialize","drop","fmt","from","get_disk_usage","get_pruning_config","init","interval","into","layout_raw","load_pruned_height","max_usage","minimum_retention","new","pointer_metadata","prune","pruning_threshold","save_pruned_height","set_pruning_config","target_retention","to_owned","try_from","try_into","type_id","validate","vzip","with_batch_size","with_interval","with_max_usage","with_minimum_retention","with_pruning_threshold","with_target_retention","Config","Error","Migration","Pruner","Query","SqlStorage","Transaction","__clone_box","__clone_box","applied","applied_on","archive","as_ref","as_ref","backtrace","block_height","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","builder","chain","checksum","client","client","client","clone","clone","clone_into","clone_into","cmp","commit","compare","connect","connect","context","count_transactions","database","default","default","default_migrations","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","downcast","downcast_mut","downcast_ref","drop","drop","drop","drop","drop","drop","drop","eq","equivalent","equivalent","equivalent","equivalent","execute","execute_many","execute_many_with_retries","execute_one","execute_one_with_retries","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from_str","get_block","get_block_detail","get_block_range","get_block_summaries","get_disk_usage","get_explorer_summary","get_header","get_header_window","get_last_state_height","get_leaf","get_leaf_range","get_path","get_payload","get_payload_range","get_pruning_config","get_search_results","get_transaction","get_transaction_detail","get_transaction_summaries","get_vid_common","get_vid_common_range","header","header","host","include_dir","include_migrations","init","init","init","init","init","init","insert_block","insert_leaf","insert_merkle_nodes","insert_vid","into","into","into","into","into","into","is","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","load_pruned_height","migrations","msg","name","new","no_migrations","partial_cmp","password","payload_size","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","port","postgres","prefix","prune","pruner_cfg","query","query_one","query_one_static","query_opt","query_opt_static","query_static","reset_schema","revert","root_cause","save_pruned_height","schema","set_applied","set_last_state_height","set_pruning_config","sql","sync_status","testing","tls","to_owned","to_owned","to_string","to_string","transaction","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","unapplied","upsert","user","version","vid_share","vzip","vzip","vzip","vzip","vzip","vzip","TestMerkleTreeMigration","TmpDb","borrow","borrow","borrow_mut","borrow_mut","config","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","drop","fmt","from","from","host","init","init","init","into","into","layout_raw","layout_raw","persistent","pointer_metadata","pointer_metadata","port","start","stop","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","BalanceAmount","BalanceAmount","Block","BlockDetail","BlockDetailResponse","BlockIdentifier","BlockNamespaceId","BlockNotFound","BlockRange","BlockSummary","BlockSummaryResponse","Btc","CryptoEnd","CryptoStart","CurrencyCode","CurrencyMismatchError","Error","Esp","Eth","Eur","ExplorerHeader","ExplorerHistograms","ExplorerSummary","ExplorerSummaryResponse","ExplorerTransaction","FeeAttribution","FiatCurrencyEnd","FiatCurrencyStart","Gbp","GenesisOverview","GetBlockDetail","GetBlockDetailError","GetBlockDetailError","GetBlockSummaries","GetBlockSummariesError","GetBlockSummariesError","GetBlockSummariesRequest","GetExplorerSummary","GetExplorerSummaryError","GetSearchResults","GetSearchResultsError","GetTransactionDetail","GetTransactionDetailError","GetTransactionSummaries","GetTransactionSummariesError","GetTransactionSummariesError","GetTransactionSummariesRequest","Hash","Hash","Height","HeightAndOffset","IntError","InvalidCurrencyCodeError","InvalidLimit","InvalidLimit","InvalidQuery","Jpy","Latest","Latest","MonetaryValue","NamespaceId","NamespaceId","None","ProposerId","ProposerId","QueryError","QueryError","QueryError","QueryError","QueryError","QueryError","RollUp","SearchResult","SearchResultResponse","TargetNotFound","TargetNotFound","TimeError","Timestamp","TimestampConversionError","TokenEnd","TokenStart","TransactionDetail","TransactionDetailResponse","TransactionIdentifier","TransactionNamespaceId","TransactionNotFound","TransactionRange","TransactionSummariesResponse","TransactionSummary","TransactionSummaryFilter","Unimplemented","Unimplemented","Unimplemented","Unimplemented","Unimplemented","Unimplemented","Usd","WalletAddress","WalletAddress","Xxx","__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","add","as_error","as_error","as_error","as_error","as_error","as_error","as_error","as_error","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","block_confirmed","block_detail","block_heights","block_reward","block_size","block_summaries","block_time","block_transactions","blocks","blocks","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","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","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","btc","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","cmp","compare","currency","currency","currency1","currency2","default","define_api","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","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","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","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","esp","eth","explorer_summary","fee_details","fee_info_account","fee_info_balance","fee_recipient","fees","filter","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","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","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","genesis_overview","hash","hash","hash","hash","header","header","header","header","header","header","header","header","header","header","header","header","header","header","height","height","height","height","histograms","in_current_span","in_current_span","in_current_span","in_current_span","in_current_span","in_current_span","in_current_span","in_current_span","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_resettable","is_crypto","is_fiat","is_token","latest_block","latest_blocks","latest_transactions","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","namespace_id","namespace_ids","new","num_blocks","num_transactions","num_transactions","num_transactions","num_transactions","num_transactions","offset","offset","partial_cmp","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","proposer_id","proposer_id","proposer_id","range","reward_balance","rollups","rollups","search_results","sequencing_fees","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","significant_digits","size","size","size","source","source","source","source","source","source","source","source","status","status","status","status","status","status","status","sub","target","target","target","time","time","time","time","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","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","transaction_detail","transaction_summaries","transactions","transactions","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_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_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","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","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","usd","value","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Callback","Fetcher","LocalCallback","Provider","Request","__clone_box","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","deserialize","drop","fmt","from","init","into","layout_raw","pointer_metadata","provider","request","run","run","spawn_fetch","to_owned","try_from","try_into","type_id","vzip","with_rate_limit","with_retry_delay","AnyProvider","NoFetching","Provider","QueryServiceProvider","TestProvider","__clone_box","__clone_box","__clone_box","__clone_box","block","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","default","default","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","deserialize","drop","drop","drop","drop","fail","fetch","fetch","fetch","fetch","fetch","fetch","fetch","fetch","fetch","fmt","fmt","fmt","fmt","from","from","from","from","init","init","init","init","into","into","into","into","layout_raw","layout_raw","layout_raw","layout_raw","new","new","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","unblock","unfail","vzip","vzip","vzip","vzip","with_block_provider","with_leaf_provider","with_provider","with_vid_common_provider","LeafRequest","PayloadRequest","Request","Response","VidCommonRequest","__clone_box","__clone_box","__clone_box","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","deref","deref","deref","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","drop","drop","drop","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","from","from","from","from","get_hash","get_hash","get_hash","hash","hash","hash","init","init","init","into","into","into","layout_raw","layout_raw","layout_raw","pointer_metadata","pointer_metadata","pointer_metadata","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Commit","Commit","Custom","Digest","Entry","Error","Index","Key","MerklizedState","MerklizedStateDataSource","MerklizedStateHeightPersistence","Options","Query","Request","Snapshot","T","UpdateStateData","__clone_box","__clone_box","api_path","as_error","as_error_source","as_error_source","backtrace","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","cause","clone","clone","clone_into","clone_into","cmp","compare","default","define_api","deref","deref","deref","deref_mut","deref_mut","deref_mut","description","deserialize","deserialize","deserialize","deserialize","drop","drop","drop","eq","equivalent","equivalent","equivalent","equivalent","extensions","fmt","fmt","fmt","fmt","from","from","from","from","from","from","get_hash","get_last_state_height","get_path","hash","header","header","header_state_commitment_field","in_current_span","init","init","init","insert_merkle_nodes","insert_path","into","into","into","layout_raw","layout_raw","layout_raw","partial_cmp","pointer_metadata","pointer_metadata","pointer_metadata","serialize","set_last_state_height","source","state_type","status","to_owned","to_owned","to_string","to_string","tree_height","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","message","source","source","status","Counter","CounterFamily","Gauge","GaugeFamily","Histogram","HistogramFamily","MetricsError","NoSuchMetric","NoSuchSubgroup","Prometheus","PrometheusMetrics","TextFamily","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","add","add_point","as_error","as_error_source","as_error_source","backtrace","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","cause","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","counter_family","create","create","create","create","create_counter","create_gauge","create_histogram","create_text","default","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","description","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","drop","drop","drop","drop","drop","drop","drop","drop","drop","export","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","gauge_family","gauge_family","get","get","get","get","get","get_counter","get_counter_family","get_gauge","get_histogram","get_histogram_family","get_subgroup","header","histogram_family","in_current_span","init","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","mean","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","sample_count","set","source","subgroup","sum","text_family","to_owned","to_owned","to_owned","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_from","try_from","try_from","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","update","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","name","namespace","path","source","BlockHash","BlockId","Custom","CustomSnafu","Error","Hash","Height","NodeDataSource","Options","Query","QuerySnafu","QueryVid","QueryVidSnafu","QueryWindow","QueryWindowSnafu","Request","RequestSnafu","SyncStatus","Time","TimeWindowQueryData","WindowStart","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","api_path","as_error","as_error_source","as_error_source","backtrace","block","block_height","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","build","cause","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","cmp","compare","count_transactions","default","default","define_api","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","description","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","end","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","extensions","fail","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","fully_synced","get_hash","get_header_window","hash","header","in_current_span","init","init","init","init","init","init","init","init","init","init","internal","into","into","into","into","into","into","into","into","into","into","into_error","into_error","into_error","into_error","into_error","is_fully_synced","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","message","missing_blocks","missing_leaves","missing_vid_common","missing_vid_shares","next","partial_cmp","payload_size","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","prev","pruned_height","serialize","serialize","serialize","source","start","status","status","sync_status","to_owned","to_owned","to_owned","to_owned","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_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","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vid_share","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","window","block","end","message","source","source","source","source","start","status","Error","Internal","Options","Request","StatusDataSource","UpdateStatusData","__clone_box","api_path","as_error","as_error_source","as_error_source","backtrace","block_height","borrow","borrow","borrow_mut","borrow_mut","cause","clone","clone_into","consensus_metrics","consensus_metrics","default","define_api","deref","deref","deref_mut","deref_mut","description","deserialize","deserialize","deserialize","drop","drop","elapsed_time_since_last_decide","elapsed_time_since_last_decide","extensions","fmt","fmt","from","from","from","from","header","in_current_span","init","init","into","into","layout_raw","layout_raw","metrics","pointer_metadata","pointer_metadata","populate_metrics","serialize","source","status","success_rate","success_rate","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","reason","source","consensus","mocks","setup_test","sleep","DataSourceLifeCycle","MockDataSource","MockNetwork","MockSqlDataSource","NUM_NODES","Storage","TestableDataSource","borrow","borrow_mut","connect","create","data_source","data_source_index","deref","deref_mut","deserialize","drop","drop","from","handle","handle_event","init","init","init_with_config","into","layout_raw","num_nodes","pointer_metadata","proposer","reset","setup","shut_down","spawn","start","storage","submit_transaction","try_from","try_into","type_id","vzip","MockAuctionResults","MockBase","MockHeader","MockMembership","MockMerkleTree","MockNetwork","MockNodeImpl","MockPayload","MockQuorumProposal","MockStorage","MockTransaction","MockTypes","__clone_box","__clone_box","block_header","block_number","borrow","borrow","borrow_mut","borrow_mut","builder_commitment","clone","clone","clone_into","clone_into","cmp","cmp","compare","compare","default","default","deref","deref","deref_mut","deref_mut","deserialize","deserialize","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fee_info_account","fee_info_balance","fmt","fmt","from","from","get_hash","get_hash","hash","hash","header_state_commitment_field","height","init","init","insert_path","into","into","iter","justify_qc","layout_raw","layout_raw","len","mock_transaction","namespace_id","namespace_ids","partial_cmp","partial_cmp","payload_commitment","pointer_metadata","pointer_metadata","proposal_certificate","proposer_id","reward_balance","serialize","serialize","should_return_err","state_type","timestamp","timestamp","to_owned","to_owned","transaction_with_proof","transactions","tree_height","try_from","try_from","try_into","try_into","type_id","type_id","upgrade_certificate","urls","view_number","vzip","vzip","HeightIndexed","height"],"q":[[0,"hotshot_query_service"],[265,"hotshot_query_service::Error"],[272,"hotshot_query_service::QueryError"],[273,"hotshot_query_service::availability"],[930,"hotshot_query_service::availability::Error"],[938,"hotshot_query_service::data_source"],[1057,"hotshot_query_service::data_source::availability_tests"],[1059,"hotshot_query_service::data_source::fetching"],[1222,"hotshot_query_service::data_source::node_tests"],[1228,"hotshot_query_service::data_source::persistence_tests"],[1230,"hotshot_query_service::data_source::sql"],[1247,"hotshot_query_service::data_source::sql::testing"],[1248,"hotshot_query_service::data_source::status_tests"],[1249,"hotshot_query_service::data_source::storage"],[1274,"hotshot_query_service::data_source::storage::fs"],[1317,"hotshot_query_service::data_source::storage::no_storage"],[1361,"hotshot_query_service::data_source::storage::no_storage::testing"],[1426,"hotshot_query_service::data_source::storage::no_storage::testing::Storage"],[1427,"hotshot_query_service::data_source::storage::pruning"],[1473,"hotshot_query_service::data_source::storage::sql"],[1700,"hotshot_query_service::data_source::storage::sql::testing"],[1741,"hotshot_query_service::explorer"],[2787,"hotshot_query_service::fetching"],[2820,"hotshot_query_service::fetching::provider"],[2926,"hotshot_query_service::fetching::request"],[3013,"hotshot_query_service::merklized_state"],[3127,"hotshot_query_service::merklized_state::Error"],[3131,"hotshot_query_service::metrics"],[3365,"hotshot_query_service::metrics::MetricsError"],[3369,"hotshot_query_service::node"],[3657,"hotshot_query_service::node::Error"],[3666,"hotshot_query_service::status"],[3736,"hotshot_query_service::status::Error"],[3738,"hotshot_query_service::testing"],[3742,"hotshot_query_service::testing::consensus"],[3782,"hotshot_query_service::testing::mocks"],[3888,"hotshot_query_service::types"],[3890,"dyn_clone::sealed"],[3891,"core::error"],[3892,"hotshot_query_service::error"],[3893,"std::backtrace"],[3894,"core::option"],[3895,"hotshot_types::data"],[3896,"hotshot_types::traits::node_implementation"],[3897,"alloc::string"],[3898,"core::convert"],[3899,"tide_disco::status"],[3900,"core::clone"],[3901,"committable"],[3902,"hotshot_query_service::resolvable"],[3903,"rand_core"],[3904,"core::result"],[3905,"serde::de"],[3906,"rkyv::with"],[3907,"hotshot_types::simple_vote"],[3908,"hotshot_types::simple_certificate"],[3909,"async_lock::rwlock"],[3910,"alloc::sync"],[3911,"anyhow"],[3912,"core::fmt"],[3913,"hotshot_query_service::explorer::query_data"],[3914,"core::hash"],[3915,"core::marker"],[3916,"color_eyre::section"],[3917,"core::alloc::layout"],[3918,"hotshot::types::handle"],[3919,"hotshot_query_service::availability::data_source"],[3920,"hotshot_query_service::node::data_source"],[3921,"hotshot_query_service::status::data_source"],[3922,"hotshot_query_service::data_source::update"],[3923,"vbs::version"],[3924,"serde::ser"],[3925,"core::any"],[3926,"hotshot_query_service::availability::query_data"],[3927,"core::cmp"],[3928,"core::iter::traits::iterator"],[3929,"hotshot_types::vid"],[3930,"hotshot_query_service::availability::fetch"],[3931,"snafu"],[3932,"tide_disco::api"],[3933,"tide_disco::method"],[3934,"alloc::boxed"],[3935,"tide_disco::request"],[3936,"core::future::future"],[3937,"core::pin"],[3938,"futures_core::stream"],[3939,"core::ops::range"],[3940,"core::ops::function"],[3941,"core::time"],[3942,"hotshot_query_service::data_source::extension"],[3943,"hotshot_query_service::data_source::metrics"],[3944,"std::path"],[3945,"hotshot_query_service::data_source::fs"],[3946,"atomic_store::atomic_store"],[3947,"hotshot_query_service::merklized_state::data_source"],[3948,"hotshot_types::event"],[3949,"core::default"],[3950,"jf_merkle_tree::internal"],[3951,"alloc::vec"],[3952,"hotshot_types::traits::metrics"],[3953,"arc_swap::access"],[3954,"redis::cmd"],[3955,"redis::types"],[3956,"atomic_store::error"],[3957,"time::offset_date_time"],[3958,"refinery_core::runner"],[3959,"tokio_postgres::to_statement"],[3960,"core::iter::traits::collect"],[3961,"tokio_postgres::config"],[3962,"refinery_core::error"],[3963,"postgres_types"],[3964,"hotshot_query_service::explorer::monetary_value"],[3965,"hotshot_query_service::explorer::currency"],[3966,"hotshot_query_service::explorer::traits"],[3967,"time::error::component_range"],[3968,"core::num::error"],[3969,"clap_builder::builder::resettable"],[3970,"async_lock::semaphore"],[3971,"hotshot_query_service::fetching::provider::testing"],[3972,"hotshot_query_service::fetching::provider::any"],[3973,"hotshot_query_service::fetching::provider::query_service"],[3974,"url"],[3975,"jf_merkle_tree"],[3976,"core::str::traits"],[3977,"ark_serialize"],[3978,"tagged_base64"],[3979,"prometheus::errors"],[3980,"hotshot_query_service::node::query_data"],[3981,"hotshot_types::signature_key"],[3982,"hotshot_types"],[3983,"include_dir_macros"]],"i":[5,5,185,0,8,0,5,0,0,5,0,8,0,5,8,0,185,0,0,0,0,0,0,5,0,0,0,0,9,5,12,13,14,8,5,8,5,5,8,8,0,24,5,8,9,9,9,9,5,12,13,14,8,24,9,5,12,13,14,8,24,12,13,14,5,5,8,9,5,12,13,14,8,9,5,12,13,14,8,9,20,9,9,0,24,9,5,12,13,14,8,24,9,5,12,13,14,8,24,5,8,9,9,5,5,12,13,14,8,8,24,9,5,12,13,14,8,24,9,9,9,9,9,0,9,12,13,14,0,9,9,9,9,5,5,12,13,14,8,8,9,5,5,5,5,5,5,5,12,13,14,8,8,24,9,9,9,9,9,5,8,9,5,8,0,9,5,12,13,14,8,24,0,0,0,0,0,5,9,5,12,13,14,8,24,12,13,14,9,9,5,12,13,14,8,24,0,14,0,0,24,9,9,9,5,12,13,14,8,24,24,0,9,5,8,5,8,0,5,8,24,9,0,9,5,12,13,14,8,9,5,8,9,5,12,13,14,8,24,9,5,12,13,14,8,24,20,9,9,5,12,13,14,8,24,0,9,9,9,5,12,13,14,8,24,322,323,324,325,326,327,322,328,0,0,0,0,63,0,42,0,0,130,0,42,0,42,0,42,0,94,95,87,0,42,0,87,0,0,0,63,94,95,0,95,0,63,102,0,0,102,42,0,0,0,0,0,87,0,0,0,0,63,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,108,73,42,73,73,42,42,73,42,74,76,77,78,78,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,79,80,81,82,83,87,87,73,42,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,94,95,77,94,95,102,76,108,0,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,73,42,102,108,94,95,74,74,73,96,96,76,76,77,77,78,78,97,97,98,98,99,79,80,81,82,83,42,42,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,87,87,96,94,95,74,96,76,77,78,97,98,94,94,94,94,95,95,95,95,74,74,74,74,96,96,96,96,76,76,76,76,77,77,77,77,78,78,78,78,97,97,97,97,98,98,98,98,108,79,80,81,82,83,108,94,94,95,95,74,73,73,96,76,77,78,97,98,99,79,80,81,82,83,42,42,102,108,94,94,94,95,95,95,74,73,96,76,76,77,78,97,97,98,99,79,80,81,82,83,42,42,42,74,96,76,77,63,63,94,95,63,63,63,63,63,63,63,94,95,74,96,76,78,97,94,95,74,73,96,97,42,74,96,76,77,97,82,73,42,78,82,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,130,130,130,42,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,99,79,80,81,82,83,102,87,87,96,87,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,74,73,87,96,102,83,96,74,96,77,87,87,87,87,87,87,96,97,94,95,96,74,96,77,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,87,87,78,74,73,102,79,80,81,74,96,76,77,78,97,98,42,96,76,97,73,42,42,83,63,63,63,63,63,63,63,63,137,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,94,95,73,42,87,87,96,78,87,87,96,87,87,87,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,102,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,102,102,329,329,330,331,332,333,334,330,0,67,0,0,0,0,0,0,0,139,140,139,139,0,139,139,140,139,140,139,140,139,140,139,140,67,139,142,139,140,139,142,142,139,140,142,140,139,140,139,140,139,140,139,140,0,139,140,139,140,139,139,139,139,139,139,139,139,139,139,139,139,139,139,139,139,139,139,142,139,140,139,140,139,139,139,139,139,139,139,140,139,140,139,140,139,0,142,142,139,0,139,140,139,140,142,139,140,67,139,139,142,0,0,0,139,139,140,139,140,139,140,139,140,66,139,139,139,140,0,0,0,0,0,0,0,0,165,168,165,165,166,165,168,172,173,166,165,168,172,173,166,165,173,165,168,165,168,165,165,165,165,165,166,165,168,172,172,173,173,166,165,168,172,173,173,166,165,168,172,173,166,166,165,168,172,173,165,168,166,165,168,172,172,173,173,165,165,165,165,173,165,165,165,165,165,165,165,165,165,165,165,165,165,165,166,165,168,172,173,165,165,165,165,166,165,168,172,173,173,166,165,168,172,173,172,172,173,173,165,166,165,165,165,166,165,168,172,173,165,173,173,173,165,165,165,165,165,173,165,165,168,165,166,165,168,172,173,166,165,168,172,173,166,165,168,172,173,165,165,166,165,168,172,173,166,166,166,166,166,166,166,166,166,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,186,186,186,186,186,0,0,186,0,186,0,0,0,0,0,0,0,0,167,147,167,147,147,167,167,167,167,167,147,167,147,147,167,167,0,0,0,0,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,0,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,0,188,188,188,188,188,188,0,335,189,335,189,0,189,189,335,189,335,189,189,189,189,189,335,189,335,189,335,189,335,189,335,189,189,189,189,189,189,189,189,189,189,189,189,335,189,189,189,189,335,189,335,189,189,189,335,189,189,189,189,189,189,335,189,335,189,335,189,189,189,335,189,336,194,0,0,0,0,191,191,191,191,191,191,191,191,191,191,191,191,191,192,193,191,191,191,191,194,191,191,191,191,192,191,194,193,191,191,191,191,191,191,191,191,191,191,191,191,191,0,0,0,0,0,0,0,198,169,198,198,169,36,36,36,183,36,198,184,169,183,201,36,198,184,169,183,201,169,36,198,200,184,183,198,169,198,169,198,183,198,169,183,36,183,169,169,201,0,36,36,198,184,169,183,201,36,36,198,184,169,183,201,36,198,184,169,183,201,36,36,36,36,36,198,184,169,183,201,198,198,198,198,198,184,184,184,184,184,36,36,198,198,169,183,201,36,36,36,198,184,169,169,183,201,169,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,36,198,169,0,0,36,198,184,169,183,201,183,183,183,183,36,198,184,169,183,201,36,36,198,184,169,183,201,183,169,36,198,36,169,198,169,183,36,198,184,169,183,201,169,0,198,183,169,200,200,200,200,200,200,169,183,36,183,169,198,183,183,198,183,0,169,198,169,36,198,183,36,198,184,169,183,201,36,198,184,169,183,201,36,198,184,169,183,201,198,184,169,198,183,36,198,184,169,183,201,0,0,337,211,337,211,211,337,211,337,211,337,211,337,211,211,211,337,211,211,337,211,211,337,211,337,211,211,337,211,211,211,211,337,211,337,211,337,211,337,211,0,246,231,0,0,0,0,220,0,0,0,216,216,216,0,0,0,216,216,216,0,0,0,0,0,0,216,216,216,0,45,0,224,45,0,224,0,45,0,45,0,45,0,45,0,224,0,146,154,146,154,48,0,221,223,225,216,146,154,0,246,250,231,0,246,220,221,222,223,224,225,231,0,0,221,223,48,0,0,216,216,0,0,0,0,222,0,0,0,0,220,221,222,223,224,225,216,0,246,216,214,215,216,212,146,154,217,218,219,220,221,222,223,224,225,45,212,48,220,221,222,223,224,225,45,48,48,220,220,221,221,222,222,223,223,224,224,225,225,45,45,229,236,233,226,233,237,233,233,232,235,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,45,236,237,238,239,240,241,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,45,236,237,238,239,240,241,212,214,215,216,212,146,154,217,218,219,220,221,222,223,224,225,45,214,215,216,212,146,154,217,218,219,220,221,222,223,224,225,45,216,216,215,212,214,214,155,0,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,45,236,237,238,239,240,241,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,45,236,237,238,239,240,241,214,214,215,215,216,216,212,212,146,154,217,218,219,219,226,226,227,227,48,228,228,229,229,230,230,148,231,231,155,232,232,233,233,234,234,235,235,220,220,221,221,222,222,223,223,224,224,225,225,45,45,236,236,237,237,238,238,239,239,240,240,241,241,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,45,236,237,238,239,240,241,216,212,146,154,217,218,219,226,227,48,228,229,230,148,216,216,216,216,212,212,212,212,146,146,146,146,154,154,154,154,217,217,217,217,218,218,218,218,219,219,219,219,226,226,226,226,227,227,227,227,48,48,48,48,228,228,228,228,229,229,229,229,230,230,230,230,148,148,148,148,212,212,240,229,246,246,226,228,155,214,214,215,215,216,216,212,212,146,146,154,154,217,218,219,226,227,48,48,228,229,230,148,231,155,232,233,234,235,220,220,221,221,222,222,223,223,224,224,225,225,45,45,236,237,238,239,240,241,214,215,216,212,212,146,154,217,218,219,226,227,48,48,48,228,229,230,148,231,155,232,233,234,235,220,220,221,221,222,222,222,223,223,224,224,224,224,224,225,225,45,236,236,237,237,238,239,239,240,240,241,241,234,226,227,229,230,214,215,216,212,146,154,48,220,221,222,223,224,225,45,226,227,229,230,234,48,220,221,222,223,224,225,45,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,45,236,237,238,239,240,241,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,45,236,237,238,239,240,241,216,216,216,216,234,234,234,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,45,236,237,238,239,240,241,250,246,212,217,218,226,227,229,230,229,230,216,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,45,236,237,238,239,240,241,246,226,227,155,246,230,232,241,229,214,215,216,212,219,226,227,228,229,230,231,232,233,234,235,220,221,222,223,224,225,45,236,237,238,239,240,241,216,226,227,229,48,220,221,222,223,224,225,45,220,221,222,223,224,225,45,212,217,218,228,226,227,229,230,214,215,216,212,146,154,217,218,219,220,221,222,223,224,225,45,214,215,216,212,146,154,48,220,221,222,223,224,225,45,238,239,232,235,214,215,216,216,212,146,154,217,218,219,226,226,227,227,48,228,229,230,230,148,231,155,232,233,234,235,220,221,222,223,224,225,45,236,237,238,239,240,241,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,45,236,237,238,239,240,241,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,45,236,237,238,239,240,241,212,212,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,45,236,237,238,239,240,241,0,0,0,0,0,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,0,0,252,253,251,251,251,251,251,251,251,251,0,0,0,0,0,258,259,257,260,257,258,259,257,260,258,259,257,260,258,259,257,260,258,259,257,260,258,260,258,259,257,260,258,259,257,260,258,259,257,260,258,259,257,260,257,255,258,258,258,259,259,259,257,260,258,259,257,260,258,259,257,260,258,259,257,260,258,259,257,260,258,259,257,260,259,257,258,259,257,260,258,259,257,260,258,259,257,260,258,259,257,260,258,259,257,260,257,257,258,259,257,260,258,258,258,258,0,0,0,254,0,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,261,261,261,262,262,262,262,263,263,263,263,261,262,263,261,262,263,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,151,152,44,152,152,0,151,152,0,0,0,0,44,44,0,152,0,151,44,265,44,44,44,44,151,265,44,151,265,44,44,151,44,151,44,151,151,265,0,151,265,44,151,265,44,44,151,265,44,44,151,265,44,151,151,151,151,151,265,151,151,44,44,151,265,44,44,44,44,151,150,153,151,151,44,152,44,151,265,44,162,152,151,265,44,151,265,44,151,151,265,44,44,150,44,152,44,151,44,151,44,152,151,265,44,151,265,44,151,265,44,151,265,44,338,339,340,338,0,0,0,0,0,0,0,285,285,285,0,0,163,282,286,283,287,288,289,290,282,283,285,285,285,285,285,163,282,286,283,287,288,289,290,285,163,282,286,283,287,288,289,290,285,163,282,286,283,287,288,289,290,163,282,286,283,287,288,289,290,163,287,288,289,290,163,163,163,163,163,285,163,282,286,283,287,288,289,290,285,163,282,286,283,287,288,289,290,285,285,163,282,286,283,287,288,289,290,285,163,282,286,283,287,288,289,290,163,285,285,163,282,286,283,287,288,289,290,285,285,163,282,286,283,287,288,289,290,163,163,282,286,287,288,289,163,163,163,163,163,163,285,163,285,285,163,282,286,283,287,288,289,290,285,163,282,286,283,287,288,289,290,285,163,282,286,283,287,288,289,290,283,285,163,282,286,283,287,288,289,290,283,286,285,163,283,163,163,282,286,283,287,288,289,290,285,285,163,282,286,283,287,288,289,290,285,163,282,286,283,287,288,289,290,285,163,282,286,283,287,288,289,290,286,285,163,282,286,283,287,288,289,290,341,341,342,343,0,0,47,0,0,149,149,0,0,47,0,47,0,47,0,47,0,0,149,0,0,149,301,302,303,304,305,306,300,47,307,47,47,47,47,305,64,149,301,302,307,303,304,305,306,300,47,149,301,302,307,303,304,305,306,300,47,300,47,149,301,302,303,304,305,306,300,47,149,301,302,303,304,305,306,300,47,301,301,64,302,307,0,149,301,302,307,303,304,305,306,300,47,149,301,302,307,303,304,305,306,300,47,47,149,301,301,302,302,307,303,304,305,306,300,47,47,149,301,302,307,303,304,305,306,300,47,306,301,302,301,301,301,301,302,302,302,302,307,300,149,301,302,303,304,305,306,300,47,47,149,149,301,302,302,307,303,304,305,306,300,47,47,47,47,301,301,64,301,47,47,149,301,302,307,303,304,305,306,300,47,47,149,301,302,307,303,304,305,306,300,47,303,304,305,306,300,301,149,301,302,307,303,304,305,306,300,47,300,301,301,301,301,302,301,64,149,301,302,307,303,304,305,306,300,47,302,301,301,302,47,47,306,47,300,64,149,301,302,303,304,305,306,300,47,47,149,301,302,307,303,304,305,306,300,47,149,301,302,307,303,304,305,306,300,47,149,301,302,307,303,304,305,306,300,47,64,149,301,302,307,303,304,305,306,300,47,302,344,345,346,347,348,344,345,345,346,0,46,0,46,0,0,46,310,46,46,46,46,65,310,46,310,46,46,46,46,65,65,310,0,310,46,310,46,46,310,46,46,310,46,65,65,310,46,46,310,46,46,46,46,46,310,46,310,46,310,46,65,310,46,311,46,46,46,65,65,46,46,310,46,310,46,310,46,310,46,349,350,0,0,0,0,0,0,0,0,0,312,0,190,190,312,312,190,190,190,190,190,190,190,190,190,312,190,190,190,190,190,190,190,190,312,312,190,190,190,190,190,190,190,190,190,0,0,0,0,0,0,0,0,0,0,0,0,156,313,351,319,156,313,156,313,319,156,313,156,313,156,313,156,313,156,313,156,313,156,313,156,156,313,313,156,313,156,313,156,156,156,156,313,313,313,313,319,319,156,313,156,313,156,313,156,313,320,319,156,313,320,156,313,321,351,156,313,321,0,318,319,156,313,319,156,313,351,319,319,156,313,352,320,319,319,156,313,321,321,320,156,313,156,313,156,313,351,353,351,156,313,0,309],"f":"````````````````````````````{{{b{c}}d}f{}}00000{{{b{c}}}{{b{h}}}{}}00000``{{{b{j}}}{{n{{b{l}}}}}}{{{b{A`}}}{{n{{b{l}}}}}}{{{b{{Ab{c}}}}}bAd}{{{b{Af{Ab{c}}}}}{{b{Af}}}Ad}{{{b{{Ab{c}}}}}nAd}{{{b{c}}}{{b{e}}}{}{}}000000{{{b{Afc}}}{{b{Afe}}}{}{}}000000{AhA`}{AjA`}{{{Al{c}}}A`{{B`{An}}}}{{BbAn}j}{{{b{j}}}{{n{{b{h}}}}}}{{{b{A`}}}{{n{{b{h}}}}}}{{{b{{Ab{c}}}}}{{Ab{c}}}{BdAd}}{{{b{j}}}j}{{{b{Ah}}}Ah}{{{b{Aj}}}Aj}{{{b{{Al{c}}}}}{{Al{c}}}Bd}{{{b{A`}}}A`}{{{b{c}}{b{Afe}}}f{}{}}00000{{{b{{Ab{c}}}}}{{Bf{{Ab{c}}}}}Ad}{{{b{Bh}}}{{Bf{c}}}Bj}{{{b{c}}}{{Bf{e}}}{}{}}{{{b{{Ab{c}}}}{b{AfBl}}Bn}{}Ad}`{{}C`}{Cb{{b{c}}}{}}000000{Cb{{b{Afc}}}{}}000000{{{b{j}}}{{b{Cd}}}}{{{b{A`}}}{{b{Cd}}}}{c{{Cf{{Ab{e}}}}}ChAd}{{{b{c}}{b{Afe}}}{{Cf{{Cj{gi}}}}}{}{}{}{}}{c{{Cf{j}}}Ch}11111{c{{Cf{A`}}}Ch}2{Cbf}000000{{{b{{Ab{c}}}}{b{{Ab{c}}}}}ClAd}{{{b{c}}{b{e}}}Cl{}{}}000`{{{b{{Ab{c}}}}{b{{Ab{c}}}}{b{{Df{{Dd{{n{{Db{c{Cn{c}}D`}}}}}}}}}}}{{Cf{fDh}}}Ad}{Ah{{Cf{cA`}}}{}}{Aj{{Cf{cA`}}}{}}{{{Al{c}}}{{Cf{eA`}}}{{B`{An}}}{}}`{{{b{Af{Ab{c}}}}Cb}{{Cf{fDj}}}Ad}{{{b{Af{Ab{c}}}}}fAd}{{{b{{Ab{c}}}}{b{AfDl}}}{{Cf{fDn}}}{E`Ad}}{{{b{{Ab{c}}}}{b{AfDl}}}{{Cf{fDn}}}Ad}{{{b{j}}{b{AfDl}}}Eb}0{{{b{Ah}}{b{AfDl}}}Eb}{{{b{Aj}}{b{AfDl}}}Eb}{{{b{{Al{c}}}}{b{AfDl}}}EbE`}{{{b{A`}}{b{AfDl}}}Eb}0{cc{}}{Edj}{{{Ef{AnBb}}}j}{Ehj}{Ejj}4{Elj}{Enj}6666{F`A`}7{{{b{{Fb{c}}}}}{{Ab{c}}}Ad}{{bb}{{Ab{c}}}Ad}{{{b{c}}{b{e}}}Bn{FdFf}Fh}{{{b{{Ab{c}}}}{b{Afe}}}fAdFj}{{ce}{{Fl{eg}}}{}{FnG`Gb}{}}00{{{b{{Ab{c}}}}}BnAd}{c{}{}}0`{{}Cb}000000`````{cjFn}{ce{}{}}000000{{Ahc}A`{}}{{Ajc}A`{}}{{{Al{c}}e}A`{{B`{An}}}{}}{{{b{{Ab{c}}}}}{{Db{c{Gd{c}}Gf}}}Ad}{{}{{Cf{GhGj}}}}000000`````{{{b{{Ab{c}}}}}{{Bf{{Ab{c}}}}}Ad}{{{b{{Ab{c}}}}}{}Ad}{b}000000`{{C`e{Gl{cg}}i}{{Cf{fj}}}Ad{{Gn{c}}{H`{c}}Hb{Hd{c}}HfG`Gb}{{Hh{c}}}Hj}{{{b{{Ab{c}}}}e}Cf{AdHl}Hn}{{{b{j}}c}CfHn}{{{b{A`}}c}CfHn}{{{b{j}}}{{n{{b{h}}}}}}{{{b{A`}}}{{n{{b{h}}}}}}`{{{b{j}}}Bb}{{{b{A`}}}Bb}`{{{b{{Ab{c}}}}{b{{Ab{c}}}}{b{{n{{Db{c{Cn{c}}D`}}}}}}}{{Cf{fDh}}}Ad}`{{{b{c}}}e{}{}}00000{{{b{c}}}An{}}00{c{{Cf{e}}}{}{}}0000000000000{Bh{{Cf{cBh}}}Bj}{c{{Cf{ee}}}{}{}}{{{b{c}}}I`{}}000000`{{{b{{Ab{c}}}}}{{n{{Db{c{Cn{c}}D`}}}}}Ad}{{{b{{Ab{c}}}}}{}Ad}{ce{}{}}000000``````````````````````````````````````````````````````````{{{b{c}}d}f{}}0000000000000000`{{{b{c}}}{{b{h}}}{}}00000{{{b{{Ib{c}}}}}{{n{{b{l}}}}}Ad}{{{b{Ed}}}{{n{{b{l}}}}}}{{{b{{Id{c}}}}}{{If{c}}}Ad}{{{b{{Ih{c}}}}}{{If{c}}}Ad}{{{b{{Ij{c}}}}}{{If{c}}}Ad}{{{b{{Il{c}}}}}{{If{c}}}Ad}{{{b{{Il{c}}}}}BnAd}{{{b{c}}}{{b{e}}}{}{}}000000000000000000{{{b{Afc}}}{{b{Afe}}}{}{}}000000000000000000{{{In{c}}}Ed{{B`{An}}}}{{{J`{c}}}Ed{{B`{An}}}}{{{Jb{c}}}Ed{{B`{An}}}}{{{Jd{ce}}}Ed{{B`{Bn}}}{{B`{Bn}}}}{{{Jf{ce}}}Ed{{B`{An}}}{{B`{Bb}}}}{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}{Bf{k}}}{{n{c}}}{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}{}}0{{{b{{Ib{c}}}}}{{n{{b{h}}}}}Ad}{{{b{Ed}}}{{n{{b{h}}}}}}{{{b{{Kl{c}}}}}{{Kl{c}}}Ad}{{{b{{Kn{c}}}}}{{Kn{c}}}Ad}{{{b{{Id{c}}}}}{{Id{c}}}{BdAd}}{{{b{{Ib{c}}}}}{{Ib{c}}}{BdAd}}{{{b{{L`{c}}}}}{{L`{c}}}{BdAd}}{{{b{{Ih{c}}}}}{{Ih{c}}}{BdAd}}{{{b{{Ij{c}}}}}{{Ij{c}}}{BdAd}}{{{b{{Il{c}}}}}{{Il{c}}}{BdAd}}{{{b{{Lb{c}}}}}{{Lb{c}}}{BdAd}}{{{b{{Ld{c}}}}}{{Ld{c}}}{BdAd}}{{{b{Lf}}}Lf}{{{b{{In{c}}}}}{{In{c}}}Bd}{{{b{{J`{c}}}}}{{J`{c}}}Bd}{{{b{{Jb{c}}}}}{{Jb{c}}}Bd}{{{b{{Jd{ce}}}}}{{Jd{ce}}}BdBd}{{{b{{Jf{ce}}}}}{{Jf{ce}}}BdBd}{{{b{Ed}}}Ed}{{{b{c}}{b{Afe}}}f{}{}}0000000000000000{{{b{{Kl{c}}}}{b{{Kl{c}}}}}LhAd}{{{b{{Kn{c}}}}{b{{Kn{c}}}}}LhAd}{{{b{{Ij{c}}}}}{{b{Lj}}}Ad}{{{b{c}}{b{e}}}Lh{}{}}0{{{Ll{c}}g}{{Cf{ce}}}{}{hLn}{{Md{e}{{M`{Mb}}}}}}{{{b{{Ih{c}}}}}{{b{{Mf{c}}}}}Ad}{{}Mh}{{{b{Mh}}c}{{Cf{{Mj{eEdc}}Ml}}}Hj{G`GbMn}}{Cb{{b{c}}}{}}000000000000000000{Cb{{b{Afc}}}{}}000000000000000000{{{b{{Ib{c}}}}}{{b{Cd}}}Ad}{{{b{Ed}}}{{b{Cd}}}}{{{b{c}}{b{Afe}}}{{Cf{{Cj{gi}}}}}{}{}{}{}}000{c{{Cf{{Id{e}}}}}ChAd}11{c{{Cf{{L`{e}}}}}ChAd}2{c{{Cf{{Ih{e}}}}}ChAd}3{c{{Cf{{Ij{e}}}}}ChAd}4{c{{Cf{{Il{e}}}}}ChAd}55{c{{Cf{{Lb{e}}}}}ChAd}6{c{{Cf{{Ld{e}}}}}ChAd}7777777{c{{Cf{Ed}}}Ch}{Cbf}000000000000000000{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}}{{N`{Kj}}}{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}}0{{{b{{L`{c}}}}}{{`{{Kj{}{{Kh{{Ef{{Nb{c}}{Nd{c}}}}}}}}}}}Ad}{{{b{{Kl{c}}}}{b{{Kl{c}}}}}ClAd}{{{b{{Kn{c}}}}{b{{Kn{c}}}}}ClAd}{{{b{{Id{c}}}}{b{{Id{c}}}}}Cl{K`Ad}}{{{b{{L`{c}}}}{b{{L`{c}}}}}Cl{K`Ad}}{{{b{{Ih{c}}}}{b{{Ih{c}}}}}Cl{K`Ad}}{{{b{{Ij{c}}}}{b{{Ij{c}}}}}Cl{K`Ad}}{{{b{{Il{c}}}}{b{{Il{c}}}}}Cl{K`Ad}}{{{b{{Lb{c}}}}{b{{Lb{c}}}}}Cl{K`Ad}}{{{b{{Ld{c}}}}{b{{Ld{c}}}}}Cl{K`Ad}}{{{b{c}}{b{e}}}Cl{}{}}00000000000000000000000000000000000`{{{In{c}}}{{Cf{eEd}}}{{B`{An}}}{}}{{{J`{c}}}{{Cf{eEd}}}{{B`{An}}}{}}{{{Jb{c}}}{{Cf{eEd}}}{{B`{An}}}{}}{{{Jd{ce}}}{{Cf{gEd}}}{{B`{Bn}}}{{B`{Bn}}}{}}{{{Jf{ce}}}{{Cf{gEd}}}{{B`{An}}}{{B`{Bb}}}{}}`{{{b{{Kl{c}}}}{b{AfDl}}}EbAd}0{{{b{{Kn{c}}}}{b{AfDl}}}EbAd}0{{{b{{Id{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{Ib{c}}}}{b{AfDl}}}EbAd}{{{b{{Ib{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{L`{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{Ih{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{Ij{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{Il{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{Lb{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{Ld{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{Lf}}{b{AfDl}}}Eb}{{{b{{In{c}}}}{b{AfDl}}}EbE`}{{{b{{J`{c}}}}{b{AfDl}}}EbE`}{{{b{{Jb{c}}}}{b{AfDl}}}EbE`}{{{b{{Jd{ce}}}}{b{AfDl}}}EbE`E`}{{{b{{Jf{ce}}}}{b{AfDl}}}EbE`E`}{{{b{Ed}}{b{AfDl}}}Eb}0{cc{}}0{{{Nf{c}}}{{Kl{c}}}Ad}1{Cb{{Kl{c}}}Ad}2{Cb{{Kn{c}}}Ad}{{{If{c}}}{{Kn{c}}}Ad}4444{{{L`{c}}}{{Ih{c}}}Ad}555{{{L`{c}}}{{Lb{c}}}Ad}6666666{{{Ef{AnBb}}}Ed}7{NhEd}{{bb}{{Id{c}}}Ad}{{bb}{{L`{c}}}Ad}{{bb}{{Ih{c}}}Ad}{{bb}{{Ij{c}}}Ad}{{{b{{Gn{}{{Nj{c}}{Nl{g}}{Nn{i}}{O`{k}}}}}}m}{{Od{{N`{Ob}}}}}{{Of{}{{Kh{{Ll{{Id{e}}}}}}}}OhG`}Ad{{Of{}{{Kh{{Ll{{L`{e}}}}}}}}OhG`}{{Of{}{{Kh{{Ll{{Ih{e}}}}}}}}OhG`}{{Of{}{{Kh{{Ll{{Ij{e}}}}}}}}OhG`}{{B`{{Kn{e}}}}G`Gb}}{{{b{{Gn{}{{Nj{c}}{Nl{g}}{Nn{i}}{O`{k}}}}}}m}{{Od{{N`{Ob}}}}}{{Of{}{{Kh{{Ll{{Id{e}}}}}}}}OhG`}Ad{{Of{}{{Kh{{Ll{{L`{e}}}}}}}}OhG`}{{Of{}{{Kh{{Ll{{Ih{e}}}}}}}}OhG`}{{Of{}{{Kh{{Ll{{Ij{e}}}}}}}}OhG`}{{Oj{Cb}}G`}}{{{b{c}}{b{e}}}Bn{FdFf}Fh}0{{{b{{Gn{}{{Nj{c}}{Nl{g}}{Nn{i}}{O`{k}}}}}}m}{{Od{{N`{Ob}}}}}{{Of{}{{Kh{{Ll{{Id{e}}}}}}}}OhG`}Ad{{Of{}{{Kh{{Ll{{L`{e}}}}}}}}OhG`}{{Of{}{{Kh{{Ll{{Ih{e}}}}}}}}OhG`}{{Of{}{{Kh{{Ll{{Ij{e}}}}}}}}OhG`}{{B`{{Kl{e}}}}G`Gb}}232{{{b{{Gn{}{{Nj{c}}{Nl{g}}{Nn{i}}{O`{k}}}}}}{Ol{e}}}{{Od{{N`{Ob}}}}}{{Of{}{{Kh{{Ll{{Id{e}}}}}}}}OhG`}Ad{{Of{}{{Kh{{Ll{{L`{e}}}}}}}}OhG`}{{Of{}{{Kh{{Ll{{Ih{e}}}}}}}}OhG`}{{Of{}{{Kh{{Ll{{Ij{e}}}}}}}}OhG`}}43{{{b{{Kl{c}}}}{b{Afe}}}fAdFj}{{{b{{Kn{c}}}}{b{Afe}}}fAdFj}{{{b{{Id{c}}}}}{{Nf{c}}}Ad}{{{b{{L`{c}}}}}{{If{c}}}Ad}{{{b{{Ih{c}}}}}OnAd}{{{b{{Il{c}}}}}{{Ol{c}}}Ad}{{{b{{Lb{c}}}}}{{If{c}}}Ad}{{ce}{{Fl{eg}}}{}{FnG`Gb}{}}0{{{b{{Id{c}}}}}{{b{{A@`{c}}}}}Ad}1{{{b{{L`{c}}}}}{{b{{A@`{c}}}}}Ad}{{{b{{Lb{c}}}}}{{b{{A@`{c}}}}}Ad}3{{{b{{Id{c}}}}}BnAd}{{{b{{L`{c}}}}}BnAd}{{{b{{Ih{c}}}}}BnAd}{{{b{{Ij{c}}}}}BnAd}{{{b{{Lb{c}}}}}BnAd}`{c{}{}}0{{{b{{Il{c}}}}}BnAd}`{{}Cb}000000000000000000{{{b{Af{A@d{}{{A@b{c}}}}}}{L`{e}}}{{Od{{N`{Ob}}}}}{hE`G`Gb}Ad}{{{b{Af{A@d{}{{A@b{c}}}}}}{Id{e}}}{{Od{{N`{Ob}}}}}{hE`G`Gb}Ad}{{{b{Af{A@d{}{{A@b{c}}}}}}{Ij{e}}{n{A@f}}}{{Od{{N`{Ob}}}}}{hE`G`Gb}Ad}{cEdFn}{ce{}{}}000000000000000000{{Lfc}Ed{}}{{{In{c}}e}Ed{{B`{An}}}{}}{{{J`{c}}e}Ed{{B`{An}}}{}}{{{Jb{c}}e}Ed{{B`{An}}}{}}{{{Jd{ce}}g}Ed{{B`{Bn}}}{{B`{Bn}}}{}}{{{Jf{ce}}g}Ed{{B`{An}}}{{B`{Bb}}}{}}{{{Ll{c}}}eG`{}}{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}}Cl{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}}0{{{b{{L`{c}}}}}ClAd}{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}}e{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}}{{}{{Cf{GhGj}}}}000000000000000000{{{b{{Id{c}}}}}{{b{{Ab{c}}}}}Ad}`{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}}Cb{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}}{{{b{{L`{c}}}}}CbAd}{{{Ll{c}}g}{{Ll{e}}}{}{}{G`{A@j{c}{{A@h{e}}}}}}`{{{b{{L`{c}}}}}{{b{{A@l{c}}}}}Ad}{{{Ab{c}}{A@n{c}}}{{Cf{{Id{c}}{Ib{c}}}}}Ad}{{{A@`{c}}{Mf{c}}}{{L`{c}}}Ad}{{{A@`{c}}Lj}{{Ij{c}}}Ad}{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}Cb}{{n{c}}}{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}}0{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}Cb}{{n{k}}}{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}{}}0{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}Cb}{{n{{Ef{kg}}}}}{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}{}}0{{{b{{L`{c}}}}}BnAd}{{{b{{Lb{c}}}}}BnAd}{{{b{{Kl{c}}}}{b{{Kl{c}}}}}{{n{Lh}}}Ad}{{{b{{Kn{c}}}}{b{{Kn{c}}}}}{{n{Lh}}}Ad}{{{b{{L`{c}}}}}{{b{{Mf{c}}}}}Ad}{{{b{{Id{c}}}}}OnAd}{{{b{{L`{c}}}}}OnAd}{{{b{{Ij{c}}}}}OnAd}{b}000000000000000000{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}{b{c}}}{{n{g}}}{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}}0{{{b{{Il{c}}}}}{{b{{AA`{c}}}}}Ad}{{{b{{Id{c}}}}}{{b{{A@n{c}}}}}Ad}`{{{Ll{c}}}cG`}```{{{b{{Id{c}}}}e}CfAdHn}{{{b{{L`{c}}}}e}CfAdHn}{{{b{{Ih{c}}}}e}CfAdHn}{{{b{{Ij{c}}}}e}CfAdHn}{{{b{{Il{c}}}}e}CfAdHn}{{{b{{Lb{c}}}}e}CfAdHn}{{{b{{Ld{c}}}}e}CfAdHn}{{{b{Ed}}c}CfHn}{{{b{{L`{c}}}}}BnAd}{{{b{{Ih{c}}}}}BnAd}{{{b{{Lb{c}}}}}BnAd}{{{b{{Ib{c}}}}}{{n{{b{h}}}}}Ad}{{{b{Ed}}}{{n{{b{h}}}}}}{{{b{Ed}}}Bb}`{{{b{{Gn{}{{Nj{c}}{Nl{g}}{Nn{i}}{O`{k}}}}}}Cb}{{Od{{N`{Ob}}}}}{{Of{}{{Kh{{Ll{{Id{e}}}}}}}}OhG`}Ad{{Of{}{{Kh{{Ll{{L`{e}}}}}}}}OhG`}{{Of{}{{Kh{{Ll{{Ih{e}}}}}}}}OhG`}{{Of{}{{Kh{{Ll{{Ij{e}}}}}}}}OhG`}}0000000{{{b{AAb}}}Bn}{{{b{c}}}e{}{}}0000000000000000{{{b{c}}}An{}}000{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}{b{c}}}{{n{k}}}{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}{}}0{{{b{{L`{c}}}}{b{{Nb{c}}}}}{{n{{Nd{c}}}}}Ad}{{{b{{Il{c}}}}}{{b{{Nd{c}}}}}Ad}{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}{Bf{k}}}{{n{k}}}{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}{}}0{{{b{{L`{c}}}}{Bf{{Nd{c}}}}}{{n{{Nb{c}}}}}Ad}{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}{Bf{k}}}{{n{{Ef{kg}}}}}{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}{}}0{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}{b{c}}}{{n{{Ef{kg}}}}}{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}{}}{c{{Cf{e}}}{}{}}0000000000000000000000000000000000000{{{Ll{c}}}{{Cf{c{Ll{c}}}}}{}}{{{b{c}}}I`{}}000000000000000000{ce{}{}}000000000000000000{{{Ll{c}}i}{{Cf{ce}}}{}{hLn}{{Md{e}{{M`{Mb}}}}}{{A@j{}{{A@h{g}}}}}}{{{Ll{c}}AAd}{{n{c}}}G`}`````````````````{{{b{c}}d}f{}}0{{{b{Af{AAf{ce}}}}}{{b{Afe}}}{}{}}{{{b{{AAf{ce}}}}}{{b{e}}}{}{}}`{{{b{{AAf{ce}}}}}{{Od{{N`{Ob}}}}}{HbG`Gb}{G`Gb}}{{{b{{AAf{eg}}}}}{{Od{{N`{Ob}}}}}Ad{{H`{c}}G`Gb}{G`Gb}}{{{b{AAh}}}{{Od{{N`{Ob}}}}}}{{{b{c}}}{{b{e}}}{}{}}0{{{b{Afc}}}{{b{Afe}}}{}{}}0{{{b{{AAf{ce}}}}}{{AAf{ce}}}BdBd}{{{b{AAh}}}AAh}{{{b{c}}{b{Afe}}}f{}{}}0{{{b{Af{Hf{}{{A@b{c}}}}}}}{{Od{{N`{Ob}}}}}{hE`G`Gb}}{{{b{Af{AAf{ce}}}}}{{Od{{N`{Ob}}}}}{HfG`}G`}{{{b{c}}}{{Od{{N`{Ob}}}}}{}}009{Cb{{Od{{N`{Ob}}}}}}{{{b{AAj}}e}{{AAn{{AAl{ce}}}}}Ad{{AB`{c}}}}11{{{b{AfABb}}e}{{AAn{{AAl{ce}}}}}Ad{{AB`{c}}}}{{}AAh}{Cb{{b{c}}}{}}0{Cb{{b{Afc}}}{}}0{{{b{c}}{b{Afe}}}{{Cf{{Cj{gi}}}}}{}{}{}{}}0{Cbf}0`{{{b{{AAf{ce}}}}{b{AfDl}}}EbE`E`}{{{b{AAh}}{b{AfDl}}}Eb}{cc{}}0{{{b{{AAf{eg}}}}i}{{Od{{N`{Ob}}}}}Ad{{Gn{c}}G`Gb}{G`Gb}{{B`{{Kn{c}}}}G`Gb}}{{{b{{AAf{eg}}}}{ABd{c}}}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}{{{b{{AAf{eg}}}}i}{{Od{{N`{Ob}}}}}Ad{{Gn{c}}G`Gb}{G`Gb}{{Oj{Cb}}G`}}{{{b{{AAf{eg}}}}{ABh{c}}}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}{{{b{{AAf{eg}}}}}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}{{{b{{AAf{eg}}}}iBn}{{Od{{N`{Ob}}}}}Ad{{H`{c}}G`Gb}{G`Gb}{{B`{{ABj{c}}}}G`Gb}}{{{b{{AAf{ce}}}}}{{Od{{N`{Ob}}}}}{ABlG`Gb}{G`Gb}}{{{b{{AAf{eg}}}}i}{{Od{{N`{Ob}}}}}Ad{{Gn{c}}G`Gb}{G`Gb}{{B`{{Kl{c}}}}G`Gb}}5{{{b{{AAf{gi}}}}{ABn{ce}}}{{Od{{N`{Ob}}}}}Ad{{AC`{c}}}{{ACb{ce}}G`Gb}{G`Gb}}86{{{b{{AAf{eg}}}}An}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}{{{b{{AAf{eg}}}}{Ol{c}}}{{Od{{N`{Ob}}}}}Ad{{Gn{c}}G`Gb}{G`Gb}}{{{b{{AAf{eg}}}}{ACd{c}}}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}{{{b{{AAf{eg}}}}{ACf{c}}}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}<:{{{b{Af{AAl{AChc}}}}{b{{ACj{ACh}}}}}{{Od{{N`{Ob}}}}}{{AB`{ACh}}ACl}}{{{b{Af{AAf{ce}}}}{b{{ACj{ACh}}}}}{{Od{{N`{Ob}}}}}ACn{AClG`Gb}}{{{b{AfAAh}}{b{{ACj{ACh}}}}}{{Od{{N`{Ob}}}}}}{{}Cb}0{{{b{{AAf{ce}}}}}{{b{c}}}{}{}}{{{b{Af{AAf{ce}}}}}{{b{Afc}}}{}{}}{{{b{Af{AAf{eg}}}}{L`{c}}}{{Od{{N`{Ob}}}}}Ad{{A@d{c}}G`Gb}{G`Gb}}{{{b{Af{AAf{eg}}}}{Id{c}}}{{Od{{N`{Ob}}}}}Ad{{A@d{c}}G`Gb}{G`Gb}}{{{b{Af{AAf{gi}}}}AD`{ADb{Cb}}Bn}{{Od{{N`{Ob}}}}}Ad{{AC`{c}}}{{ADd{ce}}G`Gb}{G`Gb}}{{{b{Af{AAf{eg}}}}{Ij{c}}{n{A@f}}}{{Od{{N`{Ob}}}}}Ad{{A@d{c}}G`Gb}{G`Gb}}{ce{}{}}0{{}{{Cf{GhGj}}}}0{{{b{{AAf{ce}}}}}{{b{ADf}}}{HbG`Gb}{G`Gb}}{{{b{AAh}}}{{b{ADf}}}}{{ce}{{AAf{ce}}}{}{}}`{{{b{AAj}}e}{{AAn{{AAl{ce}}}}}Ad{{AB`{c}}}}{{{b{AfABb}}e}{{AAn{{AAl{ce}}}}}Ad{{AB`{c}}}}{{{b{{AAf{eg}}}}}{{Od{{N`{Ob}}}}}Ad{{H`{c}}G`Gb}{G`Gb}}`{b}0{{{b{c}}}{{N`{ADh}}}{}}0{{{b{c}}}{{Od{{N`{Ob}}}}}{}}00{{{b{Af{Hf{}{{A@b{c}}}}}}}{{Od{{N`{Ob}}}}}{hE`G`Gb}}{{{b{Af{AAf{ce}}}}}{{Od{{N`{Ob}}}}}{HfG`}G`}{{{b{Af{AAf{ce}}}}Cb}{{Od{{N`{Ob}}}}}{ABlG`Gb}{G`Gb}}{{{b{Af{AAl{ce}}}}}{{AAn{f}}}Ad{{AB`{c}}}}```7{{{b{c}}}e{}{}}0{c{{Cf{e}}}{}{}}000{{{b{c}}}I`{}}0{{{b{AfHd}}{b{{ACj{c}}}}}{{Od{{N`{Ob}}}}}Ad}{{{b{Afc}}{b{{ACj{e}}}}}{{Od{{N`{Ob}}}}}{}{}}{{{b{{AAf{eg}}}}i}{{Od{{N`{Ob}}}}}Ad{{H`{c}}G`Gb}{G`Gb}{{B`{{Kn{c}}}}G`Gb}}{ce{}{}}0{{}f}0``````{{{b{c}}d}f{}}0{{{b{{ADj{ceg}}}}}{{Od{{N`{Ob}}}}}Ad{{H`{c}}G`Gb}{G`Gb}}0{{{b{c}}}{{b{e}}}{}{}}0000{{{b{Afc}}}{{b{Afe}}}{}{}}0000{{{ADl{ceg}}}{{AAn{{ADj{ceg}}}}}Ad{{H`{c}}{ADn{c}}}{{AB`{c}}}}{{eg}{{ADl{ceg}}}Ad{{H`{c}}{ADn{c}}}{{AB`{c}}}}{{{b{Afc}}}Cl{}}{{{b{{ADj{ceg}}}}}{{ADj{ceg}}}Ad{}{}}{{{b{{AE`{ceg}}}}}{{AE`{ceg}}}Ad{}{}}{{{b{c}}{b{Afe}}}f{}{}}0{{{b{Af{ADj{ceg}}}}}{{Od{{N`{Ob}}}}}Ad{HfG`Gb}{G`Gb}}{{AEbe}{{Cf{{AEd{ce}}Dh}}}Ad{{AB`{c}}}}:{{{b{AAj}}e}{{AAn{{ADj{c{AEf{c}}e}}}}}Ad{{AB`{c}}}}{{{b{AfABb}}e}{{AAn{{ADj{c{AEf{c}}e}}}}}Ad{{AB`{c}}}}{Cb{{b{c}}}{}}000{{{b{{AEh{ce}}}}}{{b{g}}}Ad{}{}}{{{b{{AEj{ce}}}}}{{b{g}}}Ad{}{}}2{Cb{{b{Afc}}}{}}000{{{b{Af{AEj{ce}}}}}{{b{Afg}}}Ad{}{}}1{{{b{c}}{b{Afe}}}{{Cf{{Cj{gi}}}}}{}{}{}{}}0000{{{ADl{ceg}}}{{ADl{ceg}}}{}{}{}}{Cbf}0000{{{b{{ADj{ceg}}}}{b{AfDl}}}EbAdE`E`}{{{b{{AE`{ceg}}}}{b{AfDl}}}EbAdE`E`}{cc{}}000{{{AEl{{`{ce}}}}}{{AEh{ce}}}Ad{}}1{{{AEn{{`{ce}}}}}{{AEj{ce}}}Ad{}}{{{b{{ADj{ceg}}}}i}{{Od{{N`{Ob}}}}}Ad{{ADn{c}}}{{AB`{c}}}{{B`{{Kn{c}}}}G`Gb}}{{{b{{ADj{ceg}}}}{ABd{c}}}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}{{{b{{ADj{ceg}}}}i}{{Od{{N`{Ob}}}}}Ad{{ADn{c}}}{{AB`{c}}}{{Oj{Cb}}G`}}{{{b{{ADj{ceg}}}}{ABh{c}}}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}{{{b{c}}}AF`{}}{{{b{{ADj{ceg}}}}}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}{{{b{{ADj{ceg}}}}iBn}{{Od{{N`{Ob}}}}}Ad{{H`{c}}G`Gb}{G`Gb}{{B`{{ABj{c}}}}G`Gb}}{{{b{{ADj{ceg}}}}}{{Od{{N`{Ob}}}}}Ad{ABlG`Gb}{G`Gb}}{{{b{{ADj{ceg}}}}i}{{Od{{N`{Ob}}}}}Ad{{ADn{c}}}{{AB`{c}}}{{B`{{Kl{c}}}}G`Gb}}6{{{b{{ADj{cgi}}}}{ABn{ce}}}{{Od{{N`{Ob}}}}}Ad{{AC`{c}}}{{ACb{ce}}G`Gb}{{AB`{c}}}}97{{{b{{ADj{ceg}}}}An}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}{{{b{{ADj{ceg}}}}{Ol{c}}}{{Od{{N`{Ob}}}}}Ad{{ADn{c}}}{{AB`{c}}}}{{{b{{ADj{ceg}}}}{ACd{c}}}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}{{{b{{ADj{ceg}}}}{ACf{c}}}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}=;{{}Cb}0000{{{b{Af{ADj{ceg}}}}{L`{c}}}{{Od{{N`{Ob}}}}}Ad{{A@d{c}}G`Gb}{G`Gb}}{{{b{Af{ADj{ceg}}}}{Id{c}}}{{Od{{N`{Ob}}}}}Ad{{A@d{c}}G`Gb}{G`Gb}}{{{b{Af{ADj{cgi}}}}AD`{ADb{Cb}}Bn}{{Od{{N`{Ob}}}}}Ad{{AC`{c}}}{{ADd{ce}}G`Gb}{{AB`{c}}}}{{{b{Af{ADj{ceg}}}}{Ij{c}}{n{A@f}}}{{Od{{N`{Ob}}}}}Ad{{A@d{c}}G`Gb}{G`Gb}}{ce{}{}}0000{{{b{c}}}Cl{}}{{}{{Cf{GhGj}}}}0000{{{b{c}}}{{AFb{e}}}{}{}}{{{b{c}}}{}{}}01{{{b{{ADj{ceg}}}}}{{b{ADf}}}Ad{{H`{c}}G`Gb}{G`Gb}}{{ce}{{ADl{gce}}}{}{}{}}{{{b{AAj}}e}{{AAn{{ADj{c{AEf{c}}e}}}}}Ad{{AB`{c}}}}{{{b{AfABb}}e}{{AAn{{ADj{c{AEf{c}}e}}}}}Ad{{AB`{c}}}}{{{b{{ADj{ceg}}}}}{{Od{{N`{Ob}}}}}Ad{{H`{c}}G`Gb}{G`Gb}}{b}0000{{{b{c}}}{{N`{ADh}}}{}}{{{b{Afc}}{b{AFd}}}{{Cf{AFfAFh}}}{}}{{{b{Afc}}{b{{AFl{AFj}}}}}{{Cf{AFfAFh}}}{}}{{{b{Afc}}{b{{AFl{AFj}}}}CbCb}{{Cf{{ADb{AFf}}AFh}}}{}}{{{b{Af{ADj{ceg}}}}}{{Od{{N`{Ob}}}}}Ad{HfG`Gb}{G`Gb}}{{{b{Af{ADj{ceg}}}}Cb}{{Od{{N`{Ob}}}}}Ad{ABlG`Gb}{G`Gb}}{{{b{Af{ADj{c{AEf{c}}e}}}}}{{AAn{f}}}Ad{{AB`{c}}}}{{{b{{ADj{ceg}}}}}{{AEh{ce}}}Ad{}{}}{{{b{{ADj{ceg}}}}}{{AEj{ce}}}Ad{}{}}{{{b{c}}}Cl{}};{{{b{c}}}e{}{}}0{{{b{Af{ADj{cAFne}}}}}{{AGb{AG`}}}Ad{}}{c{{Cf{e}}}{}{}}000000000{{{b{c}}}I`{}}0000{{{b{Afc}}{b{{ACj{e}}}}}{{Od{{N`{Ob}}}}}{}{}}{{{b{{ADj{ceg}}}}i}{{Od{{N`{Ob}}}}}Ad{{H`{c}}G`Gb}{G`Gb}{{B`{{Kn{c}}}}G`Gb}}{ce{}{}}0000{{{ADl{ceg}}AAd}{{ADl{ceg}}}{}{}{}}0{{{ADl{ceg}}Cb}{{ADl{ceg}}}{}{}{}}010001{{}f}0000000```````{{{b{{AGd{ce}}}}}{{Od{{N`{Ob}}}}}Ad{G`Gb}}{{{b{c}}}{{Od{{N`{Ob}}}}}{}}{{AEbe}{{Cf{{AEd{ce}}Dh}}}Ad{{AB`{c}}}}{Cb{{Od{{N`{Ob}}}}}}{{{b{Af{AGd{AChc}}}}{b{{ACj{ACh}}}}}{{Od{{N`{Ob}}}}}{{AB`{ACh}}ACl}}``3`{{{b{Af{AGd{ce}}}}}{{AGb{AG`}}}Ad{}}`6``````{{{b{ADn}}{Kn{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{ABf}}{ABd{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{ADn}}c}{{Od{{N`{Ob}}}}}{{Oj{Cb}}G`}}{{{b{ABf}}{ABh{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{ABf}}}{{Od{{N`{Ob}}}}}}4{{{b{ADn}}{Kl{c}}}{{Od{{N`{Ob}}}}}Ad}353{{{b{ABf}}An}{{Od{{N`{Ob}}}}}}{{{b{ADn}}{Ol{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{ABf}}{ACd{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{ABf}}{ACf{c}}}{{Od{{N`{Ob}}}}}Ad}97````{{{b{{AEf{c}}}}}{{Od{{N`{Ob}}}}}Ad}{{{b{c}}}{{b{e}}}{}{}}{{{b{Afc}}}{{b{Afe}}}{}{}}{{{b{Af{AEf{c}}}}}{{Od{{N`{Ob}}}}}Ad}3{{{b{AAj}}}{{Cf{{AEf{c}}AGf}}}Ad}{{{b{AfABb}}}{{Cf{{AEf{c}}AGf}}}Ad}{Cb{{b{c}}}{}}{Cb{{b{Afc}}}{}}{{{b{c}}{b{Afe}}}{{Cf{{Cj{gi}}}}}{}{}{}{}}{Cbf}{{{b{{AEf{c}}}}{b{AfDl}}}EbAd}{cc{}}{{{b{{AEf{c}}}}{Kn{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{{AEf{c}}}}e}{{Od{{N`{Ob}}}}}Ad{{Oj{Cb}}G`}}1{{{b{{AEf{c}}}}eBn}{{Od{{N`{Ob}}}}}Ad{{B`{{ABj{c}}}}G`Gb}}{{{b{{AEf{c}}}}{Kl{c}}}{{Od{{N`{Ob}}}}}Ad}232{{{b{{AEf{c}}}}{Ol{c}}}{{Od{{N`{Ob}}}}}Ad}43{{}Cb}{{{b{Af{AEf{c}}}}{L`{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{Af{AEf{c}}}}{Id{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{Af{AEf{c}}}}{Ij{c}}{n{A@f}}}{{Od{{N`{Ob}}}}}Ad}{ce{}{}}{{}{{Cf{GhGj}}}}{{{b{AAj}}}{{Cf{{AEf{c}}AGf}}}Ad}{{{b{AfABb}}}{{Cf{{AEf{c}}AGf}}}Ad}{{{b{{AEf{c}}}}}{{Od{{N`{Ob}}}}}Ad}{b}{{{b{Af{AEf{c}}}}}{{Od{{N`{Ob}}}}}Ad}{{{b{Af{AEf{c}}}}}{{Cf{fAGf}}}Ad}3{c{{Cf{e}}}{}{}}0{{{b{c}}}I`{}}{{{b{{AEf{c}}}}e}{{Od{{N`{Ob}}}}}Ad{{B`{{Kn{c}}}}G`Gb}}:`{{{b{c}}d}f{}}{{{b{AGh}}}{{Od{{N`{Ob}}}}}}{{{b{c}}}{{b{e}}}{}{}}{{{b{Afc}}}{{b{Afe}}}{}{}}{{{b{AGh}}}AGh}{{{b{c}}{b{Afe}}}f{}{}}{{{b{AfAGh}}}{{Od{{N`{Ob}}}}}}5{{}AGh}{Cb{{b{c}}}{}}{Cb{{b{Afc}}}{}}{{{b{c}}{b{Afe}}}{{Cf{{Cj{gi}}}}}{}{}{}{}}{Cbf}{{{b{AGh}}{b{AfDl}}}Eb}{cc{}}{{{b{AGh}}{Kn{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{AGh}}c}{{Od{{N`{Ob}}}}}{{Oj{Cb}}G`}}1{{{b{AGh}}eBn}{{Od{{N`{Ob}}}}}Ad{{B`{{ABj{c}}}}G`Gb}}{{{b{AGh}}{Kl{c}}}{{Od{{N`{Ob}}}}}Ad}232{{{b{AGh}}{Ol{c}}}{{Od{{N`{Ob}}}}}Ad}43{{}Cb}{{{b{AfAGh}}{L`{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{AfAGh}}{Id{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{AfAGh}}{Ij{c}}{n{A@f}}}{{Od{{N`{Ob}}}}}Ad}{ce{}{}}{{}{{Cf{GhGj}}}}{{{b{AGh}}}{{Od{{N`{Ob}}}}}}{b}{{{b{AfAGh}}}{{Od{{N`{Ob}}}}}}2`{{{b{c}}}e{}{}}{c{{Cf{e}}}{}{}}0{{{b{c}}}I`{}}{{{b{AGh}}e}{{Od{{N`{Ob}}}}}Ad{{B`{{Kn{c}}}}G`Gb}}8``````{{{b{AGj}}}{{Od{{N`{Ob}}}}}}0{{{b{c}}}{{b{e}}}{}{}}0{{{b{Afc}}}{{b{Afe}}}{}{}}0{{{b{AfAGj}}}{{Od{{N`{Ob}}}}}}{{{b{c}}}{{Od{{N`{Ob}}}}}{}}4{Cb{{Od{{N`{Ob}}}}}}{Cb{{b{c}}}{}}0{Cb{{b{Afc}}}{}}0{{{b{c}}{b{Afe}}}{{Cf{{Cj{gi}}}}}{}{}{}{}}0{Cbf}0{cc{}}0{{{b{AGj}}c}{{Od{{N`{Ob}}}}}{{B`{{Kn{ACh}}}}G`Gb}}{{{b{AGj}}c}{{Od{{N`{Ob}}}}}{{Oj{Cb}}G`}}{{{b{AGj}}cBn}{{Od{{N`{Ob}}}}}{{B`{{ABj{ACh}}}}G`Gb}}{{{b{AGj}}c}{{Od{{N`{Ob}}}}}{{B`{{Kl{ACh}}}}G`Gb}}232{{{b{AGj}}{Ol{ACh}}}{{Od{{N`{Ob}}}}}}43{{{b{AfAGj}}{b{{ACj{ACh}}}}}{{Od{{N`{Ob}}}}}}{{}Cb}0{{{b{AfAGj}}{L`{ACh}}}{{Od{{N`{Ob}}}}}}{{{b{AfAGj}}{Id{ACh}}}{{Od{{N`{Ob}}}}}}{{{b{AfAGj}}{Ij{ACh}}{n{A@f}}}{{Od{{N`{Ob}}}}}}{ce{}{}}0{{}{{Cf{GhGj}}}}0{{{b{AGj}}}{{b{ADf}}}}{{{b{AGj}}}{{Od{{N`{Ob}}}}}}{b}0{{{b{c}}}{{N`{ADh}}}{}}{{{b{c}}}{{Od{{N`{Ob}}}}}{}}{{{b{AfAGj}}}{{Od{{N`{Ob}}}}}}{{{b{Af{AGl{AGj}}}}}{{Od{{N`{Ob}}}}}}5{c{{Cf{e}}}{}{}}000{{{b{c}}}I`{}}0{{{b{Afc}}{b{{ACj{e}}}}}{{Od{{N`{Ob}}}}}{}{}}{{{b{AGj}}c}{{Od{{N`{Ob}}}}}{{B`{{Kn{ACh}}}}G`Gb}}<<``````{{{b{c}}d}f{}}{{{b{AGn}}}Bn}{{{b{c}}}{{b{e}}}{}{}}{{{b{Afc}}}{{b{Afe}}}{}{}}{{{b{AGn}}}AGn}{{{b{c}}{b{Afe}}}f{}{}}{{}AGn}{Cb{{b{c}}}{}}{Cb{{b{Afc}}}{}}{{{b{c}}{b{Afe}}}{{Cf{{Cj{gi}}}}}{}{}{}{}}{Cbf}{{{b{AGn}}{b{AfDl}}}Eb}{cc{}}{{{b{AH`}}}{{Od{{N`{Ob}}}}}}{{{b{AHb}}}{{n{AGn}}}}{{}Cb}{{{b{AGn}}}AAd}{ce{}{}}{{}{{Cf{GhGj}}}}{{{b{{AHd{}{{A@b{c}}}}}}}{{Od{{N`{Ob}}}}}{hE`G`Gb}}{{{b{AGn}}}AHf}4>{b}{{{b{AfAH`}}}{{Od{{N`{Ob}}}}}}{{{b{AGn}}}{{n{Bn}}}}{{{b{Af{AHd{}{{A@b{c}}}}}}Bn}{{Od{{N`{Ob}}}}}{hE`G`Gb}}{{{b{AfAHb}}AGn}f}9{{{b{c}}}e{}{}}{c{{Cf{e}}}{}{}}0{{{b{c}}}I`{}}{{{b{AGn}}}{{AAn{f}}}}<{{AGnBn}AGn}{{AGnAAd}AGn}{{AGnAHf}AGn}121```````{{{b{c}}d}f{}}0{{AHhAnAHjBn}AHl}{{{b{AHl}}}{{n{{b{AHj}}}}}}{AEbAEb}{{{b{Dh}}}{{b{h}}}}0{{{b{Dh}}}{{b{l}}}}{{{b{AFn}}}{{Od{{N`{Ob}}}}}}{{{b{c}}}{{b{e}}}{}{}}00000{{{b{Afc}}}{{b{Afe}}}{}{}}00000{{AEbe}{{Cf{{AEd{ce}}Dh}}}Ad{{AB`{c}}}}{{{b{Dh}}}AHn}{{{b{AHl}}}Bn}{{{b{AI`}}}{{Od{{N`{Ob}}}}}}{{{b{AG`}}}{{Od{{N`{Ob}}}}}}7{{{b{AHl}}}AHl}{{{b{AEb}}}AEb}{{{b{c}}{b{Afe}}}f{}{}}0{{{b{AHl}}{b{AHl}}}Lh}{{{b{AfAFn}}}{{Od{{N`{Ob}}}}}}{{{b{c}}{b{e}}}Lh{}{}}{{AEbe}{{Cf{{AGd{ce}}Dh}}}Ad{{AB`{c}}}}{AEb{{Cf{AFnDh}}}}{{Dhc}Dh{FnG`Gb}}{{{b{AFn}}}{{Od{{N`{Ob}}}}}}{{AEb{b{Cd}}}AEb}{{}AEb}{{}AIb}{{}{{ADb{AHl}}}}{{{b{Dh}}}b}{Cb{{b{c}}}{}}00000{{{b{AfDh}}}{{b{Af}}}}{Cb{{b{Afc}}}{}}00000{{{b{c}}{b{Afe}}}{{Cf{{Cj{gi}}}}}{}{}{}{}}00000{Dh{{Cf{cDh}}}{FnE`G`Gb}}{{{b{AfDh}}}{{n{{b{Afc}}}}}{FnE`G`Gb}}{{{b{Dh}}}{{n{{b{c}}}}}{FnE`G`Gb}}{Cbf}{{{b{AfDh}}}f}11111{{{b{AHl}}{b{AHl}}}Cl}{{{b{c}}{b{e}}}Cl{}{}}000{{{b{AfAG`}}{b{c}}e}{{AGb{Bn}}}{FfAId}AIf}{{{b{AfAG`}}{b{c}}e}{{AGb{Bn}}}{FfAIdFn}AIf}{{{b{AfAG`}}{b{c}}e}{{AGb{Bn}}}{FfAIdFn}{AIfBd}}{{{b{AfAG`}}{b{c}}e}{{AGb{f}}}{FfAIdFn}AIf}{{{b{AfAG`}}{b{c}}e}{{AGb{f}}}{FfAIdFn}{AIfBd}}{{{b{Dh}}{b{AfDl}}}{{Cf{fDn}}}}0{{{b{AHl}}{b{AfDl}}}{{Cf{fDn}}}}0{{{b{AEb}}{b{AfDl}}}Eb}{{{b{AFn}}{b{AfDl}}}Eb}{{{b{AIb}}{b{AfDl}}}Eb}{AIhc{}}{cc{}}{cDh{hG`Gb}}111{AIjAEb}22{{{b{Cd}}}{{Cf{AEbc}}}{}}{{{b{AFn}}{Kn{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{AFn}}{ABd{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{AFn}}c}{{Od{{N`{Ob}}}}}{{Oj{Cb}}G`}}{{{b{AFn}}{ABh{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{AFn}}}{{Od{{N`{Ob}}}}}}04{{{b{AFn}}eBn}{{Od{{N`{Ob}}}}}Ad{{B`{{ABj{c}}}}G`Gb}}1{{{b{AFn}}{Kl{c}}}{{Od{{N`{Ob}}}}}Ad}4{{{b{AFn}}{ABn{ce}}}{{Od{{N`{Ob}}}}}Ad{{AC`{c}}}}75{{{b{AFn}}}{{n{AGn}}}}{{{b{AFn}}An}{{Od{{N`{Ob}}}}}}{{{b{AFn}}{Ol{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{AFn}}{ACd{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{AFn}}{ACf{c}}}{{Od{{N`{Ob}}}}}Ad}<:{{ce}{{Fl{eg}}}{}{FnG`Gb}{}}0{{AEbc}AEb{{B`{An}}}}``{{}Cb}00000{{{b{AfAFn}}{L`{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{AfAFn}}{Id{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{AfAFn}}AD`{ADb{Cb}}Bn}{{Od{{N`{Ob}}}}}}{{{b{AfAFn}}{Ij{c}}{n{A@f}}}{{Od{{N`{Ob}}}}}Ad}{ce{}{}}00000{{{b{Dh}}}Cl}{{}{{Cf{GhGj}}}}00000{{{b{AFn}}}{{Od{{N`{Ob}}}}}}{{AEbc}AEb{{AIf{}{{Kh{AHl}}}}}}{cDh{FnE`G`Gb}}{{{b{AHl}}}{{b{Cd}}}}{cDh{hG`Gb}}{AEbAEb}{{{b{AHl}}{b{AHl}}}{{n{Lh}}}}{{AEb{b{Cd}}}AEb}7{b}00000{{AEbAHf}AEb}`{{{b{AHl}}}{{b{AIl}}}}{{{b{AfAFn}}}{{Od{{N`{Ob}}}}}}{{AEbAGn}{{Cf{AEbDh}}}}{{{b{AI`}}{b{c}}e}{{Od{{N`{Ob}}}}}{FfAIdGb}{AIfG`}}0{{{b{AI`}}{b{c}}}{{Od{{N`{Ob}}}}}{FfAIdGb}}10093{{{b{Dh}}}{{b{h}}}}{{{b{AfAFn}}Bn}{{Od{{N`{Ob}}}}}}{{AEbc}AEb{{B`{An}}}}{{{b{AfAHl}}}f}{{{b{AfAFn}}Cb}{{Od{{N`{Ob}}}}}}{{{b{AfAFn}}AGn}f}{{{b{AHl}}}{{n{{b{Cd}}}}}}{{{b{AFn}}}{{Od{{N`{Ob}}}}}}`{AEbAEb}{{{b{c}}}e{}{}}0{{{b{c}}}An{}}0{{{b{AfAFn}}}{{AGb{AG`}}}}{c{{Cf{e}}}{}{}}00000000000{{{b{c}}}I`{}}00000{{{b{Cd}}{b{Cd}}}{{Cf{AHlAIn}}}}{{{b{AfAG`}}{b{Cd}}{AJ`{{b{Cd}}}}cg}{{AGb{f}}}{{AIf{}{{Kh{{b{Cd}}}}}}}{AJbBd}{{AIf{}{{Kh{{AJ`{e}}}}}}}}{{AEb{b{Cd}}}AEb}{{{b{AHl}}}AJd}{{{b{AFn}}e}{{Od{{N`{Ob}}}}}Ad{{B`{{Kn{c}}}}G`Gb}}{ce{}{}}00000``{{{b{c}}}{{b{e}}}{}{}}0{{{b{Afc}}}{{b{Afe}}}{}{}}0{{{b{AJf}}}AEb}{Cb{{b{c}}}{}}0{Cb{{b{Afc}}}{}}0{{{b{c}}{b{Afe}}}{{Cf{{Cj{gi}}}}}{}{}{}{}}0{Cbf}0{{{b{AfAJf}}}f}{{{b{AJf}}{b{AfDl}}}Eb}{cc{}}0{{{b{AJf}}}An}{{}Cb}0{{}AJf}=={{}{{Cf{GhGj}}}}01{b}0{{{b{AJf}}}AHf}88{c{{Cf{e}}}{}{}}000{{{b{c}}}I`{}}0{ce{}{}}0````````````````````````````````````````````````````````````````````````````````````````````````````{{{b{c}}d}f{}}000000000000000{{AJhAJh}c{}}{{{b{c}}}{{b{h}}}{}}00000000000000000000000``````````{{{b{c}}}{{b{e}}}{}{}}0000000000000000000000000000000000{{{b{Afc}}}{{b{Afe}}}{}{}}0000000000000000000000000000000000{AJjAJh}{{{b{AJl}}}AJl}{{{b{AJn}}}AJn}{{{b{AK`}}}AK`}{{{b{AJh}}}AJh}{{{b{{ABd{c}}}}}{{ABd{c}}}{BdAd}}{{{b{{ACd{c}}}}}{{ACd{c}}}{BdAd}}{{{b{{AKb{c}}}}}{{AKb{c}}}{BdAd}}{{{b{{AKd{c}}}}}{{AKd{c}}}{BdAd}}{{{b{AKf}}}AKf}{{{b{AKh}}}AKh}{{{b{AKj}}}AKj}{{{b{AKl}}}AKl}{{{b{AKn}}}AKn}{{{b{AL`}}}AL`}{{{b{ALb}}}ALb}{{{b{Ej}}}Ej}{{{b{c}}{b{Afe}}}f{}{}}000000000000000{{{b{AK`}}{b{AK`}}}Lh}{{{b{c}}{b{e}}}Lh{}{}}````{{}{{ACf{c}}}Ad}{c{{Cf{{Mj{eEjc}}Ml}}}Hj{G`GbMn}}{Cb{{b{c}}}{}}0000000000000000000000000000000000{Cb{{b{Afc}}}{}}0000000000000000000000000000000000{c{{Cf{AJl}}}Ch}{{{b{c}}{b{Afe}}}{{Cf{{Cj{gi}}}}}{}{}{}{}}0{c{{Cf{AJn}}}Ch}{c{{Cf{AK`}}}Ch}2{c{{Cf{AJh}}}Ch}333333{c{{Cf{AKf}}}Ch}4{c{{Cf{{ALd{e}}}}}ChAd}5{c{{Cf{{ALf{e}}}}}ChAd}6{c{{Cf{ALh}}}Ch}7{c{{Cf{{ALj{e}}}}}ChAd}88{c{{Cf{{ALl{e}}}}}ChAd}99{c{{Cf{ALn}}}Ch}:{c{{Cf{AM`}}}Ch};{c{{Cf{AMb}}}Ch}<{c{{Cf{{AMd{e}}}}}ChAd}={c{{Cf{{AMf{e}}}}}ChAd}>>{c{{Cf{AKh}}}Ch}{c{{Cf{AKj}}}Ch}{{{b{c}}{b{Afe}}}{{Cf{{Cj{gi}}}}}{}{}{}{}}0{c{{Cf{AKl}}}Ch}{c{{Cf{AKn}}}Ch}2{c{{Cf{AL`}}}Ch}33{c{{Cf{ALb}}}Ch}4{c{{Cf{Ej}}}Ch}5{c{{Cf{{AMh{e}}}}}ChAd}6{c{{Cf{{AMj{e}}}}}ChAd}7{c{{Cf{{AMl{e}}}}}ChAd}8{c{{Cf{{AMn{e}}}}}ChAd}{c{{Cf{{AN`{e}}}}}ChAd}::{c{{Cf{{ANb{e}}}}}ChAd}{Cbf}0000000000000000000000000000000000{{{b{AK`}}{b{AK`}}}Cl}{{{b{AJh}}{b{AJh}}}Cl}{{{b{{ABd{c}}}}{b{{ABd{c}}}}}Cl{K`Ad}}{{{b{{ACd{c}}}}{b{{ACd{c}}}}}Cl{K`Ad}}{{{b{{AKb{c}}}}{b{{AKb{c}}}}}Cl{K`Ad}}{{{b{{AKd{c}}}}{b{{AKd{c}}}}}Cl{K`Ad}}{{{b{AKf}}{b{AKf}}}Cl}{{{b{{ALd{c}}}}{b{{ALd{c}}}}}Cl{K`Ad}}{{{b{{ALf{c}}}}{b{{ALf{c}}}}}Cl{K`Ad}}{{{b{F`}}{b{F`}}}Cl}{{{b{ALh}}{b{ALh}}}Cl}{{{b{{ALj{c}}}}{b{{ALj{c}}}}}Cl{K`Ad}}{{{b{{ALl{c}}}}{b{{ALl{c}}}}}Cl{K`Ad}}{{{b{{ABh{c}}}}{b{{ABh{c}}}}}Cl{K`Ad}}{{{b{c}}{b{e}}}Cl{}{}}0000000000000000000000000000000000000000000000000000000{AJjAJh}0``{{{b{{ANl{}{{ANd{c}}{ANf{e}}{ANh{g}}{ANj{i}}}}}}}e{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}}{{{b{{ANl{}{{ANd{c}}{ANf{e}}{ANh{g}}{ANj{i}}}}}}}c{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}}```{{{b{AJl}}{b{AfDl}}}Eb}0{{{b{AJn}}{b{AfDl}}}Eb}0{{{b{AK`}}{b{AfDl}}}Eb}0{{{b{AJh}}{b{AfDl}}}Eb}0{{{b{{ABd{c}}}}{b{AfDl}}}EbAd}{{{b{{ABd{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{ACd{c}}}}{b{AfDl}}}EbAd}{{{b{{ACd{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{AKb{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{AKd{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{AKf}}{b{AfDl}}}Eb}{{{b{{ALd{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{ALf{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{F`}}{b{AfDl}}}Eb}0{{{b{ALh}}{b{AfDl}}}Eb}{{{b{{ALj{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{ALl{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{ABh{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{ALn}}{b{AfDl}}}Eb}{{{b{{ACf{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{AM`}}{b{AfDl}}}Eb}{{{b{AMb}}{b{AfDl}}}Eb}{{{b{{AMd{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{AMf{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{AKh}}{b{AfDl}}}Eb}0{{{b{AKj}}{b{AfDl}}}Eb}0{{{b{AKl}}{b{AfDl}}}Eb}0{{{b{AKn}}{b{AfDl}}}Eb}0{{{b{AL`}}{b{AfDl}}}Eb}0{{{b{ALb}}{b{AfDl}}}Eb}0{{{b{Ej}}{b{AfDl}}}Eb}0{{{b{{AMh{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{AMj{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{AMl{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{AMn{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{AN`{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{ANb{c}}}}{b{AfDl}}}Eb{E`Ad}}{cc{}}00{AJjAJh}11111111{ANnF`}{AO`F`}333333333333{A`AKh}{A`AKj}5{A`AKl}6{F`AKl}{A`AKn}8{AKjAL`}{AKnAL`}{AKhAL`};{A`AL`}{A`ALb}=={{{ALd{c}}}{{AMh{c}}}Ad}>>{{{ADb{{ALf{c}}}}}{{AMj{c}}}Ad}??{{{ADb{{ALl{c}}}}}{{AMn{c}}}Ad}{cc{}}{{{AMd{c}}}{{AN`{c}}}Ad}1{{{AMf{c}}}{{ANb{c}}}Ad}`````{{ce}{{Fl{eg}}}{}{FnG`Gb}{}}0000000000000`````{c{}{}}0000000{{}Cb}0000000000000000000000000000000000{ce{}{}}0000000000000000000000000000000000{c{{AOb{An}}}{}}{{{b{AK`}}}Cl}00```{{}{{Cf{GhGj}}}}0000000000000000000000000000000000{{{b{{AOd{}{{ANj{c}}}}}}}c{BdE`HlKfG`GbK`Kb}}{{{b{{ANl{}{{ANd{c}}{ANf{e}}{ANh{g}}{ANj{i}}}}}}}{{ADb{i}}}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}}{{AK`AJj}AJh}````````{{{b{AK`}}{b{AK`}}}{{n{Lh}}}}{b}0000000000000000000000000000000000{{{b{{ANl{}{{ANd{c}}{ANf{e}}{ANh{g}}{ANj{i}}}}}}}g{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}}```{{{b{{ANl{}{{ANd{c}}{ANf{e}}{ANh{g}}{ANj{i}}}}}}}c{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}}````{{{b{AJl}}c}CfHn}{{{b{AJn}}c}CfHn}{{{b{AK`}}c}CfHn}{{{b{AJh}}c}CfHn}{{{b{AKf}}c}CfHn}{{{b{{ALd{c}}}}e}CfAdHn}{{{b{{ALf{c}}}}e}CfAdHn}{{{b{ALh}}c}CfHn}{{{b{{ALj{c}}}}e}CfAdHn}{{{b{{ALl{c}}}}e}CfAdHn}{{{b{ALn}}c}CfHn}{{{b{AM`}}c}CfHn}{{{b{AMb}}c}CfHn}{{{b{{AMd{c}}}}e}CfAdHn}{{{b{{AMf{c}}}}e}CfAdHn}{{{b{AKh}}c}CfHn}{{{b{AKj}}c}CfHn}{{{b{AKl}}c}CfHn}{{{b{AKn}}c}CfHn}{{{b{AL`}}c}CfHn}{{{b{ALb}}c}CfHn}{{{b{Ej}}c}CfHn}{{{b{{AMh{c}}}}e}CfAdHn}{{{b{{AMj{c}}}}e}CfAdHn}{{{b{{AMl{c}}}}e}CfAdHn}{{{b{{AMn{c}}}}e}CfAdHn}{{{b{{AN`{c}}}}e}CfAdHn}{{{b{{ANb{c}}}}e}CfAdHn}{{{b{AK`}}}Cb}```{{{b{F`}}}{{n{{b{h}}}}}}{{{b{AKh}}}{{n{{b{h}}}}}}{{{b{AKj}}}{{n{{b{h}}}}}}{{{b{AKl}}}{{n{{b{h}}}}}}{{{b{AKn}}}{{n{{b{h}}}}}}{{{b{AL`}}}{{n{{b{h}}}}}}{{{b{ALb}}}{{n{{b{h}}}}}}{{{b{Ej}}}{{n{{b{h}}}}}}{{{b{AKh}}}Bb}{{{b{AKj}}}Bb}{{{b{AKl}}}Bb}{{{b{AKn}}}Bb}{{{b{AL`}}}Bb}{{{b{ALb}}}Bb}{{{b{Ej}}}Bb}{{AJhAJh}c{}}```````{{{b{c}}}e{}{}}000000000000000{{{b{c}}}An{}}0000000000000````{c{{Cf{e}}}{}{}}0{{{b{Cd}}}{{Cf{AK`c}}}{}}11111111{{{L`{c}}}{{Cf{{ALd{c}}e}}}Ad{}}{{{L`{c}}}{{Cf{{ALf{c}}e}}}Ad{}}33333{{{Ef{{b{{L`{c}}}}Cb}}}{{Cf{{ALl{c}}e}}}Ad{}}4444444444444444444444444444444444444444444444444444444{{{b{c}}}I`{}}0000000000000000000000000000000000{AJjAJh}`{ce{}{}}0000000000000000000000000000000000`````{{{b{c}}d}f{}}{{{b{c}}}{{b{e}}}{}{}}{{{b{Afc}}}{{b{Afe}}}{}{}}{{{b{{AOf{ce}}}}}{{AOf{ce}}}{}{}}{{{b{c}}{b{Afe}}}f{}{}}{{}{{AOf{ce}}}{}{}}{Cb{{b{c}}}{}}{Cb{{b{Afc}}}{}}{{{b{c}}{b{Afe}}}{{Cf{{Cj{gi}}}}}{}{}{}{}}{Cbf}{{{b{{AOf{ce}}}}{b{AfDl}}}Eb{}{}}{cc{}}{{}Cb}={{}{{Cf{GhGj}}}}{b}``{{AOhc}f{}}{{AOjc}{{`{{Ob{}{{A@h{f}}}}G`}}}{}}{{{b{{AOf{eg}}}}eik}f{}{{AOl{c}}}AOj{{AOn{ce}}}{{AIf{}{{Kh{g}}}}G`}}{{{b{c}}}e{}{}}{c{{Cf{e}}}{}{}}0{{{b{c}}}I`{}}{ce{}{}}{{{AOf{ce}}{Df{B@`}}}{{AOf{ce}}}{}{}}{{{AOf{ce}}AAd}{{AOf{ce}}}{}{}}`````{{{b{c}}d}f{}}000{{{b{{B@b{c}}}}}f{}}{{{b{c}}}{{b{e}}}{}{}}000{{{b{Afc}}}{{b{Afe}}}{}{}}000{{{b{{B@d{c}}}}}{{B@d{c}}}Ad}{{{b{{B@f{c}}}}}{{B@f{c}}}{BdHj}}{{{b{{B@b{c}}}}}{{B@b{c}}}{}}{{{b{B@h}}}B@h}{{{b{c}}{b{Afe}}}f{}{}}000{{}{{B@d{c}}}Ad}{{}B@h}{Cb{{b{c}}}{}}000{Cb{{b{Afc}}}{}}000{{{b{c}}{b{Afe}}}{{Cf{{Cj{gi}}}}}{}{}{}{}}000{Cbf}000={{{b{AOn}}e}{{Od{{N`{Ob}}}}}{}{{AOl{c}}}}{{{b{{B@d{c}}}}B@j}{{Od{{N`{Ob}}}}}Ad}{{{b{{B@d{c}}}}B@l}{{Od{{N`{Ob}}}}}Ad}{{{b{{B@d{c}}}}B@n}{{Od{{N`{Ob}}}}}Ad}{{{b{{B@f{c}}}}B@n}{{Od{{N`{Ob}}}}}Hj}{{{b{{B@f{c}}}}B@l}{{Od{{N`{Ob}}}}}Hj}{{{b{{B@f{c}}}}B@j}{{Od{{N`{Ob}}}}}Hj}{{{b{{B@b{g}}}}e}{{Od{{N`{Ob}}}}}Ad{{AOl{c}}}{{AOn{ce}}Gb}}{{{b{B@h}}e}{{Od{{N`{Ob}}}}}{}{G`{AOl{c}}}}{{{b{{B@d{c}}}}{b{AfDl}}}EbAd}{{{b{{B@f{c}}}}{b{AfDl}}}Eb{E`Hj}}{{{b{{B@b{c}}}}{b{AfDl}}}EbE`}{{{b{B@h}}{b{AfDl}}}Eb}{cc{}}000{{}Cb}000{ce{}{}}000{{}{{Cf{GhGj}}}}000{{BA`c}{{B@f{c}}}Hj}{c{{B@b{c}}}{}}{b}000{{{b{c}}}e{}{}}000{c{{Cf{e}}}{}{}}0000000{{{b{c}}}I`{}}000{{{b{{B@b{c}}}}}f{}}08888{{{B@d{c}}e}{{B@d{c}}}Ad{{AOn{cB@j}}E`}}{{{B@d{c}}e}{{B@d{c}}}Ad{{AOn{cB@n}}E`}}{{{B@d{c}}e}{{B@d{c}}}Ad{{AB`{c}}E`}}{{{B@d{c}}e}{{B@d{c}}}Ad{{AOn{cB@l}}E`}}`````{{{b{c}}d}f{}}00{{{b{c}}}{{b{e}}}{}{}}00{{{b{Afc}}}{{b{Afe}}}{}{}}00{{{b{B@j}}}B@j}{{{b{B@l}}}B@l}{{{b{B@n}}}B@n}{{{b{c}}{b{Afe}}}f{}{}}00{Cb{{b{c}}}{}}00{Cb{{b{Afc}}}{}}00{{{b{c}}{b{Afe}}}{{Cf{{Cj{gi}}}}}{}{}{}{}}00{Cbf}00{{{b{B@j}}{b{B@j}}}Cl}{{{b{B@l}}{b{B@l}}}Cl}{{{b{B@n}}{b{B@n}}}Cl}{{{b{c}}{b{e}}}Cl{}{}}00000000000{{{b{B@j}}{b{AfDl}}}Eb}{{{b{B@l}}{b{AfDl}}}Eb}{{{b{B@n}}{b{AfDl}}}Eb}{cc{}}00{CbB@n}{{{b{c}}{b{e}}}Bn{FdFf}Fh}00{{{b{B@j}}{b{Afc}}}fFj}{{{b{B@l}}{b{Afc}}}fFj}{{{b{B@n}}{b{Afc}}}fFj}{{}Cb}00{ce{}{}}00{{}{{Cf{GhGj}}}}00{b}00{{{b{c}}}e{}{}}00{c{{Cf{e}}}{}{}}00000{{{b{c}}}I`{}}00555`````````````````{{{b{c}}d}f{}}0`{{{b{c}}}{{b{h}}}{}}00{{{b{Eh}}}{{n{{b{l}}}}}}{{{b{c}}}{{b{e}}}{}{}}00{{{b{Afc}}}{{b{Afe}}}{}{}}00{{{b{Eh}}}{{n{{b{h}}}}}}{{{b{{ABn{ce}}}}}{{ABn{ce}}}Ad{{AC`{c}}}}{{{b{Eh}}}Eh}{{{b{c}}{b{Afe}}}f{}{}}0{{{b{{ABn{ce}}}}{b{{ABn{ce}}}}}LhAd{{AC`{c}}}}{{{b{c}}{b{e}}}Lh{}{}}{{}BAb}{{{b{BAb}}}{{Cf{{Mj{cEhe}}Ml}}}{G`GbMn}Hj}{Cb{{b{c}}}{}}00{Cb{{b{Afc}}}{}}00{{{b{Eh}}}{{b{Cd}}}}{{{b{c}}{b{Afe}}}{{Cf{{Cj{gi}}}}}{}{}{}{}}0{c{{Cf{Eh}}}Ch}1{Cbf}00{{{b{{ABn{ce}}}}{b{{ABn{ce}}}}}ClAd{{AC`{c}}}}{{{b{c}}{b{e}}}Cl{}{}}000`{{{b{{ABn{ce}}}}{b{AfDl}}}EbAd{{AC`{c}}}}0{{{b{Eh}}{b{AfDl}}}Eb}0{cc{}}0{NhEh}{{{Ef{AnBb}}}Eh}{A`Eh}3{{{b{c}}{b{e}}}Bn{FdFf}Fh}{{{b{ABl}}}{{Od{{N`{Ob}}}}}}{{{b{ACb}}{ABn{ce}}}{{Od{{N`{Ob}}}}}Ad{{AC`{c}}}}{{{b{{ABn{ce}}}}{b{Afg}}}fAd{{AC`{c}}}Fj}{{ce}{{Fl{eg}}}{}{FnG`Gb}{}}0{{}{{b{Cd}}}}{c{}{}}{{}Cb}00{{{b{AfADd}}AD`{ADb{Cb}}Bn}{{Od{{N`{Ob}}}}}}{{{b{Af{AC`{}{{BAd{c}}{BAf{e}}{BAh{g}}{BAj{i}}{BAl{k}}}}}}c{b{{AD`{ecg}}}}}{{AAn{f}}}{BAnG`GbHlBB`BBbKfFnBBdBBf}{BBhG`GbHlKfBBdBBf}{BBjG`}{{BBl{g}}G`{BC`{{b{BBn}}}}FnE`{B`{BBn}}}{{BCb{ecg}}}}{ce{}{}}00{{}{{Cf{GhGj}}}}00{{{b{{ABn{ce}}}}{b{{ABn{ce}}}}}{{n{Lh}}}Ad{{AC`{c}}}}{b}00{{{b{Eh}}c}CfHn}{{{b{AfABl}}Cb}{{Od{{N`{Ob}}}}}}{{{b{Eh}}}{{n{{b{h}}}}}};{{{b{Eh}}}Bb}{{{b{c}}}e{}{}}0{{{b{c}}}An{}}0<{c{{Cf{e}}}{}{}}00000{{{b{c}}}I`{}}00;;;````````````````{{{b{c}}d}f{}}0000000{{{b{BCd}}Cb}f}{{{b{BCf}}BCh}f}{{{b{c}}}{{b{h}}}{}}00{{{b{BCj}}}{{n{{b{l}}}}}}{{{b{c}}}{{b{e}}}{}{}}00000000{{{b{Afc}}}{{b{Afe}}}{}{}}00000000{{{b{BCj}}}{{n{{b{h}}}}}}{{{b{ADf}}}ADf}{{{b{BCd}}}BCd}{{{b{BCl}}}BCl}{{{b{BCf}}}BCf}{{{b{BCn}}}BCn}{{{b{BD`}}}BD`}{{{b{BDb}}}BDb}{{{b{BDd}}}BDd}{{{b{c}}{b{Afe}}}f{}{}}0000000{{{b{ADf}}An{ADb{An}}}{{N`{BDf}}}}{{{b{BCn}}{ADb{An}}}{{N`{BDh}}}}{{{b{BD`}}{ADb{An}}}{{N`{BDj}}}}{{{b{BDb}}{ADb{An}}}{{N`{BDl}}}}{{{b{BDd}}{ADb{An}}}f}{{{b{ADf}}An{n{An}}}{{N`{BDh}}}}{{{b{ADf}}An{n{An}}}{{N`{BDj}}}}{{{b{ADf}}An{n{An}}}{{N`{BDl}}}}{{{b{ADf}}An}f}{{}ADf}{Cb{{b{c}}}{}}00000000{Cb{{b{Afc}}}{}}00000000{{{b{BCj}}}{{b{Cd}}}}{{{b{c}}{b{Afe}}}{{Cf{{Cj{gi}}}}}{}{}{}{}}00000000{Cbf}00000000{{{b{ADf}}}{{Cf{Anc}}}{}}{{{b{BCj}}{b{AfDl}}}Eb}0{{{b{ADf}}{b{AfDl}}}Eb}{{{b{BCd}}{b{AfDl}}}Eb}{{{b{BCl}}{b{AfDl}}}Eb}{{{b{BCf}}{b{AfDl}}}Eb}{{{b{BCn}}{b{AfDl}}}Eb}{{{b{BD`}}{b{AfDl}}}Eb}{{{b{BDb}}{b{AfDl}}}Eb}{{{b{BDd}}{b{AfDl}}}Eb}{BDnBCj}{cc{}}00000000{{{b{ADf}}{b{Cd}}}{{Cf{BD`BCj}}}}{{{b{ADf}}An{ADb{An}}}{{N`{BE`}}}}{{{b{BCd}}}Cb}{{{b{BCl}}}Cb}{{{b{BCn}}{b{{AFl{c}}}}}BCd{{BEb{Cd}}}}{{{b{BD`}}{b{{AFl{c}}}}}BCl{{BEb{Cd}}}}{{{b{BDb}}{b{{AFl{c}}}}}BCf{{BEb{Cd}}}}{{{b{ADf}}{b{Cd}}}{{Cf{BCdBCj}}}}{{{b{ADf}}{b{Cd}}}{{Cf{BCnBCj}}}}{{{b{ADf}}{b{Cd}}}{{Cf{BClBCj}}}}{{{b{ADf}}{b{Cd}}}{{Cf{BCfBCj}}}}{{{b{ADf}}{b{Cd}}}{{Cf{BDbBCj}}}}{{{b{ADf}}c}{{Cf{ADfBCj}}}AIf}{{ce}{{Fl{eg}}}{}{FnG`Gb}{}}{{{b{ADf}}An{ADb{An}}}{{N`{BEd}}}}{c{}{}}{{}Cb}00000000{ce{}{}}00000000{{}{{Cf{GhGj}}}}00000000{{{b{BCf}}}BCh}{b}00000000{{{b{BCf}}}Cb}{{{b{BCl}}Cb}f}{{{b{BCj}}}{{n{{b{h}}}}}}{{{b{ADf}}An}{{N`{ADh}}}}5{{{b{ADf}}An{ADb{An}}}{{N`{BEf}}}}{{{b{c}}}e{}{}}0000000{{{b{c}}}An{}}{c{{Cf{e}}}{}{}}00000000000000000{{{b{c}}}I`{}}00000000{{{b{BCl}}AF`}f}=========`````````````````````````{{{b{c}}d}f{}}00000000`{{{b{c}}}{{b{h}}}{}}00{{{b{En}}}{{n{{b{l}}}}}}`{{{b{H`}}}{{Od{{N`{Ob}}}}}}{{{b{c}}}{{b{e}}}{}{}}000000000{{{b{Afc}}}{{b{Afe}}}{}{}}000000000{{{BEh{ce}}}En{{B`{An}}}{{B`{Bb}}}}{{{b{En}}}{{n{{b{h}}}}}}{{{b{{ABj{c}}}}}{{ABj{c}}}Ad}{{{b{BEj}}}BEj}{{{b{{BEl{c}}}}}{{BEl{c}}}Bd}{{{b{BEn}}}BEn}{{{b{BF`}}}BF`}{{{b{{BFb{c}}}}}{{BFb{c}}}Bd}{{{b{{BFd{ce}}}}}{{BFd{ce}}}BdBd}{{{b{{BEh{ce}}}}}{{BEh{ce}}}BdBd}{{{b{En}}}En}{{{b{c}}{b{Afe}}}f{}{}}00000000{{{b{BEj}}{b{BEj}}}Lh}{{{b{c}}{b{e}}}Lh{}{}}{{{b{H`}}}{{Od{{N`{Ob}}}}}}{{}{{BEl{c}}}{}}{{}BFf}{{{b{BFf}}c}{{Cf{{Mj{eEnc}}Ml}}}Hj{G`GbMn}}{Cb{{b{c}}}{}}000000000{Cb{{b{Afc}}}{}}000000000{{{b{En}}}{{b{Cd}}}}{{{b{c}}{b{Afe}}}{{Cf{{Cj{gi}}}}}{}{}{}{}}0{c{{Cf{BEj}}}Ch}1{c{{Cf{{BEl{e}}}}}ChBFh}222222{c{{Cf{En}}}Ch}3{Cbf}000000000`{{{b{BEj}}{b{BEj}}}Cl}{{{b{{BEl{c}}}}{b{{BEl{c}}}}}ClK`}{{{b{c}}{b{e}}}Cl{}{}}0000000`{{{BEh{ce}}}{{Cf{gEn}}}{{B`{An}}}{{B`{Bb}}}{}}{{{b{{ABj{c}}}}{b{AfDl}}}EbAd}{{{b{BEj}}{b{AfDl}}}Eb}{{{b{{BEl{c}}}}{b{AfDl}}}EbE`}{{{b{BEn}}{b{AfDl}}}Eb}{{{b{BF`}}{b{AfDl}}}Eb}{{{b{{BFb{c}}}}{b{AfDl}}}EbE`}{{{b{{BFd{ce}}}}{b{AfDl}}}EbE`E`}{{{b{{BEh{ce}}}}{b{AfDl}}}EbE`E`}{{{b{En}}{b{AfDl}}}Eb}0{{{If{c}}}{{ABj{c}}}Ad}{cc{}}0{{{b{{BEl{c}}}}}{{n{Bn}}}BFj}1111111{NhEn}{{{Ef{AnBb}}}En}3{A`En}{{}BEj}{{{b{c}}{b{e}}}Bn{FdFf}Fh}{{{b{H`}}eBn}{{Od{{N`{Ob}}}}}Ad{{B`{{ABj{c}}}}G`Gb}}{{{b{BEj}}{b{Afc}}}fFj}{{ce}{{Fl{eg}}}{}{FnG`Gb}{}}{c{}{}}{{}Cb}000000000{cEnFn}{ce{}{}}000000000{{BEnc}En{}}{{BF`c}En{}}{{{BFb{c}}e}En{{B`{An}}}{}}{{{BFd{ce}}g}En{{B`{An}}}{{B`{Bn}}}{}}{{{BEh{ce}}g}En{{B`{An}}}{{B`{Bb}}}{}}{{{b{BEj}}}Cl}{{}{{Cf{GhGj}}}}000000000``````{{{b{BEj}}{b{BEj}}}{{n{Lh}}}}{{{b{H`}}}{{Od{{N`{Ob}}}}}}{b}000000000``{{{b{BEj}}c}CfHn}{{{b{{BEl{c}}}}e}CfHlHn}{{{b{En}}c}CfHn}{{{b{En}}}{{n{{b{h}}}}}}`{{{b{En}}}Bb}`6{{{b{c}}}e{}{}}00000000{{{b{c}}}An{}}{c{{Cf{e}}}{}{}}0000000000000000000{{{b{c}}}I`{}}000000000{{{b{H`}}e}{{Od{{N`{Ob}}}}}Ad{{B`{{Kn{c}}}}G`Gb}}{ce{}{}}000000000````````````````{{{b{c}}d}f{}}`{{{b{c}}}{{b{h}}}{}}00{{{b{El}}}{{n{{b{l}}}}}}{{{b{Hb}}}{{Od{{N`{Ob}}}}}}{{{b{c}}}{{b{e}}}{}{}}0{{{b{Afc}}}{{b{Afe}}}{}{}}0{{{b{El}}}{{n{{b{h}}}}}}{{{b{El}}}El}{{{b{c}}{b{Afe}}}f{}{}}{{{b{Hb}}}{{AGb{ADf}}}}0{{}BFl}{{{b{BFl}}c}{{Cf{{Mj{eElc}}Ml}}}Hj{G`GbMn}}{Cb{{b{c}}}{}}0{Cb{{b{Afc}}}{}}0{{{b{El}}}{{b{Cd}}}}{{{b{c}}{b{Afe}}}{{Cf{{Cj{gi}}}}}{}{}{}{}}{c{{Cf{El}}}Ch}1{Cbf}0>>`{{{b{El}}{b{AfDl}}}Eb}0{cc{}}0{AnEl}{NhEl}{{ce}{{Fl{eg}}}{}{FnG`Gb}{}}{c{}{}}{{}Cb}0{ce{}{}}0{{}{{Cf{GhGj}}}}0{{{b{Hb}}}{{b{ADf}}}}{b}0{{{b{BFn}}}{{N`{ADh}}}}{{{b{El}}c}CfHn}{{{b{El}}}{{n{{b{h}}}}}}{{{b{El}}}Bb}{{{b{Hb}}}{{Od{{N`{Ob}}}}}}0{{{b{c}}}e{}{}}{{{b{c}}}An{}}{c{{Cf{e}}}{}{}}000{{{b{c}}}I`{}}0<<````{{}f}{AAdf}```````{{{b{c}}}{{b{e}}}{}{}}{{{b{Afc}}}{{b{Afe}}}{}{}}{{{b{c}}}{{Od{{N`{Ob}}}}}{}}{Cb{{Od{{N`{Ob}}}}}}{{{b{{AGl{c}}}}}{{Df{{Dd{c}}}}}BG`}{{{b{{AGl{c}}}}Cb}{{Df{{Dd{c}}}}}BG`}{Cb{{b{c}}}{}}{Cb{{b{Afc}}}{}}{{{b{c}}{b{Afe}}}{{Cf{{Cj{gi}}}}}{}{}{}{}}{Cbf}{{{b{Af{AGl{c}}}}}fBG`}{cc{}}{{{b{{AGl{c}}}}}{{b{{Gl{AChBGb}}}}}BG`}{{{b{Af{BG`{}{{BGd{c}}}}}}{b{{ACj{ACh}}}}}{{Od{{N`{Ob}}}}}{G`Gb}}{{}{{AGl{c}}}{BG`BFn}}{{}Cb}{c{{AGl{e}}}{{A@j{{b{Af{BGh{BGf}}}}}}}{BG`BFn}}{ce{}{}}{{}{{Cf{GhGj}}}}{{{b{{AGl{c}}}}}CbBG`}{b}{{{b{{AGl{c}}}}Cb}{{BGj{ACh}}}BG`}{{{b{c}}}{{Od{{N`{Ob}}}}}{}}{{{b{Af{AGl{{BG`{}{{BGd{c}}}}}}}}}{{Od{{N`{Ob}}}}}{G`Gb}}{{{AGl{c}}}fBG`}{{{b{Af{AGl{c}}}}eg}fBG`Fn{ObG`}}?{{{b{{AGl{c}}}}}bBG`}{{{b{{AGl{c}}}}BGl}fBG`}{c{{Cf{e}}}{}{}}0{{{b{c}}}I`{}}<````````````{{{b{c}}d}f{}}0``{{{b{c}}}{{b{e}}}{}{}}0{{{b{Afc}}}{{b{Afe}}}{}{}}0`{{{b{ACh}}}ACh}{{{b{BGb}}}BGb}{{{b{c}}{b{Afe}}}f{}{}}0{{{b{ACh}}{b{ACh}}}Lh}{{{b{BGb}}{b{BGb}}}Lh}{{{b{c}}{b{e}}}Lh{}{}}0{{}ACh}{{}BGb}{Cb{{b{c}}}{}}0{Cb{{b{Afc}}}{}}0{c{{Cf{ACh}}}Ch}{{{b{c}}{b{Afe}}}{{Cf{{Cj{gi}}}}}{}{}{}{}}{c{{Cf{BGb}}}Ch}1{Cbf}0{{{b{ACh}}{b{ACh}}}Cl}{{{b{BGb}}{b{BGb}}}Cl}{{{b{c}}{b{e}}}Cl{}{}}0000000{{{b{BGn}}}c{}}0{{{b{ACh}}{b{AfDl}}}Eb}{{{b{BGb}}{b{AfDl}}}Eb}{cc{}}0{{{b{c}}{b{e}}}Bn{FdFf}Fh}0{{{b{ACh}}{b{Afc}}}fFj}{{{b{BGb}}{b{Afc}}}fFj}{{}{{b{Cd}}}}{{{b{BGn}}}Bn}{{}Cb}0{{{b{AfBH`}}c{b{{AD`{ecg}}}}}{{AAn{f}}}{}{}{}}{ce{}{}}0{{{b{BHb}}{b{c}}}e{}{}}`{{}{{Cf{GhGj}}}}0{{{b{BHb}}{b{c}}}Cb{}}{{{ADb{AFj}}}BGl}{{{b{BGl}}}c{}}{{{b{BGn}}}{{ADb{c}}}{}}{{{b{ACh}}{b{ACh}}}{{n{Lh}}}}{{{b{BGb}}{b{BGb}}}{{n{Lh}}}}`{b}0`{{{b{BGn}}}c{}}0{{{b{ACh}}c}CfHn}{{{b{BGb}}c}CfHn}`{{}{{b{Cd}}}}{{{b{BGn}}}Bn}`{{{b{c}}}e{}{}}0{{{b{BHb}}{b{c}}{b{e}}}{{n{{Ef{gi}}}}}{}{}{}{}}`{{}Cb}{c{{Cf{e}}}{}{}}000{{{b{c}}}I`{}}0```{ce{}{}}0`{{{b{BFj}}}Bn}","D":"DLf","p":[[1,"reference"],[5,"Private",3890],[1,"unit"],[10,"Error",3891],[6,"Error",0,3892],[5,"Backtrace",3893],[6,"Option",3894],[6,"QueryError",0],[5,"Leaf",0,3895],[10,"NodeType",3896],[0,"mut"],[5,"NotFoundSnafu",0],[5,"MissingSnafu",0],[5,"ErrorSnafu",0],[5,"String",3897],[10,"Into",3898],[5,"StatusCode",3899],[10,"Clone",3900],[5,"Commitment",3901],[10,"Resolvable",0,3902],[10,"Committable",3901],[10,"RngCore",3903],[1,"u64"],[5,"Options",0],[1,"usize"],[1,"str"],[6,"Result",3904],[10,"Deserializer",3905],[5,"With",3906],[1,"bool"],[5,"UpgradeProposalData",3907],[5,"UpgradeThreshold",3908],[5,"SimpleCertificate",3908],[5,"RwLock",3909],[5,"Arc",3910],[5,"Error",1473,3911],[6,"BlockError",3895],[5,"Formatter",3912],[5,"Error",3912],[10,"Debug",3912],[8,"Result",3912],[6,"Error",273],[1,"tuple"],[6,"Error",3013],[6,"Error",1741],[6,"Error",3666],[6,"Error",3369],[6,"TimestampConversionError",1741,3913],[5,"QuorumProposal",3895],[10,"Hash",3914],[10,"Sized",3915],[10,"BuildHasher",3914],[10,"Hasher",3914],[5,"IndentedSection",3916],[10,"Display",3912],[10,"Send",3915],[10,"Sync",3915],[5,"QuorumData",3907],[5,"SuccessThreshold",3908],[5,"Layout",3917],[5,"LayoutError",3917],[5,"SystemContextHandle",3918],[10,"AvailabilityDataSource",273,3919],[10,"NodeDataSource",3369,3920],[10,"StatusDataSource",3666,3921],[10,"UpdateDataSource",938,3922],[10,"VersionedDataSource",938,3922],[10,"NodeImplementation",3896],[10,"StaticVersionType",3923],[10,"Serialize",3924],[10,"Serializer",3924],[5,"TypeId",3925],[5,"InconsistentLeafError",273,3926],[5,"LeafQueryData",273,3926],[8,"BlockHash",273,3926],[5,"PayloadQueryData",273,3926],[5,"VidCommonQueryData",273,3926],[5,"TransactionQueryData",273,3926],[5,"FetchLeafSnafu",273],[5,"FetchBlockSnafu",273],[5,"FetchTransactionSnafu",273],[5,"InvalidTransactionIndexSnafu",273],[5,"CustomSnafu",273],[17,"TransactionIndex"],[17,"Iter"],[17,"InclusionProof"],[10,"QueryablePayload",273,3926],[10,"PartialEq",3927],[10,"Eq",3927],[10,"Ord",3927],[10,"DeserializeOwned",3905],[17,"Item"],[10,"Iterator",3928],[6,"LeafId",273,3919],[6,"BlockId",273,3919],[5,"BlockQueryData",273,3926],[5,"BlockSummaryQueryData",273,3926],[5,"TransactionSummaryQueryData",273,3926],[5,"RequestSnafu",273],[6,"Ordering",3927],[8,"VidCommon",0,3929],[6,"Fetch",273,3930],[10,"ErrorCompat",3931],[17,"Source"],[5,"NoneError",3931],[10,"IntoError",3931],[8,"Payload",0],[5,"Options",273],[5,"Api",3932],[6,"ApiError",3932],[10,"ReadState",3933],[5,"Box",3934],[8,"TransactionIndex",273,3926],[8,"Transaction",0],[8,"LeafHash",273,3926],[6,"RequestError",3935],[17,"LeafRange"],[17,"BlockRange"],[17,"PayloadRange"],[17,"VidCommonRange"],[10,"Future",3936],[5,"Pin",3937],[10,"Stream",3938],[10,"Unpin",3915],[10,"RangeBounds",3939],[8,"TransactionHash",273,3926],[8,"VidCommitment",0,3929],[8,"Header",0],[17,"Error"],[10,"UpdateAvailabilityData",273,3919],[8,"VidShare",0,3929],[17,"Output"],[10,"FnOnce",3940],[8,"Metadata",0],[8,"QuorumCertificate",3908],[8,"TransactionInclusionProof",273,3926],[10,"QueryableHeader",273,3926],[5,"Duration",3941],[5,"ExtensibleDataSource",938,3942],[5,"MetricsDataSource",938,3943],[5,"Path",3944],[8,"FileSystemDataSource",938,3945],[8,"Result",3911],[10,"AvailabilityProvider",1059],[5,"AtomicStoreLoader",3946],[6,"BlockIdentifier",1741,3913],[10,"ExplorerStorage",1249],[5,"GetBlockSummariesRequest",1741,3913],[6,"WindowStart",3369,3920],[10,"MerklizedStateHeightPersistence",3013,3947],[6,"Snapshot",3013,3947],[10,"MerklizedState",3013,3947],[10,"MerklizedStateDataSource",3013,3947],[6,"TransactionIdentifier",1741,3913],[5,"GetTransactionSummariesRequest",1741,3913],[5,"MockTypes",3782],[5,"Event",3948],[10,"Default",3949],[10,"TestableDataSource",3742],[5,"MerkleProof",3950],[5,"Vec",3951],[10,"UpdateStateData",3013,3947],[5,"PrometheusMetrics",3131],[10,"Metrics",3952],[5,"FetchingDataSource",1059],[5,"Builder",1059],[10,"AvailabilityStorage",1249],[5,"Pruner",1059],[5,"Config",1473],[8,"Builder",1230],[5,"FileSystemStorage",1274],[5,"StorageReadGuard",1059],[5,"StorageWriteGuard",1059],[5,"RwLockReadGuard",3909],[5,"RwLockWriteGuard",3909],[1,"i64"],[5,"DynGuard",3953],[5,"Cmd",3954],[6,"Value",3955],[5,"RedisError",3955],[1,"u8"],[1,"slice"],[5,"SqlStorage",1473],[5,"Transaction",1473],[8,"QueryResult",0],[8,"SqlDataSource",1230],[6,"PersistenceError",3956],[5,"NoStorage",1317],[6,"DataSource",1361],[5,"MockNetwork",3742],[5,"PrunerCfg",1427],[10,"PruneStorage",1427],[10,"PrunerConfig",1427],[10,"PrunedHeightStorage",1427],[1,"u16"],[1,"i32"],[5,"OffsetDateTime",3957],[5,"Migration",1473,3958],[5,"Chain",3911],[10,"Query",1473],[5,"Pruner",1473],[10,"ToStatement",3959],[10,"IntoIterator",3960],[1,"never"],[5,"Config",3961],[6,"Type",3958],[5,"Error",3962],[1,"array"],[10,"BorrowToSql",3963],[1,"u32"],[5,"TmpDb",1700],[5,"MonetaryValue",1741,3964],[1,"i128"],[5,"CurrencyMismatchError",1741,3965],[5,"InvalidCurrencyCodeError",1741,3965],[6,"CurrencyCode",1741,3965],[5,"BlockRange",1741,3913],[5,"TransactionRange",1741,3913],[5,"Timestamp",1741,3913],[6,"GetBlockDetailError",1741,3913],[6,"GetBlockSummariesError",1741,3913],[6,"GetTransactionDetailError",1741,3913],[6,"GetTransactionSummariesError",1741,3913],[6,"GetExplorerSummaryError",1741,3913],[6,"GetSearchResultsError",1741,3913],[5,"BlockDetail",1741,3913],[5,"BlockSummary",1741,3913],[5,"FeeAttribution",1741,3913],[5,"TransactionDetail",1741,3913],[5,"TransactionSummary",1741,3913],[6,"TransactionSummaryFilter",1741,3913],[5,"GenesisOverview",1741,3913],[5,"ExplorerHistograms",1741,3913],[5,"ExplorerSummary",1741,3913],[5,"SearchResult",1741,3913],[5,"BlockDetailResponse",1741],[5,"BlockSummaryResponse",1741],[5,"TransactionDetailResponse",1741],[5,"TransactionSummariesResponse",1741],[5,"ExplorerSummaryResponse",1741],[5,"SearchResultResponse",1741],[17,"BalanceAmount"],[17,"WalletAddress"],[17,"ProposerId"],[17,"NamespaceId"],[10,"ExplorerHeader",1741,3966],[5,"ComponentRange",3967],[5,"TryFromIntError",3968],[6,"Resettable",3969],[10,"ExplorerTransaction",1741,3966],[5,"Fetcher",2787],[10,"LocalCallback",2787],[10,"Callback",2787],[10,"Request",2926],[10,"Provider",2820],[5,"Semaphore",3970],[5,"TestProvider",2820,3971],[5,"AnyProvider",2820,3972],[5,"QueryServiceProvider",2820,3973],[5,"NoFetching",2820],[5,"PayloadRequest",2926],[5,"VidCommonRequest",2926],[5,"LeafRequest",2926],[5,"Url",3974],[5,"Options",3013],[17,"Key"],[17,"Entry"],[17,"T"],[17,"Commit"],[17,"Digest"],[10,"Index",3975],[10,"ToTraversalPath",3975],[10,"FromStr",3976],[10,"CanonicalSerialize",3977],[10,"CanonicalDeserialize",3977],[10,"Element",3975],[10,"NodeValue",3975],[10,"MerkleCommitment",3975],[5,"TaggedBase64",3978],[10,"TryFrom",3898],[10,"DigestAlgorithm",3975],[5,"Counter",3131],[5,"Histogram",3131],[1,"f64"],[6,"MetricsError",3131],[5,"Gauge",3131],[5,"CounterFamily",3131],[5,"GaugeFamily",3131],[5,"HistogramFamily",3131],[5,"TextFamily",3131],[10,"CounterFamily",3952],[10,"Counter",3952],[10,"Gauge",3952],[10,"Histogram",3952],[6,"Error",3979],[10,"GaugeFamily",3952],[10,"AsRef",3898],[10,"HistogramFamily",3952],[10,"TextFamily",3952],[5,"CustomSnafu",3369],[5,"SyncStatus",3369,3980],[5,"TimeWindowQueryData",3369,3980],[5,"RequestSnafu",3369],[5,"QuerySnafu",3369],[5,"QueryVidSnafu",3369],[5,"QueryWindowSnafu",3369],[5,"Options",3369],[10,"Deserialize",3905],[10,"HeightIndexed",3888],[5,"Options",3666],[10,"UpdateStatusData",3666,3921],[10,"DataSourceLifeCycle",3742],[5,"MockNodeImpl",3782],[17,"Storage"],[8,"BLSPubKey",3981],[5,"HotShotConfig",3982],[8,"SignatureKey",0],[8,"MockTransaction",3782],[8,"MockHeader",3782],[8,"MockMerkleTree",3782],[8,"MockPayload",3782],[15,"Custom",265],[15,"Availability",265],[15,"Node",265],[15,"Status",265],[15,"MerklizedState",265],[15,"Explorer",265],[15,"Error",272],[15,"InvalidTransactionIndex",930],[15,"Custom",930],[15,"FetchLeaf",930],[15,"FetchBlock",930],[15,"FetchTransaction",930],[15,"Request",930],[6,"Storage",1361],[15,"NoStorage",1426],[5,"TestMerkleTreeMigration",1700],[15,"Custom",3127],[15,"Request",3127],[15,"Query",3127],[15,"NoSuchMetric",3365],[15,"NoSuchSubgroup",3365],[15,"Prometheus",3365],[15,"QueryVid",3657],[15,"QueryWindow",3657],[15,"Custom",3657],[15,"Request",3657],[15,"Query",3657],[15,"Internal",3736],[15,"Request",3736],[8,"MockQuorumProposal",3782],[8,"MockStorage",3782],[8,"MockAuctionResults",3782]],"r":[[3,3892],[8,3895],[21,3902],[25,3929],[26,3929],[27,3929],[273,3919],[274,3926],[275,3919],[276,3926],[278,3926],[283,3930],[293,3926],[297,3926],[298,3919],[299,3926],[305,3926],[308,3926],[309,3926],[313,3926],[314,3926],[315,3926],[316,3926],[318,3926],[319,3926],[320,3919],[321,3926],[938,1059],[940,3942],[941,1059],[942,3945],[943,3943],[944,1230],[945,3922],[946,3922],[1231,1473],[1232,3911],[1233,3958],[1234,1473],[1236,1473],[1242,0],[1247,1700],[1251,1274],[1252,1317],[1253,1473],[1474,3911],[1475,3958],[1603,3983],[1604,0],[1741,3913],[1744,3913],[1746,3913],[1747,3913],[1749,3913],[1750,3913],[1755,3965],[1756,3965],[1761,3966],[1762,3913],[1763,3913],[1765,3966],[1766,3913],[1770,3913],[1772,3913],[1775,3913],[1777,3913],[1779,3913],[1781,3913],[1783,3913],[1785,3913],[1787,3913],[1793,3965],[1800,3964],[1804,3913],[1813,3913],[1818,3913],[1819,3913],[1822,3913],[1824,3913],[1825,3913],[1827,3913],[1829,3913],[1830,3913],[1838,3913],[2790,2820],[2791,2926],[2820,3972],[2823,3973],[2824,3971],[3021,3947],[3022,3947],[3023,3947],[3027,3947],[3029,3947],[3369,3926],[3370,3919],[3376,3920],[3386,3980],[3388,3980],[3389,3920],[3670,3921],[3671,3921]],"b":[[131,"impl-Debug-for-Leaf%3CTYPES%3E"],[132,"impl-Display-for-Leaf%3CTYPES%3E"],[133,"impl-Display-for-Error"],[134,"impl-Debug-for-Error"],[138,"impl-Debug-for-QueryError"],[139,"impl-Display-for-QueryError"],[141,"impl-From%3CError%3E-for-Error"],[142,"impl-From%3C(String,+StatusCode)%3E-for-Error"],[143,"impl-From%3CError%3E-for-Error"],[144,"impl-From%3CError%3E-for-Error"],[146,"impl-From%3CError%3E-for-Error"],[147,"impl-From%3CError%3E-for-Error"],[585,"impl-Debug-for-LeafId%3CTypes%3E"],[586,"impl-Display-for-LeafId%3CTypes%3E"],[587,"impl-Debug-for-BlockId%3CTypes%3E"],[588,"impl-Display-for-BlockId%3CTypes%3E"],[590,"impl-Display-for-InconsistentLeafError%3CTypes%3E"],[591,"impl-Debug-for-InconsistentLeafError%3CTypes%3E"],[604,"impl-Display-for-Error"],[605,"impl-Debug-for-Error"],[608,"impl-From%3CCommitment%3CLeaf%3CTypes%3E%3E%3E-for-LeafId%3CTypes%3E"],[610,"impl-From%3Cusize%3E-for-LeafId%3CTypes%3E"],[612,"impl-From%3Cusize%3E-for-BlockId%3CTypes%3E"],[613,"impl-From%3CCommitment%3C%3CTypes+as+NodeType%3E::BlockHeader%3E%3E-for-BlockId%3CTypes%3E"],[630,"impl-From%3C(String,+StatusCode)%3E-for-Error"],[632,"impl-From%3CRequestError%3E-for-Error"],[952,"impl-StatusDataSource-for-ExtensibleDataSource%3CD,+U%3E"],[953,"impl-NodeDataSource%3CTypes%3E-for-ExtensibleDataSource%3CD,+U%3E"],[969,"impl-DataSourceLifeCycle-for-FetchingDataSource%3CMockTypes,+FileSystemStorage%3CMockTypes%3E,+P%3E"],[970,"impl-FetchingDataSource%3CTypes,+FileSystemStorage%3CTypes%3E,+P%3E"],[1067,"impl-NodeDataSource%3CTypes%3E-for-FetchingDataSource%3CTypes,+S,+P%3E"],[1068,"impl-StatusDataSource-for-FetchingDataSource%3CTypes,+S,+P%3E"],[1238,"impl-DataSourceLifeCycle-for-FetchingDataSource%3CMockTypes,+SqlStorage,+P%3E"],[1239,"impl-FetchingDataSource%3CTypes,+SqlStorage,+P%3E"],[1367,"impl-NodeDataSource%3CMockTypes%3E-for-DataSource"],[1368,"impl-StatusDataSource-for-DataSource"],[1485,"impl-AsRef%3Cdyn+Error+%2B+Send+%2B+Sync%3E-for-Error"],[1486,"impl-AsRef%3Cdyn+Error%3E-for-Error"],[1562,"impl-Display-for-Error"],[1563,"impl-Debug-for-Error"],[1564,"impl-Display-for-Migration"],[1565,"impl-Debug-for-Migration"],[2250,"impl-Display-for-CurrencyMismatchError"],[2251,"impl-Debug-for-CurrencyMismatchError"],[2252,"impl-Debug-for-InvalidCurrencyCodeError"],[2253,"impl-Display-for-InvalidCurrencyCodeError"],[2254,"impl-Display-for-CurrencyCode"],[2255,"impl-Debug-for-CurrencyCode"],[2256,"impl-Debug-for-MonetaryValue"],[2257,"impl-Display-for-MonetaryValue"],[2258,"impl-Display-for-BlockIdentifier%3CTypes%3E"],[2259,"impl-Debug-for-BlockIdentifier%3CTypes%3E"],[2260,"impl-Display-for-TransactionIdentifier%3CTypes%3E"],[2261,"impl-Debug-for-TransactionIdentifier%3CTypes%3E"],[2267,"impl-Debug-for-TimestampConversionError"],[2268,"impl-Display-for-TimestampConversionError"],[2279,"impl-Debug-for-GetBlockDetailError"],[2280,"impl-Display-for-GetBlockDetailError"],[2281,"impl-Debug-for-GetBlockSummariesError"],[2282,"impl-Display-for-GetBlockSummariesError"],[2283,"impl-Debug-for-GetTransactionDetailError"],[2284,"impl-Display-for-GetTransactionDetailError"],[2285,"impl-Debug-for-GetTransactionSummariesError"],[2286,"impl-Display-for-GetTransactionSummariesError"],[2287,"impl-Display-for-GetExplorerSummaryError"],[2288,"impl-Debug-for-GetExplorerSummaryError"],[2289,"impl-Display-for-GetSearchResultsError"],[2290,"impl-Debug-for-GetSearchResultsError"],[2291,"impl-Debug-for-Error"],[2292,"impl-Display-for-Error"],[2311,"impl-From%3CComponentRange%3E-for-TimestampConversionError"],[2312,"impl-From%3CTryFromIntError%3E-for-TimestampConversionError"],[2328,"impl-From%3CQueryError%3E-for-GetTransactionDetailError"],[2330,"impl-From%3CTimestampConversionError%3E-for-GetTransactionDetailError"],[2333,"impl-From%3CGetBlockSummariesError%3E-for-GetExplorerSummaryError"],[2334,"impl-From%3CGetTransactionSummariesError%3E-for-GetExplorerSummaryError"],[2335,"impl-From%3CGetBlockDetailError%3E-for-GetExplorerSummaryError"],[2337,"impl-From%3CQueryError%3E-for-GetExplorerSummaryError"],[2866,"impl-Provider%3CTypes,+PayloadRequest%3E-for-AnyProvider%3CTypes%3E"],[2867,"impl-Provider%3CTypes,+VidCommonRequest%3E-for-AnyProvider%3CTypes%3E"],[2868,"impl-Provider%3CTypes,+LeafRequest%3E-for-AnyProvider%3CTypes%3E"],[2869,"impl-Provider%3CTypes,+LeafRequest%3E-for-QueryServiceProvider%3CVer%3E"],[2870,"impl-Provider%3CTypes,+VidCommonRequest%3E-for-QueryServiceProvider%3CVer%3E"],[2871,"impl-Provider%3CTypes,+PayloadRequest%3E-for-QueryServiceProvider%3CVer%3E"],[3072,"impl-Display-for-Snapshot%3CTypes,+T,+ARITY%3E"],[3073,"impl-Debug-for-Snapshot%3CTypes,+T,+ARITY%3E"],[3074,"impl-Debug-for-Error"],[3075,"impl-Display-for-Error"],[3078,"impl-From%3CRequestError%3E-for-Error"],[3079,"impl-From%3C(String,+StatusCode)%3E-for-Error"],[3080,"impl-From%3CQueryError%3E-for-Error"],[3240,"impl-Display-for-MetricsError"],[3241,"impl-Debug-for-MetricsError"],[3260,"impl-PrometheusMetrics"],[3261,"impl-Metrics-for-PrometheusMetrics"],[3517,"impl-Debug-for-Error"],[3518,"impl-Display-for-Error"],[3530,"impl-From%3CRequestError%3E-for-Error"],[3531,"impl-From%3C(String,+StatusCode)%3E-for-Error"],[3533,"impl-From%3CQueryError%3E-for-Error"],[3703,"impl-Display-for-Error"],[3704,"impl-Debug-for-Error"],[3707,"impl-From%3CString%3E-for-Error"],[3708,"impl-From%3CRequestError%3E-for-Error"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAM8MDQEBAAEABAAAAAcAAQAKAAEADgAAABIAAwAXAAEAHQALACoAAgAwAA0AQQAPAFIAAQBVACcAhAAIAI4AAwCTAAEAmQAAAJ0ABACjAAEApgAMALoAAgC+AAYAxgABAMkAAADMAAcA1QAEANsAAgDfABcA+AAHAAMBDgAUAQQAGgEBAB0BAAAfAQAAIQEAACMBAQAmAQEAKgELADcBAQA6AQMAPwEhAGMBJQCQASgAugFYABUCLQBKAhQAYQIAAGMCAABlAgEAawIAAG8CAAB3AgAAeQIMAIcCBgCPAg8AoAIXAMsCBgDUAgAA1gIUAOwCAADuAgEA8QIBAPkCGgAXAwEAGgMvAEwDAABQAwAAVAMlAHsDJQCjAwkArgMAALEDAAC0AwMAuQMKAMUDBQDMAwEAzwMIANkDAQDdAxYA9gMDAPwDBAAEBAAABgQGAA4EAQARBAAAFAQIAB4EBQAnBBAAOgQFAEEEAABEBBEAVwQGAGIEAABkBBwAhgQKAJQECwCjBAMAqAQVAMcECQDTBAAA1QQCANkEAQDcBAIA4AQBAOQEBADqBAAA7QQEAPMEAAD2BAQA/AQEAAMFBAAJBQ4AGQUAABwFAgAgBQUAJwUNADYFDgBGBRAAWAURAGwFDwB+BRsAmwUJAKYFAgCrBQEArwUCALMFAQC2BQsAxQUBAMkFAgDOBQEA0QUMAOEFCQDuBQAA8AUBAPMFEwAKBgsAGwYHACQGAAAoBgAAKwYLADgGCgBGBgkAVwYGAGMGAABlBgYAbQYAAHEGAAB4BgAAegYAAHwGBQCDBgMAiAYRAJsGAACeBhcAuAYDAL4GEADQBgAA1AYBANkGAgDfBgIA6AYCAOwGAADuBgEA8QYAAPMGAAD1BgAA9wYAAPkGAAD7BgAA/QYEAAMHBQAMBwEADwcGABgHAgAdBwEAIgcBACgHBwAxBxAAQwdnAKwHJgDUB0sAIQgFACgImQDECAEAyAgCAMwIAQDQCAEA0wgoAAgJAQAWCQEAGQkAABsJAQAeCQIAIgkBACYJAAApCQAALAkAAC4JAAAwCUMAlwkqAMQJKwDxCQIA9QkDAPsJAAD+CRYAFgoRACkKlQDACiMA5woMAPUKAAD3CgEA+woBAP4KBgAKCwMADwshADMLCwBDCwMASwsZAGcLAwB0CywApAsJALELHADQCwMA1QsAANcLKAABDAMABwwCAAsMBQASDAQAGwwJACYMBAAsDA8AQgwDAEgMawC+DAUAygwLAN8MTQAuDQUANQ0AADcNAAA5DQAAOw0BAD4NJABkDU8Atg0KAMsNAQDODREA6g0qABYOYAB4DgEAfA4FAIQOHwClDgsAsg4EALgOBAC+DgkAyQ4LANcOAwDcDiEAAA8IAAsPAAANDwcAFg8BABkPAwAeDwEAIQ8CACUPBgAvDwEAMg8AAA=="}]\ +["hotshot_query_service",{"t":"PPPGPFPIFPIPFPPFPFIGIKIPIIIINNNNNNNNNNNNCONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNQNNNNNNNQQQQQNNNNNNNNNNNNNNNNNNNCOCCONNNNNNNNNOHNNNNNCNNONCNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNCNNNNNNNNNOOOOOOOOKIGFRFPFGRGPFPFPFPPRFPFRIGFRPPFPFRPKKPPFIIIIRFFKFRNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMMNNMMMMMMMNNNNNNNNNNNNNNNNNNNONNNONNNNNNNNNNNNNNNNNNNMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNOMNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONOOONNNNNNNNNNNNNNONNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOERFEIFEKKNNNNCNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNCNNNNNNNMNNNCCCNNNNNNNNNMNNNNHHKFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHHHHHHHHIEFFEIENNNNNQENCNEHKKEEECMMMMMMMMMMMMMMMMCCCFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNGPPPPGNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNORKKFKNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFFKFFNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNQQNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNIRPFFGIPFFFPPPGFGPPPKFFFKFPPPFPGPPGPFPGPGPGPGPFPPPPPFPPPPPPFRRPIRPPPPPPPFFPPPFGPPFFGIPFFFGPPPPPPPIRPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOMMOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMMNOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMOOOMOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNKFKEENNNNNNNNNNNNNNNNCCMMNNNNNNNNFFKFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFKRFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPRPRRGPRKKKFPPGRKNNONNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNMMNNNMNNNNMMNNNNNNNNNNNMNMNNNNNMNNNNNNNNNNNNOOOOFFFFFFGPPPFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOEEPFGPPKFPFPFPFPFFPFGNNNNNNNNNONNNNOMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOONMNNNNNNNNNNOONNNNONOMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNOOOOOOOOOOGPFPKKNONNNNMNNNNNNNNNNHNNNNNNNNNNNNONNNNNNNNNNNNNNMNNMNNNNNNNNNNNNNNNOOCCHHKIFISRKNNMMNNNNNNNNNMNNNNNNNNMNNNNNNNNNNIIIIIIFIIIIFNNOONNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNHNNNNONNONNNNONNONNNONNNNNNNOOONNKM","n":["Availability","Custom","Err","Error","Error","ErrorSnafu","Explorer","Header","Leaf","MerklizedState","Metadata","Missing","MissingSnafu","Node","NotFound","NotFoundSnafu","Ok","Options","Payload","QueryError","QueryResult","Resolvable","SignatureKey","Status","Transaction","VidCommitment","VidCommon","VidShare","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","as_error","as_error","as_error_source","as_error_source","as_error_source","as_error_source","availability","availability","backtrace","backtrace","block_header","block_header_mut","block_payload","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","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","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","commit","commitment","commitment","create_random_transaction","data_source","default","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","description","description","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","drop","drop","drop","drop","drop","drop","drop","eq","equivalent","equivalent","equivalent","equivalent","explorer","extends_upgrade","fail","fail","fail","fetching","fill_block_payload","fill_block_payload_unchecked","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_quorum_proposal","genesis","get_hash","hash","header","header","header","height","in_current_span","in_current_span","include_migrations","init","init","init","init","init","init","init","instantiate_availability_tests","instantiate_data_source_tests","instantiate_node_tests","instantiate_persistence_tests","instantiate_status_tests","internal","into","into","into","into","into","into","into","into_error","into_error","into_error","justify_qc","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","merklized_state","message","metrics","node","node","parent_commitment","payload_commitment","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","port","run_standalone_service","serialize","serialize","serialize","source","source","status","status","status","status","temp_extends_upgrade","testing","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","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_resolve","try_resolve","type_id","type_id","type_id","type_id","type_id","type_id","type_id","types","upgrade_certificate","view_number","vzip","vzip","vzip","vzip","vzip","vzip","vzip","message","source","source","source","source","source","status","message","AvailabilityDataSource","BlockHash","BlockId","BlockQueryData","BlockRange","BlockSummaryQueryData","Custom","CustomSnafu","Error","Error","Fetch","FetchBlock","FetchBlockSnafu","FetchLeaf","FetchLeafSnafu","FetchTransaction","FetchTransactionSnafu","Hash","Hash","InclusionProof","InconsistentLeafError","InvalidTransactionIndex","InvalidTransactionIndexSnafu","Iter","LeafHash","LeafId","LeafQueryData","LeafRange","Number","Number","Options","PayloadHash","PayloadQueryData","PayloadRange","Pending","QueryableHeader","QueryablePayload","Ready","Request","RequestSnafu","Timestamp","TransactionHash","TransactionInclusionProof","TransactionIndex","TransactionIndex","TransactionQueryData","TransactionSummaryQueryData","UpdateAvailabilityData","VidCommonQueryData","VidCommonRange","__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_error","as_error","as_error_source","as_error_source","as_error_source","as_error_source","backtrace","backtrace","block_hash","block_hash","block_hash","block_hash","block_height","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_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","cmp","common","compare","compare","context","data","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","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","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","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","extensions","fail","fail","fail","fail","fail","fetch_timeout","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","from","from","from","genesis","genesis","genesis","genesis","get_block","get_block_range","get_hash","get_hash","get_leaf","get_leaf_range","get_payload","get_payload_range","get_transaction","get_vid_common","get_vid_common_range","hash","hash","hash","hash","hash","hash","hash","header","header","header","header","header","header","header","height","height","height","height","height","height","in_current_span","in_current_span","index","index","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","insert_block","insert_leaf","insert_vid","internal","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_error","into_error","into_error","into_error","into_error","into_error","into_future","is_empty","is_empty","is_empty","iter","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","leaf","leaf","len","len","map","message","metadata","new","new","new","nth","nth","nth_transaction","nth_transaction","nth_transaction_with_proof","nth_transaction_with_proof","num_transactions","num_transactions","partial_cmp","partial_cmp","payload","payload_hash","payload_hash","payload_hash","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","proof","proof","proof","qc","qc_leaf","resolve","resource","resource","resource","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","size","size","size","source","source","status","status","subscribe_blocks","subscribe_blocks","subscribe_leaves","subscribe_leaves","subscribe_payloads","subscribe_payloads","subscribe_vid_common","subscribe_vid_common","timestamp","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","to_string","transaction","transaction","transaction","transaction","transaction_by_hash","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","try_resolve","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","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","with_context","with_timeout","height","index","message","resource","resource","resource","source","status","AvailabilityProvider","Error","ExtensibleDataSource","FetchingDataSource","FileSystemDataSource","MetricsDataSource","SqlDataSource","UpdateDataSource","VersionedDataSource","__clone_box","__clone_box","as_mut","as_ref","availability_tests","block_height","block_height","block_height","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","commit","commit","connect","connect","connect","count_transactions","create","create","create","create","create_with_store","default","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","fetching","fmt","fmt","from","from","get_block","get_block_detail","get_block_range","get_block_summaries","get_explorer_summary","get_header_window","get_last_state_height","get_leaf","get_leaf_range","get_path","get_payload","get_payload_range","get_search_results","get_transaction","get_transaction_detail","get_transaction_summaries","get_vid_common","get_vid_common_range","handle_event","handle_event","handle_event","init","init","inner","inner_mut","insert_block","insert_leaf","insert_merkle_nodes","insert_vid","into","into","layout_raw","layout_raw","metrics","metrics","new","node_tests","open","open_with_store","payload_size","persistence_tests","pointer_metadata","pointer_metadata","populate_metrics","populate_metrics","reset","reset","reset","revert","revert","set_last_state_height","skip_version","sql","status_tests","storage","sync_status","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","update","update","vid_share","vzip","vzip","test_range","test_update","AvailabilityProvider","Builder","FetchingDataSource","Pruner","StorageReadGuard","StorageWriteGuard","__clone_box","__clone_box","block_height","block_height","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","builder","check_connection","clone","clone","clone_into","clone_into","commit","connect","count_transactions","create","create_with_store","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","deserialize","deserialize","disable_proactive_fetching","drop","drop","drop","drop","drop","fmt","fmt","from","from","from","from","from","from","from","get_block","get_block_detail","get_block_range","get_block_summaries","get_db","get_explorer_summary","get_header_window","get_last_state_height","get_leaf","get_leaf_range","get_path","get_payload","get_payload_range","get_search_results","get_transaction","get_transaction_detail","get_transaction_summaries","get_vid_common","get_vid_common_range","init","init","init","init","init","insert_block","insert_leaf","insert_merkle_nodes","insert_vid","into","into","into","into","into","is_open","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","load","load","load","load","metrics","new","open","open_with_store","payload_size","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","populate_metrics","req_command","req_packed_command","req_packed_commands","revert","set_last_state_height","skip_version","storage","storage_mut","supports_pipelining","sync_status","to_owned","to_owned","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","update","vid_share","vzip","vzip","vzip","vzip","vzip","with_active_fetch_delay","with_chunk_fetch_delay","with_major_scan_interval","with_major_scan_offset","with_minor_scan_interval","with_proactive_range_chunk_size","with_range_chunk_size","with_rate_limit","with_retry_delay","test_counters","test_sync_status","test_timestamp_window","test_vid_monotonicity","test_vid_recovery","test_vid_shares","test_reset","test_revert","Builder","Config","Error","Migration","Query","SqlDataSource","Transaction","client","connect","connect","create","handle_event","include_migrations","postgres","reset","testing","transaction","TmpDb","test_metrics","AvailabilityStorage","ExplorerStorage","FileSystemStorage","NoStorage","SqlStorage","fs","get_block","get_block_detail","get_block_range","get_block_summaries","get_explorer_summary","get_header","get_leaf","get_leaf_range","get_payload","get_payload_range","get_search_results","get_transaction","get_transaction_detail","get_transaction_summaries","get_vid_common","get_vid_common_range","no_storage","pruning","sql","FileSystemStorage","block_height","borrow","borrow_mut","commit","count_transactions","create","create_with_store","deref","deref_mut","deserialize","drop","fmt","from","get_block","get_block_range","get_header","get_header_window","get_leaf","get_leaf_range","get_payload","get_payload_range","get_transaction","get_vid_common","get_vid_common_range","init","insert_block","insert_leaf","insert_vid","into","layout_raw","open","open_with_store","payload_size","pointer_metadata","revert","skip_version","sync_status","try_from","try_into","type_id","vid_share","vzip","NoStorage","__clone_box","block_height","borrow","borrow_mut","clone","clone_into","commit","count_transactions","default","deref","deref_mut","deserialize","drop","fmt","from","get_block","get_block_range","get_header","get_header_window","get_leaf","get_leaf_range","get_payload","get_payload_range","get_transaction","get_vid_common","get_vid_common_range","init","insert_block","insert_leaf","insert_vid","into","layout_raw","payload_size","pointer_metadata","revert","sync_status","testing","to_owned","try_from","try_into","type_id","vid_share","vzip","DataSource","NoStorage","NoStorage","Sql","Sql","Storage","block_height","block_height","borrow","borrow","borrow_mut","borrow_mut","commit","connect","count_transactions","create","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","from","from","get_block","get_block_range","get_header_window","get_leaf","get_leaf_range","get_payload","get_payload_range","get_transaction","get_vid_common","get_vid_common_range","handle_event","init","init","insert_block","insert_leaf","insert_vid","into","into","layout_raw","layout_raw","metrics","payload_size","pointer_metadata","pointer_metadata","populate_metrics","reset","revert","setup","sync_status","try_from","try_from","try_into","try_into","type_id","type_id","update","vid_share","vzip","vzip","fetch_from_port","Error","PruneStorage","PrunedHeightStorage","PrunerCfg","PrunerConfig","__clone_box","batch_size","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","deserialize","drop","fmt","from","get_disk_usage","get_pruning_config","init","interval","into","layout_raw","load_pruned_height","max_usage","minimum_retention","new","pointer_metadata","prune","pruning_threshold","save_pruned_height","set_pruning_config","target_retention","to_owned","try_from","try_into","type_id","validate","vzip","with_batch_size","with_interval","with_max_usage","with_minimum_retention","with_pruning_threshold","with_target_retention","Config","Error","Migration","Pruner","Query","SqlStorage","Transaction","__clone_box","__clone_box","applied","applied_on","archive","as_ref","as_ref","backtrace","block_height","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","builder","chain","checksum","client","client","client","clone","clone","clone_into","clone_into","cmp","commit","compare","connect","connect","context","count_transactions","database","default","default","default_migrations","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","downcast","downcast_mut","downcast_ref","drop","drop","drop","drop","drop","drop","drop","eq","equivalent","equivalent","equivalent","equivalent","execute","execute_many","execute_many_with_retries","execute_one","execute_one_with_retries","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from_str","get_block","get_block_detail","get_block_range","get_block_summaries","get_disk_usage","get_explorer_summary","get_header","get_header_window","get_last_state_height","get_leaf","get_leaf_range","get_path","get_payload","get_payload_range","get_pruning_config","get_search_results","get_transaction","get_transaction_detail","get_transaction_summaries","get_vid_common","get_vid_common_range","header","header","host","include_dir","include_migrations","init","init","init","init","init","init","insert_block","insert_leaf","insert_merkle_nodes","insert_vid","into","into","into","into","into","into","is","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","load_pruned_height","migrations","msg","name","new","no_migrations","partial_cmp","password","payload_size","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","port","postgres","prefix","prune","pruner_cfg","query","query_one","query_one_static","query_opt","query_opt_static","query_static","reset_schema","revert","root_cause","save_pruned_height","schema","set_applied","set_last_state_height","set_pruning_config","sql","sync_status","testing","tls","to_owned","to_owned","to_string","to_string","transaction","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","unapplied","upsert","user","version","vid_share","vzip","vzip","vzip","vzip","vzip","vzip","TestMerkleTreeMigration","TmpDb","borrow","borrow","borrow_mut","borrow_mut","config","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","drop","fmt","from","from","host","init","init","init","into","into","layout_raw","layout_raw","persistent","pointer_metadata","pointer_metadata","port","start","stop","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","BalanceAmount","BalanceAmount","Block","BlockDetail","BlockDetailResponse","BlockIdentifier","BlockNamespaceId","BlockNotFound","BlockRange","BlockSummary","BlockSummaryResponse","Btc","CryptoEnd","CryptoStart","CurrencyCode","CurrencyMismatchError","Error","Esp","Eth","Eur","ExplorerHeader","ExplorerHistograms","ExplorerSummary","ExplorerSummaryResponse","ExplorerTransaction","FeeAttribution","FiatCurrencyEnd","FiatCurrencyStart","Gbp","GenesisOverview","GetBlockDetail","GetBlockDetailError","GetBlockDetailError","GetBlockSummaries","GetBlockSummariesError","GetBlockSummariesError","GetBlockSummariesRequest","GetExplorerSummary","GetExplorerSummaryError","GetSearchResults","GetSearchResultsError","GetTransactionDetail","GetTransactionDetailError","GetTransactionSummaries","GetTransactionSummariesError","GetTransactionSummariesError","GetTransactionSummariesRequest","Hash","Hash","Height","HeightAndOffset","IntError","InvalidCurrencyCodeError","InvalidLimit","InvalidLimit","InvalidQuery","Jpy","Latest","Latest","MonetaryValue","NamespaceId","NamespaceId","None","ProposerId","ProposerId","QueryError","QueryError","QueryError","QueryError","QueryError","QueryError","RollUp","SearchResult","SearchResultResponse","TargetNotFound","TargetNotFound","TimeError","Timestamp","TimestampConversionError","TokenEnd","TokenStart","TransactionDetail","TransactionDetailResponse","TransactionIdentifier","TransactionNamespaceId","TransactionNotFound","TransactionRange","TransactionSummariesResponse","TransactionSummary","TransactionSummaryFilter","Unimplemented","Unimplemented","Unimplemented","Unimplemented","Unimplemented","Unimplemented","Usd","WalletAddress","WalletAddress","Xxx","__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","add","as_error","as_error","as_error","as_error","as_error","as_error","as_error","as_error","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","as_error_source","block_confirmed","block_detail","block_heights","block_reward","block_size","block_summaries","block_time","block_transactions","blocks","blocks","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","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","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","btc","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","cmp","compare","currency","currency","currency1","currency2","default","define_api","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","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","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","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","esp","eth","explorer_summary","fee_details","fee_info_account","fee_info_balance","fee_recipient","fees","filter","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","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","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","genesis_overview","hash","hash","hash","hash","header","header","header","header","header","header","header","header","header","header","header","header","header","header","height","height","height","height","histograms","in_current_span","in_current_span","in_current_span","in_current_span","in_current_span","in_current_span","in_current_span","in_current_span","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_resettable","is_crypto","is_fiat","is_token","latest_block","latest_blocks","latest_transactions","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","namespace_id","namespace_ids","new","num_blocks","num_transactions","num_transactions","num_transactions","num_transactions","num_transactions","offset","offset","partial_cmp","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","proposer_id","proposer_id","proposer_id","range","reward_balance","rollups","rollups","search_results","sequencing_fees","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","significant_digits","size","size","size","source","source","source","source","source","source","source","source","status","status","status","status","status","status","status","sub","target","target","target","time","time","time","time","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","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","transaction_detail","transaction_summaries","transactions","transactions","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_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_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","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","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","usd","value","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Callback","Fetcher","LocalCallback","Provider","Request","__clone_box","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","deserialize","drop","fmt","from","init","into","layout_raw","pointer_metadata","provider","request","run","run","spawn_fetch","to_owned","try_from","try_into","type_id","vzip","with_rate_limit","with_retry_delay","AnyProvider","NoFetching","Provider","QueryServiceProvider","TestProvider","__clone_box","__clone_box","__clone_box","__clone_box","block","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","default","default","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","deserialize","drop","drop","drop","drop","fail","fetch","fetch","fetch","fetch","fetch","fetch","fetch","fetch","fetch","fmt","fmt","fmt","fmt","from","from","from","from","init","init","init","init","into","into","into","into","layout_raw","layout_raw","layout_raw","layout_raw","new","new","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","unblock","unfail","vzip","vzip","vzip","vzip","with_block_provider","with_leaf_provider","with_provider","with_vid_common_provider","LeafRequest","PayloadRequest","Request","Response","VidCommonRequest","__clone_box","__clone_box","__clone_box","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","deref","deref","deref","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","drop","drop","drop","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","from","from","from","from","get_hash","get_hash","get_hash","hash","hash","hash","init","init","init","into","into","into","layout_raw","layout_raw","layout_raw","pointer_metadata","pointer_metadata","pointer_metadata","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Commit","Commit","Custom","Digest","Entry","Error","Index","Key","MerklizedState","MerklizedStateDataSource","MerklizedStateHeightPersistence","Options","Query","Request","Snapshot","T","UpdateStateData","__clone_box","__clone_box","api_path","as_error","as_error_source","as_error_source","backtrace","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","cause","clone","clone","clone_into","clone_into","cmp","compare","default","define_api","deref","deref","deref","deref_mut","deref_mut","deref_mut","description","deserialize","deserialize","deserialize","deserialize","drop","drop","drop","eq","equivalent","equivalent","equivalent","equivalent","extensions","fmt","fmt","fmt","fmt","from","from","from","from","from","from","get_hash","get_last_state_height","get_path","hash","header","header","header_state_commitment_field","in_current_span","init","init","init","insert_merkle_nodes","insert_path","into","into","into","layout_raw","layout_raw","layout_raw","partial_cmp","pointer_metadata","pointer_metadata","pointer_metadata","serialize","set_last_state_height","source","state_type","status","to_owned","to_owned","to_string","to_string","tree_height","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","message","source","source","status","Counter","CounterFamily","Gauge","GaugeFamily","Histogram","HistogramFamily","MetricsError","NoSuchMetric","NoSuchSubgroup","Prometheus","PrometheusMetrics","TextFamily","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","add","add_point","as_error","as_error_source","as_error_source","backtrace","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","cause","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","counter_family","create","create","create","create","create_counter","create_gauge","create_histogram","create_text","default","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","description","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","drop","drop","drop","drop","drop","drop","drop","drop","drop","export","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","gauge_family","gauge_family","get","get","get","get","get","get_counter","get_counter_family","get_gauge","get_histogram","get_histogram_family","get_subgroup","header","histogram_family","in_current_span","init","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","mean","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","sample_count","set","source","subgroup","sum","text_family","to_owned","to_owned","to_owned","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_from","try_from","try_from","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","update","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","name","namespace","path","source","BlockHash","BlockId","Custom","CustomSnafu","Error","Hash","Height","NodeDataSource","Options","Query","QuerySnafu","QueryVid","QueryVidSnafu","QueryWindow","QueryWindowSnafu","Request","RequestSnafu","SyncStatus","Time","TimeWindowQueryData","WindowStart","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","api_path","as_error","as_error_source","as_error_source","backtrace","block","block_height","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","build","cause","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","cmp","compare","count_transactions","default","default","define_api","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","description","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","end","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","extensions","fail","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","fully_synced","get_hash","get_header_window","hash","header","in_current_span","init","init","init","init","init","init","init","init","init","init","internal","into","into","into","into","into","into","into","into","into","into","into_error","into_error","into_error","into_error","into_error","is_fully_synced","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","layout_raw","message","missing_blocks","missing_leaves","missing_vid_common","missing_vid_shares","next","partial_cmp","payload_size","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","prev","pruned_height","serialize","serialize","serialize","source","start","status","status","sync_status","to_owned","to_owned","to_owned","to_owned","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_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","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vid_share","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","window","block","end","message","source","source","source","source","start","status","Error","Internal","Options","Request","StatusDataSource","UpdateStatusData","__clone_box","api_path","as_error","as_error_source","as_error_source","backtrace","block_height","borrow","borrow","borrow_mut","borrow_mut","cause","clone","clone_into","consensus_metrics","consensus_metrics","default","define_api","deref","deref","deref_mut","deref_mut","description","deserialize","deserialize","deserialize","drop","drop","elapsed_time_since_last_decide","elapsed_time_since_last_decide","extensions","fmt","fmt","from","from","from","from","header","in_current_span","init","init","into","into","layout_raw","layout_raw","metrics","pointer_metadata","pointer_metadata","populate_metrics","serialize","source","status","success_rate","success_rate","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","reason","source","consensus","mocks","setup_test","sleep","DataSourceLifeCycle","MockDataSource","MockNetwork","MockSqlDataSource","NUM_NODES","Storage","TestableDataSource","borrow","borrow_mut","connect","create","data_source","data_source_index","deref","deref_mut","deserialize","drop","drop","from","handle","handle_event","init","init","init_with_config","into","layout_raw","num_nodes","pointer_metadata","proposer","reset","setup","shut_down","spawn","start","storage","submit_transaction","try_from","try_into","type_id","vzip","MockAuctionResults","MockBase","MockHeader","MockMembership","MockMerkleTree","MockNetwork","MockNodeImpl","MockPayload","MockQuorumProposal","MockStorage","MockTransaction","MockTypes","__clone_box","__clone_box","block_header","block_number","borrow","borrow","borrow_mut","borrow_mut","builder_commitment","clone","clone","clone_into","clone_into","cmp","cmp","compare","compare","default","default","deref","deref","deref_mut","deref_mut","deserialize","deserialize","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fee_info_account","fee_info_balance","fmt","fmt","from","from","get_hash","get_hash","hash","hash","header_state_commitment_field","height","init","init","insert_path","into","into","iter","justify_qc","layout_raw","layout_raw","len","mock_transaction","namespace_id","namespace_ids","partial_cmp","partial_cmp","payload_commitment","pointer_metadata","pointer_metadata","proposal_certificate","proposer_id","reward_balance","serialize","serialize","should_return_err","state_type","timestamp","timestamp","to_owned","to_owned","transaction_with_proof","transactions","tree_height","try_from","try_from","try_into","try_into","type_id","type_id","upgrade_certificate","urls","view_number","vzip","vzip","HeightIndexed","height"],"q":[[0,"hotshot_query_service"],[265,"hotshot_query_service::Error"],[272,"hotshot_query_service::QueryError"],[273,"hotshot_query_service::availability"],[930,"hotshot_query_service::availability::Error"],[938,"hotshot_query_service::data_source"],[1057,"hotshot_query_service::data_source::availability_tests"],[1059,"hotshot_query_service::data_source::fetching"],[1222,"hotshot_query_service::data_source::node_tests"],[1228,"hotshot_query_service::data_source::persistence_tests"],[1230,"hotshot_query_service::data_source::sql"],[1247,"hotshot_query_service::data_source::sql::testing"],[1248,"hotshot_query_service::data_source::status_tests"],[1249,"hotshot_query_service::data_source::storage"],[1274,"hotshot_query_service::data_source::storage::fs"],[1317,"hotshot_query_service::data_source::storage::no_storage"],[1361,"hotshot_query_service::data_source::storage::no_storage::testing"],[1426,"hotshot_query_service::data_source::storage::no_storage::testing::Storage"],[1427,"hotshot_query_service::data_source::storage::pruning"],[1473,"hotshot_query_service::data_source::storage::sql"],[1700,"hotshot_query_service::data_source::storage::sql::testing"],[1741,"hotshot_query_service::explorer"],[2787,"hotshot_query_service::fetching"],[2820,"hotshot_query_service::fetching::provider"],[2926,"hotshot_query_service::fetching::request"],[3013,"hotshot_query_service::merklized_state"],[3127,"hotshot_query_service::merklized_state::Error"],[3131,"hotshot_query_service::metrics"],[3365,"hotshot_query_service::metrics::MetricsError"],[3369,"hotshot_query_service::node"],[3657,"hotshot_query_service::node::Error"],[3666,"hotshot_query_service::status"],[3736,"hotshot_query_service::status::Error"],[3738,"hotshot_query_service::testing"],[3742,"hotshot_query_service::testing::consensus"],[3782,"hotshot_query_service::testing::mocks"],[3888,"hotshot_query_service::types"],[3890,"dyn_clone::sealed"],[3891,"core::error"],[3892,"hotshot_query_service::error"],[3893,"std::backtrace"],[3894,"core::option"],[3895,"hotshot_types::data"],[3896,"hotshot_types::traits::node_implementation"],[3897,"alloc::string"],[3898,"core::convert"],[3899,"tide_disco::status"],[3900,"core::clone"],[3901,"committable"],[3902,"hotshot_query_service::resolvable"],[3903,"rand_core"],[3904,"rkyv::with"],[3905,"core::result"],[3906,"serde::de"],[3907,"hotshot_types::simple_vote"],[3908,"hotshot_types::simple_certificate"],[3909,"async_lock::rwlock"],[3910,"alloc::sync"],[3911,"anyhow"],[3912,"core::fmt"],[3913,"hotshot_query_service::explorer::query_data"],[3914,"core::hash"],[3915,"core::marker"],[3916,"color_eyre::section"],[3917,"core::alloc::layout"],[3918,"hotshot::types::handle"],[3919,"hotshot_query_service::availability::data_source"],[3920,"hotshot_query_service::node::data_source"],[3921,"hotshot_query_service::status::data_source"],[3922,"hotshot_query_service::data_source::update"],[3923,"vbs::version"],[3924,"serde::ser"],[3925,"core::any"],[3926,"hotshot_query_service::availability::query_data"],[3927,"core::cmp"],[3928,"core::iter::traits::iterator"],[3929,"hotshot_types::vid"],[3930,"hotshot_query_service::availability::fetch"],[3931,"snafu"],[3932,"tide_disco::api"],[3933,"tide_disco::method"],[3934,"alloc::boxed"],[3935,"tide_disco::request"],[3936,"core::future::future"],[3937,"core::pin"],[3938,"futures_core::stream"],[3939,"core::ops::range"],[3940,"core::ops::function"],[3941,"core::time"],[3942,"hotshot_query_service::data_source::extension"],[3943,"hotshot_query_service::data_source::metrics"],[3944,"std::path"],[3945,"hotshot_query_service::data_source::fs"],[3946,"atomic_store::atomic_store"],[3947,"hotshot_query_service::merklized_state::data_source"],[3948,"hotshot_types::event"],[3949,"core::default"],[3950,"jf_merkle_tree::internal"],[3951,"alloc::vec"],[3952,"hotshot_types::traits::metrics"],[3953,"arc_swap::access"],[3954,"redis::cmd"],[3955,"redis::types"],[3956,"atomic_store::error"],[3957,"time::offset_date_time"],[3958,"refinery_core::runner"],[3959,"tokio_postgres::to_statement"],[3960,"core::iter::traits::collect"],[3961,"tokio_postgres::config"],[3962,"refinery_core::error"],[3963,"postgres_types"],[3964,"hotshot_query_service::explorer::monetary_value"],[3965,"hotshot_query_service::explorer::currency"],[3966,"hotshot_query_service::explorer::traits"],[3967,"core::num::error"],[3968,"time::error::component_range"],[3969,"clap_builder::builder::resettable"],[3970,"async_lock::semaphore"],[3971,"hotshot_query_service::fetching::provider::testing"],[3972,"hotshot_query_service::fetching::provider::any"],[3973,"hotshot_query_service::fetching::provider::query_service"],[3974,"url"],[3975,"jf_merkle_tree"],[3976,"core::str::traits"],[3977,"ark_serialize"],[3978,"tagged_base64"],[3979,"prometheus::errors"],[3980,"hotshot_query_service::node::query_data"],[3981,"hotshot_types::signature_key"],[3982,"hotshot_types"],[3983,"include_dir_macros"]],"i":[5,5,185,0,8,0,5,0,0,5,0,8,0,5,8,0,185,0,0,0,0,0,0,5,0,0,0,0,9,5,12,13,14,8,5,8,5,5,8,8,0,24,5,8,9,9,9,9,5,12,13,14,8,24,9,5,12,13,14,8,24,12,13,14,5,5,8,9,5,12,13,14,8,9,5,12,13,14,8,9,20,9,9,0,24,9,5,12,13,14,8,24,9,5,12,13,14,8,24,5,8,9,9,5,5,12,13,14,8,8,24,9,5,12,13,14,8,24,9,9,9,9,9,0,9,12,13,14,0,9,9,9,9,5,5,12,13,14,8,8,9,5,5,5,5,5,5,5,12,13,14,8,8,24,9,9,9,9,9,5,8,9,5,8,0,9,5,12,13,14,8,24,0,0,0,0,0,5,9,5,12,13,14,8,24,12,13,14,9,9,5,12,13,14,8,24,0,14,0,0,24,9,9,9,5,12,13,14,8,24,24,0,9,5,8,5,8,0,5,8,24,9,0,9,5,12,13,14,8,9,5,8,9,5,12,13,14,8,24,9,5,12,13,14,8,24,20,9,9,5,12,13,14,8,24,0,9,9,9,5,12,13,14,8,24,322,323,324,325,326,327,322,328,0,0,0,0,63,0,42,0,0,130,0,42,0,42,0,42,0,94,95,87,0,42,0,87,0,0,0,63,94,95,0,95,0,63,102,0,0,102,42,0,0,0,0,0,87,0,0,0,0,63,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,108,73,42,73,73,42,42,73,42,74,76,77,78,78,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,79,80,81,82,83,87,87,73,42,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,94,95,77,94,95,102,76,108,0,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,73,42,102,108,94,95,74,74,73,96,96,76,76,77,77,78,78,97,97,98,98,99,79,80,81,82,83,42,42,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,87,87,96,94,95,74,96,76,77,78,97,98,94,94,94,94,95,95,95,95,74,74,74,74,96,96,96,96,76,76,76,76,77,77,77,77,78,78,78,78,97,97,97,97,98,98,98,98,108,79,80,81,82,83,108,94,94,95,95,74,73,73,96,76,77,78,97,98,99,79,80,81,82,83,42,42,102,108,94,94,94,95,95,95,74,73,96,76,76,77,78,97,97,98,99,79,80,81,82,83,42,42,42,74,96,76,77,63,63,94,95,63,63,63,63,63,63,63,94,95,74,96,76,78,97,94,95,74,73,96,97,42,74,96,76,77,97,82,73,42,78,82,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,130,130,130,42,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,99,79,80,81,82,83,102,87,87,96,87,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,74,73,87,96,102,83,96,74,96,77,87,87,87,87,87,87,96,97,94,95,96,74,96,77,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,87,87,78,74,73,102,79,80,81,74,96,76,77,78,97,98,42,96,76,97,73,42,42,83,63,63,63,63,63,63,63,63,137,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,94,95,73,42,87,87,96,78,87,87,96,87,87,87,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,102,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,102,108,94,95,74,73,96,76,77,78,97,98,99,79,80,81,82,83,42,102,102,329,329,330,331,332,333,334,330,0,67,0,0,0,0,0,0,0,139,140,139,139,0,139,139,140,139,140,139,140,139,140,139,140,67,139,142,139,140,139,142,142,139,140,142,140,139,140,139,140,139,140,139,140,0,139,140,139,140,139,139,139,139,139,139,139,139,139,139,139,139,139,139,139,139,139,139,142,139,140,139,140,139,139,139,139,139,139,139,140,139,140,139,140,139,0,142,142,139,0,139,140,139,140,142,139,140,67,139,139,142,0,0,0,139,139,140,139,140,139,140,139,140,66,139,139,139,140,0,0,0,0,0,0,0,0,165,168,165,165,166,165,168,172,173,166,165,168,172,173,166,165,173,165,168,165,168,165,165,165,165,165,166,165,168,172,172,173,173,166,165,168,172,173,173,166,165,168,172,173,166,166,165,168,172,173,165,168,166,165,168,172,172,173,173,165,165,165,165,173,165,165,165,165,165,165,165,165,165,165,165,165,165,165,166,165,168,172,173,165,165,165,165,166,165,168,172,173,173,166,165,168,172,173,172,172,173,173,165,166,165,165,165,166,165,168,172,173,165,173,173,173,165,165,165,165,165,173,165,165,168,165,166,165,168,172,173,166,165,168,172,173,166,165,168,172,173,165,165,166,165,168,172,173,166,166,166,166,166,166,166,166,166,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,186,186,186,186,186,0,0,186,0,186,0,0,0,0,0,0,0,0,167,147,167,147,147,167,167,167,167,167,147,167,147,147,167,167,0,0,0,0,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,0,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,0,188,188,188,188,188,188,0,335,189,335,189,0,189,189,335,189,335,189,189,189,189,189,335,189,335,189,335,189,335,189,335,189,189,189,189,189,189,189,189,189,189,189,189,335,189,189,189,189,335,189,335,189,189,189,335,189,189,189,189,189,189,335,189,335,189,335,189,189,189,335,189,336,194,0,0,0,0,191,191,191,191,191,191,191,191,191,191,191,191,191,192,193,191,191,191,191,194,191,191,191,191,192,191,194,193,191,191,191,191,191,191,191,191,191,191,191,191,191,0,0,0,0,0,0,0,198,169,198,198,169,36,36,36,183,36,198,184,169,183,201,36,198,184,169,183,201,169,36,198,200,184,183,198,169,198,169,198,183,198,169,183,36,183,169,169,201,0,36,36,198,184,169,183,201,36,36,198,184,169,183,201,36,198,184,169,183,201,36,36,36,36,36,198,184,169,183,201,198,198,198,198,198,184,184,184,184,184,36,36,198,198,169,183,201,36,36,36,198,184,169,169,183,201,169,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,36,198,169,0,0,36,198,184,169,183,201,183,183,183,183,36,198,184,169,183,201,36,36,198,184,169,183,201,183,169,36,198,36,169,198,169,183,36,198,184,169,183,201,169,0,198,183,169,200,200,200,200,200,200,169,183,36,183,169,198,183,183,198,183,0,169,198,169,36,198,183,36,198,184,169,183,201,36,198,184,169,183,201,36,198,184,169,183,201,198,184,169,198,183,36,198,184,169,183,201,0,0,337,211,337,211,211,337,211,337,211,337,211,337,211,211,211,337,211,211,337,211,211,337,211,337,211,211,337,211,211,211,211,337,211,337,211,337,211,337,211,0,246,231,0,0,0,0,220,0,0,0,216,216,216,0,0,0,216,216,216,0,0,0,0,0,0,216,216,216,0,47,0,224,47,0,224,0,47,0,47,0,47,0,47,0,224,0,146,154,146,154,48,0,221,223,225,216,146,154,0,246,250,231,0,246,220,221,222,223,224,225,231,0,0,221,223,48,0,0,216,216,0,0,0,0,222,0,0,0,0,220,221,222,223,224,225,216,0,246,216,214,215,216,212,146,154,217,218,219,220,221,222,223,224,225,47,212,48,220,221,222,223,224,225,47,48,48,220,220,221,221,222,222,223,223,224,224,225,225,47,47,229,236,233,226,233,237,233,233,232,235,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,47,236,237,238,239,240,241,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,47,236,237,238,239,240,241,212,214,215,216,212,146,154,217,218,219,220,221,222,223,224,225,47,214,215,216,212,146,154,217,218,219,220,221,222,223,224,225,47,216,216,215,212,214,214,155,0,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,47,236,237,238,239,240,241,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,47,236,237,238,239,240,241,214,214,215,215,216,216,212,212,146,154,217,218,219,219,226,226,227,227,48,228,228,229,229,230,230,148,231,231,155,232,232,233,233,234,234,235,235,220,220,221,221,222,222,223,223,224,224,225,225,47,47,236,236,237,237,238,238,239,239,240,240,241,241,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,47,236,237,238,239,240,241,216,212,146,154,217,218,219,226,227,48,228,229,230,148,216,216,216,216,212,212,212,212,146,146,146,146,154,154,154,154,217,217,217,217,218,218,218,218,219,219,219,219,226,226,226,226,227,227,227,227,48,48,48,48,228,228,228,228,229,229,229,229,230,230,230,230,148,148,148,148,212,212,240,229,246,246,226,228,155,214,214,215,215,216,216,212,212,146,146,154,154,217,218,219,226,227,48,48,228,229,230,148,231,155,232,233,234,235,220,220,221,221,222,222,223,223,224,224,225,225,47,47,236,237,238,239,240,241,214,215,216,212,212,146,154,217,218,219,226,227,48,48,48,228,229,230,148,231,155,232,233,234,235,220,220,221,221,222,222,222,223,223,224,224,224,224,224,225,225,47,236,236,237,237,238,239,239,240,240,241,241,234,226,227,229,230,214,215,216,212,146,154,48,220,221,222,223,224,225,47,226,227,229,230,234,48,220,221,222,223,224,225,47,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,47,236,237,238,239,240,241,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,47,236,237,238,239,240,241,216,216,216,216,234,234,234,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,47,236,237,238,239,240,241,250,246,212,217,218,226,227,229,230,229,230,216,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,47,236,237,238,239,240,241,246,226,227,155,246,230,232,241,229,214,215,216,212,219,226,227,228,229,230,231,232,233,234,235,220,221,222,223,224,225,47,236,237,238,239,240,241,216,226,227,229,48,220,221,222,223,224,225,47,220,221,222,223,224,225,47,212,217,218,228,226,227,229,230,214,215,216,212,146,154,217,218,219,220,221,222,223,224,225,47,214,215,216,212,146,154,48,220,221,222,223,224,225,47,238,239,232,235,214,215,216,216,212,146,154,217,218,219,226,226,227,227,48,228,229,230,230,148,231,155,232,233,234,235,220,221,222,223,224,225,47,236,237,238,239,240,241,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,47,236,237,238,239,240,241,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,47,236,237,238,239,240,241,212,212,214,215,216,212,146,154,217,218,219,226,227,48,228,229,230,148,231,155,232,233,234,235,220,221,222,223,224,225,47,236,237,238,239,240,241,0,0,0,0,0,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,0,0,252,253,251,251,251,251,251,251,251,251,0,0,0,0,0,258,259,257,260,257,258,259,257,260,258,259,257,260,258,259,257,260,258,259,257,260,258,260,258,259,257,260,258,259,257,260,258,259,257,260,258,259,257,260,257,255,258,258,258,259,259,259,257,260,258,259,257,260,258,259,257,260,258,259,257,260,258,259,257,260,258,259,257,260,259,257,258,259,257,260,258,259,257,260,258,259,257,260,258,259,257,260,258,259,257,260,257,257,258,259,257,260,258,258,258,258,0,0,0,254,0,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,263,263,263,261,261,261,261,262,262,262,262,263,261,262,263,261,262,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,263,261,262,151,152,43,152,152,0,151,152,0,0,0,0,43,43,0,152,0,151,43,265,43,43,43,43,151,265,43,151,265,43,43,151,43,151,43,151,151,265,0,151,265,43,151,265,43,43,151,265,43,43,151,265,43,151,151,151,151,151,265,151,151,43,43,151,265,43,43,43,43,151,150,153,151,151,43,152,43,151,265,43,162,152,151,265,43,151,265,43,151,151,265,43,43,150,43,152,43,151,43,151,43,152,151,265,43,151,265,43,151,265,43,151,265,43,338,339,340,338,0,0,0,0,0,0,0,285,285,285,0,0,163,282,286,283,287,288,289,290,282,283,285,285,285,285,285,163,282,286,283,287,288,289,290,285,163,282,286,283,287,288,289,290,285,163,282,286,283,287,288,289,290,163,282,286,283,287,288,289,290,163,287,288,289,290,163,163,163,163,163,285,163,282,286,283,287,288,289,290,285,163,282,286,283,287,288,289,290,285,285,163,282,286,283,287,288,289,290,285,163,282,286,283,287,288,289,290,163,285,285,163,282,286,283,287,288,289,290,285,285,163,282,286,283,287,288,289,290,163,163,282,286,287,288,289,163,163,163,163,163,163,285,163,285,285,163,282,286,283,287,288,289,290,285,163,282,286,283,287,288,289,290,285,163,282,286,283,287,288,289,290,283,285,163,282,286,283,287,288,289,290,283,286,285,163,283,163,163,282,286,283,287,288,289,290,285,285,163,282,286,283,287,288,289,290,285,163,282,286,283,287,288,289,290,285,163,282,286,283,287,288,289,290,286,285,163,282,286,283,287,288,289,290,341,341,342,343,0,0,46,0,0,149,149,0,0,46,0,46,0,46,0,46,0,0,149,0,0,149,301,302,303,304,305,306,300,46,307,46,46,46,46,305,64,149,301,302,307,303,304,305,306,300,46,149,301,302,307,303,304,305,306,300,46,300,46,149,301,302,303,304,305,306,300,46,149,301,302,303,304,305,306,300,46,301,301,64,302,307,0,149,301,302,307,303,304,305,306,300,46,149,301,302,307,303,304,305,306,300,46,46,149,301,301,302,302,307,303,304,305,306,300,46,46,149,301,302,307,303,304,305,306,300,46,306,301,302,301,301,301,301,302,302,302,302,307,300,149,301,302,303,304,305,306,300,46,46,149,149,301,302,302,307,303,304,305,306,300,46,46,46,46,301,301,64,301,46,46,149,301,302,307,303,304,305,306,300,46,46,149,301,302,307,303,304,305,306,300,46,303,304,305,306,300,301,149,301,302,307,303,304,305,306,300,46,300,301,301,301,301,302,301,64,149,301,302,307,303,304,305,306,300,46,302,301,301,302,46,46,306,46,300,64,149,301,302,303,304,305,306,300,46,46,149,301,302,307,303,304,305,306,300,46,149,301,302,307,303,304,305,306,300,46,149,301,302,307,303,304,305,306,300,46,64,149,301,302,307,303,304,305,306,300,46,302,344,345,346,347,348,344,345,345,346,0,44,0,44,0,0,44,310,44,44,44,44,65,310,44,310,44,44,44,44,65,65,310,0,310,44,310,44,44,310,44,44,310,44,65,65,310,44,44,310,44,44,44,44,44,310,44,310,44,310,44,65,310,44,311,44,44,44,65,65,44,44,310,44,310,44,310,44,310,44,349,350,0,0,0,0,0,0,0,0,0,312,0,190,190,312,312,190,190,190,190,190,190,190,190,190,312,190,190,190,190,190,190,190,190,312,312,190,190,190,190,190,190,190,190,190,0,0,0,0,0,0,0,0,0,0,0,0,156,313,351,319,156,313,156,313,319,156,313,156,313,156,313,156,313,156,313,156,313,156,313,156,156,313,313,156,313,156,313,156,156,156,156,313,313,313,313,319,319,156,313,156,313,156,313,156,313,320,319,156,313,320,156,313,321,351,156,313,321,0,318,319,156,313,319,156,313,351,319,319,156,313,352,320,319,319,156,313,321,321,320,156,313,156,313,156,313,351,353,351,156,313,0,309],"f":"````````````````````````````{{{b{c}}d}f{}}00000{{{b{c}}}{{b{h}}}{}}00000``{{{b{j}}}{{n{{b{l}}}}}}{{{b{A`}}}{{n{{b{l}}}}}}{{{b{{Ab{c}}}}}bAd}{{{b{Af{Ab{c}}}}}{{b{Af}}}Ad}{{{b{{Ab{c}}}}}nAd}{{{b{c}}}{{b{e}}}{}{}}000000{{{b{Afc}}}{{b{Afe}}}{}{}}000000{AhA`}{AjA`}{{{Al{c}}}A`{{B`{An}}}}{{BbAn}j}{{{b{j}}}{{n{{b{h}}}}}}{{{b{A`}}}{{n{{b{h}}}}}}{{{b{{Ab{c}}}}}{{Ab{c}}}{BdAd}}{{{b{j}}}j}{{{b{Ah}}}Ah}{{{b{Aj}}}Aj}{{{b{{Al{c}}}}}{{Al{c}}}Bd}{{{b{A`}}}A`}{{{b{c}}{b{Afe}}}f{}{}}00000{{{b{{Ab{c}}}}}{{Bf{{Ab{c}}}}}Ad}{{{b{Bh}}}{{Bf{c}}}Bj}{{{b{c}}}{{Bf{e}}}{}{}}{{{b{{Ab{c}}}}{b{AfBl}}Bn}{}Ad}`{{}C`}{Cb{{b{c}}}{}}000000{Cb{{b{Afc}}}{}}000000{{{b{j}}}{{b{Cd}}}}{{{b{A`}}}{{b{Cd}}}}{{{b{c}}{b{Afe}}}{{Ch{{Cf{gi}}}}}{}{}{}{}}{c{{Ch{{Ab{e}}}}}CjAd}1{c{{Ch{j}}}Cj}222{c{{Ch{A`}}}Cj}33{Cbf}000000{{{b{{Ab{c}}}}{b{{Ab{c}}}}}ClAd}{{{b{c}}{b{e}}}Cl{}{}}000`{{{b{{Ab{c}}}}{b{{Ab{c}}}}{b{{Df{{Dd{{n{{Db{c{Cn{c}}D`}}}}}}}}}}}{{Ch{fDh}}}Ad}{Ah{{Ch{cA`}}}{}}{Aj{{Ch{cA`}}}{}}{{{Al{c}}}{{Ch{eA`}}}{{B`{An}}}{}}`{{{b{Af{Ab{c}}}}Cb}{{Ch{fDj}}}Ad}{{{b{Af{Ab{c}}}}}fAd}{{{b{{Ab{c}}}}{b{AfDl}}}{{Ch{fDn}}}{E`Ad}}{{{b{{Ab{c}}}}{b{AfDl}}}{{Ch{fDn}}}Ad}{{{b{j}}{b{AfDl}}}Eb}0{{{b{Ah}}{b{AfDl}}}Eb}{{{b{Aj}}{b{AfDl}}}Eb}{{{b{{Al{c}}}}{b{AfDl}}}EbE`}{{{b{A`}}{b{AfDl}}}Eb}0{cc{}}{Edj}{Efj}{Ehj}{{{Ej{AnBb}}}j}{Elj}{Enj}6666{F`A`}77{{{b{{Fb{c}}}}}{{Ab{c}}}Ad}{{bb}{{Ab{c}}}Ad}{{{b{c}}{b{e}}}Bn{FdFf}Fh}{{{b{{Ab{c}}}}{b{Afe}}}fAdFj}{{ce}{{Fl{eg}}}{}{FnG`Gb}{}}00{{{b{{Ab{c}}}}}BnAd}{c{}{}}0`{{}Cb}000000`````{cjFn}{ce{}{}}000000{{Ahc}A`{}}{{Ajc}A`{}}{{{Al{c}}e}A`{{B`{An}}}{}}{{{b{{Ab{c}}}}}{{Db{c{Gd{c}}Gf}}}Ad}{{}{{Ch{GhGj}}}}000000`````{{{b{{Ab{c}}}}}{{Bf{{Ab{c}}}}}Ad}{{{b{{Ab{c}}}}}{}Ad}{b}000000`{{C`e{Gl{cg}}i}{{Ch{fj}}}Ad{{Gn{c}}{H`{c}}Hb{Hd{c}}HfG`Gb}{{Hh{c}}}Hj}{{{b{{Ab{c}}}}e}Ch{AdHl}Hn}{{{b{j}}c}ChHn}{{{b{A`}}c}ChHn}{{{b{j}}}{{n{{b{h}}}}}}{{{b{A`}}}{{n{{b{h}}}}}}`{{{b{j}}}Bb}{{{b{A`}}}Bb}`{{{b{{Ab{c}}}}{b{{Ab{c}}}}{b{{n{{Db{c{Cn{c}}D`}}}}}}}{{Ch{fDh}}}Ad}`{{{b{c}}}e{}{}}00000{{{b{c}}}An{}}00{c{{Ch{e}}}{}{}}0000000000000{Bh{{Ch{cBh}}}Bj}{c{{Ch{ee}}}{}{}}{{{b{c}}}I`{}}000000`{{{b{{Ab{c}}}}}{{n{{Db{c{Cn{c}}D`}}}}}Ad}{{{b{{Ab{c}}}}}{}Ad}{ce{}{}}000000``````````````````````````````````````````````````````````{{{b{c}}d}f{}}0000000000000000`{{{b{c}}}{{b{h}}}{}}00000{{{b{{Ib{c}}}}}{{n{{b{l}}}}}Ad}{{{b{Ed}}}{{n{{b{l}}}}}}{{{b{{Id{c}}}}}{{If{c}}}Ad}{{{b{{Ih{c}}}}}{{If{c}}}Ad}{{{b{{Ij{c}}}}}{{If{c}}}Ad}{{{b{{Il{c}}}}}{{If{c}}}Ad}{{{b{{Il{c}}}}}BnAd}{{{b{c}}}{{b{e}}}{}{}}000000000000000000{{{b{Afc}}}{{b{Afe}}}{}{}}000000000000000000{{{In{c}}}Ed{{B`{An}}}}{{{J`{c}}}Ed{{B`{An}}}}{{{Jb{c}}}Ed{{B`{An}}}}{{{Jd{ce}}}Ed{{B`{Bn}}}{{B`{Bn}}}}{{{Jf{ce}}}Ed{{B`{An}}}{{B`{Bb}}}}{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}{Bf{k}}}{{n{c}}}{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}{}}0{{{b{{Ib{c}}}}}{{n{{b{h}}}}}Ad}{{{b{Ed}}}{{n{{b{h}}}}}}{{{b{{Kl{c}}}}}{{Kl{c}}}Ad}{{{b{{Kn{c}}}}}{{Kn{c}}}Ad}{{{b{{Id{c}}}}}{{Id{c}}}{BdAd}}{{{b{{Ib{c}}}}}{{Ib{c}}}{BdAd}}{{{b{{L`{c}}}}}{{L`{c}}}{BdAd}}{{{b{{Ih{c}}}}}{{Ih{c}}}{BdAd}}{{{b{{Ij{c}}}}}{{Ij{c}}}{BdAd}}{{{b{{Il{c}}}}}{{Il{c}}}{BdAd}}{{{b{{Lb{c}}}}}{{Lb{c}}}{BdAd}}{{{b{{Ld{c}}}}}{{Ld{c}}}{BdAd}}{{{b{Lf}}}Lf}{{{b{{In{c}}}}}{{In{c}}}Bd}{{{b{{J`{c}}}}}{{J`{c}}}Bd}{{{b{{Jb{c}}}}}{{Jb{c}}}Bd}{{{b{{Jd{ce}}}}}{{Jd{ce}}}BdBd}{{{b{{Jf{ce}}}}}{{Jf{ce}}}BdBd}{{{b{Ed}}}Ed}{{{b{c}}{b{Afe}}}f{}{}}0000000000000000{{{b{{Kl{c}}}}{b{{Kl{c}}}}}LhAd}{{{b{{Kn{c}}}}{b{{Kn{c}}}}}LhAd}{{{b{{Ij{c}}}}}{{b{Lj}}}Ad}{{{b{c}}{b{e}}}Lh{}{}}0{{{Ll{c}}g}{{Ch{ce}}}{}{hLn}{{Md{e}{{M`{Mb}}}}}}{{{b{{Ih{c}}}}}{{b{{Mf{c}}}}}Ad}{{}Mh}{{{b{Mh}}c}{{Ch{{Mj{eEdc}}Ml}}}Hj{G`GbMn}}{Cb{{b{c}}}{}}000000000000000000{Cb{{b{Afc}}}{}}000000000000000000{{{b{{Ib{c}}}}}{{b{Cd}}}Ad}{{{b{Ed}}}{{b{Cd}}}}{{{b{c}}{b{Afe}}}{{Ch{{Cf{gi}}}}}{}{}{}{}}000{c{{Ch{{Id{e}}}}}CjAd}111{c{{Ch{{L`{e}}}}}CjAd}{c{{Ch{{Ih{e}}}}}CjAd}3{c{{Ch{{Ij{e}}}}}CjAd}4{c{{Ch{{Il{e}}}}}CjAd}5{c{{Ch{{Lb{e}}}}}CjAd}6{c{{Ch{{Ld{e}}}}}CjAd}7777777{c{{Ch{Ed}}}Cj}8{Cbf}000000000000000000{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}}{{N`{Kj}}}{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}}0{{{b{{L`{c}}}}}{{`{{Kj{}{{Kh{{Ej{{Nb{c}}{Nd{c}}}}}}}}}}}Ad}{{{b{{Kl{c}}}}{b{{Kl{c}}}}}ClAd}{{{b{{Kn{c}}}}{b{{Kn{c}}}}}ClAd}{{{b{{Id{c}}}}{b{{Id{c}}}}}Cl{K`Ad}}{{{b{{L`{c}}}}{b{{L`{c}}}}}Cl{K`Ad}}{{{b{{Ih{c}}}}{b{{Ih{c}}}}}Cl{K`Ad}}{{{b{{Ij{c}}}}{b{{Ij{c}}}}}Cl{K`Ad}}{{{b{{Il{c}}}}{b{{Il{c}}}}}Cl{K`Ad}}{{{b{{Lb{c}}}}{b{{Lb{c}}}}}Cl{K`Ad}}{{{b{{Ld{c}}}}{b{{Ld{c}}}}}Cl{K`Ad}}{{{b{c}}{b{e}}}Cl{}{}}00000000000000000000000000000000000`{{{In{c}}}{{Ch{eEd}}}{{B`{An}}}{}}{{{J`{c}}}{{Ch{eEd}}}{{B`{An}}}{}}{{{Jb{c}}}{{Ch{eEd}}}{{B`{An}}}{}}{{{Jd{ce}}}{{Ch{gEd}}}{{B`{Bn}}}{{B`{Bn}}}{}}{{{Jf{ce}}}{{Ch{gEd}}}{{B`{An}}}{{B`{Bb}}}{}}`{{{b{{Kl{c}}}}{b{AfDl}}}EbAd}0{{{b{{Kn{c}}}}{b{AfDl}}}EbAd}0{{{b{{Id{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{Ib{c}}}}{b{AfDl}}}EbAd}{{{b{{Ib{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{L`{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{Ih{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{Ij{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{Il{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{Lb{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{Ld{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{Lf}}{b{AfDl}}}Eb}{{{b{{In{c}}}}{b{AfDl}}}EbE`}{{{b{{J`{c}}}}{b{AfDl}}}EbE`}{{{b{{Jb{c}}}}{b{AfDl}}}EbE`}{{{b{{Jd{ce}}}}{b{AfDl}}}EbE`E`}{{{b{{Jf{ce}}}}{b{AfDl}}}EbE`E`}{{{b{Ed}}{b{AfDl}}}Eb}0{cc{}}0{Cb{{Kl{c}}}Ad}1{{{Nf{c}}}{{Kl{c}}}Ad}{Cb{{Kn{c}}}Ad}{{{If{c}}}{{Kn{c}}}Ad}4444{{{L`{c}}}{{Ih{c}}}Ad}5555{{{L`{c}}}{{Lb{c}}}Ad}6666666{NhEd}7{{{Ej{AnBb}}}Ed}{{bb}{{Id{c}}}Ad}{{bb}{{L`{c}}}Ad}{{bb}{{Ih{c}}}Ad}{{bb}{{Ij{c}}}Ad}{{{b{{Gn{}{{Nj{c}}{Nl{g}}{Nn{i}}{O`{k}}}}}}m}{{Od{{N`{Ob}}}}}{{Of{}{{Kh{{Ll{{Id{e}}}}}}}}OhG`}Ad{{Of{}{{Kh{{Ll{{L`{e}}}}}}}}OhG`}{{Of{}{{Kh{{Ll{{Ih{e}}}}}}}}OhG`}{{Of{}{{Kh{{Ll{{Ij{e}}}}}}}}OhG`}{{B`{{Kn{e}}}}G`Gb}}{{{b{{Gn{}{{Nj{c}}{Nl{g}}{Nn{i}}{O`{k}}}}}}m}{{Od{{N`{Ob}}}}}{{Of{}{{Kh{{Ll{{Id{e}}}}}}}}OhG`}Ad{{Of{}{{Kh{{Ll{{L`{e}}}}}}}}OhG`}{{Of{}{{Kh{{Ll{{Ih{e}}}}}}}}OhG`}{{Of{}{{Kh{{Ll{{Ij{e}}}}}}}}OhG`}{{Oj{Cb}}G`}}{{{b{c}}{b{e}}}Bn{FdFf}Fh}0{{{b{{Gn{}{{Nj{c}}{Nl{g}}{Nn{i}}{O`{k}}}}}}m}{{Od{{N`{Ob}}}}}{{Of{}{{Kh{{Ll{{Id{e}}}}}}}}OhG`}Ad{{Of{}{{Kh{{Ll{{L`{e}}}}}}}}OhG`}{{Of{}{{Kh{{Ll{{Ih{e}}}}}}}}OhG`}{{Of{}{{Kh{{Ll{{Ij{e}}}}}}}}OhG`}{{B`{{Kl{e}}}}G`Gb}}232{{{b{{Gn{}{{Nj{c}}{Nl{g}}{Nn{i}}{O`{k}}}}}}{Ol{e}}}{{Od{{N`{Ob}}}}}{{Of{}{{Kh{{Ll{{Id{e}}}}}}}}OhG`}Ad{{Of{}{{Kh{{Ll{{L`{e}}}}}}}}OhG`}{{Of{}{{Kh{{Ll{{Ih{e}}}}}}}}OhG`}{{Of{}{{Kh{{Ll{{Ij{e}}}}}}}}OhG`}}43{{{b{{Kl{c}}}}{b{Afe}}}fAdFj}{{{b{{Kn{c}}}}{b{Afe}}}fAdFj}{{{b{{Id{c}}}}}{{Nf{c}}}Ad}{{{b{{L`{c}}}}}{{If{c}}}Ad}{{{b{{Ih{c}}}}}OnAd}{{{b{{Il{c}}}}}{{Ol{c}}}Ad}{{{b{{Lb{c}}}}}{{If{c}}}Ad}{{ce}{{Fl{eg}}}{}{FnG`Gb}{}}0{{{b{{Id{c}}}}}{{b{{A@`{c}}}}}Ad}1{{{b{{L`{c}}}}}{{b{{A@`{c}}}}}Ad}{{{b{{Lb{c}}}}}{{b{{A@`{c}}}}}Ad}3{{{b{{Id{c}}}}}BnAd}{{{b{{L`{c}}}}}BnAd}{{{b{{Ih{c}}}}}BnAd}{{{b{{Ij{c}}}}}BnAd}{{{b{{Lb{c}}}}}BnAd}`{c{}{}}0{{{b{{Il{c}}}}}BnAd}`{{}Cb}000000000000000000{{{b{Af{A@d{}{{A@b{c}}}}}}{L`{e}}}{{Od{{N`{Ob}}}}}{hE`G`Gb}Ad}{{{b{Af{A@d{}{{A@b{c}}}}}}{Id{e}}}{{Od{{N`{Ob}}}}}{hE`G`Gb}Ad}{{{b{Af{A@d{}{{A@b{c}}}}}}{Ij{e}}{n{A@f}}}{{Od{{N`{Ob}}}}}{hE`G`Gb}Ad}{cEdFn}{ce{}{}}000000000000000000{{Lfc}Ed{}}{{{In{c}}e}Ed{{B`{An}}}{}}{{{J`{c}}e}Ed{{B`{An}}}{}}{{{Jb{c}}e}Ed{{B`{An}}}{}}{{{Jd{ce}}g}Ed{{B`{Bn}}}{{B`{Bn}}}{}}{{{Jf{ce}}g}Ed{{B`{An}}}{{B`{Bb}}}{}}{{{Ll{c}}}eG`{}}{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}}Cl{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}}0{{{b{{L`{c}}}}}ClAd}{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}}e{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}}{{}{{Ch{GhGj}}}}000000000000000000{{{b{{Id{c}}}}}{{b{{Ab{c}}}}}Ad}`{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}}Cb{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}}{{{b{{L`{c}}}}}CbAd}{{{Ll{c}}g}{{Ll{e}}}{}{}{G`{A@j{c}{{A@h{e}}}}}}`{{{b{{L`{c}}}}}{{b{{A@l{c}}}}}Ad}{{{Ab{c}}{A@n{c}}}{{Ch{{Id{c}}{Ib{c}}}}}Ad}{{{A@`{c}}{Mf{c}}}{{L`{c}}}Ad}{{{A@`{c}}Lj}{{Ij{c}}}Ad}{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}Cb}{{n{c}}}{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}}0{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}Cb}{{n{k}}}{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}{}}0{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}Cb}{{n{{Ej{kg}}}}}{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}{}}0{{{b{{L`{c}}}}}BnAd}{{{b{{Lb{c}}}}}BnAd}{{{b{{Kl{c}}}}{b{{Kl{c}}}}}{{n{Lh}}}Ad}{{{b{{Kn{c}}}}{b{{Kn{c}}}}}{{n{Lh}}}Ad}{{{b{{L`{c}}}}}{{b{{Mf{c}}}}}Ad}{{{b{{Id{c}}}}}OnAd}{{{b{{L`{c}}}}}OnAd}{{{b{{Ij{c}}}}}OnAd}{b}000000000000000000{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}{b{c}}}{{n{g}}}{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}}0{{{b{{Il{c}}}}}{{b{{AA`{c}}}}}Ad}{{{b{{Id{c}}}}}{{b{{A@n{c}}}}}Ad}`{{{Ll{c}}}cG`}```{{{b{{Id{c}}}}e}ChAdHn}{{{b{{L`{c}}}}e}ChAdHn}{{{b{{Ih{c}}}}e}ChAdHn}{{{b{{Ij{c}}}}e}ChAdHn}{{{b{{Il{c}}}}e}ChAdHn}{{{b{{Lb{c}}}}e}ChAdHn}{{{b{{Ld{c}}}}e}ChAdHn}{{{b{Ed}}c}ChHn}{{{b{{L`{c}}}}}BnAd}{{{b{{Ih{c}}}}}BnAd}{{{b{{Lb{c}}}}}BnAd}{{{b{{Ib{c}}}}}{{n{{b{h}}}}}Ad}{{{b{Ed}}}{{n{{b{h}}}}}}{{{b{Ed}}}Bb}`{{{b{{Gn{}{{Nj{c}}{Nl{g}}{Nn{i}}{O`{k}}}}}}Cb}{{Od{{N`{Ob}}}}}{{Of{}{{Kh{{Ll{{Id{e}}}}}}}}OhG`}Ad{{Of{}{{Kh{{Ll{{L`{e}}}}}}}}OhG`}{{Of{}{{Kh{{Ll{{Ih{e}}}}}}}}OhG`}{{Of{}{{Kh{{Ll{{Ij{e}}}}}}}}OhG`}}0000000{{{b{AAb}}}Bn}{{{b{c}}}e{}{}}0000000000000000{{{b{c}}}An{}}000{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}{b{c}}}{{n{k}}}{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}{}}0{{{b{{L`{c}}}}{b{{Nb{c}}}}}{{n{{Nd{c}}}}}Ad}{{{b{{Il{c}}}}}{{b{{Nd{c}}}}}Ad}{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}{Bf{k}}}{{n{k}}}{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}{}}0{{{b{{L`{c}}}}{Bf{{Nd{c}}}}}{{n{{Nb{c}}}}}Ad}{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}{Bf{k}}}{{n{{Ej{kg}}}}}{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}{}}0{{{b{{Jn{}{{Jh{c}}{Jj{e}}{Jl{g}}}}}}{b{i}}{b{c}}}{{n{{Ej{kg}}}}}{BdE`K`KbKdHlKfG`Gb}{{Kj{}{{Kh{c}}}}}{BdE`K`KbHlKfG`Gb}{}{}}{c{{Ch{e}}}{}{}}0000000000000000000000000000000000000{{{Ll{c}}}{{Ch{c{Ll{c}}}}}{}}{{{b{c}}}I`{}}000000000000000000{ce{}{}}000000000000000000{{{Ll{c}}i}{{Ch{ce}}}{}{hLn}{{Md{e}{{M`{Mb}}}}}{{A@j{}{{A@h{g}}}}}}{{{Ll{c}}AAd}{{n{c}}}G`}`````````````````{{{b{c}}d}f{}}0{{{b{Af{AAf{ce}}}}}{{b{Afe}}}{}{}}{{{b{{AAf{ce}}}}}{{b{e}}}{}{}}`{{{b{{AAf{eg}}}}}{{Od{{N`{Ob}}}}}Ad{{H`{c}}G`Gb}{G`Gb}}{{{b{{AAf{ce}}}}}{{Od{{N`{Ob}}}}}{HbG`Gb}{G`Gb}}{{{b{AAh}}}{{Od{{N`{Ob}}}}}}{{{b{c}}}{{b{e}}}{}{}}0{{{b{Afc}}}{{b{Afe}}}{}{}}0{{{b{{AAf{ce}}}}}{{AAf{ce}}}BdBd}{{{b{AAh}}}AAh}{{{b{c}}{b{Afe}}}f{}{}}0{{{b{Af{Hf{}{{A@b{c}}}}}}}{{Od{{N`{Ob}}}}}{hE`G`Gb}}{{{b{Af{AAf{ce}}}}}{{Od{{N`{Ob}}}}}{HfG`}G`}{{{b{c}}}{{Od{{N`{Ob}}}}}{}}00:{Cb{{Od{{N`{Ob}}}}}}{{{b{AAj}}e}{{AAn{{AAl{ce}}}}}Ad{{AB`{c}}}}11{{{b{AfABb}}e}{{AAn{{AAl{ce}}}}}Ad{{AB`{c}}}}{{}AAh}{Cb{{b{c}}}{}}0{Cb{{b{Afc}}}{}}0{{{b{c}}{b{Afe}}}{{Ch{{Cf{gi}}}}}{}{}{}{}}0{Cbf}0`{{{b{{AAf{ce}}}}{b{AfDl}}}EbE`E`}{{{b{AAh}}{b{AfDl}}}Eb}{cc{}}0{{{b{{AAf{eg}}}}i}{{Od{{N`{Ob}}}}}Ad{{Gn{c}}G`Gb}{G`Gb}{{B`{{Kn{c}}}}G`Gb}}{{{b{{AAf{eg}}}}{ABd{c}}}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}{{{b{{AAf{eg}}}}i}{{Od{{N`{Ob}}}}}Ad{{Gn{c}}G`Gb}{G`Gb}{{Oj{Cb}}G`}}{{{b{{AAf{eg}}}}{ABh{c}}}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}{{{b{{AAf{eg}}}}}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}{{{b{{AAf{eg}}}}iBn}{{Od{{N`{Ob}}}}}Ad{{H`{c}}G`Gb}{G`Gb}{{B`{{ABj{c}}}}G`Gb}}{{{b{{AAf{ce}}}}}{{Od{{N`{Ob}}}}}{ABlG`Gb}{G`Gb}}{{{b{{AAf{eg}}}}i}{{Od{{N`{Ob}}}}}Ad{{Gn{c}}G`Gb}{G`Gb}{{B`{{Kl{c}}}}G`Gb}}5{{{b{{AAf{gi}}}}{ABn{ce}}}{{Od{{N`{Ob}}}}}Ad{{AC`{c}}}{{ACb{ce}}G`Gb}{G`Gb}}86{{{b{{AAf{eg}}}}An}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}{{{b{{AAf{eg}}}}{Ol{c}}}{{Od{{N`{Ob}}}}}Ad{{Gn{c}}G`Gb}{G`Gb}}{{{b{{AAf{eg}}}}{ACd{c}}}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}{{{b{{AAf{eg}}}}{ACf{c}}}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}<:{{{b{Af{AAl{AChc}}}}{b{{ACj{ACh}}}}}{{Od{{N`{Ob}}}}}{{AB`{ACh}}ACl}}{{{b{Af{AAf{ce}}}}{b{{ACj{ACh}}}}}{{Od{{N`{Ob}}}}}ACn{AClG`Gb}}{{{b{AfAAh}}{b{{ACj{ACh}}}}}{{Od{{N`{Ob}}}}}}{{}Cb}0{{{b{{AAf{ce}}}}}{{b{c}}}{}{}}{{{b{Af{AAf{ce}}}}}{{b{Afc}}}{}{}}{{{b{Af{AAf{eg}}}}{L`{c}}}{{Od{{N`{Ob}}}}}Ad{{A@d{c}}G`Gb}{G`Gb}}{{{b{Af{AAf{eg}}}}{Id{c}}}{{Od{{N`{Ob}}}}}Ad{{A@d{c}}G`Gb}{G`Gb}}{{{b{Af{AAf{gi}}}}AD`{ADb{Cb}}Bn}{{Od{{N`{Ob}}}}}Ad{{AC`{c}}}{{ADd{ce}}G`Gb}{G`Gb}}{{{b{Af{AAf{eg}}}}{Ij{c}}{n{A@f}}}{{Od{{N`{Ob}}}}}Ad{{A@d{c}}G`Gb}{G`Gb}}{ce{}{}}0{{}{{Ch{GhGj}}}}0{{{b{{AAf{ce}}}}}{{b{ADf}}}{HbG`Gb}{G`Gb}}{{{b{AAh}}}{{b{ADf}}}}{{ce}{{AAf{ce}}}{}{}}`{{{b{AAj}}e}{{AAn{{AAl{ce}}}}}Ad{{AB`{c}}}}{{{b{AfABb}}e}{{AAn{{AAl{ce}}}}}Ad{{AB`{c}}}}{{{b{{AAf{eg}}}}}{{Od{{N`{Ob}}}}}Ad{{H`{c}}G`Gb}{G`Gb}}`{b}0{{{b{c}}}{{N`{ADh}}}{}}0{{{b{c}}}{{Od{{N`{Ob}}}}}{}}00{{{b{Af{Hf{}{{A@b{c}}}}}}}{{Od{{N`{Ob}}}}}{hE`G`Gb}}{{{b{Af{AAf{ce}}}}}{{Od{{N`{Ob}}}}}{HfG`}G`}{{{b{Af{AAf{ce}}}}Cb}{{Od{{N`{Ob}}}}}{ABlG`Gb}{G`Gb}}{{{b{Af{AAl{ce}}}}}{{AAn{f}}}Ad{{AB`{c}}}}```7{{{b{c}}}e{}{}}0{c{{Ch{e}}}{}{}}000{{{b{c}}}I`{}}0{{{b{AfHd}}{b{{ACj{c}}}}}{{Od{{N`{Ob}}}}}Ad}{{{b{Afc}}{b{{ACj{e}}}}}{{Od{{N`{Ob}}}}}{}{}}{{{b{{AAf{eg}}}}i}{{Od{{N`{Ob}}}}}Ad{{H`{c}}G`Gb}{G`Gb}{{B`{{Kn{c}}}}G`Gb}}{ce{}{}}0{{}f}0``````{{{b{c}}d}f{}}0{{{b{{ADj{ceg}}}}}{{Od{{N`{Ob}}}}}Ad{{H`{c}}G`Gb}{G`Gb}}0{{{b{c}}}{{b{e}}}{}{}}0000{{{b{Afc}}}{{b{Afe}}}{}{}}0000{{{ADl{ceg}}}{{AAn{{ADj{ceg}}}}}Ad{{H`{c}}{ADn{c}}}{{AB`{c}}}}{{eg}{{ADl{ceg}}}Ad{{H`{c}}{ADn{c}}}{{AB`{c}}}}{{{b{Afc}}}Cl{}}{{{b{{ADj{ceg}}}}}{{ADj{ceg}}}Ad{}{}}{{{b{{AE`{ceg}}}}}{{AE`{ceg}}}Ad{}{}}{{{b{c}}{b{Afe}}}f{}{}}0{{{b{Af{ADj{ceg}}}}}{{Od{{N`{Ob}}}}}Ad{HfG`Gb}{G`Gb}}{{AEbe}{{Ch{{AEd{ce}}Dh}}}Ad{{AB`{c}}}}:{{{b{AAj}}e}{{AAn{{ADj{c{AEf{c}}e}}}}}Ad{{AB`{c}}}}{{{b{AfABb}}e}{{AAn{{ADj{c{AEf{c}}e}}}}}Ad{{AB`{c}}}}{Cb{{b{c}}}{}}00{{{b{{AEh{ce}}}}}{{b{g}}}Ad{}{}}11{{{b{{AEj{ce}}}}}{{b{g}}}Ad{}{}}{Cb{{b{Afc}}}{}}000{{{b{Af{AEj{ce}}}}}{{b{Afg}}}Ad{}{}}1{{{b{c}}{b{Afe}}}{{Ch{{Cf{gi}}}}}{}{}{}{}}0000{{{ADl{ceg}}}{{ADl{ceg}}}{}{}{}}{Cbf}0000{{{b{{ADj{ceg}}}}{b{AfDl}}}EbAdE`E`}{{{b{{AE`{ceg}}}}{b{AfDl}}}EbAdE`E`}{cc{}}00{{{AEl{{`{ce}}}}}{{AEh{ce}}}Ad{}}11{{{AEn{{`{ce}}}}}{{AEj{ce}}}Ad{}}{{{b{{ADj{ceg}}}}i}{{Od{{N`{Ob}}}}}Ad{{ADn{c}}}{{AB`{c}}}{{B`{{Kn{c}}}}G`Gb}}{{{b{{ADj{ceg}}}}{ABd{c}}}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}{{{b{{ADj{ceg}}}}i}{{Od{{N`{Ob}}}}}Ad{{ADn{c}}}{{AB`{c}}}{{Oj{Cb}}G`}}{{{b{{ADj{ceg}}}}{ABh{c}}}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}{{{b{c}}}AF`{}}{{{b{{ADj{ceg}}}}}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}{{{b{{ADj{ceg}}}}iBn}{{Od{{N`{Ob}}}}}Ad{{H`{c}}G`Gb}{G`Gb}{{B`{{ABj{c}}}}G`Gb}}{{{b{{ADj{ceg}}}}}{{Od{{N`{Ob}}}}}Ad{ABlG`Gb}{G`Gb}}{{{b{{ADj{ceg}}}}i}{{Od{{N`{Ob}}}}}Ad{{ADn{c}}}{{AB`{c}}}{{B`{{Kl{c}}}}G`Gb}}6{{{b{{ADj{cgi}}}}{ABn{ce}}}{{Od{{N`{Ob}}}}}Ad{{AC`{c}}}{{ACb{ce}}G`Gb}{{AB`{c}}}}97{{{b{{ADj{ceg}}}}An}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}{{{b{{ADj{ceg}}}}{Ol{c}}}{{Od{{N`{Ob}}}}}Ad{{ADn{c}}}{{AB`{c}}}}{{{b{{ADj{ceg}}}}{ACd{c}}}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}{{{b{{ADj{ceg}}}}{ACf{c}}}{{Od{{N`{Ob}}}}}Ad{{ABf{c}}G`Gb}{G`Gb}}=;{{}Cb}0000{{{b{Af{ADj{ceg}}}}{L`{c}}}{{Od{{N`{Ob}}}}}Ad{{A@d{c}}G`Gb}{G`Gb}}{{{b{Af{ADj{ceg}}}}{Id{c}}}{{Od{{N`{Ob}}}}}Ad{{A@d{c}}G`Gb}{G`Gb}}{{{b{Af{ADj{cgi}}}}AD`{ADb{Cb}}Bn}{{Od{{N`{Ob}}}}}Ad{{AC`{c}}}{{ADd{ce}}G`Gb}{{AB`{c}}}}{{{b{Af{ADj{ceg}}}}{Ij{c}}{n{A@f}}}{{Od{{N`{Ob}}}}}Ad{{A@d{c}}G`Gb}{G`Gb}}{ce{}{}}0000{{{b{c}}}Cl{}}{{}{{Ch{GhGj}}}}0000{{{b{c}}}{{AFb{e}}}{}{}}{{{b{c}}}{}{}}10{{{b{{ADj{ceg}}}}}{{b{ADf}}}Ad{{H`{c}}G`Gb}{G`Gb}}{{ce}{{ADl{gce}}}{}{}{}}{{{b{AAj}}e}{{AAn{{ADj{c{AEf{c}}e}}}}}Ad{{AB`{c}}}}{{{b{AfABb}}e}{{AAn{{ADj{c{AEf{c}}e}}}}}Ad{{AB`{c}}}}{{{b{{ADj{ceg}}}}}{{Od{{N`{Ob}}}}}Ad{{H`{c}}G`Gb}{G`Gb}}{b}0000{{{b{c}}}{{N`{ADh}}}{}}{{{b{Afc}}{b{AFd}}}{{Ch{AFfAFh}}}{}}{{{b{Afc}}{b{{AFl{AFj}}}}}{{Ch{AFfAFh}}}{}}{{{b{Afc}}{b{{AFl{AFj}}}}CbCb}{{Ch{{ADb{AFf}}AFh}}}{}}{{{b{Af{ADj{ceg}}}}}{{Od{{N`{Ob}}}}}Ad{HfG`Gb}{G`Gb}}{{{b{Af{ADj{ceg}}}}Cb}{{Od{{N`{Ob}}}}}Ad{ABlG`Gb}{G`Gb}}{{{b{Af{ADj{c{AEf{c}}e}}}}}{{AAn{f}}}Ad{{AB`{c}}}}{{{b{{ADj{ceg}}}}}{{AEh{ce}}}Ad{}{}}{{{b{{ADj{ceg}}}}}{{AEj{ce}}}Ad{}{}}{{{b{c}}}Cl{}};{{{b{c}}}e{}{}}0{{{b{Af{ADj{cAFne}}}}}{{AGb{AG`}}}Ad{}}{c{{Ch{e}}}{}{}}000000000{{{b{c}}}I`{}}0000{{{b{Afc}}{b{{ACj{e}}}}}{{Od{{N`{Ob}}}}}{}{}}{{{b{{ADj{ceg}}}}i}{{Od{{N`{Ob}}}}}Ad{{H`{c}}G`Gb}{G`Gb}{{B`{{Kn{c}}}}G`Gb}}{ce{}{}}0000{{{ADl{ceg}}AAd}{{ADl{ceg}}}{}{}{}}0{{{ADl{ceg}}Cb}{{ADl{ceg}}}{}{}{}}010001{{}f}0000000```````{{{b{{AGd{ce}}}}}{{Od{{N`{Ob}}}}}Ad{G`Gb}}{{{b{c}}}{{Od{{N`{Ob}}}}}{}}{{AEbe}{{Ch{{AEd{ce}}Dh}}}Ad{{AB`{c}}}}{Cb{{Od{{N`{Ob}}}}}}{{{b{Af{AGd{AChc}}}}{b{{ACj{ACh}}}}}{{Od{{N`{Ob}}}}}{{AB`{ACh}}ACl}}``3`{{{b{Af{AGd{ce}}}}}{{AGb{AG`}}}Ad{}}`6``````{{{b{ADn}}{Kn{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{ABf}}{ABd{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{ADn}}c}{{Od{{N`{Ob}}}}}{{Oj{Cb}}G`}}{{{b{ABf}}{ABh{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{ABf}}}{{Od{{N`{Ob}}}}}}4{{{b{ADn}}{Kl{c}}}{{Od{{N`{Ob}}}}}Ad}353{{{b{ABf}}An}{{Od{{N`{Ob}}}}}}{{{b{ADn}}{Ol{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{ABf}}{ACd{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{ABf}}{ACf{c}}}{{Od{{N`{Ob}}}}}Ad}97````{{{b{{AEf{c}}}}}{{Od{{N`{Ob}}}}}Ad}{{{b{c}}}{{b{e}}}{}{}}{{{b{Afc}}}{{b{Afe}}}{}{}}{{{b{Af{AEf{c}}}}}{{Od{{N`{Ob}}}}}Ad}3{{{b{AAj}}}{{Ch{{AEf{c}}AGf}}}Ad}{{{b{AfABb}}}{{Ch{{AEf{c}}AGf}}}Ad}{Cb{{b{c}}}{}}{Cb{{b{Afc}}}{}}{{{b{c}}{b{Afe}}}{{Ch{{Cf{gi}}}}}{}{}{}{}}{Cbf}{{{b{{AEf{c}}}}{b{AfDl}}}EbAd}{cc{}}{{{b{{AEf{c}}}}{Kn{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{{AEf{c}}}}e}{{Od{{N`{Ob}}}}}Ad{{Oj{Cb}}G`}}1{{{b{{AEf{c}}}}eBn}{{Od{{N`{Ob}}}}}Ad{{B`{{ABj{c}}}}G`Gb}}{{{b{{AEf{c}}}}{Kl{c}}}{{Od{{N`{Ob}}}}}Ad}232{{{b{{AEf{c}}}}{Ol{c}}}{{Od{{N`{Ob}}}}}Ad}43{{}Cb}{{{b{Af{AEf{c}}}}{L`{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{Af{AEf{c}}}}{Id{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{Af{AEf{c}}}}{Ij{c}}{n{A@f}}}{{Od{{N`{Ob}}}}}Ad}{ce{}{}}{{}{{Ch{GhGj}}}}{{{b{AAj}}}{{Ch{{AEf{c}}AGf}}}Ad}{{{b{AfABb}}}{{Ch{{AEf{c}}AGf}}}Ad}{{{b{{AEf{c}}}}}{{Od{{N`{Ob}}}}}Ad}{b}{{{b{Af{AEf{c}}}}}{{Od{{N`{Ob}}}}}Ad}{{{b{Af{AEf{c}}}}}{{Ch{fAGf}}}Ad}3{c{{Ch{e}}}{}{}}0{{{b{c}}}I`{}}{{{b{{AEf{c}}}}e}{{Od{{N`{Ob}}}}}Ad{{B`{{Kn{c}}}}G`Gb}}:`{{{b{c}}d}f{}}{{{b{AGh}}}{{Od{{N`{Ob}}}}}}{{{b{c}}}{{b{e}}}{}{}}{{{b{Afc}}}{{b{Afe}}}{}{}}{{{b{AGh}}}AGh}{{{b{c}}{b{Afe}}}f{}{}}{{{b{AfAGh}}}{{Od{{N`{Ob}}}}}}5{{}AGh}{Cb{{b{c}}}{}}{Cb{{b{Afc}}}{}}{{{b{c}}{b{Afe}}}{{Ch{{Cf{gi}}}}}{}{}{}{}}{Cbf}{{{b{AGh}}{b{AfDl}}}Eb}{cc{}}{{{b{AGh}}{Kn{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{AGh}}c}{{Od{{N`{Ob}}}}}{{Oj{Cb}}G`}}1{{{b{AGh}}eBn}{{Od{{N`{Ob}}}}}Ad{{B`{{ABj{c}}}}G`Gb}}{{{b{AGh}}{Kl{c}}}{{Od{{N`{Ob}}}}}Ad}232{{{b{AGh}}{Ol{c}}}{{Od{{N`{Ob}}}}}Ad}43{{}Cb}{{{b{AfAGh}}{L`{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{AfAGh}}{Id{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{AfAGh}}{Ij{c}}{n{A@f}}}{{Od{{N`{Ob}}}}}Ad}{ce{}{}}{{}{{Ch{GhGj}}}}{{{b{AGh}}}{{Od{{N`{Ob}}}}}}{b}{{{b{AfAGh}}}{{Od{{N`{Ob}}}}}}2`{{{b{c}}}e{}{}}{c{{Ch{e}}}{}{}}0{{{b{c}}}I`{}}{{{b{AGh}}e}{{Od{{N`{Ob}}}}}Ad{{B`{{Kn{c}}}}G`Gb}}8``````{{{b{AGj}}}{{Od{{N`{Ob}}}}}}0{{{b{c}}}{{b{e}}}{}{}}0{{{b{Afc}}}{{b{Afe}}}{}{}}0{{{b{AfAGj}}}{{Od{{N`{Ob}}}}}}{{{b{c}}}{{Od{{N`{Ob}}}}}{}}4{Cb{{Od{{N`{Ob}}}}}}{Cb{{b{c}}}{}}0{Cb{{b{Afc}}}{}}0{{{b{c}}{b{Afe}}}{{Ch{{Cf{gi}}}}}{}{}{}{}}0{Cbf}0{cc{}}0{{{b{AGj}}c}{{Od{{N`{Ob}}}}}{{B`{{Kn{ACh}}}}G`Gb}}{{{b{AGj}}c}{{Od{{N`{Ob}}}}}{{Oj{Cb}}G`}}{{{b{AGj}}cBn}{{Od{{N`{Ob}}}}}{{B`{{ABj{ACh}}}}G`Gb}}{{{b{AGj}}c}{{Od{{N`{Ob}}}}}{{B`{{Kl{ACh}}}}G`Gb}}232{{{b{AGj}}{Ol{ACh}}}{{Od{{N`{Ob}}}}}}43{{{b{AfAGj}}{b{{ACj{ACh}}}}}{{Od{{N`{Ob}}}}}}{{}Cb}0{{{b{AfAGj}}{L`{ACh}}}{{Od{{N`{Ob}}}}}}{{{b{AfAGj}}{Id{ACh}}}{{Od{{N`{Ob}}}}}}{{{b{AfAGj}}{Ij{ACh}}{n{A@f}}}{{Od{{N`{Ob}}}}}}{ce{}{}}0{{}{{Ch{GhGj}}}}0{{{b{AGj}}}{{b{ADf}}}}{{{b{AGj}}}{{Od{{N`{Ob}}}}}}{b}0{{{b{c}}}{{N`{ADh}}}{}}{{{b{c}}}{{Od{{N`{Ob}}}}}{}}{{{b{AfAGj}}}{{Od{{N`{Ob}}}}}}{{{b{Af{AGl{AGj}}}}}{{Od{{N`{Ob}}}}}}5{c{{Ch{e}}}{}{}}000{{{b{c}}}I`{}}0{{{b{Afc}}{b{{ACj{e}}}}}{{Od{{N`{Ob}}}}}{}{}}{{{b{AGj}}c}{{Od{{N`{Ob}}}}}{{B`{{Kn{ACh}}}}G`Gb}}<<``````{{{b{c}}d}f{}}{{{b{AGn}}}Bn}{{{b{c}}}{{b{e}}}{}{}}{{{b{Afc}}}{{b{Afe}}}{}{}}{{{b{AGn}}}AGn}{{{b{c}}{b{Afe}}}f{}{}}{{}AGn}{Cb{{b{c}}}{}}{Cb{{b{Afc}}}{}}{{{b{c}}{b{Afe}}}{{Ch{{Cf{gi}}}}}{}{}{}{}}{Cbf}{{{b{AGn}}{b{AfDl}}}Eb}{cc{}}{{{b{AH`}}}{{Od{{N`{Ob}}}}}}{{{b{AHb}}}{{n{AGn}}}}{{}Cb}{{{b{AGn}}}AAd}{ce{}{}}{{}{{Ch{GhGj}}}}{{{b{{AHd{}{{A@b{c}}}}}}}{{Od{{N`{Ob}}}}}{hE`G`Gb}}{{{b{AGn}}}AHf}4>{b}{{{b{AfAH`}}}{{Od{{N`{Ob}}}}}}{{{b{AGn}}}{{n{Bn}}}}{{{b{Af{AHd{}{{A@b{c}}}}}}Bn}{{Od{{N`{Ob}}}}}{hE`G`Gb}}{{{b{AfAHb}}AGn}f}9{{{b{c}}}e{}{}}{c{{Ch{e}}}{}{}}0{{{b{c}}}I`{}}{{{b{AGn}}}{{AAn{f}}}}<{{AGnBn}AGn}{{AGnAAd}AGn}{{AGnAHf}AGn}121```````{{{b{c}}d}f{}}0{{AHhAnAHjBn}AHl}{{{b{AHl}}}{{n{{b{AHj}}}}}}{AEbAEb}{{{b{Dh}}}{{b{h}}}}0{{{b{Dh}}}{{b{l}}}}{{{b{AFn}}}{{Od{{N`{Ob}}}}}}{{{b{c}}}{{b{e}}}{}{}}00000{{{b{Afc}}}{{b{Afe}}}{}{}}00000{{AEbe}{{Ch{{AEd{ce}}Dh}}}Ad{{AB`{c}}}}{{{b{Dh}}}AHn}{{{b{AHl}}}Bn}{{{b{AI`}}}{{Od{{N`{Ob}}}}}}{{{b{AG`}}}{{Od{{N`{Ob}}}}}}7{{{b{AHl}}}AHl}{{{b{AEb}}}AEb}{{{b{c}}{b{Afe}}}f{}{}}0{{{b{AHl}}{b{AHl}}}Lh}{{{b{AfAFn}}}{{Od{{N`{Ob}}}}}}{{{b{c}}{b{e}}}Lh{}{}}{{AEbe}{{Ch{{AGd{ce}}Dh}}}Ad{{AB`{c}}}}{AEb{{Ch{AFnDh}}}}{{Dhc}Dh{FnG`Gb}}{{{b{AFn}}}{{Od{{N`{Ob}}}}}}{{AEb{b{Cd}}}AEb}{{}AEb}{{}AIb}{{}{{ADb{AHl}}}}{Cb{{b{c}}}{}}{{{b{Dh}}}b}11111{Cb{{b{Afc}}}{}}{{{b{AfDh}}}{{b{Af}}}}11111{{{b{c}}{b{Afe}}}{{Ch{{Cf{gi}}}}}{}{}{}{}}00000{Dh{{Ch{cDh}}}{FnE`G`Gb}}{{{b{AfDh}}}{{n{{b{Afc}}}}}{FnE`G`Gb}}{{{b{Dh}}}{{n{{b{c}}}}}{FnE`G`Gb}}{{{b{AfDh}}}f}{Cbf}00000{{{b{AHl}}{b{AHl}}}Cl}{{{b{c}}{b{e}}}Cl{}{}}000{{{b{AfAG`}}{b{c}}e}{{AGb{Bn}}}{FfAId}AIf}{{{b{AfAG`}}{b{c}}e}{{AGb{Bn}}}{FfAIdFn}AIf}{{{b{AfAG`}}{b{c}}e}{{AGb{Bn}}}{FfAIdFn}{AIfBd}}{{{b{AfAG`}}{b{c}}e}{{AGb{f}}}{FfAIdFn}AIf}{{{b{AfAG`}}{b{c}}e}{{AGb{f}}}{FfAIdFn}{AIfBd}}{{{b{Dh}}{b{AfDl}}}{{Ch{fDn}}}}0{{{b{AHl}}{b{AfDl}}}{{Ch{fDn}}}}0{{{b{AEb}}{b{AfDl}}}Eb}{{{b{AFn}}{b{AfDl}}}Eb}{{{b{AIb}}{b{AfDl}}}Eb}{AIhc{}}{cDh{hG`Gb}}{cc{}}00{AIjAEb}111{{{b{Cd}}}{{Ch{AEbc}}}{}}{{{b{AFn}}{Kn{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{AFn}}{ABd{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{AFn}}c}{{Od{{N`{Ob}}}}}{{Oj{Cb}}G`}}{{{b{AFn}}{ABh{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{AFn}}}{{Od{{N`{Ob}}}}}}04{{{b{AFn}}eBn}{{Od{{N`{Ob}}}}}Ad{{B`{{ABj{c}}}}G`Gb}}1{{{b{AFn}}{Kl{c}}}{{Od{{N`{Ob}}}}}Ad}4{{{b{AFn}}{ABn{ce}}}{{Od{{N`{Ob}}}}}Ad{{AC`{c}}}}75{{{b{AFn}}}{{n{AGn}}}}{{{b{AFn}}An}{{Od{{N`{Ob}}}}}}{{{b{AFn}}{Ol{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{AFn}}{ACd{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{AFn}}{ACf{c}}}{{Od{{N`{Ob}}}}}Ad}<:{{ce}{{Fl{eg}}}{}{FnG`Gb}{}}0{{AEbc}AEb{{B`{An}}}}``{{}Cb}00000{{{b{AfAFn}}{L`{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{AfAFn}}{Id{c}}}{{Od{{N`{Ob}}}}}Ad}{{{b{AfAFn}}AD`{ADb{Cb}}Bn}{{Od{{N`{Ob}}}}}}{{{b{AfAFn}}{Ij{c}}{n{A@f}}}{{Od{{N`{Ob}}}}}Ad}{ce{}{}}00000{{{b{Dh}}}Cl}{{}{{Ch{GhGj}}}}00000{{{b{AFn}}}{{Od{{N`{Ob}}}}}}{{AEbc}AEb{{AIf{}{{Kh{AHl}}}}}}{cDh{FnE`G`Gb}}{{{b{AHl}}}{{b{Cd}}}}{cDh{hG`Gb}}{AEbAEb}{{{b{AHl}}{b{AHl}}}{{n{Lh}}}}{{AEb{b{Cd}}}AEb}7{b}00000{{AEbAHf}AEb}`{{{b{AHl}}}{{b{AIl}}}}{{{b{AfAFn}}}{{Od{{N`{Ob}}}}}}{{AEbAGn}{{Ch{AEbDh}}}}{{{b{AI`}}{b{c}}e}{{Od{{N`{Ob}}}}}{FfAIdGb}{AIfG`}}0{{{b{AI`}}{b{c}}}{{Od{{N`{Ob}}}}}{FfAIdGb}}10093{{{b{Dh}}}{{b{h}}}}{{{b{AfAFn}}Bn}{{Od{{N`{Ob}}}}}}{{AEbc}AEb{{B`{An}}}}{{{b{AfAHl}}}f}{{{b{AfAFn}}Cb}{{Od{{N`{Ob}}}}}}{{{b{AfAFn}}AGn}f}{{{b{AHl}}}{{n{{b{Cd}}}}}}{{{b{AFn}}}{{Od{{N`{Ob}}}}}}`{AEbAEb}{{{b{c}}}e{}{}}0{{{b{c}}}An{}}0{{{b{AfAFn}}}{{AGb{AG`}}}}{c{{Ch{e}}}{}{}}00000000000{{{b{c}}}I`{}}00000{{{b{Cd}}{b{Cd}}}{{Ch{AHlAIn}}}}{{{b{AfAG`}}{b{Cd}}{AJ`{{b{Cd}}}}cg}{{AGb{f}}}{{AIf{}{{Kh{{b{Cd}}}}}}}{AJbBd}{{AIf{}{{Kh{{AJ`{e}}}}}}}}{{AEb{b{Cd}}}AEb}{{{b{AHl}}}AJd}{{{b{AFn}}e}{{Od{{N`{Ob}}}}}Ad{{B`{{Kn{c}}}}G`Gb}}{ce{}{}}00000``{{{b{c}}}{{b{e}}}{}{}}0{{{b{Afc}}}{{b{Afe}}}{}{}}0{{{b{AJf}}}AEb}{Cb{{b{c}}}{}}0{Cb{{b{Afc}}}{}}0{{{b{c}}{b{Afe}}}{{Ch{{Cf{gi}}}}}{}{}{}{}}0{Cbf}0{{{b{AfAJf}}}f}{{{b{AJf}}{b{AfDl}}}Eb}{cc{}}0{{{b{AJf}}}An}{{}Cb}{{}AJf}1=={{}{{Ch{GhGj}}}}01{b}0{{{b{AJf}}}AHf}88{c{{Ch{e}}}{}{}}000{{{b{c}}}I`{}}0{ce{}{}}0````````````````````````````````````````````````````````````````````````````````````````````````````{{{b{c}}d}f{}}000000000000000{{AJhAJh}c{}}{{{b{c}}}{{b{h}}}{}}00000000000000000000000``````````{{{b{c}}}{{b{e}}}{}{}}0000000000000000000000000000000000{{{b{Afc}}}{{b{Afe}}}{}{}}0000000000000000000000000000000000{AJjAJh}{{{b{AJl}}}AJl}{{{b{AJn}}}AJn}{{{b{AK`}}}AK`}{{{b{AJh}}}AJh}{{{b{{ABd{c}}}}}{{ABd{c}}}{BdAd}}{{{b{{ACd{c}}}}}{{ACd{c}}}{BdAd}}{{{b{{AKb{c}}}}}{{AKb{c}}}{BdAd}}{{{b{{AKd{c}}}}}{{AKd{c}}}{BdAd}}{{{b{AKf}}}AKf}{{{b{AKh}}}AKh}{{{b{AKj}}}AKj}{{{b{AKl}}}AKl}{{{b{AKn}}}AKn}{{{b{AL`}}}AL`}{{{b{ALb}}}ALb}{{{b{En}}}En}{{{b{c}}{b{Afe}}}f{}{}}000000000000000{{{b{AK`}}{b{AK`}}}Lh}{{{b{c}}{b{e}}}Lh{}{}}````{{}{{ACf{c}}}Ad}{c{{Ch{{Mj{eEnc}}Ml}}}Hj{G`GbMn}}{Cb{{b{c}}}{}}0000000000000000000000000000000000{Cb{{b{Afc}}}{}}0000000000000000000000000000000000{{{b{c}}{b{Afe}}}{{Ch{{Cf{gi}}}}}{}{}{}{}}{c{{Ch{AJl}}}Cj}{c{{Ch{AJn}}}Cj}2{c{{Ch{AK`}}}Cj}3{c{{Ch{AJh}}}Cj}44444{c{{Ch{AKf}}}Cj}5{c{{Ch{{ALd{e}}}}}CjAd}66{c{{Ch{{ALf{e}}}}}CjAd}77{c{{Ch{ALh}}}Cj}8{c{{Ch{{ALj{e}}}}}CjAd}{c{{Ch{{ALl{e}}}}}CjAd}:::{c{{Ch{ALn}}}Cj};{c{{Ch{AM`}}}Cj}<<{c{{Ch{AMb}}}Cj}={c{{Ch{{AMd{e}}}}}CjAd}{c{{Ch{{AMf{e}}}}}CjAd}??{c{{Ch{AKh}}}Cj}{{{b{c}}{b{Afe}}}{{Ch{{Cf{gi}}}}}{}{}{}{}}{c{{Ch{AKj}}}Cj}1{c{{Ch{AKl}}}Cj}2{c{{Ch{AKn}}}Cj}3{c{{Ch{AL`}}}Cj}4{c{{Ch{ALb}}}Cj}{c{{Ch{En}}}Cj}66{c{{Ch{{AMh{e}}}}}CjAd}{c{{Ch{{AMj{e}}}}}CjAd}88{c{{Ch{{AMl{e}}}}}CjAd}{c{{Ch{{AMn{e}}}}}CjAd}:{c{{Ch{{AN`{e}}}}}CjAd};;{c{{Ch{{ANb{e}}}}}CjAd}{Cbf}0000000000000000000000000000000000{{{b{AK`}}{b{AK`}}}Cl}{{{b{AJh}}{b{AJh}}}Cl}{{{b{{ABd{c}}}}{b{{ABd{c}}}}}Cl{K`Ad}}{{{b{{ACd{c}}}}{b{{ACd{c}}}}}Cl{K`Ad}}{{{b{{AKb{c}}}}{b{{AKb{c}}}}}Cl{K`Ad}}{{{b{{AKd{c}}}}{b{{AKd{c}}}}}Cl{K`Ad}}{{{b{AKf}}{b{AKf}}}Cl}{{{b{{ALd{c}}}}{b{{ALd{c}}}}}Cl{K`Ad}}{{{b{{ALf{c}}}}{b{{ALf{c}}}}}Cl{K`Ad}}{{{b{F`}}{b{F`}}}Cl}{{{b{ALh}}{b{ALh}}}Cl}{{{b{{ALj{c}}}}{b{{ALj{c}}}}}Cl{K`Ad}}{{{b{{ALl{c}}}}{b{{ALl{c}}}}}Cl{K`Ad}}{{{b{{ABh{c}}}}{b{{ABh{c}}}}}Cl{K`Ad}}{{{b{c}}{b{e}}}Cl{}{}}0000000000000000000000000000000000000000000000000000000{AJjAJh}0``{{{b{{ANl{}{{ANd{c}}{ANf{e}}{ANh{g}}{ANj{i}}}}}}}e{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}}{{{b{{ANl{}{{ANd{c}}{ANf{e}}{ANh{g}}{ANj{i}}}}}}}c{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}}```{{{b{AJl}}{b{AfDl}}}Eb}0{{{b{AJn}}{b{AfDl}}}Eb}0{{{b{AK`}}{b{AfDl}}}Eb}0{{{b{AJh}}{b{AfDl}}}Eb}0{{{b{{ABd{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{ABd{c}}}}{b{AfDl}}}EbAd}{{{b{{ACd{c}}}}{b{AfDl}}}EbAd}{{{b{{ACd{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{AKb{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{AKd{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{AKf}}{b{AfDl}}}Eb}{{{b{{ALd{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{ALf{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{F`}}{b{AfDl}}}Eb}0{{{b{ALh}}{b{AfDl}}}Eb}{{{b{{ALj{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{ALl{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{ABh{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{ALn}}{b{AfDl}}}Eb}{{{b{{ACf{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{AM`}}{b{AfDl}}}Eb}{{{b{AMb}}{b{AfDl}}}Eb}{{{b{{AMd{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{AMf{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{AKh}}{b{AfDl}}}Eb}0{{{b{AKj}}{b{AfDl}}}Eb}0{{{b{AKl}}{b{AfDl}}}Eb}0{{{b{AKn}}{b{AfDl}}}Eb}0{{{b{AL`}}{b{AfDl}}}Eb}0{{{b{ALb}}{b{AfDl}}}Eb}0{{{b{En}}{b{AfDl}}}Eb}0{{{b{{AMh{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{AMj{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{AMl{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{AMn{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{AN`{c}}}}{b{AfDl}}}Eb{E`Ad}}{{{b{{ANb{c}}}}{b{AfDl}}}Eb{E`Ad}}{cc{}}000{AJjAJh}1111111{ANnF`}2{AO`F`}3333333333{A`AKh}44{A`AKj}{A`AKl}{F`AKl}77{A`AKn}{AKhAL`}{A`AL`}{AKnAL`}{AKjAL`}<{A`ALb}=={{{ALd{c}}}{{AMh{c}}}Ad}>>{{{ADb{{ALf{c}}}}}{{AMj{c}}}Ad}??{{{ADb{{ALl{c}}}}}{{AMn{c}}}Ad}{{{AMd{c}}}{{AN`{c}}}Ad}{cc{}}0{{{AMf{c}}}{{ANb{c}}}Ad}`````{{ce}{{Fl{eg}}}{}{FnG`Gb}{}}0000000000000`````{c{}{}}0000000{{}Cb}0000000000000000000000000000000000{ce{}{}}0000000000000000000000000000000000{c{{AOb{An}}}{}}{{{b{AK`}}}Cl}00```{{}{{Ch{GhGj}}}}0000000000000000000000000000000000{{{b{{AOd{}{{ANj{c}}}}}}}c{BdE`HlKfG`GbK`Kb}}{{{b{{ANl{}{{ANd{c}}{ANf{e}}{ANh{g}}{ANj{i}}}}}}}{{ADb{i}}}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}}{{AK`AJj}AJh}````````{{{b{AK`}}{b{AK`}}}{{n{Lh}}}}{b}0000000000000000000000000000000000{{{b{{ANl{}{{ANd{c}}{ANf{e}}{ANh{g}}{ANj{i}}}}}}}g{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}}```{{{b{{ANl{}{{ANd{c}}{ANf{e}}{ANh{g}}{ANj{i}}}}}}}c{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}{BdE`HlKfG`GbK`Kb}}````{{{b{AJl}}c}ChHn}{{{b{AJn}}c}ChHn}{{{b{AK`}}c}ChHn}{{{b{AJh}}c}ChHn}{{{b{AKf}}c}ChHn}{{{b{{ALd{c}}}}e}ChAdHn}{{{b{{ALf{c}}}}e}ChAdHn}{{{b{ALh}}c}ChHn}{{{b{{ALj{c}}}}e}ChAdHn}{{{b{{ALl{c}}}}e}ChAdHn}{{{b{ALn}}c}ChHn}{{{b{AM`}}c}ChHn}{{{b{AMb}}c}ChHn}{{{b{{AMd{c}}}}e}ChAdHn}{{{b{{AMf{c}}}}e}ChAdHn}{{{b{AKh}}c}ChHn}{{{b{AKj}}c}ChHn}{{{b{AKl}}c}ChHn}{{{b{AKn}}c}ChHn}{{{b{AL`}}c}ChHn}{{{b{ALb}}c}ChHn}{{{b{En}}c}ChHn}{{{b{{AMh{c}}}}e}ChAdHn}{{{b{{AMj{c}}}}e}ChAdHn}{{{b{{AMl{c}}}}e}ChAdHn}{{{b{{AMn{c}}}}e}ChAdHn}{{{b{{AN`{c}}}}e}ChAdHn}{{{b{{ANb{c}}}}e}ChAdHn}{{{b{AK`}}}Cb}```{{{b{F`}}}{{n{{b{h}}}}}}{{{b{AKh}}}{{n{{b{h}}}}}}{{{b{AKj}}}{{n{{b{h}}}}}}{{{b{AKl}}}{{n{{b{h}}}}}}{{{b{AKn}}}{{n{{b{h}}}}}}{{{b{AL`}}}{{n{{b{h}}}}}}{{{b{ALb}}}{{n{{b{h}}}}}}{{{b{En}}}{{n{{b{h}}}}}}{{{b{AKh}}}Bb}{{{b{AKj}}}Bb}{{{b{AKl}}}Bb}{{{b{AKn}}}Bb}{{{b{AL`}}}Bb}{{{b{ALb}}}Bb}{{{b{En}}}Bb}{{AJhAJh}c{}}```````{{{b{c}}}e{}{}}000000000000000{{{b{c}}}An{}}0000000000000````{c{{Ch{e}}}{}{}}0{{{b{Cd}}}{{Ch{AK`c}}}{}}11111111{{{L`{c}}}{{Ch{{ALd{c}}e}}}Ad{}}{{{L`{c}}}{{Ch{{ALf{c}}e}}}Ad{}}3333{{{Ej{{b{{L`{c}}}}Cb}}}{{Ch{{ALl{c}}e}}}Ad{}}44444444444444444444444444444444444444444444444444444444{{{b{c}}}I`{}}0000000000000000000000000000000000{AJjAJh}`{ce{}{}}0000000000000000000000000000000000`````{{{b{c}}d}f{}}{{{b{c}}}{{b{e}}}{}{}}{{{b{Afc}}}{{b{Afe}}}{}{}}{{{b{{AOf{ce}}}}}{{AOf{ce}}}{}{}}{{{b{c}}{b{Afe}}}f{}{}}{{}{{AOf{ce}}}{}{}}{Cb{{b{c}}}{}}{Cb{{b{Afc}}}{}}{{{b{c}}{b{Afe}}}{{Ch{{Cf{gi}}}}}{}{}{}{}}{Cbf}{{{b{{AOf{ce}}}}{b{AfDl}}}Eb{}{}}{cc{}}{{}Cb}={{}{{Ch{GhGj}}}}{b}``{{AOhc}f{}}{{AOjc}{{`{{Ob{}{{A@h{f}}}}G`}}}{}}{{{b{{AOf{eg}}}}eik}f{}{{AOl{c}}}AOj{{AOn{ce}}}{{AIf{}{{Kh{g}}}}G`}}{{{b{c}}}e{}{}}{c{{Ch{e}}}{}{}}0{{{b{c}}}I`{}}{ce{}{}}{{{AOf{ce}}{Df{B@`}}}{{AOf{ce}}}{}{}}{{{AOf{ce}}AAd}{{AOf{ce}}}{}{}}`````{{{b{c}}d}f{}}000{{{b{{B@b{c}}}}}f{}}{{{b{c}}}{{b{e}}}{}{}}000{{{b{Afc}}}{{b{Afe}}}{}{}}000{{{b{{B@d{c}}}}}{{B@d{c}}}Ad}{{{b{{B@f{c}}}}}{{B@f{c}}}{BdHj}}{{{b{{B@b{c}}}}}{{B@b{c}}}{}}{{{b{B@h}}}B@h}{{{b{c}}{b{Afe}}}f{}{}}000{{}{{B@d{c}}}Ad}{{}B@h}{Cb{{b{c}}}{}}000{Cb{{b{Afc}}}{}}000{{{b{c}}{b{Afe}}}{{Ch{{Cf{gi}}}}}{}{}{}{}}000{Cbf}000={{{b{AOn}}e}{{Od{{N`{Ob}}}}}{}{{AOl{c}}}}{{{b{{B@d{c}}}}B@j}{{Od{{N`{Ob}}}}}Ad}{{{b{{B@d{c}}}}B@l}{{Od{{N`{Ob}}}}}Ad}{{{b{{B@d{c}}}}B@n}{{Od{{N`{Ob}}}}}Ad}{{{b{{B@f{c}}}}B@l}{{Od{{N`{Ob}}}}}Hj}{{{b{{B@f{c}}}}B@n}{{Od{{N`{Ob}}}}}Hj}{{{b{{B@f{c}}}}B@j}{{Od{{N`{Ob}}}}}Hj}{{{b{{B@b{g}}}}e}{{Od{{N`{Ob}}}}}Ad{{AOl{c}}}{{AOn{ce}}Gb}}{{{b{B@h}}e}{{Od{{N`{Ob}}}}}{}{G`{AOl{c}}}}{{{b{{B@d{c}}}}{b{AfDl}}}EbAd}{{{b{{B@f{c}}}}{b{AfDl}}}Eb{E`Hj}}{{{b{{B@b{c}}}}{b{AfDl}}}EbE`}{{{b{B@h}}{b{AfDl}}}Eb}{cc{}}000{{}Cb}000{ce{}{}}000{{}{{Ch{GhGj}}}}000{{BA`c}{{B@f{c}}}Hj}{c{{B@b{c}}}{}}{b}000{{{b{c}}}e{}{}}000{c{{Ch{e}}}{}{}}0000000{{{b{c}}}I`{}}000{{{b{{B@b{c}}}}}f{}}08888{{{B@d{c}}e}{{B@d{c}}}Ad{{AOn{cB@n}}E`}}{{{B@d{c}}e}{{B@d{c}}}Ad{{AOn{cB@l}}E`}}{{{B@d{c}}e}{{B@d{c}}}Ad{{AB`{c}}E`}}{{{B@d{c}}e}{{B@d{c}}}Ad{{AOn{cB@j}}E`}}`````{{{b{c}}d}f{}}00{{{b{c}}}{{b{e}}}{}{}}00{{{b{Afc}}}{{b{Afe}}}{}{}}00{{{b{B@n}}}B@n}{{{b{B@j}}}B@j}{{{b{B@l}}}B@l}{{{b{c}}{b{Afe}}}f{}{}}00{Cb{{b{c}}}{}}00{Cb{{b{Afc}}}{}}00{{{b{c}}{b{Afe}}}{{Ch{{Cf{gi}}}}}{}{}{}{}}00{Cbf}00{{{b{B@n}}{b{B@n}}}Cl}{{{b{B@j}}{b{B@j}}}Cl}{{{b{B@l}}{b{B@l}}}Cl}{{{b{c}}{b{e}}}Cl{}{}}00000000000{{{b{B@n}}{b{AfDl}}}Eb}{{{b{B@j}}{b{AfDl}}}Eb}{{{b{B@l}}{b{AfDl}}}Eb}{cc{}}0{CbB@l}1{{{b{c}}{b{e}}}Bn{FdFf}Fh}00{{{b{B@n}}{b{Afc}}}fFj}{{{b{B@j}}{b{Afc}}}fFj}{{{b{B@l}}{b{Afc}}}fFj}{{}Cb}00{ce{}{}}00{{}{{Ch{GhGj}}}}00{b}00{{{b{c}}}e{}{}}00{c{{Ch{e}}}{}{}}00000{{{b{c}}}I`{}}00555`````````````````{{{b{c}}d}f{}}0`{{{b{c}}}{{b{h}}}{}}00{{{b{Ef}}}{{n{{b{l}}}}}}{{{b{c}}}{{b{e}}}{}{}}00{{{b{Afc}}}{{b{Afe}}}{}{}}00{{{b{Ef}}}{{n{{b{h}}}}}}{{{b{{ABn{ce}}}}}{{ABn{ce}}}Ad{{AC`{c}}}}{{{b{Ef}}}Ef}{{{b{c}}{b{Afe}}}f{}{}}0{{{b{{ABn{ce}}}}{b{{ABn{ce}}}}}LhAd{{AC`{c}}}}{{{b{c}}{b{e}}}Lh{}{}}{{}BAb}{{{b{BAb}}}{{Ch{{Mj{cEfe}}Ml}}}{G`GbMn}Hj}{Cb{{b{c}}}{}}00{Cb{{b{Afc}}}{}}00{{{b{Ef}}}{{b{Cd}}}}{{{b{c}}{b{Afe}}}{{Ch{{Cf{gi}}}}}{}{}{}{}}00{c{{Ch{Ef}}}Cj}{Cbf}00{{{b{{ABn{ce}}}}{b{{ABn{ce}}}}}ClAd{{AC`{c}}}}{{{b{c}}{b{e}}}Cl{}{}}000`{{{b{{ABn{ce}}}}{b{AfDl}}}EbAd{{AC`{c}}}}0{{{b{Ef}}{b{AfDl}}}Eb}0{cc{}}0{NhEf}{{{Ej{AnBb}}}Ef}2{A`Ef}{{{b{c}}{b{e}}}Bn{FdFf}Fh}{{{b{ABl}}}{{Od{{N`{Ob}}}}}}{{{b{ACb}}{ABn{ce}}}{{Od{{N`{Ob}}}}}Ad{{AC`{c}}}}{{{b{{ABn{ce}}}}{b{Afg}}}fAd{{AC`{c}}}Fj}{{ce}{{Fl{eg}}}{}{FnG`Gb}{}}0{{}{{b{Cd}}}}{c{}{}}{{}Cb}00{{{b{AfADd}}AD`{ADb{Cb}}Bn}{{Od{{N`{Ob}}}}}}{{{b{Af{AC`{}{{BAd{c}}{BAf{e}}{BAh{g}}{BAj{i}}{BAl{k}}}}}}c{b{{AD`{ecg}}}}}{{AAn{f}}}{BAnG`GbHlBB`BBbKfFnBBdBBf}{BBhG`GbHlKfBBdBBf}{BBjG`}{{BBl{g}}G`{BC`{{b{BBn}}}}FnE`{B`{BBn}}}{{BCb{ecg}}}}{ce{}{}}00{{}{{Ch{GhGj}}}}00{{{b{{ABn{ce}}}}{b{{ABn{ce}}}}}{{n{Lh}}}Ad{{AC`{c}}}}{b}00{{{b{Ef}}c}ChHn}{{{b{AfABl}}Cb}{{Od{{N`{Ob}}}}}}{{{b{Ef}}}{{n{{b{h}}}}}};{{{b{Ef}}}Bb}{{{b{c}}}e{}{}}0{{{b{c}}}An{}}0<{c{{Ch{e}}}{}{}}00000{{{b{c}}}I`{}}00;;;````````````````{{{b{c}}d}f{}}0000000{{{b{BCd}}Cb}f}{{{b{BCf}}BCh}f}{{{b{c}}}{{b{h}}}{}}00{{{b{BCj}}}{{n{{b{l}}}}}}{{{b{c}}}{{b{e}}}{}{}}00000000{{{b{Afc}}}{{b{Afe}}}{}{}}00000000{{{b{BCj}}}{{n{{b{h}}}}}}{{{b{ADf}}}ADf}{{{b{BCd}}}BCd}{{{b{BCl}}}BCl}{{{b{BCf}}}BCf}{{{b{BCn}}}BCn}{{{b{BD`}}}BD`}{{{b{BDb}}}BDb}{{{b{BDd}}}BDd}{{{b{c}}{b{Afe}}}f{}{}}0000000{{{b{ADf}}An{ADb{An}}}{{N`{BDf}}}}{{{b{BCn}}{ADb{An}}}{{N`{BDh}}}}{{{b{BD`}}{ADb{An}}}{{N`{BDj}}}}{{{b{BDb}}{ADb{An}}}{{N`{BDl}}}}{{{b{BDd}}{ADb{An}}}f}{{{b{ADf}}An{n{An}}}{{N`{BDh}}}}{{{b{ADf}}An{n{An}}}{{N`{BDj}}}}{{{b{ADf}}An{n{An}}}{{N`{BDl}}}}{{{b{ADf}}An}f}{{}ADf}{Cb{{b{c}}}{}}00000000{Cb{{b{Afc}}}{}}00000000{{{b{BCj}}}{{b{Cd}}}}{{{b{c}}{b{Afe}}}{{Ch{{Cf{gi}}}}}{}{}{}{}}00000000{Cbf}00000000{{{b{ADf}}}{{Ch{Anc}}}{}}{{{b{BCj}}{b{AfDl}}}Eb}0{{{b{ADf}}{b{AfDl}}}Eb}{{{b{BCd}}{b{AfDl}}}Eb}{{{b{BCl}}{b{AfDl}}}Eb}{{{b{BCf}}{b{AfDl}}}Eb}{{{b{BCn}}{b{AfDl}}}Eb}{{{b{BD`}}{b{AfDl}}}Eb}{{{b{BDb}}{b{AfDl}}}Eb}{{{b{BDd}}{b{AfDl}}}Eb}{BDnBCj}{cc{}}00000000{{{b{ADf}}{b{Cd}}}{{Ch{BD`BCj}}}}{{{b{ADf}}An{ADb{An}}}{{N`{BE`}}}}{{{b{BCd}}}Cb}{{{b{BCl}}}Cb}{{{b{BCn}}{b{{AFl{c}}}}}BCd{{BEb{Cd}}}}{{{b{BD`}}{b{{AFl{c}}}}}BCl{{BEb{Cd}}}}{{{b{BDb}}{b{{AFl{c}}}}}BCf{{BEb{Cd}}}}{{{b{ADf}}{b{Cd}}}{{Ch{BCdBCj}}}}{{{b{ADf}}{b{Cd}}}{{Ch{BCnBCj}}}}{{{b{ADf}}{b{Cd}}}{{Ch{BClBCj}}}}{{{b{ADf}}{b{Cd}}}{{Ch{BCfBCj}}}}{{{b{ADf}}{b{Cd}}}{{Ch{BDbBCj}}}}{{{b{ADf}}c}{{Ch{ADfBCj}}}AIf}{{ce}{{Fl{eg}}}{}{FnG`Gb}{}}{{{b{ADf}}An{ADb{An}}}{{N`{BEd}}}}{c{}{}}{{}Cb}00000000{ce{}{}}00000000{{}{{Ch{GhGj}}}}00000000{{{b{BCf}}}BCh}{b}00000000{{{b{BCf}}}Cb}{{{b{BCl}}Cb}f}{{{b{BCj}}}{{n{{b{h}}}}}}{{{b{ADf}}An}{{N`{ADh}}}}5{{{b{ADf}}An{ADb{An}}}{{N`{BEf}}}}{{{b{c}}}e{}{}}0000000{{{b{c}}}An{}}{c{{Ch{e}}}{}{}}00000000000000000{{{b{c}}}I`{}}00000000{{{b{BCl}}AF`}f}=========`````````````````````````{{{b{c}}d}f{}}00000000`{{{b{c}}}{{b{h}}}{}}00{{{b{El}}}{{n{{b{l}}}}}}`{{{b{H`}}}{{Od{{N`{Ob}}}}}}{{{b{c}}}{{b{e}}}{}{}}000000000{{{b{Afc}}}{{b{Afe}}}{}{}}000000000{{{BEh{ce}}}El{{B`{An}}}{{B`{Bb}}}}{{{b{El}}}{{n{{b{h}}}}}}{{{b{{ABj{c}}}}}{{ABj{c}}}Ad}{{{b{BEj}}}BEj}{{{b{{BEl{c}}}}}{{BEl{c}}}Bd}{{{b{BEn}}}BEn}{{{b{BF`}}}BF`}{{{b{{BFb{c}}}}}{{BFb{c}}}Bd}{{{b{{BFd{ce}}}}}{{BFd{ce}}}BdBd}{{{b{{BEh{ce}}}}}{{BEh{ce}}}BdBd}{{{b{El}}}El}{{{b{c}}{b{Afe}}}f{}{}}00000000{{{b{BEj}}{b{BEj}}}Lh}{{{b{c}}{b{e}}}Lh{}{}}{{{b{H`}}}{{Od{{N`{Ob}}}}}}{{}{{BEl{c}}}{}}{{}BFf}{{{b{BFf}}c}{{Ch{{Mj{eElc}}Ml}}}Hj{G`GbMn}}{Cb{{b{c}}}{}}000000000{Cb{{b{Afc}}}{}}000000000{{{b{El}}}{{b{Cd}}}}{{{b{c}}{b{Afe}}}{{Ch{{Cf{gi}}}}}{}{}{}{}}0{c{{Ch{BEj}}}Cj}1{c{{Ch{{BEl{e}}}}}CjBFh}222222{c{{Ch{El}}}Cj}3{Cbf}000000000`{{{b{BEj}}{b{BEj}}}Cl}{{{b{{BEl{c}}}}{b{{BEl{c}}}}}ClK`}{{{b{c}}{b{e}}}Cl{}{}}0000000`{{{BEh{ce}}}{{Ch{gEl}}}{{B`{An}}}{{B`{Bb}}}{}}{{{b{{ABj{c}}}}{b{AfDl}}}EbAd}{{{b{BEj}}{b{AfDl}}}Eb}{{{b{{BEl{c}}}}{b{AfDl}}}EbE`}{{{b{BEn}}{b{AfDl}}}Eb}{{{b{BF`}}{b{AfDl}}}Eb}{{{b{{BFb{c}}}}{b{AfDl}}}EbE`}{{{b{{BFd{ce}}}}{b{AfDl}}}EbE`E`}{{{b{{BEh{ce}}}}{b{AfDl}}}EbE`E`}{{{b{El}}{b{AfDl}}}Eb}0{cc{}}{{{If{c}}}{{ABj{c}}}Ad}1{{{b{{BEl{c}}}}}{{n{Bn}}}BFj}2222222{{{Ej{AnBb}}}El}{NhEl}{A`El}5{{}BEj}{{{b{c}}{b{e}}}Bn{FdFf}Fh}{{{b{H`}}eBn}{{Od{{N`{Ob}}}}}Ad{{B`{{ABj{c}}}}G`Gb}}{{{b{BEj}}{b{Afc}}}fFj}{{ce}{{Fl{eg}}}{}{FnG`Gb}{}}{c{}{}}{{}Cb}000000000{cElFn}{ce{}{}}000000000{{BEnc}El{}}{{BF`c}El{}}{{{BFb{c}}e}El{{B`{An}}}{}}{{{BFd{ce}}g}El{{B`{An}}}{{B`{Bn}}}{}}{{{BEh{ce}}g}El{{B`{An}}}{{B`{Bb}}}{}}{{{b{BEj}}}Cl}{{}{{Ch{GhGj}}}}000000000``````{{{b{BEj}}{b{BEj}}}{{n{Lh}}}}{{{b{H`}}}{{Od{{N`{Ob}}}}}}{b}000000000``{{{b{BEj}}c}ChHn}{{{b{{BEl{c}}}}e}ChHlHn}{{{b{El}}c}ChHn}{{{b{El}}}{{n{{b{h}}}}}}`{{{b{El}}}Bb}`6{{{b{c}}}e{}{}}00000000{{{b{c}}}An{}}{c{{Ch{e}}}{}{}}0000000000000000000{{{b{c}}}I`{}}000000000{{{b{H`}}e}{{Od{{N`{Ob}}}}}Ad{{B`{{Kn{c}}}}G`Gb}}{ce{}{}}000000000````````````````{{{b{c}}d}f{}}`{{{b{c}}}{{b{h}}}{}}00{{{b{Eh}}}{{n{{b{l}}}}}}{{{b{Hb}}}{{Od{{N`{Ob}}}}}}{{{b{c}}}{{b{e}}}{}{}}0{{{b{Afc}}}{{b{Afe}}}{}{}}0{{{b{Eh}}}{{n{{b{h}}}}}}{{{b{Eh}}}Eh}{{{b{c}}{b{Afe}}}f{}{}}{{{b{Hb}}}{{AGb{ADf}}}}0{{}BFl}{{{b{BFl}}c}{{Ch{{Mj{eEhc}}Ml}}}Hj{G`GbMn}}{Cb{{b{c}}}{}}0{Cb{{b{Afc}}}{}}0{{{b{Eh}}}{{b{Cd}}}}{{{b{c}}{b{Afe}}}{{Ch{{Cf{gi}}}}}{}{}{}{}}{c{{Ch{Eh}}}Cj}1{Cbf}0>>`{{{b{Eh}}{b{AfDl}}}Eb}0{cc{}}0{NhEh}{AnEh}{{ce}{{Fl{eg}}}{}{FnG`Gb}{}}{c{}{}}{{}Cb}0{ce{}{}}0{{}{{Ch{GhGj}}}}0{{{b{Hb}}}{{b{ADf}}}}{b}0{{{b{BFn}}}{{N`{ADh}}}}{{{b{Eh}}c}ChHn}{{{b{Eh}}}{{n{{b{h}}}}}}{{{b{Eh}}}Bb}{{{b{Hb}}}{{Od{{N`{Ob}}}}}}0{{{b{c}}}e{}{}}{{{b{c}}}An{}}{c{{Ch{e}}}{}{}}000{{{b{c}}}I`{}}0<<````{{}f}{AAdf}```````{{{b{c}}}{{b{e}}}{}{}}{{{b{Afc}}}{{b{Afe}}}{}{}}{{{b{c}}}{{Od{{N`{Ob}}}}}{}}{Cb{{Od{{N`{Ob}}}}}}{{{b{{AGl{c}}}}}{{Df{{Dd{c}}}}}BG`}{{{b{{AGl{c}}}}Cb}{{Df{{Dd{c}}}}}BG`}{Cb{{b{c}}}{}}{Cb{{b{Afc}}}{}}{{{b{c}}{b{Afe}}}{{Ch{{Cf{gi}}}}}{}{}{}{}}{{{b{Af{AGl{c}}}}}fBG`}{Cbf}{cc{}}{{{b{{AGl{c}}}}}{{b{{Gl{AChBGb}}}}}BG`}{{{b{Af{BG`{}{{BGd{c}}}}}}{b{{ACj{ACh}}}}}{{Od{{N`{Ob}}}}}{G`Gb}}{{}{{AGl{c}}}{BG`BFn}}{{}Cb}{c{{AGl{e}}}{{A@j{{b{Af{BGh{BGf}}}}}}}{BG`BFn}}{ce{}{}}{{}{{Ch{GhGj}}}}{{{b{{AGl{c}}}}}CbBG`}{b}{{{b{{AGl{c}}}}Cb}{{BGj{ACh}}}BG`}{{{b{c}}}{{Od{{N`{Ob}}}}}{}}{{{b{Af{AGl{{BG`{}{{BGd{c}}}}}}}}}{{Od{{N`{Ob}}}}}{G`Gb}}{{{AGl{c}}}fBG`}{{{b{Af{AGl{c}}}}eg}fBG`Fn{ObG`}}{{{b{Af{AGl{c}}}}}fBG`}{{{b{{AGl{c}}}}}bBG`}{{{b{{AGl{c}}}}BGl}fBG`}{c{{Ch{e}}}{}{}}0{{{b{c}}}I`{}}=````````````{{{b{c}}d}f{}}0``{{{b{c}}}{{b{e}}}{}{}}0{{{b{Afc}}}{{b{Afe}}}{}{}}0`{{{b{ACh}}}ACh}{{{b{BGb}}}BGb}{{{b{c}}{b{Afe}}}f{}{}}0{{{b{ACh}}{b{ACh}}}Lh}{{{b{BGb}}{b{BGb}}}Lh}{{{b{c}}{b{e}}}Lh{}{}}0{{}ACh}{{}BGb}{Cb{{b{c}}}{}}0{Cb{{b{Afc}}}{}}0{{{b{c}}{b{Afe}}}{{Ch{{Cf{gi}}}}}{}{}{}{}}{c{{Ch{ACh}}}Cj}{c{{Ch{BGb}}}Cj}2{Cbf}0{{{b{ACh}}{b{ACh}}}Cl}{{{b{BGb}}{b{BGb}}}Cl}{{{b{c}}{b{e}}}Cl{}{}}0000000{{{b{BGn}}}c{}}0{{{b{ACh}}{b{AfDl}}}Eb}{{{b{BGb}}{b{AfDl}}}Eb}{cc{}}0{{{b{c}}{b{e}}}Bn{FdFf}Fh}0{{{b{ACh}}{b{Afc}}}fFj}{{{b{BGb}}{b{Afc}}}fFj}{{}{{b{Cd}}}}{{{b{BGn}}}Bn}{{}Cb}0{{{b{AfBH`}}c{b{{AD`{ecg}}}}}{{AAn{f}}}{}{}{}}{ce{}{}}0{{{b{BHb}}{b{c}}}e{}{}}`{{}{{Ch{GhGj}}}}0{{{b{BHb}}{b{c}}}Cb{}}{{{ADb{AFj}}}BGl}{{{b{BGl}}}c{}}{{{b{BGn}}}{{ADb{c}}}{}}{{{b{ACh}}{b{ACh}}}{{n{Lh}}}}{{{b{BGb}}{b{BGb}}}{{n{Lh}}}}`{b}0`{{{b{BGn}}}c{}}0{{{b{ACh}}c}ChHn}{{{b{BGb}}c}ChHn}`{{}{{b{Cd}}}}{{{b{BGn}}}Bn}`{{{b{c}}}e{}{}}0{{{b{BHb}}{b{c}}{b{e}}}{{n{{Ej{gi}}}}}{}{}{}{}}`{{}Cb}{c{{Ch{e}}}{}{}}000{{{b{c}}}I`{}}0```{ce{}{}}0`{{{b{BFj}}}Bn}","D":"DLf","p":[[1,"reference"],[5,"Private",3890],[1,"unit"],[10,"Error",3891],[6,"Error",0,3892],[5,"Backtrace",3893],[6,"Option",3894],[6,"QueryError",0],[5,"Leaf",0,3895],[10,"NodeType",3896],[0,"mut"],[5,"NotFoundSnafu",0],[5,"MissingSnafu",0],[5,"ErrorSnafu",0],[5,"String",3897],[10,"Into",3898],[5,"StatusCode",3899],[10,"Clone",3900],[5,"Commitment",3901],[10,"Resolvable",0,3902],[10,"Committable",3901],[10,"RngCore",3903],[1,"u64"],[5,"Options",0],[1,"usize"],[1,"str"],[5,"With",3904],[6,"Result",3905],[10,"Deserializer",3906],[1,"bool"],[5,"UpgradeProposalData",3907],[5,"UpgradeThreshold",3908],[5,"SimpleCertificate",3908],[5,"RwLock",3909],[5,"Arc",3910],[5,"Error",1473,3911],[6,"BlockError",3895],[5,"Formatter",3912],[5,"Error",3912],[10,"Debug",3912],[8,"Result",3912],[6,"Error",273],[6,"Error",3013],[6,"Error",3666],[1,"tuple"],[6,"Error",3369],[6,"Error",1741],[6,"TimestampConversionError",1741,3913],[5,"QuorumProposal",3895],[10,"Hash",3914],[10,"Sized",3915],[10,"BuildHasher",3914],[10,"Hasher",3914],[5,"IndentedSection",3916],[10,"Display",3912],[10,"Send",3915],[10,"Sync",3915],[5,"QuorumData",3907],[5,"SuccessThreshold",3908],[5,"Layout",3917],[5,"LayoutError",3917],[5,"SystemContextHandle",3918],[10,"AvailabilityDataSource",273,3919],[10,"NodeDataSource",3369,3920],[10,"StatusDataSource",3666,3921],[10,"UpdateDataSource",938,3922],[10,"VersionedDataSource",938,3922],[10,"NodeImplementation",3896],[10,"StaticVersionType",3923],[10,"Serialize",3924],[10,"Serializer",3924],[5,"TypeId",3925],[5,"InconsistentLeafError",273,3926],[5,"LeafQueryData",273,3926],[8,"BlockHash",273,3926],[5,"PayloadQueryData",273,3926],[5,"VidCommonQueryData",273,3926],[5,"TransactionQueryData",273,3926],[5,"FetchLeafSnafu",273],[5,"FetchBlockSnafu",273],[5,"FetchTransactionSnafu",273],[5,"InvalidTransactionIndexSnafu",273],[5,"CustomSnafu",273],[17,"TransactionIndex"],[17,"Iter"],[17,"InclusionProof"],[10,"QueryablePayload",273,3926],[10,"PartialEq",3927],[10,"Eq",3927],[10,"Ord",3927],[10,"DeserializeOwned",3906],[17,"Item"],[10,"Iterator",3928],[6,"LeafId",273,3919],[6,"BlockId",273,3919],[5,"BlockQueryData",273,3926],[5,"BlockSummaryQueryData",273,3926],[5,"TransactionSummaryQueryData",273,3926],[5,"RequestSnafu",273],[6,"Ordering",3927],[8,"VidCommon",0,3929],[6,"Fetch",273,3930],[10,"ErrorCompat",3931],[17,"Source"],[5,"NoneError",3931],[10,"IntoError",3931],[8,"Payload",0],[5,"Options",273],[5,"Api",3932],[6,"ApiError",3932],[10,"ReadState",3933],[5,"Box",3934],[8,"TransactionIndex",273,3926],[8,"Transaction",0],[8,"LeafHash",273,3926],[6,"RequestError",3935],[17,"LeafRange"],[17,"BlockRange"],[17,"PayloadRange"],[17,"VidCommonRange"],[10,"Future",3936],[5,"Pin",3937],[10,"Stream",3938],[10,"Unpin",3915],[10,"RangeBounds",3939],[8,"TransactionHash",273,3926],[8,"VidCommitment",0,3929],[8,"Header",0],[17,"Error"],[10,"UpdateAvailabilityData",273,3919],[8,"VidShare",0,3929],[17,"Output"],[10,"FnOnce",3940],[8,"Metadata",0],[8,"QuorumCertificate",3908],[8,"TransactionInclusionProof",273,3926],[10,"QueryableHeader",273,3926],[5,"Duration",3941],[5,"ExtensibleDataSource",938,3942],[5,"MetricsDataSource",938,3943],[5,"Path",3944],[8,"FileSystemDataSource",938,3945],[8,"Result",3911],[10,"AvailabilityProvider",1059],[5,"AtomicStoreLoader",3946],[6,"BlockIdentifier",1741,3913],[10,"ExplorerStorage",1249],[5,"GetBlockSummariesRequest",1741,3913],[6,"WindowStart",3369,3920],[10,"MerklizedStateHeightPersistence",3013,3947],[6,"Snapshot",3013,3947],[10,"MerklizedState",3013,3947],[10,"MerklizedStateDataSource",3013,3947],[6,"TransactionIdentifier",1741,3913],[5,"GetTransactionSummariesRequest",1741,3913],[5,"MockTypes",3782],[5,"Event",3948],[10,"Default",3949],[10,"TestableDataSource",3742],[5,"MerkleProof",3950],[5,"Vec",3951],[10,"UpdateStateData",3013,3947],[5,"PrometheusMetrics",3131],[10,"Metrics",3952],[5,"FetchingDataSource",1059],[5,"Builder",1059],[10,"AvailabilityStorage",1249],[5,"Pruner",1059],[5,"Config",1473],[8,"Builder",1230],[5,"FileSystemStorage",1274],[5,"StorageReadGuard",1059],[5,"StorageWriteGuard",1059],[5,"RwLockReadGuard",3909],[5,"RwLockWriteGuard",3909],[1,"i64"],[5,"DynGuard",3953],[5,"Cmd",3954],[6,"Value",3955],[5,"RedisError",3955],[1,"u8"],[1,"slice"],[5,"SqlStorage",1473],[5,"Transaction",1473],[8,"QueryResult",0],[8,"SqlDataSource",1230],[6,"PersistenceError",3956],[5,"NoStorage",1317],[6,"DataSource",1361],[5,"MockNetwork",3742],[5,"PrunerCfg",1427],[10,"PruneStorage",1427],[10,"PrunerConfig",1427],[10,"PrunedHeightStorage",1427],[1,"u16"],[1,"i32"],[5,"OffsetDateTime",3957],[5,"Migration",1473,3958],[5,"Chain",3911],[10,"Query",1473],[5,"Pruner",1473],[10,"ToStatement",3959],[10,"IntoIterator",3960],[1,"never"],[5,"Config",3961],[6,"Type",3958],[5,"Error",3962],[1,"array"],[10,"BorrowToSql",3963],[1,"u32"],[5,"TmpDb",1700],[5,"MonetaryValue",1741,3964],[1,"i128"],[5,"CurrencyMismatchError",1741,3965],[5,"InvalidCurrencyCodeError",1741,3965],[6,"CurrencyCode",1741,3965],[5,"BlockRange",1741,3913],[5,"TransactionRange",1741,3913],[5,"Timestamp",1741,3913],[6,"GetBlockDetailError",1741,3913],[6,"GetBlockSummariesError",1741,3913],[6,"GetTransactionDetailError",1741,3913],[6,"GetTransactionSummariesError",1741,3913],[6,"GetExplorerSummaryError",1741,3913],[6,"GetSearchResultsError",1741,3913],[5,"BlockDetail",1741,3913],[5,"BlockSummary",1741,3913],[5,"FeeAttribution",1741,3913],[5,"TransactionDetail",1741,3913],[5,"TransactionSummary",1741,3913],[6,"TransactionSummaryFilter",1741,3913],[5,"GenesisOverview",1741,3913],[5,"ExplorerHistograms",1741,3913],[5,"ExplorerSummary",1741,3913],[5,"SearchResult",1741,3913],[5,"BlockDetailResponse",1741],[5,"BlockSummaryResponse",1741],[5,"TransactionDetailResponse",1741],[5,"TransactionSummariesResponse",1741],[5,"ExplorerSummaryResponse",1741],[5,"SearchResultResponse",1741],[17,"BalanceAmount"],[17,"WalletAddress"],[17,"ProposerId"],[17,"NamespaceId"],[10,"ExplorerHeader",1741,3966],[5,"TryFromIntError",3967],[5,"ComponentRange",3968],[6,"Resettable",3969],[10,"ExplorerTransaction",1741,3966],[5,"Fetcher",2787],[10,"LocalCallback",2787],[10,"Callback",2787],[10,"Request",2926],[10,"Provider",2820],[5,"Semaphore",3970],[5,"TestProvider",2820,3971],[5,"AnyProvider",2820,3972],[5,"QueryServiceProvider",2820,3973],[5,"NoFetching",2820],[5,"VidCommonRequest",2926],[5,"LeafRequest",2926],[5,"PayloadRequest",2926],[5,"Url",3974],[5,"Options",3013],[17,"Key"],[17,"Entry"],[17,"T"],[17,"Commit"],[17,"Digest"],[10,"Index",3975],[10,"ToTraversalPath",3975],[10,"FromStr",3976],[10,"CanonicalSerialize",3977],[10,"CanonicalDeserialize",3977],[10,"Element",3975],[10,"NodeValue",3975],[10,"MerkleCommitment",3975],[5,"TaggedBase64",3978],[10,"TryFrom",3898],[10,"DigestAlgorithm",3975],[5,"Counter",3131],[5,"Histogram",3131],[1,"f64"],[6,"MetricsError",3131],[5,"Gauge",3131],[5,"CounterFamily",3131],[5,"GaugeFamily",3131],[5,"HistogramFamily",3131],[5,"TextFamily",3131],[10,"CounterFamily",3952],[10,"Counter",3952],[10,"Gauge",3952],[10,"Histogram",3952],[6,"Error",3979],[10,"GaugeFamily",3952],[10,"AsRef",3898],[10,"HistogramFamily",3952],[10,"TextFamily",3952],[5,"CustomSnafu",3369],[5,"SyncStatus",3369,3980],[5,"TimeWindowQueryData",3369,3980],[5,"RequestSnafu",3369],[5,"QuerySnafu",3369],[5,"QueryVidSnafu",3369],[5,"QueryWindowSnafu",3369],[5,"Options",3369],[10,"Deserialize",3906],[10,"HeightIndexed",3888],[5,"Options",3666],[10,"UpdateStatusData",3666,3921],[10,"DataSourceLifeCycle",3742],[5,"MockNodeImpl",3782],[17,"Storage"],[8,"BLSPubKey",3981],[5,"HotShotConfig",3982],[8,"SignatureKey",0],[8,"MockTransaction",3782],[8,"MockHeader",3782],[8,"MockMerkleTree",3782],[8,"MockPayload",3782],[15,"Custom",265],[15,"Availability",265],[15,"Node",265],[15,"Status",265],[15,"MerklizedState",265],[15,"Explorer",265],[15,"Error",272],[15,"InvalidTransactionIndex",930],[15,"Custom",930],[15,"FetchLeaf",930],[15,"FetchBlock",930],[15,"FetchTransaction",930],[15,"Request",930],[6,"Storage",1361],[15,"NoStorage",1426],[5,"TestMerkleTreeMigration",1700],[15,"Custom",3127],[15,"Request",3127],[15,"Query",3127],[15,"NoSuchMetric",3365],[15,"NoSuchSubgroup",3365],[15,"Prometheus",3365],[15,"QueryVid",3657],[15,"QueryWindow",3657],[15,"Custom",3657],[15,"Request",3657],[15,"Query",3657],[15,"Internal",3736],[15,"Request",3736],[8,"MockQuorumProposal",3782],[8,"MockStorage",3782],[8,"MockAuctionResults",3782]],"r":[[3,3892],[8,3895],[21,3902],[25,3929],[26,3929],[27,3929],[273,3919],[274,3926],[275,3919],[276,3926],[278,3926],[283,3930],[293,3926],[297,3926],[298,3919],[299,3926],[305,3926],[308,3926],[309,3926],[313,3926],[314,3926],[315,3926],[316,3926],[318,3926],[319,3926],[320,3919],[321,3926],[938,1059],[940,3942],[941,1059],[942,3945],[943,3943],[944,1230],[945,3922],[946,3922],[1231,1473],[1232,3911],[1233,3958],[1234,1473],[1236,1473],[1242,0],[1247,1700],[1251,1274],[1252,1317],[1253,1473],[1474,3911],[1475,3958],[1603,3983],[1604,0],[1741,3913],[1744,3913],[1746,3913],[1747,3913],[1749,3913],[1750,3913],[1755,3965],[1756,3965],[1761,3966],[1762,3913],[1763,3913],[1765,3966],[1766,3913],[1770,3913],[1772,3913],[1775,3913],[1777,3913],[1779,3913],[1781,3913],[1783,3913],[1785,3913],[1787,3913],[1793,3965],[1800,3964],[1804,3913],[1813,3913],[1818,3913],[1819,3913],[1822,3913],[1824,3913],[1825,3913],[1827,3913],[1829,3913],[1830,3913],[1838,3913],[2790,2820],[2791,2926],[2820,3972],[2823,3973],[2824,3971],[3021,3947],[3022,3947],[3023,3947],[3027,3947],[3029,3947],[3369,3926],[3370,3919],[3376,3920],[3386,3980],[3388,3980],[3389,3920],[3670,3921],[3671,3921]],"b":[[131,"impl-Debug-for-Leaf%3CTYPES%3E"],[132,"impl-Display-for-Leaf%3CTYPES%3E"],[133,"impl-Display-for-Error"],[134,"impl-Debug-for-Error"],[138,"impl-Display-for-QueryError"],[139,"impl-Debug-for-QueryError"],[141,"impl-From%3CError%3E-for-Error"],[142,"impl-From%3CError%3E-for-Error"],[143,"impl-From%3CError%3E-for-Error"],[144,"impl-From%3C(String,+StatusCode)%3E-for-Error"],[145,"impl-From%3CError%3E-for-Error"],[146,"impl-From%3CError%3E-for-Error"],[585,"impl-Debug-for-LeafId%3CTypes%3E"],[586,"impl-Display-for-LeafId%3CTypes%3E"],[587,"impl-Display-for-BlockId%3CTypes%3E"],[588,"impl-Debug-for-BlockId%3CTypes%3E"],[590,"impl-Display-for-InconsistentLeafError%3CTypes%3E"],[591,"impl-Debug-for-InconsistentLeafError%3CTypes%3E"],[604,"impl-Display-for-Error"],[605,"impl-Debug-for-Error"],[608,"impl-From%3Cusize%3E-for-LeafId%3CTypes%3E"],[610,"impl-From%3CCommitment%3CLeaf%3CTypes%3E%3E%3E-for-LeafId%3CTypes%3E"],[611,"impl-From%3Cusize%3E-for-BlockId%3CTypes%3E"],[612,"impl-From%3CCommitment%3C%3CTypes+as+NodeType%3E::BlockHeader%3E%3E-for-BlockId%3CTypes%3E"],[630,"impl-From%3CRequestError%3E-for-Error"],[632,"impl-From%3C(String,+StatusCode)%3E-for-Error"],[952,"impl-NodeDataSource%3CTypes%3E-for-ExtensibleDataSource%3CD,+U%3E"],[953,"impl-StatusDataSource-for-ExtensibleDataSource%3CD,+U%3E"],[969,"impl-DataSourceLifeCycle-for-FetchingDataSource%3CMockTypes,+FileSystemStorage%3CMockTypes%3E,+P%3E"],[970,"impl-FetchingDataSource%3CTypes,+FileSystemStorage%3CTypes%3E,+P%3E"],[1067,"impl-NodeDataSource%3CTypes%3E-for-FetchingDataSource%3CTypes,+S,+P%3E"],[1068,"impl-StatusDataSource-for-FetchingDataSource%3CTypes,+S,+P%3E"],[1238,"impl-DataSourceLifeCycle-for-FetchingDataSource%3CMockTypes,+SqlStorage,+P%3E"],[1239,"impl-FetchingDataSource%3CTypes,+SqlStorage,+P%3E"],[1367,"impl-NodeDataSource%3CMockTypes%3E-for-DataSource"],[1368,"impl-StatusDataSource-for-DataSource"],[1485,"impl-AsRef%3Cdyn+Error+%2B+Send+%2B+Sync%3E-for-Error"],[1486,"impl-AsRef%3Cdyn+Error%3E-for-Error"],[1562,"impl-Debug-for-Error"],[1563,"impl-Display-for-Error"],[1564,"impl-Debug-for-Migration"],[1565,"impl-Display-for-Migration"],[2250,"impl-Display-for-CurrencyMismatchError"],[2251,"impl-Debug-for-CurrencyMismatchError"],[2252,"impl-Display-for-InvalidCurrencyCodeError"],[2253,"impl-Debug-for-InvalidCurrencyCodeError"],[2254,"impl-Display-for-CurrencyCode"],[2255,"impl-Debug-for-CurrencyCode"],[2256,"impl-Debug-for-MonetaryValue"],[2257,"impl-Display-for-MonetaryValue"],[2258,"impl-Debug-for-BlockIdentifier%3CTypes%3E"],[2259,"impl-Display-for-BlockIdentifier%3CTypes%3E"],[2260,"impl-Display-for-TransactionIdentifier%3CTypes%3E"],[2261,"impl-Debug-for-TransactionIdentifier%3CTypes%3E"],[2267,"impl-Debug-for-TimestampConversionError"],[2268,"impl-Display-for-TimestampConversionError"],[2279,"impl-Display-for-GetBlockDetailError"],[2280,"impl-Debug-for-GetBlockDetailError"],[2281,"impl-Debug-for-GetBlockSummariesError"],[2282,"impl-Display-for-GetBlockSummariesError"],[2283,"impl-Display-for-GetTransactionDetailError"],[2284,"impl-Debug-for-GetTransactionDetailError"],[2285,"impl-Debug-for-GetTransactionSummariesError"],[2286,"impl-Display-for-GetTransactionSummariesError"],[2287,"impl-Display-for-GetExplorerSummaryError"],[2288,"impl-Debug-for-GetExplorerSummaryError"],[2289,"impl-Debug-for-GetSearchResultsError"],[2290,"impl-Display-for-GetSearchResultsError"],[2291,"impl-Debug-for-Error"],[2292,"impl-Display-for-Error"],[2311,"impl-From%3CTryFromIntError%3E-for-TimestampConversionError"],[2313,"impl-From%3CComponentRange%3E-for-TimestampConversionError"],[2328,"impl-From%3CQueryError%3E-for-GetTransactionDetailError"],[2329,"impl-From%3CTimestampConversionError%3E-for-GetTransactionDetailError"],[2333,"impl-From%3CGetBlockDetailError%3E-for-GetExplorerSummaryError"],[2334,"impl-From%3CQueryError%3E-for-GetExplorerSummaryError"],[2335,"impl-From%3CGetTransactionSummariesError%3E-for-GetExplorerSummaryError"],[2336,"impl-From%3CGetBlockSummariesError%3E-for-GetExplorerSummaryError"],[2866,"impl-Provider%3CTypes,+VidCommonRequest%3E-for-AnyProvider%3CTypes%3E"],[2867,"impl-Provider%3CTypes,+LeafRequest%3E-for-AnyProvider%3CTypes%3E"],[2868,"impl-Provider%3CTypes,+PayloadRequest%3E-for-AnyProvider%3CTypes%3E"],[2869,"impl-Provider%3CTypes,+LeafRequest%3E-for-QueryServiceProvider%3CVer%3E"],[2870,"impl-Provider%3CTypes,+PayloadRequest%3E-for-QueryServiceProvider%3CVer%3E"],[2871,"impl-Provider%3CTypes,+VidCommonRequest%3E-for-QueryServiceProvider%3CVer%3E"],[3072,"impl-Display-for-Snapshot%3CTypes,+T,+ARITY%3E"],[3073,"impl-Debug-for-Snapshot%3CTypes,+T,+ARITY%3E"],[3074,"impl-Debug-for-Error"],[3075,"impl-Display-for-Error"],[3078,"impl-From%3CRequestError%3E-for-Error"],[3079,"impl-From%3C(String,+StatusCode)%3E-for-Error"],[3081,"impl-From%3CQueryError%3E-for-Error"],[3240,"impl-Display-for-MetricsError"],[3241,"impl-Debug-for-MetricsError"],[3260,"impl-PrometheusMetrics"],[3261,"impl-Metrics-for-PrometheusMetrics"],[3517,"impl-Display-for-Error"],[3518,"impl-Debug-for-Error"],[3530,"impl-From%3C(String,+StatusCode)%3E-for-Error"],[3531,"impl-From%3CRequestError%3E-for-Error"],[3532,"impl-From%3CQueryError%3E-for-Error"],[3703,"impl-Display-for-Error"],[3704,"impl-Debug-for-Error"],[3707,"impl-From%3CRequestError%3E-for-Error"],[3708,"impl-From%3CString%3E-for-Error"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAM8MDAEBAAEABAAAAAcAAQAKAAEADgAAABIAAwAXAAEAHQALACoAAgAwAA0AQQAPAFIAAQBVACcAhAAIAI4ABQCYAAAAnQAEAKMAAQCmAAwAugACAL4ABgDGAAEAyQAAAMwABwDVAAQA2wACAN8AFwD4AAcAAwEOABQBBAAaAQEAHQEAAB8BAAAhAQAAIwEBACYBAQAqAQsANwEBADoBAwA/ASEAYwElAJABKAC6AVgAFQItAEoCFABhAgAAYwICAGoCAABvAgAAdwIAAHkCDACHAgYAjwIPAKACFwDLAgYA1AIAANYCFADsAgAA7gIBAPECAQD5AhoAFwMBABoDLwBMAwAAUAMAAFQDJQB7AyUAowMJAK4DAACxAwAAtAMDALkDCgDFAwUAzAMBAM8DCADZAwEA3QMWAPYDAwD8AwQABAQAAAYEBgAOBAEAEQQAABQECAAeBAUAJwQQADoEBQBBBAAARAQRAFcEBgBhBAAAZAQcAIYECgCUBAsAowQDAKgEFQDHBAkA0wQAANUEAgDZBAEA3AQCAOAEAQDkBAQA6gQAAO0EBADzBAAA9gQEAPwEBAADBQQACQUOABkFAAAcBQIAIAUFACcFDQA2BQ4ARgUQAFgFEQBsBQ8AfgUbAJsFCQCmBQIAqwUBAK8FAgCzBQEAtgULAMUFAQDJBQIAzgUBANEFDADhBQkA7gUAAPAFAQDzBRMACgYLABsGCAAnBgAAKwYLADgGCgBGBgkAVwYGAGMGAABlBgYAbQYAAHEGAAB4BgAAegYAAHwGBQCDBgMAiAYRAJsGAACeBhcAuAYDAL4GEADQBgAA1AYBANkGAgDfBgIA6AYCAOwGAADuBgEA8QYAAPMGAAD1BgAA9wYAAPkGAAD7BgAA/QYEAAMHBQAMBwEADwcGABgHAgAdBwEAIgcBACgHBwAxBxAAQwdnAKwHJgDUB0sAIQgEACcImgDECAEAyAgCAMwIAADOCAAA0AgBANMIKAAICQAACgkAABUJAAAYCQIAHQkEACMJAAAmCQAAKQkAACwJAQAwCUMAlwkqAMQJKwDxCQIA9QkDAPsJAAD+CRYAFgoRACkKlQDACiMA5woMAPUKAAD3CgEA+woBAP4KBgAKCwMADwshADMLCwBDCwMASwsZAGcLAwB0CywAowsAAKULCACxCxwA0AsDANULAADXCygAAQwDAAcMAQAKDAYAEgwEABsMCQAmDAQALAwPAEIMAwBIDGsAvgwFAMoMCwDfDE0ALg0FADUNAAA3DQAAOQ0AADsNAQA+DSQAZA1PALYNCQDBDQAAyw0CAM8NEADqDSoAFg5gAHgOAQB8DgUAhA4fAKUOCwCyDgQAuA4EAL4OCQDJDgsA1w4DANwOIQAADwgACw8AAA0PBwAWDwEAGQ8DAB4PAQAhDwIAJQ8GAC8PAQAyDwAA"}]\ ]')); if (typeof exports !== 'undefined') exports.searchIndex = searchIndex; else if (window.initSearch) window.initSearch(searchIndex); diff --git a/search.desc/hotshot_query_service/hotshot_query_service-desc-0-.js b/search.desc/hotshot_query_service/hotshot_query_service-desc-0-.js index 6a144a869..563e5001c 100644 --- a/search.desc/hotshot_query_service/hotshot_query_service-desc-0-.js +++ b/search.desc/hotshot_query_service/hotshot_query_service-desc-0-.js @@ -1 +1 @@ -searchState.loadedDescShard("hotshot_query_service", 0, "The HotShot Query Service is a minimal, generic query …\nContains the error value\nThere was an error while trying to fetch the requested …\nSNAFU context selector for the QueryError::Error variant\nThis is the consensus-internal analogous concept to a …\nThe requested resource exists but is not currently …\nSNAFU context selector for the QueryError::Missing variant\nThe requested resource does not exist or is not known to …\nSNAFU context selector for the QueryError::NotFound variant\nContains the success value\nA reference to a T which can be resolved into a whole T.\nItem within a Payload.\nVID commitment type\nVID common type\nVID share type\nQueries for HotShot chain state.\nThe block header contained in this leaf.\nGet a mutable reference to the block header contained in …\nOptional block payload.\nConsume the selector and return the associated error\nConsume the selector and return the associated error\nConsume the selector and return the associated error\nGet a commitment to the underlying object.\nPersistent storage and sources of data consumed by APIs.\nValidate that a leaf has the right upgrade certificate to …\nConsume the selector and return a Result with the …\nConsume the selector and return a Result with the …\nConsume the selector and return a Result with the …\nFetching missing data from remote providers.\nFill this leaf with the block payload.\nFill this leaf with the block payload, without checking …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstructs a leaf from a given quorum proposal.\nCreate a new leaf from its components.\nHeight of this leaf in the chain.\nEmbed migrations from the given directory into the current …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nThe QC linking this leaf to its parent in the chain.\nApi for querying merklized state\nA node’s view of a HotShot chain\nCommitment to this leaf’s parent.\nA commitment to the block payload contained in this leaf.\nRun an instance of the HotShot Query service with no …\nQueries for node-specific state and uncommitted data.\nValidate that a leaf has the right upgrade certificate to …\nGet the underlying object if it is available without …\nCommon functionality provided by types used in this crate.\nThe QC linking this leaf to its parent in the chain.\nTime when this leaf was created.\nAn interface for querying a HotShot blockchain.\nA block hash is the hash of the block header.\nSNAFU context selector for the Error::Custom variant\nAn in-progress request to fetch some data.\nSNAFU context selector for the Error::FetchBlock variant\nSNAFU context selector for the Error::FetchLeaf variant\nSNAFU context selector for the Error::FetchTransaction …\nA proof that a certain transaction exists in the block.\nSNAFU context selector for the …\nEnumerate the transactions in this block.\nA block payload whose contents (e.g. individual …\nSNAFU context selector for the Error::Request variant\nAn index which can be used to efficiently retrieve a …\nThe hash of the block containing this transaction.\nThe height of the block containing this transaction.\nConsume the selector and return the associated error\nConsume the selector and return the associated error\nConsume the selector and return the associated error\nConsume the selector and return the associated error\nConsume the selector and return the associated error\nGet the index of the transaction with a given hash, if it …\nGet the index of the transaction with a given hash, if it …\nConvert this Fetch to a Result with the provided error …\nEnumerate the transactions in the block with their indices.\nEnumerate the transactions in the block with their indices.\nAdditional API specification files to merge with …\nConsume the selector and return a Result with the …\nConsume the selector and return a Result with the …\nConsume the selector and return a Result with the …\nConsume the selector and return a Result with the …\nConsume the selector and return a Result with the …\nTimeout for failing requests due to missing data.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the transaction with the given hash.\nThe hash of this transaction.\nThe (0-based) position of this transaction within its …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nWhether this block is empty of transactions.\nWhether this block is empty of transactions.\nList the transaction indices in the block.\nThe number of transactions in the block.\nTransform the result of this fetch.\nCollect information about a Leaf.\nGet the index of the nth transaction.\nGet the index of the nth transaction.\nGet the nth transaction.\nGet the nth transaction.\nGet the nth transaction, along with an inclusion proof.\nGet the nth transaction, along with an inclusion proof.\nGet an inclusion proof for a transaction with a given …\nGet an inclusion proof for a transaction with a given …\nA proof of inclusion of this transaction in its block.\nWait for the data to become available, if it is not …\nGet a transaction by its block-specific index.\nGet a transaction by its block-specific index.\nThe underlying transaction data.\nGet the transaction with a given hash, if it is in the …\nGet the transaction with a given hash, if it is in the …\nGet the transaction with a given hash, if it is in the …\nGet the transaction with a given hash, if it is in the …\nGet a transaction by its block-specific index, along with …\nGet the requested data if it is available immediately.\nConvert this Fetch to a Result with the provided error …\nWait for the requested data to become available, but only …\nWrapper to add extensibility to an existing data source.\nA data source for the APIs provided in this crate, backed …\nA minimal data source for the status API provided in this …\nAn extension trait for types which implement the update …\nA data source with an atomic transaction-based …\nGeneric tests we can instantiate for all the availability …\nAtomically commit to all outstanding modifications to the …\nCreate a new FileSystemDataSource with storage at path.\nCreate a new FileSystemDataSource using a persistent …\nAsynchronous retrieval of missing data.\nReturns the argument unchanged.\nReturns the argument unchanged.\nAccess the underlying data source.\nMutably access the underlying data source.\nCalls U::from(self).\nCalls U::from(self).\nGeneric tests we can instantiate for all the node data …\nOpen an existing FileSystemDataSource from storage at path.\nOpen an existing FileSystemDataSource using a persistent …\nGeneric tests we can instantiate for any data source with …\nErase all oustanding modifications to the data.\nAdvance the version of the persistent store without …\nGeneric tests we can instantiate for all the status data …\nPersistent storage for data sources.\nUpdate query state based on a new consensus event.\nA provider which can be used as a fetcher by the …\nBuilder for FetchingDataSource with configuration.\nThe most basic kind of data source.\nBuild a FetchingDataSource with these options.\nBuild a FetchingDataSource with the given storage and …\nConnect to a remote database.\nCreate a new FileSystemDataSource with storage at path.\nCreate a new FileSystemDataSource using a persistent …\nRun without proactive fetching.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConstruct a new builder with the given storage and fetcher …\nOpen an existing FileSystemDataSource from storage at path.\nOpen an existing FileSystemDataSource using a persistent …\nAdvance the version of the persistent store without …\nObtain direct, read-only access to the underlying local …\nObtain direct, mutable access the underlying local storage.\nAccess the transaction which is accumulating all …\nAdd a delay between active fetches in proactive scans.\nAdds a delay between chunk fetches during proactive scans.\nSet the interval (denominated in minor scans) between …\nSet the offset (denominated in minor scans) before the …\nSet the time interval between minor proactive fetching …\nSet the number of items to process at a time when scanning …\nSet the number of items to process at a time when loading …\nSet the maximum delay between retries of fetches.\nSet the maximum delay between retries of fetches.\nThe Error type, a wrapper around a dynamic error type.\nRepresents a schema migration to be run on the database, …\nA data source for the APIs provided in this crate, backed …\nConnect to a remote database.\nEmbed migrations from the given directory into the current …\nAccess the transaction which is accumulating all …\nPersistent storage for a HotShot blockchain.\nAn interface for querying Data and Statistics from the …\nget_block_detail is a method that retrieves the details of …\nget_block_summaries is a method that retrieves a list of …\nget_explorer_summary is a method that retrieves a summary …\nget_search_results is a method that retrieves the results …\nget_transaction_detail is a method that retrieves the …\nget_transaction_summaries is a method that retrieves a …\nStorage for the APIs provided in this crate, backed by a …\nCreate a new FileSystemStorage with storage at path.\nCreate a new FileSystemStorage using a persistent storage …\nReturns the argument unchanged.\nCalls U::from(self).\nOpen an existing FileSystemStorage from storage at path.\nOpen an existing FileSystemStorage using a persistent …\nAdvance the version of the persistent store without …\nMock storage implementation which doesn’t actually store …\nReturns the argument unchanged.\nCalls U::from(self).\nEither Postgres or no storage.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nNumber of blocks to remove in a single pruning operation.\nReturns the argument unchanged.\nPruning interval\nCalls U::from(self).\nMaximum disk usage (in basis points).\nMinimum data retention period\nDisk space threshold (in bytes).\nTarget data retention period\nPostgres client config.\nThe Error type, a wrapper around a dynamic error type.\nRepresents a schema migration to be run on the database, …\nStorage for the APIs provided in this crate, backed by a …\nAn atomic SQL transaction.\nGet the timestamp from when the Migration was applied. None…\nDisable pruning and reconstruct previously pruned data.\nGet the backtrace for this Error.\nConnect to the database, setting options on the underlying …\nAn iterator of the chain of source errors contained by …\nGet the Migration checksum. Checksum is formed from the …\nConnect to the database with this config.\nConnect to a remote database.\nWrap the error value with additional context.\nSet the name of the database to connect to.\nThe migrations requied to build the default schema for …\nAttempt to downcast the error object to a concrete type.\nDowncast this error object by mutable reference.\nDowncast this error object by reference.\nExecute a statement against the underlying database.\nExecute a statement that is expected to modify at least …\nExecute a statement that is expected to modify at least …\nExecute a statement that is expected to modify exactly one …\nExecute a statement that is expected to modify exactly one …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nRetreives a Merkle path from the database\nSet the hostname of the database server.\nEmbed the contents of a directory in your crate.\nEmbed migrations from the given directory into the current …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReturns true if E is the type held by this error object.\nAdd custom migrations to run when connecting to the …\nCreate a new error object from a printable error message.\nGet the Migration Name\nCreate a new error object from any error type.\nSkip all migrations when connecting to the database.\nSet a password for connecting to the database.\nSet the port on which to connect to the database.\nGet the Prefix\nNote: The prune operation may not immediately free up …\nEnable pruning with a given configuration.\nQuery the underlying SQL database, returning exactly one …\nQuery the underlying SQL database with no parameters, …\nQuery the underlying SQL database, returning zero or one …\nQuery the underlying SQL database with no parameters, …\nQuery the underlying SQL database with no parameters.\nReset the schema on connection.\nThe lowest level cause of this error — this error’s …\nSet the name of the schema to use for queries.\nUse TLS for an encrypted connection to the database.\nAccess the transaction which is accumulating all …\nCreate an unapplied migration, name and version are parsed …\nSet the DB user to connect as.\nGet the Migration version\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nBalanceAmount is a type that represents a general balance …\nBlockDetail is a struct that represents the details of a …\nBlockDetailResponse is a struct that represents the …\nBlockIdentifier is an enum that represents multiple ways …\nBlockRange is a struct that represents a range for a …\nBlockSummary is a struct that represents a summary …\nBlockSummaryResponse is a struct that represents the …\nCurrencyCode represents an enumeration of all …\nCurrencyMismatchError is an error that occurs when two …\nError is an enum that represents the various errors that …\nExplorerHeader is a trait that represents certain …\nExplorerHistograms provides a series of data points that …\nExplorerSummary is a struct that represents an at-a-glance …\nExplorerSummaryResponse is a struct that represents the …\nExplorerTransaction is a trait that allows the Explorer …\nFeeAttribution represents a specific attribution of fees …\nGenesisOverview provides a summary overview of the block …\nGetBlockDetailError represents an error that has occurred …\nGetBlockSummariesError represents an error that has …\nGetBlockSummariesRequest is a struct that represents an …\nGetExplorerSummaryError represents an error that has …\nGetSearchResultsError represents an error that has …\nGetTransactionDetailError represents an error that has …\nGetTransactionSummariesError represents an error that has …\nGetTransactionSummariesRequest is a struct that represents …\nInvalidCurrencyCodeError is an error that occurs when an …\nMonetaryValues is a struct that paris a CurrencyCode with …\nNamespaceId is a type that represents the id of a …\nNamespaceId is a type that represents the id of a …\nProposerId is a type that represents the proposer id of …\nSearchResult is a struct that represents the results of …\nSearchResultResponse is a struct that represents the …\nTimestamp represents a specific point in time that has a …\nTimestampConversionError represents an error that has …\nTransactionDetail is a struct that represents the details …\nTransactionDetailResponse is a struct that represents the …\nTransactionIdentifier is an enum that represents multiple …\nTransactionRange is a struct that represents a range for a …\nTransactionSummariesResponse is a struct that represents …\nTransactionSummary is a struct that represents a summary …\nTransactionSummaryFilter represents the various filters …\nWalletAddress is a type that represents the address of a …\nadd attempts to add the two MonetaryValues together. This …\nbtc is a convenience function to create a MonetaryValue …\ndefine_api is a function that defines the API endpoints …\ndeserialize attempts to convert a string into a …\ndeserialize converts a string representation of a RFC3339 …\nesp is a convenience function to create a MonetaryValue …\neth is a convenience function to create a MonetaryValue …\nThe wallet address of the fee info account contained …\nThe balance amount of the fee info contained within the …\nfmt formats the error into a human readable string\nfmt formats the error into a human readable string\nfmt formats the currency code into a human readable string\nfmt formats the MonetaryValue into a human readable …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nfrom converts an i128 into a MonetaryValue with the USD …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nA collection of namespace ids that are contained within …\nnew creates a new MonetaryValue instance with the given …\nThe proposer id of the block as stored within the block …\nThe balance amount of the reward for constructing the …\nserialize converts the error into a struct representation\nserialize converts the error into a struct representation\nserialize converts the MonetaryValue into a String …\nserialize converts the timestamp into a string …\nsignificant_digits represents the total number of …\nsub attempts to subtract the two MonetaryValues together. …\nusd is a convenience function to create a MonetaryValue …\nA callback to process the result of a request.\nManagement of concurrent requests to fetch resources.\nA callback to process the result of a request.\nReturns the argument unchanged.\nCalls U::from(self).\nAsynchronous fetching from external data availability …\nRequests for fetching resources.\nFetch a resource, if it is not already being fetched.\nAdaptor combining multiple data availability providers.\nTrivial Provider where fetching always fails.\nA provider which is able to satisfy requests for data of …\nData availability provider backed by another instance of …\nAdaptor to add test-only functionality to an existing …\nDelay fetch requests until unblock.\nCause subsequent requests to fail.\nFetch a resource.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nAllow blocked fetch requests to proceed.\nStop requests from failing as a result of a previous call …\nAdd a sub-provider which fetches blocks.\nAdd a sub-provider which fetches leaves.\nAdd a sub-provider which fetches both blocks and leaves.\nAdd a sub-provider which fetches VID common data.\nA request for a leaf with a given height.\nA request for a payload with a given commitment.\nA request for a resource.\nThe type of resource that will be returned as a successful …\nA request for VID common data.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nThis trait should be implemented by the MerkleTree that …\nThis trait defines methods that a data source should …\nSnapshot can be queried by block height (index) or merkle …\nThis trait defines methods for updating the storage with …\nAdditional API specification files to merge with …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nRetrieves the field in the header containing the Merkle …\nInsert a forgotten path into the tree.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nRetrieves the name of the state being queried.\nGet the height of the tree\nA Counter metric.\nA CounterFamily metric.\nA Gauge metric.\nA GaugeFamily metric.\nA Histogram metric.\nA HistogramFamily metric.\nA Prometheus-based implementation of a Metrics registry.\nA TextFamily metric.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nGet a gauge family in this sub-group by name.\nGet a counter in this sub-group by name.\nGet a counter family in this sub-group by name.\nGet a gauge in this sub-group by name.\nGet a histogram in this sub-group by name.\nGet a histogram family in this sub-group by name.\nGet a (possibly nested) subgroup of this group by its path.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nSNAFU context selector for the Error::Custom variant\nSNAFU context selector for the Error::Query variant\nSNAFU context selector for the Error::QueryVid variant\nSNAFU context selector for the Error::QueryWindow variant\nSNAFU context selector for the Error::Request variant\nResponse to a /:resource/window query.\nConsume the selector and return the associated error\nAdditional API specification files to merge with …\nConsume the selector and return a Result with the …\nReturns the argument unchanged.\nReturns the argument unchanged.\nThe block height of the block that starts the window.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nSearch the database for missing objects and generate a …\nAdditional API specification files to merge with …\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nBacking storage for the data source.\nReturns the argument unchanged.\nCalls U::from(self).\nSetup runs after setting up the network but before …\nA type alias for the mock base version\nThe block header to append\nBlock number.\nFast commitment for builder verification\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nPer spec, justification\nVID commitment to the payload.\nPossible timeout or view sync certificate.\nshould_return_err is a testing utility to validate …\nTimestamp when this header was created.\nList of transactions.\nPossible upgrade certificate, which the leader may …\nThe URL of the builder to reach out to.\nCurView from leader when proposing leaf\nTypes which have a notion of “height” within a chain.") \ No newline at end of file +searchState.loadedDescShard("hotshot_query_service", 0, "The HotShot Query Service is a minimal, generic query …\nContains the error value\nThere was an error while trying to fetch the requested …\nSNAFU context selector for the QueryError::Error variant\nThis is the consensus-internal analogous concept to a …\nThe requested resource exists but is not currently …\nSNAFU context selector for the QueryError::Missing variant\nThe requested resource does not exist or is not known to …\nSNAFU context selector for the QueryError::NotFound variant\nContains the success value\nA reference to a T which can be resolved into a whole T.\nItem within a Payload.\nVID commitment type\nVID common type\nVID share type\nQueries for HotShot chain state.\nThe block header contained in this leaf.\nGet a mutable reference to the block header contained in …\nOptional block payload.\nConsume the selector and return the associated error\nConsume the selector and return the associated error\nConsume the selector and return the associated error\nGet a commitment to the underlying object.\nPersistent storage and sources of data consumed by APIs.\nValidate that a leaf has the right upgrade certificate to …\nConsume the selector and return a Result with the …\nConsume the selector and return a Result with the …\nConsume the selector and return a Result with the …\nFetching missing data from remote providers.\nFill this leaf with the block payload.\nFill this leaf with the block payload, without checking …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstructs a leaf from a given quorum proposal.\nCreate a new leaf from its components.\nHeight of this leaf in the chain.\nEmbed migrations from the given directory into the current …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nThe QC linking this leaf to its parent in the chain.\nApi for querying merklized state\nA node’s view of a HotShot chain\nCommitment to this leaf’s parent.\nA commitment to the block payload contained in this leaf.\nRun an instance of the HotShot Query service with no …\nQueries for node-specific state and uncommitted data.\nValidate that a leaf has the right upgrade certificate to …\nGet the underlying object if it is available without …\nCommon functionality provided by types used in this crate.\nThe QC linking this leaf to its parent in the chain.\nTime when this leaf was created.\nAn interface for querying a HotShot blockchain.\nA block hash is the hash of the block header.\nSNAFU context selector for the Error::Custom variant\nAn in-progress request to fetch some data.\nSNAFU context selector for the Error::FetchBlock variant\nSNAFU context selector for the Error::FetchLeaf variant\nSNAFU context selector for the Error::FetchTransaction …\nA proof that a certain transaction exists in the block.\nSNAFU context selector for the …\nEnumerate the transactions in this block.\nA block payload whose contents (e.g. individual …\nSNAFU context selector for the Error::Request variant\nAn index which can be used to efficiently retrieve a …\nThe hash of the block containing this transaction.\nThe height of the block containing this transaction.\nConsume the selector and return the associated error\nConsume the selector and return the associated error\nConsume the selector and return the associated error\nConsume the selector and return the associated error\nConsume the selector and return the associated error\nGet the index of the transaction with a given hash, if it …\nGet the index of the transaction with a given hash, if it …\nConvert this Fetch to a Result with the provided error …\nEnumerate the transactions in the block with their indices.\nEnumerate the transactions in the block with their indices.\nAdditional API specification files to merge with …\nConsume the selector and return a Result with the …\nConsume the selector and return a Result with the …\nConsume the selector and return a Result with the …\nConsume the selector and return a Result with the …\nConsume the selector and return a Result with the …\nTimeout for failing requests due to missing data.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the transaction with the given hash.\nThe hash of this transaction.\nThe (0-based) position of this transaction within its …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nWhether this block is empty of transactions.\nWhether this block is empty of transactions.\nList the transaction indices in the block.\nThe number of transactions in the block.\nTransform the result of this fetch.\nCollect information about a Leaf.\nGet the index of the nth transaction.\nGet the index of the nth transaction.\nGet the nth transaction.\nGet the nth transaction.\nGet the nth transaction, along with an inclusion proof.\nGet the nth transaction, along with an inclusion proof.\nGet an inclusion proof for a transaction with a given …\nGet an inclusion proof for a transaction with a given …\nA proof of inclusion of this transaction in its block.\nWait for the data to become available, if it is not …\nGet a transaction by its block-specific index.\nGet a transaction by its block-specific index.\nThe underlying transaction data.\nGet the transaction with a given hash, if it is in the …\nGet the transaction with a given hash, if it is in the …\nGet the transaction with a given hash, if it is in the …\nGet the transaction with a given hash, if it is in the …\nGet a transaction by its block-specific index, along with …\nGet the requested data if it is available immediately.\nConvert this Fetch to a Result with the provided error …\nWait for the requested data to become available, but only …\nWrapper to add extensibility to an existing data source.\nA data source for the APIs provided in this crate, backed …\nA minimal data source for the status API provided in this …\nAn extension trait for types which implement the update …\nA data source with an atomic transaction-based …\nGeneric tests we can instantiate for all the availability …\nAtomically commit to all outstanding modifications to the …\nCreate a new FileSystemDataSource with storage at path.\nCreate a new FileSystemDataSource using a persistent …\nAsynchronous retrieval of missing data.\nReturns the argument unchanged.\nReturns the argument unchanged.\nAccess the underlying data source.\nMutably access the underlying data source.\nCalls U::from(self).\nCalls U::from(self).\nGeneric tests we can instantiate for all the node data …\nOpen an existing FileSystemDataSource from storage at path.\nOpen an existing FileSystemDataSource using a persistent …\nGeneric tests we can instantiate for any data source with …\nErase all oustanding modifications to the data.\nAdvance the version of the persistent store without …\nGeneric tests we can instantiate for all the status data …\nPersistent storage for data sources.\nUpdate query state based on a new consensus event.\nA provider which can be used as a fetcher by the …\nBuilder for FetchingDataSource with configuration.\nThe most basic kind of data source.\nBuild a FetchingDataSource with these options.\nBuild a FetchingDataSource with the given storage and …\nConnect to a remote database.\nCreate a new FileSystemDataSource with storage at path.\nCreate a new FileSystemDataSource using a persistent …\nRun without proactive fetching.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConstruct a new builder with the given storage and fetcher …\nOpen an existing FileSystemDataSource from storage at path.\nOpen an existing FileSystemDataSource using a persistent …\nAdvance the version of the persistent store without …\nObtain direct, read-only access to the underlying local …\nObtain direct, mutable access the underlying local storage.\nAccess the transaction which is accumulating all …\nAdd a delay between active fetches in proactive scans.\nAdds a delay between chunk fetches during proactive scans.\nSet the interval (denominated in minor scans) between …\nSet the offset (denominated in minor scans) before the …\nSet the time interval between minor proactive fetching …\nSet the number of items to process at a time when scanning …\nSet the number of items to process at a time when loading …\nSet the maximum delay between retries of fetches.\nSet the maximum delay between retries of fetches.\nThe Error type, a wrapper around a dynamic error type.\nRepresents a schema migration to be run on the database, …\nA data source for the APIs provided in this crate, backed …\nConnect to a remote database.\nEmbed migrations from the given directory into the current …\nAccess the transaction which is accumulating all …\nPersistent storage for a HotShot blockchain.\nAn interface for querying Data and Statistics from the …\nget_block_detail is a method that retrieves the details of …\nget_block_summaries is a method that retrieves a list of …\nget_explorer_summary is a method that retrieves a summary …\nget_search_results is a method that retrieves the results …\nget_transaction_detail is a method that retrieves the …\nget_transaction_summaries is a method that retrieves a …\nStorage for the APIs provided in this crate, backed by a …\nCreate a new FileSystemStorage with storage at path.\nCreate a new FileSystemStorage using a persistent storage …\nReturns the argument unchanged.\nCalls U::from(self).\nOpen an existing FileSystemStorage from storage at path.\nOpen an existing FileSystemStorage using a persistent …\nAdvance the version of the persistent store without …\nMock storage implementation which doesn’t actually store …\nReturns the argument unchanged.\nCalls U::from(self).\nEither Postgres or no storage.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nNumber of blocks to remove in a single pruning operation.\nReturns the argument unchanged.\nPruning interval\nCalls U::from(self).\nMaximum disk usage (in basis points).\nMinimum data retention period\nDisk space threshold (in bytes).\nTarget data retention period\nPostgres client config.\nThe Error type, a wrapper around a dynamic error type.\nRepresents a schema migration to be run on the database, …\nStorage for the APIs provided in this crate, backed by a …\nAn atomic SQL transaction.\nGet the timestamp from when the Migration was applied. None…\nDisable pruning and reconstruct previously pruned data.\nGet the backtrace for this Error.\nConnect to the database, setting options on the underlying …\nAn iterator of the chain of source errors contained by …\nGet the Migration checksum. Checksum is formed from the …\nConnect to the database with this config.\nConnect to a remote database.\nWrap the error value with additional context.\nSet the name of the database to connect to.\nThe migrations requied to build the default schema for …\nAttempt to downcast the error object to a concrete type.\nDowncast this error object by mutable reference.\nDowncast this error object by reference.\nExecute a statement against the underlying database.\nExecute a statement that is expected to modify at least …\nExecute a statement that is expected to modify at least …\nExecute a statement that is expected to modify exactly one …\nExecute a statement that is expected to modify exactly one …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nRetreives a Merkle path from the database\nSet the hostname of the database server.\nEmbed the contents of a directory in your crate.\nEmbed migrations from the given directory into the current …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReturns true if E is the type held by this error object.\nAdd custom migrations to run when connecting to the …\nCreate a new error object from a printable error message.\nGet the Migration Name\nCreate a new error object from any error type.\nSkip all migrations when connecting to the database.\nSet a password for connecting to the database.\nSet the port on which to connect to the database.\nGet the Prefix\nNote: The prune operation may not immediately free up …\nEnable pruning with a given configuration.\nQuery the underlying SQL database, returning exactly one …\nQuery the underlying SQL database with no parameters, …\nQuery the underlying SQL database, returning zero or one …\nQuery the underlying SQL database with no parameters, …\nQuery the underlying SQL database with no parameters.\nReset the schema on connection.\nThe lowest level cause of this error — this error’s …\nSet the name of the schema to use for queries.\nUse TLS for an encrypted connection to the database.\nAccess the transaction which is accumulating all …\nCreate an unapplied migration, name and version are parsed …\nSet the DB user to connect as.\nGet the Migration version\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nBalanceAmount is a type that represents a general balance …\nBlockDetail is a struct that represents the details of a …\nBlockDetailResponse is a struct that represents the …\nBlockIdentifier is an enum that represents multiple ways …\nBlockRange is a struct that represents a range for a …\nBlockSummary is a struct that represents a summary …\nBlockSummaryResponse is a struct that represents the …\nCurrencyCode represents an enumeration of all …\nCurrencyMismatchError is an error that occurs when two …\nError is an enum that represents the various errors that …\nExplorerHeader is a trait that represents certain …\nExplorerHistograms provides a series of data points that …\nExplorerSummary is a struct that represents an at-a-glance …\nExplorerSummaryResponse is a struct that represents the …\nExplorerTransaction is a trait that allows the Explorer …\nFeeAttribution represents a specific attribution of fees …\nGenesisOverview provides a summary overview of the block …\nGetBlockDetailError represents an error that has occurred …\nGetBlockSummariesError represents an error that has …\nGetBlockSummariesRequest is a struct that represents an …\nGetExplorerSummaryError represents an error that has …\nGetSearchResultsError represents an error that has …\nGetTransactionDetailError represents an error that has …\nGetTransactionSummariesError represents an error that has …\nGetTransactionSummariesRequest is a struct that represents …\nInvalidCurrencyCodeError is an error that occurs when an …\nMonetaryValues is a struct that paris a CurrencyCode with …\nNamespaceId is a type that represents the id of a …\nNamespaceId is a type that represents the id of a …\nProposerId is a type that represents the proposer id of …\nSearchResult is a struct that represents the results of …\nSearchResultResponse is a struct that represents the …\nTimestamp represents a specific point in time that has a …\nTimestampConversionError represents an error that has …\nTransactionDetail is a struct that represents the details …\nTransactionDetailResponse is a struct that represents the …\nTransactionIdentifier is an enum that represents multiple …\nTransactionRange is a struct that represents a range for a …\nTransactionSummariesResponse is a struct that represents …\nTransactionSummary is a struct that represents a summary …\nTransactionSummaryFilter represents the various filters …\nWalletAddress is a type that represents the address of a …\nadd attempts to add the two MonetaryValues together. This …\nbtc is a convenience function to create a MonetaryValue …\ndefine_api is a function that defines the API endpoints …\ndeserialize attempts to convert a string into a …\ndeserialize converts a string representation of a RFC3339 …\nesp is a convenience function to create a MonetaryValue …\neth is a convenience function to create a MonetaryValue …\nThe wallet address of the fee info account contained …\nThe balance amount of the fee info contained within the …\nfmt formats the error into a human readable string\nfmt formats the error into a human readable string\nfmt formats the currency code into a human readable string\nfmt formats the MonetaryValue into a human readable …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nfrom converts an i128 into a MonetaryValue with the USD …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nA collection of namespace ids that are contained within …\nnew creates a new MonetaryValue instance with the given …\nThe proposer id of the block as stored within the block …\nThe balance amount of the reward for constructing the …\nserialize converts the error into a struct representation\nserialize converts the error into a struct representation\nserialize converts the MonetaryValue into a String …\nserialize converts the timestamp into a string …\nsignificant_digits represents the total number of …\nsub attempts to subtract the two MonetaryValues together. …\nusd is a convenience function to create a MonetaryValue …\nA callback to process the result of a request.\nManagement of concurrent requests to fetch resources.\nA callback to process the result of a request.\nReturns the argument unchanged.\nCalls U::from(self).\nAsynchronous fetching from external data availability …\nRequests for fetching resources.\nFetch a resource, if it is not already being fetched.\nAdaptor combining multiple data availability providers.\nTrivial Provider where fetching always fails.\nA provider which is able to satisfy requests for data of …\nData availability provider backed by another instance of …\nAdaptor to add test-only functionality to an existing …\nDelay fetch requests until unblock.\nCause subsequent requests to fail.\nFetch a resource.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nAllow blocked fetch requests to proceed.\nStop requests from failing as a result of a previous call …\nAdd a sub-provider which fetches blocks.\nAdd a sub-provider which fetches leaves.\nAdd a sub-provider which fetches both blocks and leaves.\nAdd a sub-provider which fetches VID common data.\nA request for a leaf with a given height.\nA request for a payload with a given commitment.\nA request for a resource.\nThe type of resource that will be returned as a successful …\nA request for VID common data.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nThis trait should be implemented by the MerkleTree that …\nThis trait defines methods that a data source should …\nSnapshot can be queried by block height (index) or merkle …\nThis trait defines methods for updating the storage with …\nAdditional API specification files to merge with …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nRetrieves the field in the header containing the Merkle …\nInsert a forgotten path into the tree.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nRetrieves the name of the state being queried.\nGet the height of the tree\nA Counter metric.\nA CounterFamily metric.\nA Gauge metric.\nA GaugeFamily metric.\nA Histogram metric.\nA HistogramFamily metric.\nA Prometheus-based implementation of a Metrics registry.\nA TextFamily metric.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nGet a gauge family in this sub-group by name.\nGet a counter in this sub-group by name.\nGet a counter family in this sub-group by name.\nGet a gauge in this sub-group by name.\nGet a histogram in this sub-group by name.\nGet a histogram family in this sub-group by name.\nGet a (possibly nested) subgroup of this group by its path.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nSNAFU context selector for the Error::Custom variant\nSNAFU context selector for the Error::Query variant\nSNAFU context selector for the Error::QueryVid variant\nSNAFU context selector for the Error::QueryWindow variant\nSNAFU context selector for the Error::Request variant\nResponse to a /:resource/window query.\nConsume the selector and return the associated error\nAdditional API specification files to merge with …\nConsume the selector and return a Result with the …\nReturns the argument unchanged.\nReturns the argument unchanged.\nThe block height of the block that starts the window.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nSearch the database for missing objects and generate a …\nAdditional API specification files to merge with …\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nBacking storage for the data source.\nReturns the argument unchanged.\nCalls U::from(self).\nSetup runs after setting up the network but before …\nA type alias for the mock base version\nThe block header to append\nBlock number.\nFast commitment for builder verification\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nPer spec, justification\nVID commitment to the payload.\nPossible timeout or view sync certificate.\nshould_return_err is a testing utility to validate …\nTimestamp when this header was created.\nList of transactions.\nPossible upgrade certificate, which the leader may …\nThe URL of the builder to reach out to.\nCurView from leader when proposing leaf\nTypes which have a notion of “height” within a chain.") \ No newline at end of file diff --git a/settings.html b/settings.html index e0fa82607..5d2f11db0 100644 --- a/settings.html +++ b/settings.html @@ -1 +1 @@ -Settings

      Rustdoc settings

      Back
      \ No newline at end of file +Settings

      Rustdoc settings

      Back
      \ No newline at end of file diff --git a/src/hotshot_query_service/api.rs.html b/src/hotshot_query_service/api.rs.html index cafcb7ae3..1ac38c35b 100644 --- a/src/hotshot_query_service/api.rs.html +++ b/src/hotshot_query_service/api.rs.html @@ -1,4 +1,4 @@ -api.rs - source
      1
      +api.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/availability.rs.html b/src/hotshot_query_service/availability.rs.html
      index 64b2bd959..80bdfcb0b 100644
      --- a/src/hotshot_query_service/availability.rs.html
      +++ b/src/hotshot_query_service/availability.rs.html
      @@ -1,4 +1,4 @@
      -availability.rs - source
      1
      +availability.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/availability/data_source.rs.html b/src/hotshot_query_service/availability/data_source.rs.html
      index 736e8b76f..7673092e5 100644
      --- a/src/hotshot_query_service/availability/data_source.rs.html
      +++ b/src/hotshot_query_service/availability/data_source.rs.html
      @@ -1,4 +1,4 @@
      -data_source.rs - source
      1
      +data_source.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/availability/fetch.rs.html b/src/hotshot_query_service/availability/fetch.rs.html
      index 91858b817..5783f58b9 100644
      --- a/src/hotshot_query_service/availability/fetch.rs.html
      +++ b/src/hotshot_query_service/availability/fetch.rs.html
      @@ -1,4 +1,4 @@
      -fetch.rs - source
      1
      +fetch.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/availability/query_data.rs.html b/src/hotshot_query_service/availability/query_data.rs.html
      index 4ccf0a5e6..178719ef1 100644
      --- a/src/hotshot_query_service/availability/query_data.rs.html
      +++ b/src/hotshot_query_service/availability/query_data.rs.html
      @@ -1,4 +1,4 @@
      -query_data.rs - source
      1
      +query_data.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/data_source.rs.html b/src/hotshot_query_service/data_source.rs.html
      index 333ec06c7..6d23772e8 100644
      --- a/src/hotshot_query_service/data_source.rs.html
      +++ b/src/hotshot_query_service/data_source.rs.html
      @@ -1,4 +1,4 @@
      -data_source.rs - source
      1
      +data_source.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/data_source/extension.rs.html b/src/hotshot_query_service/data_source/extension.rs.html
      index 4fbc38a33..be231b626 100644
      --- a/src/hotshot_query_service/data_source/extension.rs.html
      +++ b/src/hotshot_query_service/data_source/extension.rs.html
      @@ -1,4 +1,4 @@
      -extension.rs - source
      1
      +extension.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/data_source/fetching.rs.html b/src/hotshot_query_service/data_source/fetching.rs.html
      index 8e633ef3f..bc1a0d587 100644
      --- a/src/hotshot_query_service/data_source/fetching.rs.html
      +++ b/src/hotshot_query_service/data_source/fetching.rs.html
      @@ -1,4 +1,4 @@
      -fetching.rs - source
      1
      +fetching.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/data_source/fetching/block.rs.html b/src/hotshot_query_service/data_source/fetching/block.rs.html
      index 949f02503..c635f5c5a 100644
      --- a/src/hotshot_query_service/data_source/fetching/block.rs.html
      +++ b/src/hotshot_query_service/data_source/fetching/block.rs.html
      @@ -1,4 +1,4 @@
      -block.rs - source
      1
      +block.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/data_source/fetching/header.rs.html b/src/hotshot_query_service/data_source/fetching/header.rs.html
      index c29358fe8..965d10d7e 100644
      --- a/src/hotshot_query_service/data_source/fetching/header.rs.html
      +++ b/src/hotshot_query_service/data_source/fetching/header.rs.html
      @@ -1,4 +1,4 @@
      -header.rs - source
      1
      +header.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/data_source/fetching/leaf.rs.html b/src/hotshot_query_service/data_source/fetching/leaf.rs.html
      index 46770b310..8340c5a6e 100644
      --- a/src/hotshot_query_service/data_source/fetching/leaf.rs.html
      +++ b/src/hotshot_query_service/data_source/fetching/leaf.rs.html
      @@ -1,4 +1,4 @@
      -leaf.rs - source
      1
      +leaf.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/data_source/fetching/transaction.rs.html b/src/hotshot_query_service/data_source/fetching/transaction.rs.html
      index bff8cfc8a..c9ab13140 100644
      --- a/src/hotshot_query_service/data_source/fetching/transaction.rs.html
      +++ b/src/hotshot_query_service/data_source/fetching/transaction.rs.html
      @@ -1,4 +1,4 @@
      -transaction.rs - source
      1
      +transaction.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/data_source/fetching/vid.rs.html b/src/hotshot_query_service/data_source/fetching/vid.rs.html
      index f3c0e5a96..906f78f16 100644
      --- a/src/hotshot_query_service/data_source/fetching/vid.rs.html
      +++ b/src/hotshot_query_service/data_source/fetching/vid.rs.html
      @@ -1,4 +1,4 @@
      -vid.rs - source
      1
      +vid.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/data_source/fs.rs.html b/src/hotshot_query_service/data_source/fs.rs.html
      index 375f2319f..4d5bc9210 100644
      --- a/src/hotshot_query_service/data_source/fs.rs.html
      +++ b/src/hotshot_query_service/data_source/fs.rs.html
      @@ -1,4 +1,4 @@
      -fs.rs - source
      1
      +fs.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/data_source/metrics.rs.html b/src/hotshot_query_service/data_source/metrics.rs.html
      index 1a0cbe561..3d55490de 100644
      --- a/src/hotshot_query_service/data_source/metrics.rs.html
      +++ b/src/hotshot_query_service/data_source/metrics.rs.html
      @@ -1,4 +1,4 @@
      -metrics.rs - source
      1
      +metrics.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/data_source/notifier.rs.html b/src/hotshot_query_service/data_source/notifier.rs.html
      index d6e1ac567..e85874b0d 100644
      --- a/src/hotshot_query_service/data_source/notifier.rs.html
      +++ b/src/hotshot_query_service/data_source/notifier.rs.html
      @@ -1,4 +1,4 @@
      -notifier.rs - source
      1
      +notifier.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/data_source/sql.rs.html b/src/hotshot_query_service/data_source/sql.rs.html
      index 6cc695b6f..74bdf67d8 100644
      --- a/src/hotshot_query_service/data_source/sql.rs.html
      +++ b/src/hotshot_query_service/data_source/sql.rs.html
      @@ -1,4 +1,4 @@
      -sql.rs - source
      1
      +sql.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/data_source/storage.rs.html b/src/hotshot_query_service/data_source/storage.rs.html
      index 303b9c704..4c4b50e45 100644
      --- a/src/hotshot_query_service/data_source/storage.rs.html
      +++ b/src/hotshot_query_service/data_source/storage.rs.html
      @@ -1,4 +1,4 @@
      -storage.rs - source
      1
      +storage.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/data_source/storage/fs.rs.html b/src/hotshot_query_service/data_source/storage/fs.rs.html
      index 8a52ea669..31d2ff119 100644
      --- a/src/hotshot_query_service/data_source/storage/fs.rs.html
      +++ b/src/hotshot_query_service/data_source/storage/fs.rs.html
      @@ -1,4 +1,4 @@
      -fs.rs - source
      1
      +fs.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/data_source/storage/ledger_log.rs.html b/src/hotshot_query_service/data_source/storage/ledger_log.rs.html
      index 05f2037b7..640dc1b8a 100644
      --- a/src/hotshot_query_service/data_source/storage/ledger_log.rs.html
      +++ b/src/hotshot_query_service/data_source/storage/ledger_log.rs.html
      @@ -1,4 +1,4 @@
      -ledger_log.rs - source
      1
      +ledger_log.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/data_source/storage/no_storage.rs.html b/src/hotshot_query_service/data_source/storage/no_storage.rs.html
      index 3b1e695dd..99154fd9e 100644
      --- a/src/hotshot_query_service/data_source/storage/no_storage.rs.html
      +++ b/src/hotshot_query_service/data_source/storage/no_storage.rs.html
      @@ -1,4 +1,4 @@
      -no_storage.rs - source
      1
      +no_storage.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/data_source/storage/pruning.rs.html b/src/hotshot_query_service/data_source/storage/pruning.rs.html
      index 88907addd..70e8051c0 100644
      --- a/src/hotshot_query_service/data_source/storage/pruning.rs.html
      +++ b/src/hotshot_query_service/data_source/storage/pruning.rs.html
      @@ -1,4 +1,4 @@
      -pruning.rs - source
      1
      +pruning.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/data_source/storage/sql.rs.html b/src/hotshot_query_service/data_source/storage/sql.rs.html
      index 7b89bd350..f67dae28c 100644
      --- a/src/hotshot_query_service/data_source/storage/sql.rs.html
      +++ b/src/hotshot_query_service/data_source/storage/sql.rs.html
      @@ -1,4 +1,4 @@
      -sql.rs - source
      1
      +sql.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/data_source/storage/sql/client.rs.html b/src/hotshot_query_service/data_source/storage/sql/client.rs.html
      index 0d6ac6450..4a9f7831f 100644
      --- a/src/hotshot_query_service/data_source/storage/sql/client.rs.html
      +++ b/src/hotshot_query_service/data_source/storage/sql/client.rs.html
      @@ -1,4 +1,4 @@
      -client.rs - source
      1
      +client.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/data_source/update.rs.html b/src/hotshot_query_service/data_source/update.rs.html
      index 064b4f086..fd3ad366a 100644
      --- a/src/hotshot_query_service/data_source/update.rs.html
      +++ b/src/hotshot_query_service/data_source/update.rs.html
      @@ -1,4 +1,4 @@
      -update.rs - source
      1
      +update.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/error.rs.html b/src/hotshot_query_service/error.rs.html
      index c318f7b81..b7cb635d2 100644
      --- a/src/hotshot_query_service/error.rs.html
      +++ b/src/hotshot_query_service/error.rs.html
      @@ -1,4 +1,4 @@
      -error.rs - source
      1
      +error.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/explorer.rs.html b/src/hotshot_query_service/explorer.rs.html
      index efbdb3ae5..e214c0ccd 100644
      --- a/src/hotshot_query_service/explorer.rs.html
      +++ b/src/hotshot_query_service/explorer.rs.html
      @@ -1,4 +1,4 @@
      -explorer.rs - source
      1
      +explorer.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/explorer/currency.rs.html b/src/hotshot_query_service/explorer/currency.rs.html
      index 8091ac004..aad11e0d5 100644
      --- a/src/hotshot_query_service/explorer/currency.rs.html
      +++ b/src/hotshot_query_service/explorer/currency.rs.html
      @@ -1,4 +1,4 @@
      -currency.rs - source
      1
      +currency.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/explorer/errors.rs.html b/src/hotshot_query_service/explorer/errors.rs.html
      index 10376e493..b7a3ec72f 100644
      --- a/src/hotshot_query_service/explorer/errors.rs.html
      +++ b/src/hotshot_query_service/explorer/errors.rs.html
      @@ -1,4 +1,4 @@
      -errors.rs - source
      1
      +errors.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/explorer/monetary_value.rs.html b/src/hotshot_query_service/explorer/monetary_value.rs.html
      index 3c090a904..41a1266ca 100644
      --- a/src/hotshot_query_service/explorer/monetary_value.rs.html
      +++ b/src/hotshot_query_service/explorer/monetary_value.rs.html
      @@ -1,4 +1,4 @@
      -monetary_value.rs - source
      1
      +monetary_value.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/explorer/query_data.rs.html b/src/hotshot_query_service/explorer/query_data.rs.html
      index 03d131e23..18880d93d 100644
      --- a/src/hotshot_query_service/explorer/query_data.rs.html
      +++ b/src/hotshot_query_service/explorer/query_data.rs.html
      @@ -1,4 +1,4 @@
      -query_data.rs - source
      1
      +query_data.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/explorer/traits.rs.html b/src/hotshot_query_service/explorer/traits.rs.html
      index b5f26e180..e3800dc8d 100644
      --- a/src/hotshot_query_service/explorer/traits.rs.html
      +++ b/src/hotshot_query_service/explorer/traits.rs.html
      @@ -1,4 +1,4 @@
      -traits.rs - source
      1
      +traits.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/fetching.rs.html b/src/hotshot_query_service/fetching.rs.html
      index 0c60b61a7..e44a4ced9 100644
      --- a/src/hotshot_query_service/fetching.rs.html
      +++ b/src/hotshot_query_service/fetching.rs.html
      @@ -1,4 +1,4 @@
      -fetching.rs - source
      1
      +fetching.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/fetching/provider.rs.html b/src/hotshot_query_service/fetching/provider.rs.html
      index 2bb506817..0098bdb09 100644
      --- a/src/hotshot_query_service/fetching/provider.rs.html
      +++ b/src/hotshot_query_service/fetching/provider.rs.html
      @@ -1,4 +1,4 @@
      -provider.rs - source
      1
      +provider.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/fetching/provider/any.rs.html b/src/hotshot_query_service/fetching/provider/any.rs.html
      index 97e507608..34cd00c5e 100644
      --- a/src/hotshot_query_service/fetching/provider/any.rs.html
      +++ b/src/hotshot_query_service/fetching/provider/any.rs.html
      @@ -1,4 +1,4 @@
      -any.rs - source
      1
      +any.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/fetching/provider/query_service.rs.html b/src/hotshot_query_service/fetching/provider/query_service.rs.html
      index 2a6d36e85..cf6bdcfc4 100644
      --- a/src/hotshot_query_service/fetching/provider/query_service.rs.html
      +++ b/src/hotshot_query_service/fetching/provider/query_service.rs.html
      @@ -1,4 +1,4 @@
      -query_service.rs - source
      1
      +query_service.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/fetching/provider/testing.rs.html b/src/hotshot_query_service/fetching/provider/testing.rs.html
      index 9e3a26f92..67a048c9d 100644
      --- a/src/hotshot_query_service/fetching/provider/testing.rs.html
      +++ b/src/hotshot_query_service/fetching/provider/testing.rs.html
      @@ -1,4 +1,4 @@
      -testing.rs - source
      1
      +testing.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/fetching/request.rs.html b/src/hotshot_query_service/fetching/request.rs.html
      index 7f29d257a..60f473b41 100644
      --- a/src/hotshot_query_service/fetching/request.rs.html
      +++ b/src/hotshot_query_service/fetching/request.rs.html
      @@ -1,4 +1,4 @@
      -request.rs - source
      1
      +request.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/lib.rs.html b/src/hotshot_query_service/lib.rs.html
      index 528c46981..21aec07a6 100644
      --- a/src/hotshot_query_service/lib.rs.html
      +++ b/src/hotshot_query_service/lib.rs.html
      @@ -1,4 +1,4 @@
      -lib.rs - source
      1
      +lib.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/merklized_state.rs.html b/src/hotshot_query_service/merklized_state.rs.html
      index 191499240..45a441b2a 100644
      --- a/src/hotshot_query_service/merklized_state.rs.html
      +++ b/src/hotshot_query_service/merklized_state.rs.html
      @@ -1,4 +1,4 @@
      -merklized_state.rs - source
      1
      +merklized_state.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/merklized_state/data_source.rs.html b/src/hotshot_query_service/merklized_state/data_source.rs.html
      index 588cc280d..7462a703d 100644
      --- a/src/hotshot_query_service/merklized_state/data_source.rs.html
      +++ b/src/hotshot_query_service/merklized_state/data_source.rs.html
      @@ -1,4 +1,4 @@
      -data_source.rs - source
      1
      +data_source.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/metrics.rs.html b/src/hotshot_query_service/metrics.rs.html
      index ee06ef302..e9cec3141 100644
      --- a/src/hotshot_query_service/metrics.rs.html
      +++ b/src/hotshot_query_service/metrics.rs.html
      @@ -1,4 +1,4 @@
      -metrics.rs - source
      1
      +metrics.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/node.rs.html b/src/hotshot_query_service/node.rs.html
      index 56634887c..db1b4d335 100644
      --- a/src/hotshot_query_service/node.rs.html
      +++ b/src/hotshot_query_service/node.rs.html
      @@ -1,4 +1,4 @@
      -node.rs - source
      1
      +node.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/node/data_source.rs.html b/src/hotshot_query_service/node/data_source.rs.html
      index e8a61168b..3bf3d4207 100644
      --- a/src/hotshot_query_service/node/data_source.rs.html
      +++ b/src/hotshot_query_service/node/data_source.rs.html
      @@ -1,4 +1,4 @@
      -data_source.rs - source
      1
      +data_source.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/node/query_data.rs.html b/src/hotshot_query_service/node/query_data.rs.html
      index 8484c3f37..1f409a052 100644
      --- a/src/hotshot_query_service/node/query_data.rs.html
      +++ b/src/hotshot_query_service/node/query_data.rs.html
      @@ -1,4 +1,4 @@
      -query_data.rs - source
      1
      +query_data.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/resolvable.rs.html b/src/hotshot_query_service/resolvable.rs.html
      index 11941622b..129d702f3 100644
      --- a/src/hotshot_query_service/resolvable.rs.html
      +++ b/src/hotshot_query_service/resolvable.rs.html
      @@ -1,4 +1,4 @@
      -resolvable.rs - source
      1
      +resolvable.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/status.rs.html b/src/hotshot_query_service/status.rs.html
      index 775ed715c..9b55b1e16 100644
      --- a/src/hotshot_query_service/status.rs.html
      +++ b/src/hotshot_query_service/status.rs.html
      @@ -1,4 +1,4 @@
      -status.rs - source
      1
      +status.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/status/data_source.rs.html b/src/hotshot_query_service/status/data_source.rs.html
      index 0a25186c4..da3b3200d 100644
      --- a/src/hotshot_query_service/status/data_source.rs.html
      +++ b/src/hotshot_query_service/status/data_source.rs.html
      @@ -1,4 +1,4 @@
      -data_source.rs - source
      1
      +data_source.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/task.rs.html b/src/hotshot_query_service/task.rs.html
      index 946e67e49..c36a2c008 100644
      --- a/src/hotshot_query_service/task.rs.html
      +++ b/src/hotshot_query_service/task.rs.html
      @@ -1,4 +1,4 @@
      -task.rs - source
      1
      +task.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/testing.rs.html b/src/hotshot_query_service/testing.rs.html
      index 13df67b01..dad935cd5 100644
      --- a/src/hotshot_query_service/testing.rs.html
      +++ b/src/hotshot_query_service/testing.rs.html
      @@ -1,4 +1,4 @@
      -testing.rs - source
      1
      +testing.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/testing/consensus.rs.html b/src/hotshot_query_service/testing/consensus.rs.html
      index 86ecdf65a..f6926ef12 100644
      --- a/src/hotshot_query_service/testing/consensus.rs.html
      +++ b/src/hotshot_query_service/testing/consensus.rs.html
      @@ -1,4 +1,4 @@
      -consensus.rs - source
      1
      +consensus.rs - source
      1
       2
       3
       4
      @@ -572,7 +572,7 @@
                                       auction_results_provider: Arc::new(
                                           TestAuctionResultsProvider::default(),
                                       ),
      -                                generic_builder_url: Url::from_str("https://some.url").unwrap(),
      +                                fallback_builder_url: Url::from_str("https://some.url").unwrap(),
                                   },
                               )
                               .await
      diff --git a/src/hotshot_query_service/testing/mocks.rs.html b/src/hotshot_query_service/testing/mocks.rs.html
      index 10ae4d12f..625543ab7 100644
      --- a/src/hotshot_query_service/testing/mocks.rs.html
      +++ b/src/hotshot_query_service/testing/mocks.rs.html
      @@ -1,4 +1,4 @@
      -mocks.rs - source
      1
      +mocks.rs - source
      1
       2
       3
       4
      diff --git a/src/hotshot_query_service/types.rs.html b/src/hotshot_query_service/types.rs.html
      index 16f3961af..6afe39ed1 100644
      --- a/src/hotshot_query_service/types.rs.html
      +++ b/src/hotshot_query_service/types.rs.html
      @@ -1,4 +1,4 @@
      -types.rs - source
      1
      +types.rs - source
      1
       2
       3
       4
      diff --git a/trait.impl/core/clone/trait.Clone.js b/trait.impl/core/clone/trait.Clone.js
      index 09763ab59..694243e20 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 Error"],["impl Clone for Error"],["impl Clone for QueryError"],["impl Clone for CurrencyCode"],["impl Clone for Error"],["impl Clone for GetBlockDetailError"],["impl Clone for GetBlockSummariesError"],["impl Clone for GetExplorerSummaryError"],["impl Clone for GetSearchResultsError"],["impl Clone for GetTransactionDetailError"],["impl Clone for GetTransactionSummariesError"],["impl Clone for Error"],["impl Clone for Error"],["impl Clone for Error"],["impl Clone for RequestSnafu"],["impl Clone for NoStorage"],["impl Clone for PrunerCfg"],["impl Clone for Config"],["impl Clone for MetricsDataSource"],["impl Clone for CurrencyMismatchError"],["impl Clone for InvalidCurrencyCodeError"],["impl Clone for MonetaryValue"],["impl Clone for Timestamp"],["impl Clone for NoFetching"],["impl Clone for LeafRequest"],["impl Clone for PayloadRequest"],["impl Clone for VidCommonRequest"],["impl Clone for Counter"],["impl Clone for CounterFamily"],["impl Clone for Gauge"],["impl Clone for GaugeFamily"],["impl Clone for Histogram"],["impl Clone for HistogramFamily"],["impl Clone for PrometheusMetrics"],["impl Clone for TextFamily"],["impl Clone for QuerySnafu"],["impl Clone for RequestSnafu"],["impl Clone for SyncStatus"],["impl Clone for MissingSnafu"],["impl Clone for NotFoundSnafu"],["impl Clone for MockNodeImpl"],["impl Clone for MockTypes"],["impl<D: Clone, U: Clone> Clone for ExtensibleDataSource<D, U>"],["impl<P> Clone for TestProvider<P>"],["impl<T, C> Clone for Fetcher<T, C>"],["impl<T: MerklizedState<Types, ARITY>, Types: NodeType, const ARITY: usize> Clone for Snapshot<Types, T, ARITY>"],["impl<T: Clone> Clone for TimeWindowQueryData<T>"],["impl<Types> Clone for AnyProvider<Types>
      where\n Types: NodeType,
      "],["impl<Types, S, P> Clone for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,
      "],["impl<Types, S, P> Clone for Pruner<Types, S, P>
      where\n Types: NodeType,
      "],["impl<Types: Clone + NodeType> Clone for BlockIdentifier<Types>"],["impl<Types: Clone + NodeType> Clone for TransactionIdentifier<Types>"],["impl<Types: Clone + NodeType> Clone for BlockQueryData<Types>"],["impl<Types: Clone + NodeType> Clone for BlockSummaryQueryData<Types>"],["impl<Types: Clone + NodeType> Clone for InconsistentLeafError<Types>"],["impl<Types: Clone + NodeType> Clone for LeafQueryData<Types>"],["impl<Types: Clone + NodeType> Clone for PayloadQueryData<Types>"],["impl<Types: Clone + NodeType> Clone for TransactionQueryData<Types>
      where\n Payload<Types>: QueryablePayload<Types>,
      "],["impl<Types: Clone + NodeType> Clone for TransactionSummaryQueryData<Types>"],["impl<Types: Clone + NodeType> Clone for VidCommonQueryData<Types>"],["impl<Types: Clone + NodeType> Clone for BlockRange<Types>"],["impl<Types: Clone + NodeType> Clone for TransactionRange<Types>"],["impl<Types: NodeType> Clone for BlockId<Types>"],["impl<Types: NodeType> Clone for LeafId<Types>"],["impl<Types: NodeType> Clone for WindowStart<Types>"],["impl<Ver: Clone + StaticVersionType> Clone for QueryServiceProvider<Ver>"],["impl<__T0: Clone> Clone for FetchBlockSnafu<__T0>"],["impl<__T0: Clone> Clone for FetchLeafSnafu<__T0>"],["impl<__T0: Clone> Clone for FetchTransactionSnafu<__T0>"],["impl<__T0: Clone> Clone for QueryVidSnafu<__T0>"],["impl<__T0: Clone> Clone for ErrorSnafu<__T0>"],["impl<__T0: Clone, __T1: Clone> Clone for CustomSnafu<__T0, __T1>"],["impl<__T0: Clone, __T1: Clone> Clone for InvalidTransactionIndexSnafu<__T0, __T1>"],["impl<__T0: Clone, __T1: Clone> Clone for CustomSnafu<__T0, __T1>"],["impl<__T0: Clone, __T1: Clone> Clone for QueryWindowSnafu<__T0, __T1>"]] +"hotshot_query_service":[["impl Clone for Error"],["impl Clone for Error"],["impl Clone for QueryError"],["impl Clone for CurrencyCode"],["impl Clone for Error"],["impl Clone for GetBlockDetailError"],["impl Clone for GetBlockSummariesError"],["impl Clone for GetExplorerSummaryError"],["impl Clone for GetSearchResultsError"],["impl Clone for GetTransactionDetailError"],["impl Clone for GetTransactionSummariesError"],["impl Clone for Error"],["impl Clone for Error"],["impl Clone for Error"],["impl Clone for RequestSnafu"],["impl Clone for NoStorage"],["impl Clone for PrunerCfg"],["impl Clone for Config"],["impl Clone for MetricsDataSource"],["impl Clone for CurrencyMismatchError"],["impl Clone for InvalidCurrencyCodeError"],["impl Clone for MonetaryValue"],["impl Clone for Timestamp"],["impl Clone for NoFetching"],["impl Clone for LeafRequest"],["impl Clone for PayloadRequest"],["impl Clone for VidCommonRequest"],["impl Clone for Counter"],["impl Clone for CounterFamily"],["impl Clone for Gauge"],["impl Clone for GaugeFamily"],["impl Clone for Histogram"],["impl Clone for HistogramFamily"],["impl Clone for PrometheusMetrics"],["impl Clone for TextFamily"],["impl Clone for QuerySnafu"],["impl Clone for RequestSnafu"],["impl Clone for SyncStatus"],["impl Clone for MissingSnafu"],["impl Clone for NotFoundSnafu"],["impl Clone for MockNodeImpl"],["impl Clone for MockTypes"],["impl<D: Clone, U: Clone> Clone for ExtensibleDataSource<D, U>"],["impl<P> Clone for TestProvider<P>"],["impl<T, C> Clone for Fetcher<T, C>"],["impl<T: MerklizedState<Types, ARITY>, Types: NodeType, const ARITY: usize> Clone for Snapshot<Types, T, ARITY>"],["impl<T: Clone> Clone for TimeWindowQueryData<T>"],["impl<Types> Clone for AnyProvider<Types>
      where\n Types: NodeType,
      "],["impl<Types, S, P> Clone for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,
      "],["impl<Types, S, P> Clone for Pruner<Types, S, P>
      where\n Types: NodeType,
      "],["impl<Types: Clone + NodeType> Clone for BlockIdentifier<Types>"],["impl<Types: Clone + NodeType> Clone for TransactionIdentifier<Types>"],["impl<Types: Clone + NodeType> Clone for BlockQueryData<Types>"],["impl<Types: Clone + NodeType> Clone for BlockSummaryQueryData<Types>"],["impl<Types: Clone + NodeType> Clone for InconsistentLeafError<Types>"],["impl<Types: Clone + NodeType> Clone for LeafQueryData<Types>"],["impl<Types: Clone + NodeType> Clone for PayloadQueryData<Types>"],["impl<Types: Clone + NodeType> Clone for TransactionQueryData<Types>
      where\n Payload<Types>: QueryablePayload<Types>,
      "],["impl<Types: Clone + NodeType> Clone for TransactionSummaryQueryData<Types>"],["impl<Types: Clone + NodeType> Clone for VidCommonQueryData<Types>"],["impl<Types: Clone + NodeType> Clone for BlockRange<Types>"],["impl<Types: Clone + NodeType> Clone for TransactionRange<Types>"],["impl<Types: NodeType> Clone for BlockId<Types>"],["impl<Types: NodeType> Clone for LeafId<Types>"],["impl<Types: NodeType> Clone for WindowStart<Types>"],["impl<Ver: Clone + StaticVersionType> Clone for QueryServiceProvider<Ver>"],["impl<__T0: Clone> Clone for FetchBlockSnafu<__T0>"],["impl<__T0: Clone> Clone for FetchLeafSnafu<__T0>"],["impl<__T0: Clone> Clone for FetchTransactionSnafu<__T0>"],["impl<__T0: Clone> Clone for QueryVidSnafu<__T0>"],["impl<__T0: Clone> Clone for ErrorSnafu<__T0>"],["impl<__T0: Clone, __T1: Clone> Clone for CustomSnafu<__T0, __T1>"],["impl<__T0: Clone, __T1: Clone> Clone for InvalidTransactionIndexSnafu<__T0, __T1>"],["impl<__T0: Clone, __T1: Clone> Clone for CustomSnafu<__T0, __T1>"],["impl<__T0: Clone, __T1: Clone> Clone for QueryWindowSnafu<__T0, __T1>"]] };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 69d2c4622..3cb2cec08 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 Eq for CurrencyCode"],["impl Eq for TimestampConversionError"],["impl Eq for FeeAttribution"],["impl Eq for MonetaryValue"],["impl Eq for Timestamp"],["impl Eq for LeafRequest"],["impl Eq for PayloadRequest"],["impl Eq for VidCommonRequest"],["impl Eq for SyncStatus"],["impl Eq for MockNodeImpl"],["impl Eq for MockTypes"],["impl<T: Eq> Eq for TimeWindowQueryData<T>"],["impl<Types: Eq + NodeType> Eq for BlockIdentifier<Types>"],["impl<Types: Eq + NodeType> Eq for TransactionIdentifier<Types>"],["impl<Types: Eq + NodeType> Eq for BlockQueryData<Types>"],["impl<Types: Eq + NodeType> Eq for BlockSummaryQueryData<Types>"],["impl<Types: Eq + NodeType> Eq for LeafQueryData<Types>"],["impl<Types: Eq + NodeType> Eq for PayloadQueryData<Types>"],["impl<Types: Eq + NodeType> Eq for TransactionQueryData<Types>
      where\n Payload<Types>: QueryablePayload<Types>,
      "],["impl<Types: Eq + NodeType> Eq for TransactionSummaryQueryData<Types>"],["impl<Types: Eq + NodeType> Eq for VidCommonQueryData<Types>"],["impl<Types: Eq + NodeType> Eq for BlockDetail<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: Eq + NodeType> Eq for BlockRange<Types>"],["impl<Types: Eq + NodeType> Eq for BlockSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: Eq + NodeType> Eq for GetBlockSummariesRequest<Types>"],["impl<Types: Eq + NodeType> Eq for TransactionDetail<Types>"],["impl<Types: Eq + NodeType> Eq for TransactionRange<Types>"],["impl<Types: Eq + NodeType> Eq for TransactionSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> Eq for BlockId<Types>"],["impl<Types: NodeType> Eq for LeafId<Types>"],["impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Eq for Snapshot<Types, T, ARITY>"]] +"hotshot_query_service":[["impl Eq for CurrencyCode"],["impl Eq for TimestampConversionError"],["impl Eq for FeeAttribution"],["impl Eq for MonetaryValue"],["impl Eq for Timestamp"],["impl Eq for LeafRequest"],["impl Eq for PayloadRequest"],["impl Eq for VidCommonRequest"],["impl Eq for SyncStatus"],["impl Eq for MockNodeImpl"],["impl Eq for MockTypes"],["impl<T: Eq> Eq for TimeWindowQueryData<T>"],["impl<Types: Eq + NodeType> Eq for BlockIdentifier<Types>"],["impl<Types: Eq + NodeType> Eq for TransactionIdentifier<Types>"],["impl<Types: Eq + NodeType> Eq for BlockQueryData<Types>"],["impl<Types: Eq + NodeType> Eq for BlockSummaryQueryData<Types>"],["impl<Types: Eq + NodeType> Eq for LeafQueryData<Types>"],["impl<Types: Eq + NodeType> Eq for PayloadQueryData<Types>"],["impl<Types: Eq + NodeType> Eq for TransactionQueryData<Types>
      where\n Payload<Types>: QueryablePayload<Types>,
      "],["impl<Types: Eq + NodeType> Eq for TransactionSummaryQueryData<Types>"],["impl<Types: Eq + NodeType> Eq for VidCommonQueryData<Types>"],["impl<Types: Eq + NodeType> Eq for BlockDetail<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: Eq + NodeType> Eq for BlockRange<Types>"],["impl<Types: Eq + NodeType> Eq for BlockSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: Eq + NodeType> Eq for GetBlockSummariesRequest<Types>"],["impl<Types: Eq + NodeType> Eq for TransactionDetail<Types>"],["impl<Types: Eq + NodeType> Eq for TransactionRange<Types>"],["impl<Types: Eq + NodeType> Eq for TransactionSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> Eq for BlockId<Types>"],["impl<Types: NodeType> Eq for LeafId<Types>"],["impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Eq for Snapshot<Types, T, ARITY>"]] };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 88c4b94e5..7fbd5568f 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 CurrencyCode"],["impl Ord for SyncStatus"],["impl Ord for MockNodeImpl"],["impl Ord for MockTypes"],["impl<Types: NodeType> Ord for BlockId<Types>"],["impl<Types: NodeType> Ord for LeafId<Types>"],["impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Ord for Snapshot<Types, T, ARITY>"]] +"hotshot_query_service":[["impl Ord for CurrencyCode"],["impl Ord for SyncStatus"],["impl Ord for MockNodeImpl"],["impl Ord for MockTypes"],["impl<Types: NodeType> Ord for BlockId<Types>"],["impl<Types: NodeType> Ord for LeafId<Types>"],["impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Ord for Snapshot<Types, T, ARITY>"]] };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 5f7e05dbc..d4af0d54a 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 CurrencyCode"],["impl PartialEq for TimestampConversionError"],["impl PartialEq for FeeAttribution"],["impl PartialEq for MonetaryValue"],["impl PartialEq for Timestamp"],["impl PartialEq for LeafRequest"],["impl PartialEq for PayloadRequest"],["impl PartialEq for VidCommonRequest"],["impl PartialEq for SyncStatus"],["impl PartialEq for MockNodeImpl"],["impl PartialEq for MockTypes"],["impl<T: PartialEq> PartialEq for TimeWindowQueryData<T>"],["impl<Types: PartialEq + NodeType> PartialEq for BlockIdentifier<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for TransactionIdentifier<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for BlockQueryData<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for BlockSummaryQueryData<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for LeafQueryData<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for PayloadQueryData<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for TransactionQueryData<Types>
      where\n Payload<Types>: QueryablePayload<Types>,
      "],["impl<Types: PartialEq + NodeType> PartialEq for TransactionSummaryQueryData<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for VidCommonQueryData<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for BlockDetail<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: PartialEq + NodeType> PartialEq for BlockRange<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for BlockSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: PartialEq + NodeType> PartialEq for GetBlockSummariesRequest<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for TransactionDetail<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for TransactionRange<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for TransactionSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> PartialEq for BlockId<Types>"],["impl<Types: NodeType> PartialEq for LeafId<Types>"],["impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> PartialEq for Snapshot<Types, T, ARITY>"]] +"hotshot_query_service":[["impl PartialEq for CurrencyCode"],["impl PartialEq for TimestampConversionError"],["impl PartialEq for FeeAttribution"],["impl PartialEq for MonetaryValue"],["impl PartialEq for Timestamp"],["impl PartialEq for LeafRequest"],["impl PartialEq for PayloadRequest"],["impl PartialEq for VidCommonRequest"],["impl PartialEq for SyncStatus"],["impl PartialEq for MockNodeImpl"],["impl PartialEq for MockTypes"],["impl<T: PartialEq> PartialEq for TimeWindowQueryData<T>"],["impl<Types: PartialEq + NodeType> PartialEq for BlockIdentifier<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for TransactionIdentifier<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for BlockQueryData<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for BlockSummaryQueryData<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for LeafQueryData<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for PayloadQueryData<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for TransactionQueryData<Types>
      where\n Payload<Types>: QueryablePayload<Types>,
      "],["impl<Types: PartialEq + NodeType> PartialEq for TransactionSummaryQueryData<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for VidCommonQueryData<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for BlockDetail<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: PartialEq + NodeType> PartialEq for BlockRange<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for BlockSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: PartialEq + NodeType> PartialEq for GetBlockSummariesRequest<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for TransactionDetail<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for TransactionRange<Types>"],["impl<Types: PartialEq + NodeType> PartialEq for TransactionSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> PartialEq for BlockId<Types>"],["impl<Types: NodeType> PartialEq for LeafId<Types>"],["impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> PartialEq for Snapshot<Types, T, ARITY>"]] };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 25bc1ef5d..65945acd0 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 CurrencyCode"],["impl PartialOrd for SyncStatus"],["impl PartialOrd for MockNodeImpl"],["impl PartialOrd for MockTypes"],["impl<T: MerklizedState<Types, ARITY>, Types: NodeType, const ARITY: usize> PartialOrd for Snapshot<Types, T, ARITY>"],["impl<Types: NodeType> PartialOrd for BlockId<Types>"],["impl<Types: NodeType> PartialOrd for LeafId<Types>"]] +"hotshot_query_service":[["impl PartialOrd for CurrencyCode"],["impl PartialOrd for SyncStatus"],["impl PartialOrd for MockNodeImpl"],["impl PartialOrd for MockTypes"],["impl<T: MerklizedState<Types, ARITY>, Types: NodeType, const ARITY: usize> PartialOrd for Snapshot<Types, T, ARITY>"],["impl<Types: NodeType> PartialOrd for BlockId<Types>"],["impl<Types: NodeType> PartialOrd for LeafId<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/convert/trait.AsMut.js b/trait.impl/core/convert/trait.AsMut.js index d4b0f9fa1..6525a495d 100644 --- a/trait.impl/core/convert/trait.AsMut.js +++ b/trait.impl/core/convert/trait.AsMut.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"hotshot_query_service":[["impl<D, U> AsMut<U> for ExtensibleDataSource<D, U>"]] +"hotshot_query_service":[["impl<D, U> AsMut<U> for ExtensibleDataSource<D, U>"]] };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.AsRef.js b/trait.impl/core/convert/trait.AsRef.js index 1d4c81b5b..9d8a6b0d6 100644 --- a/trait.impl/core/convert/trait.AsRef.js +++ b/trait.impl/core/convert/trait.AsRef.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"hotshot_query_service":[["impl<D, U> AsRef<U> for ExtensibleDataSource<D, U>"]] +"hotshot_query_service":[["impl<D, U> AsRef<U> for ExtensibleDataSource<D, U>"]] };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 89e0216bf..ba25472ae 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<(String, StatusCode)> for Error"],["impl From<(String, StatusCode)> for Error"],["impl From<(String, StatusCode)> for Error"],["impl From<Error> for Error"],["impl From<QueryError> for GetBlockDetailError"],["impl From<QueryError> for GetBlockSummariesError"],["impl From<QueryError> for GetExplorerSummaryError"],["impl From<QueryError> for GetSearchResultsError"],["impl From<QueryError> for GetTransactionDetailError"],["impl From<QueryError> for GetTransactionSummariesError"],["impl From<QueryError> for Error"],["impl From<QueryError> for Error"],["impl From<CurrencyCode> for u16"],["impl From<CurrencyCode> for String"],["impl From<Error> for Error"],["impl From<GetBlockDetailError> for GetExplorerSummaryError"],["impl From<GetBlockSummariesError> for GetExplorerSummaryError"],["impl From<GetTransactionSummariesError> for GetExplorerSummaryError"],["impl From<TimestampConversionError> for QueryError"],["impl From<TimestampConversionError> for GetTransactionDetailError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<i128> for MonetaryValue"],["impl From<usize> for LeafRequest"],["impl From<LeafRequest> for usize"],["impl From<String> for Error"],["impl From<TryFromIntError> for TimestampConversionError"],["impl From<ComponentRange> for TimestampConversionError"],["impl From<Config> for Config"],["impl From<Error> for MetricsError"],["impl From<RequestError> for Error"],["impl From<RequestError> for Error"],["impl From<RequestError> for Error"],["impl From<RequestError> for Error"],["impl<'a, Types, S> From<RwLockReadGuard<'a, NotifyStorage<Types, S>>> for StorageReadGuard<'a, Types, S>
      where\n Types: NodeType,
      "],["impl<'a, Types, S> From<RwLockWriteGuard<'a, NotifyStorage<Types, S>>> for StorageWriteGuard<'a, Types, S>
      where\n Types: NodeType,
      "],["impl<Types: NodeType> From<usize> for BlockId<Types>"],["impl<Types: NodeType> From<usize> for LeafId<Types>"],["impl<Types: NodeType> From<BlockQueryData<Types>> for BlockSummaryQueryData<Types>
      where\n Payload<Types>: QueryablePayload<Types>,
      "],["impl<Types: NodeType> From<BlockQueryData<Types>> for PayloadQueryData<Types>"],["impl<Types: NodeType> From<BlockDetail<Types>> for BlockDetailResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: NodeType> From<ExplorerSummary<Types>> for ExplorerSummaryResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> From<SearchResult<Types>> for SearchResultResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> From<Vec<BlockSummary<Types>>> for BlockSummaryResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: NodeType> From<Vec<TransactionSummary<Types>>> for TransactionSummariesResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> From<Commitment<<Types as NodeType>::BlockHeader>> for BlockId<Types>"],["impl<Types: NodeType> From<Commitment<<Types as NodeType>::BlockHeader>> for WindowStart<Types>"],["impl<Types: NodeType> From<Commitment<Leaf<Types>>> for LeafId<Types>"]] +"hotshot_query_service":[["impl From<(String, StatusCode)> for Error"],["impl From<(String, StatusCode)> for Error"],["impl From<(String, StatusCode)> for Error"],["impl From<(String, StatusCode)> for Error"],["impl From<Error> for Error"],["impl From<QueryError> for GetBlockDetailError"],["impl From<QueryError> for GetBlockSummariesError"],["impl From<QueryError> for GetExplorerSummaryError"],["impl From<QueryError> for GetSearchResultsError"],["impl From<QueryError> for GetTransactionDetailError"],["impl From<QueryError> for GetTransactionSummariesError"],["impl From<QueryError> for Error"],["impl From<QueryError> for Error"],["impl From<CurrencyCode> for u16"],["impl From<CurrencyCode> for String"],["impl From<Error> for Error"],["impl From<GetBlockDetailError> for GetExplorerSummaryError"],["impl From<GetBlockSummariesError> for GetExplorerSummaryError"],["impl From<GetTransactionSummariesError> for GetExplorerSummaryError"],["impl From<TimestampConversionError> for QueryError"],["impl From<TimestampConversionError> for GetTransactionDetailError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<i128> for MonetaryValue"],["impl From<usize> for LeafRequest"],["impl From<LeafRequest> for usize"],["impl From<String> for Error"],["impl From<TryFromIntError> for TimestampConversionError"],["impl From<ComponentRange> for TimestampConversionError"],["impl From<Config> for Config"],["impl From<Error> for MetricsError"],["impl From<RequestError> for Error"],["impl From<RequestError> for Error"],["impl From<RequestError> for Error"],["impl From<RequestError> for Error"],["impl<'a, Types, S> From<RwLockReadGuard<'a, NotifyStorage<Types, S>>> for StorageReadGuard<'a, Types, S>
      where\n Types: NodeType,
      "],["impl<'a, Types, S> From<RwLockWriteGuard<'a, NotifyStorage<Types, S>>> for StorageWriteGuard<'a, Types, S>
      where\n Types: NodeType,
      "],["impl<Types: NodeType> From<usize> for BlockId<Types>"],["impl<Types: NodeType> From<usize> for LeafId<Types>"],["impl<Types: NodeType> From<BlockQueryData<Types>> for BlockSummaryQueryData<Types>
      where\n Payload<Types>: QueryablePayload<Types>,
      "],["impl<Types: NodeType> From<BlockQueryData<Types>> for PayloadQueryData<Types>"],["impl<Types: NodeType> From<BlockDetail<Types>> for BlockDetailResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: NodeType> From<ExplorerSummary<Types>> for ExplorerSummaryResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> From<SearchResult<Types>> for SearchResultResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> From<Vec<BlockSummary<Types>>> for BlockSummaryResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: NodeType> From<Vec<TransactionSummary<Types>>> for TransactionSummariesResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> From<Commitment<<Types as NodeType>::BlockHeader>> for BlockId<Types>"],["impl<Types: NodeType> From<Commitment<<Types as NodeType>::BlockHeader>> for WindowStart<Types>"],["impl<Types: NodeType> From<Commitment<Leaf<Types>>> for LeafId<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/convert/trait.TryFrom.js b/trait.impl/core/convert/trait.TryFrom.js index 307bb4bc3..926b07a63 100644 --- a/trait.impl/core/convert/trait.TryFrom.js +++ b/trait.impl/core/convert/trait.TryFrom.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"hotshot_query_service":[["impl TryFrom<&str> for CurrencyCode"],["impl<Types: NodeType> TryFrom<(&BlockQueryData<Types>, usize, <Types as NodeType>::Transaction)> for TransactionSummary<Types>
      where\n BlockQueryData<Types>: HeightIndexed,\n Payload<Types>: QueryablePayload<Types>,\n Header<Types>: QueryableHeader<Types> + ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> TryFrom<BlockQueryData<Types>> for BlockDetail<Types>
      where\n BlockQueryData<Types>: HeightIndexed,\n Payload<Types>: QueryablePayload<Types>,\n Header<Types>: QueryableHeader<Types> + ExplorerHeader<Types>,\n BalanceAmount<Types>: Into<MonetaryValue>,
      "],["impl<Types: NodeType> TryFrom<BlockQueryData<Types>> for BlockSummary<Types>
      where\n BlockQueryData<Types>: HeightIndexed,\n Payload<Types>: QueryablePayload<Types>,\n Header<Types>: QueryableHeader<Types> + ExplorerHeader<Types>,
      "]] +"hotshot_query_service":[["impl TryFrom<&str> for CurrencyCode"],["impl<Types: NodeType> TryFrom<(&BlockQueryData<Types>, usize, <Types as NodeType>::Transaction)> for TransactionSummary<Types>
      where\n BlockQueryData<Types>: HeightIndexed,\n Payload<Types>: QueryablePayload<Types>,\n Header<Types>: QueryableHeader<Types> + ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> TryFrom<BlockQueryData<Types>> for BlockDetail<Types>
      where\n BlockQueryData<Types>: HeightIndexed,\n Payload<Types>: QueryablePayload<Types>,\n Header<Types>: QueryableHeader<Types> + ExplorerHeader<Types>,\n BalanceAmount<Types>: Into<MonetaryValue>,
      "],["impl<Types: NodeType> TryFrom<BlockQueryData<Types>> for BlockSummary<Types>
      where\n BlockQueryData<Types>: HeightIndexed,\n Payload<Types>: QueryablePayload<Types>,\n Header<Types>: QueryableHeader<Types> + ExplorerHeader<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/default/trait.Default.js b/trait.impl/core/default/trait.Default.js index e8d27f808..b6561f261 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 Options"],["impl Default for NoStorage"],["impl Default for PrunerCfg"],["impl Default for Config"],["impl Default for Pruner"],["impl Default for MetricsDataSource"],["impl Default for NoFetching"],["impl Default for Options"],["impl Default for PrometheusMetrics"],["impl Default for Options"],["impl Default for Options"],["impl Default for Options"],["impl Default for MockNodeImpl"],["impl Default for MockTypes"],["impl<T> Default for TimeWindowQueryData<T>"],["impl<T, C> Default for Fetcher<T, C>"],["impl<Types> Default for AnyProvider<Types>
      where\n Types: NodeType,
      "],["impl<Types: NodeType> Default for GetTransactionSummariesRequest<Types>"]] +"hotshot_query_service":[["impl Default for Options"],["impl Default for NoStorage"],["impl Default for PrunerCfg"],["impl Default for Config"],["impl Default for Pruner"],["impl Default for MetricsDataSource"],["impl Default for NoFetching"],["impl Default for Options"],["impl Default for PrometheusMetrics"],["impl Default for Options"],["impl Default for Options"],["impl Default for Options"],["impl Default for MockNodeImpl"],["impl Default for MockTypes"],["impl<T> Default for TimeWindowQueryData<T>"],["impl<T, C> Default for Fetcher<T, C>"],["impl<Types> Default for AnyProvider<Types>
      where\n Types: NodeType,
      "],["impl<Types: NodeType> Default for GetTransactionSummariesRequest<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/error/trait.Error.js b/trait.impl/core/error/trait.Error.js index cd70d2dcf..7ff585db0 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 Error
      where\n Self: Debug + Display,
      "],["impl Error for Error
      where\n Self: Debug + Display,
      "],["impl Error for QueryError
      where\n Self: Debug + Display,
      "],["impl Error for Error"],["impl Error for GetBlockDetailError"],["impl Error for GetBlockSummariesError"],["impl Error for GetExplorerSummaryError"],["impl Error for GetSearchResultsError"],["impl Error for GetTransactionDetailError"],["impl Error for GetTransactionSummariesError"],["impl Error for TimestampConversionError"],["impl Error for Error
      where\n Self: Debug + Display,
      "],["impl Error for MetricsError
      where\n Self: Debug + Display,
      "],["impl Error for Error
      where\n Self: Debug + Display,
      "],["impl Error for Error
      where\n Self: Debug + Display,
      "],["impl<Types: NodeType> Error for InconsistentLeafError<Types>
      where\n Self: Debug + Display,
      "]] +"hotshot_query_service":[["impl Error for Error
      where\n Self: Debug + Display,
      "],["impl Error for Error
      where\n Self: Debug + Display,
      "],["impl Error for QueryError
      where\n Self: Debug + Display,
      "],["impl Error for Error"],["impl Error for GetBlockDetailError"],["impl Error for GetBlockSummariesError"],["impl Error for GetExplorerSummaryError"],["impl Error for GetSearchResultsError"],["impl Error for GetTransactionDetailError"],["impl Error for GetTransactionSummariesError"],["impl Error for TimestampConversionError"],["impl Error for Error
      where\n Self: Debug + Display,
      "],["impl Error for MetricsError
      where\n Self: Debug + Display,
      "],["impl Error for Error
      where\n Self: Debug + Display,
      "],["impl Error for Error
      where\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 55f17caf7..ffce8b826 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 Debug for Error"],["impl Debug for Error"],["impl Debug for QueryError"],["impl Debug for CurrencyCode"],["impl Debug for Error"],["impl Debug for GetBlockDetailError"],["impl Debug for GetBlockSummariesError"],["impl Debug for GetExplorerSummaryError"],["impl Debug for GetSearchResultsError"],["impl Debug for GetTransactionDetailError"],["impl Debug for GetTransactionSummariesError"],["impl Debug for TimestampConversionError"],["impl Debug for TransactionSummaryFilter"],["impl Debug for Error"],["impl Debug for MetricsError"],["impl Debug for Error"],["impl Debug for Error"],["impl Debug for RequestSnafu"],["impl Debug for NoStorage"],["impl Debug for PrunerCfg"],["impl Debug for Config"],["impl Debug for Pruner"],["impl Debug for SqlStorage"],["impl Debug for TmpDb"],["impl Debug for MetricsDataSource"],["impl Debug for CurrencyMismatchError"],["impl Debug for ExplorerHistograms"],["impl Debug for FeeAttribution"],["impl Debug for GenesisOverview"],["impl Debug for InvalidCurrencyCodeError"],["impl Debug for MonetaryValue"],["impl Debug for Timestamp"],["impl Debug for NoFetching"],["impl Debug for LeafRequest"],["impl Debug for PayloadRequest"],["impl Debug for VidCommonRequest"],["impl Debug for Counter"],["impl Debug for CounterFamily"],["impl Debug for Gauge"],["impl Debug for GaugeFamily"],["impl Debug for Histogram"],["impl Debug for HistogramFamily"],["impl Debug for PrometheusMetrics"],["impl Debug for TextFamily"],["impl Debug for QuerySnafu"],["impl Debug for RequestSnafu"],["impl Debug for SyncStatus"],["impl Debug for MissingSnafu"],["impl Debug for NotFoundSnafu"],["impl Debug for MockNodeImpl"],["impl Debug for MockTypes"],["impl<D: Debug, U: Debug> Debug for ExtensibleDataSource<D, U>"],["impl<P> Debug for TestProvider<P>
      where\n P: Debug,
      "],["impl<T, C> Debug for Fetcher<T, C>"],["impl<T: Debug> Debug for TimeWindowQueryData<T>"],["impl<Types> Debug for AnyProvider<Types>
      where\n Types: NodeType,
      "],["impl<Types, S, P> Debug for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n S: Debug,\n P: Debug,
      "],["impl<Types, S, P> Debug for Pruner<Types, S, P>
      where\n Types: NodeType,\n S: Debug,\n P: Debug,
      "],["impl<Types: Debug + NodeType> Debug for BlockIdentifier<Types>"],["impl<Types: Debug + NodeType> Debug for TransactionIdentifier<Types>"],["impl<Types: Debug + NodeType> Debug for BlockQueryData<Types>"],["impl<Types: Debug + NodeType> Debug for BlockSummaryQueryData<Types>"],["impl<Types: Debug + NodeType> Debug for InconsistentLeafError<Types>"],["impl<Types: Debug + NodeType> Debug for LeafQueryData<Types>"],["impl<Types: Debug + NodeType> Debug for PayloadQueryData<Types>"],["impl<Types: Debug + NodeType> Debug for TransactionQueryData<Types>
      where\n Payload<Types>: QueryablePayload<Types>,
      "],["impl<Types: Debug + NodeType> Debug for TransactionSummaryQueryData<Types>"],["impl<Types: Debug + NodeType> Debug for VidCommonQueryData<Types>"],["impl<Types: Debug + NodeType> Debug for BlockDetail<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: Debug + NodeType> Debug for BlockDetailResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: Debug + NodeType> Debug for BlockRange<Types>"],["impl<Types: Debug + NodeType> Debug for BlockSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: Debug + NodeType> Debug for BlockSummaryResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: Debug + NodeType> Debug for ExplorerSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: Debug + NodeType> Debug for ExplorerSummaryResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: Debug + NodeType> Debug for GetBlockSummariesRequest<Types>"],["impl<Types: Debug + NodeType> Debug for GetTransactionSummariesRequest<Types>"],["impl<Types: Debug + NodeType> Debug for SearchResult<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: Debug + NodeType> Debug for SearchResultResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: Debug + NodeType> Debug for TransactionDetail<Types>"],["impl<Types: Debug + NodeType> Debug for TransactionDetailResponse<Types>"],["impl<Types: Debug + NodeType> Debug for TransactionRange<Types>"],["impl<Types: Debug + NodeType> Debug for TransactionSummariesResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: Debug + NodeType> Debug for TransactionSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> Debug for BlockId<Types>"],["impl<Types: NodeType> Debug for LeafId<Types>"],["impl<Types: NodeType> Debug for WindowStart<Types>"],["impl<Types: NodeType> Debug for FileSystemStorage<Types>
      where\n Payload<Types>: QueryablePayload<Types>,\n HashMap<LeafHash<Types>, u64>: Debug,\n HashMap<BlockHash<Types>, u64>: Debug,\n HashMap<TransactionHash<Types>, u64>: Debug,\n LedgerLog<LeafQueryData<Types>>: Debug,\n LedgerLog<BlockQueryData<Types>>: Debug,\n LedgerLog<(VidCommonQueryData<Types>, Option<VidShare>)>: Debug,
      "],["impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Debug for Snapshot<Types, T, ARITY>"],["impl<Ver: Debug + StaticVersionType> Debug for QueryServiceProvider<Ver>"],["impl<__T0: Debug> Debug for FetchBlockSnafu<__T0>"],["impl<__T0: Debug> Debug for FetchLeafSnafu<__T0>"],["impl<__T0: Debug> Debug for FetchTransactionSnafu<__T0>"],["impl<__T0: Debug> Debug for QueryVidSnafu<__T0>"],["impl<__T0: Debug> Debug for ErrorSnafu<__T0>"],["impl<__T0: Debug, __T1: Debug> Debug for CustomSnafu<__T0, __T1>"],["impl<__T0: Debug, __T1: Debug> Debug for InvalidTransactionIndexSnafu<__T0, __T1>"],["impl<__T0: Debug, __T1: Debug> Debug for CustomSnafu<__T0, __T1>"],["impl<__T0: Debug, __T1: Debug> Debug for QueryWindowSnafu<__T0, __T1>"]] +"hotshot_query_service":[["impl Debug for Error"],["impl Debug for Error"],["impl Debug for QueryError"],["impl Debug for CurrencyCode"],["impl Debug for Error"],["impl Debug for GetBlockDetailError"],["impl Debug for GetBlockSummariesError"],["impl Debug for GetExplorerSummaryError"],["impl Debug for GetSearchResultsError"],["impl Debug for GetTransactionDetailError"],["impl Debug for GetTransactionSummariesError"],["impl Debug for TimestampConversionError"],["impl Debug for TransactionSummaryFilter"],["impl Debug for Error"],["impl Debug for MetricsError"],["impl Debug for Error"],["impl Debug for Error"],["impl Debug for RequestSnafu"],["impl Debug for NoStorage"],["impl Debug for PrunerCfg"],["impl Debug for Config"],["impl Debug for Pruner"],["impl Debug for SqlStorage"],["impl Debug for TmpDb"],["impl Debug for MetricsDataSource"],["impl Debug for CurrencyMismatchError"],["impl Debug for ExplorerHistograms"],["impl Debug for FeeAttribution"],["impl Debug for GenesisOverview"],["impl Debug for InvalidCurrencyCodeError"],["impl Debug for MonetaryValue"],["impl Debug for Timestamp"],["impl Debug for NoFetching"],["impl Debug for LeafRequest"],["impl Debug for PayloadRequest"],["impl Debug for VidCommonRequest"],["impl Debug for Counter"],["impl Debug for CounterFamily"],["impl Debug for Gauge"],["impl Debug for GaugeFamily"],["impl Debug for Histogram"],["impl Debug for HistogramFamily"],["impl Debug for PrometheusMetrics"],["impl Debug for TextFamily"],["impl Debug for QuerySnafu"],["impl Debug for RequestSnafu"],["impl Debug for SyncStatus"],["impl Debug for MissingSnafu"],["impl Debug for NotFoundSnafu"],["impl Debug for MockNodeImpl"],["impl Debug for MockTypes"],["impl<D: Debug, U: Debug> Debug for ExtensibleDataSource<D, U>"],["impl<P> Debug for TestProvider<P>
      where\n P: Debug,
      "],["impl<T, C> Debug for Fetcher<T, C>"],["impl<T: Debug> Debug for TimeWindowQueryData<T>"],["impl<Types> Debug for AnyProvider<Types>
      where\n Types: NodeType,
      "],["impl<Types, S, P> Debug for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n S: Debug,\n P: Debug,
      "],["impl<Types, S, P> Debug for Pruner<Types, S, P>
      where\n Types: NodeType,\n S: Debug,\n P: Debug,
      "],["impl<Types: Debug + NodeType> Debug for BlockIdentifier<Types>"],["impl<Types: Debug + NodeType> Debug for TransactionIdentifier<Types>"],["impl<Types: Debug + NodeType> Debug for BlockQueryData<Types>"],["impl<Types: Debug + NodeType> Debug for BlockSummaryQueryData<Types>"],["impl<Types: Debug + NodeType> Debug for InconsistentLeafError<Types>"],["impl<Types: Debug + NodeType> Debug for LeafQueryData<Types>"],["impl<Types: Debug + NodeType> Debug for PayloadQueryData<Types>"],["impl<Types: Debug + NodeType> Debug for TransactionQueryData<Types>
      where\n Payload<Types>: QueryablePayload<Types>,
      "],["impl<Types: Debug + NodeType> Debug for TransactionSummaryQueryData<Types>"],["impl<Types: Debug + NodeType> Debug for VidCommonQueryData<Types>"],["impl<Types: Debug + NodeType> Debug for BlockDetail<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: Debug + NodeType> Debug for BlockDetailResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: Debug + NodeType> Debug for BlockRange<Types>"],["impl<Types: Debug + NodeType> Debug for BlockSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: Debug + NodeType> Debug for BlockSummaryResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: Debug + NodeType> Debug for ExplorerSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: Debug + NodeType> Debug for ExplorerSummaryResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: Debug + NodeType> Debug for GetBlockSummariesRequest<Types>"],["impl<Types: Debug + NodeType> Debug for GetTransactionSummariesRequest<Types>"],["impl<Types: Debug + NodeType> Debug for SearchResult<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: Debug + NodeType> Debug for SearchResultResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: Debug + NodeType> Debug for TransactionDetail<Types>"],["impl<Types: Debug + NodeType> Debug for TransactionDetailResponse<Types>"],["impl<Types: Debug + NodeType> Debug for TransactionRange<Types>"],["impl<Types: Debug + NodeType> Debug for TransactionSummariesResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: Debug + NodeType> Debug for TransactionSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> Debug for BlockId<Types>"],["impl<Types: NodeType> Debug for LeafId<Types>"],["impl<Types: NodeType> Debug for WindowStart<Types>"],["impl<Types: NodeType> Debug for FileSystemStorage<Types>
      where\n Payload<Types>: QueryablePayload<Types>,\n HashMap<LeafHash<Types>, u64>: Debug,\n HashMap<BlockHash<Types>, u64>: Debug,\n HashMap<TransactionHash<Types>, u64>: Debug,\n LedgerLog<LeafQueryData<Types>>: Debug,\n LedgerLog<BlockQueryData<Types>>: Debug,\n LedgerLog<(VidCommonQueryData<Types>, Option<VidShare>)>: Debug,
      "],["impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Debug for Snapshot<Types, T, ARITY>"],["impl<Ver: Debug + StaticVersionType> Debug for QueryServiceProvider<Ver>"],["impl<__T0: Debug> Debug for FetchBlockSnafu<__T0>"],["impl<__T0: Debug> Debug for FetchLeafSnafu<__T0>"],["impl<__T0: Debug> Debug for FetchTransactionSnafu<__T0>"],["impl<__T0: Debug> Debug for QueryVidSnafu<__T0>"],["impl<__T0: Debug> Debug for ErrorSnafu<__T0>"],["impl<__T0: Debug, __T1: Debug> Debug for CustomSnafu<__T0, __T1>"],["impl<__T0: Debug, __T1: Debug> Debug for InvalidTransactionIndexSnafu<__T0, __T1>"],["impl<__T0: Debug, __T1: Debug> Debug for CustomSnafu<__T0, __T1>"],["impl<__T0: Debug, __T1: Debug> Debug for QueryWindowSnafu<__T0, __T1>"]] };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 6df9ebc9c..402f61fe5 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 Error"],["impl Display for QueryError"],["impl Display for CurrencyCode"],["impl Display for Error"],["impl Display for GetBlockDetailError"],["impl Display for GetBlockSummariesError"],["impl Display for GetExplorerSummaryError"],["impl Display for GetSearchResultsError"],["impl Display for GetTransactionDetailError"],["impl Display for GetTransactionSummariesError"],["impl Display for TimestampConversionError"],["impl Display for Error"],["impl Display for MetricsError"],["impl Display for Error"],["impl Display for Error"],["impl Display for CurrencyMismatchError"],["impl Display for InvalidCurrencyCodeError"],["impl Display for MonetaryValue"],["impl<Types: NodeType> Display for BlockId<Types>"],["impl<Types: NodeType> Display for LeafId<Types>"],["impl<Types: NodeType> Display for BlockIdentifier<Types>"],["impl<Types: NodeType> Display for TransactionIdentifier<Types>"],["impl<Types: NodeType> Display for InconsistentLeafError<Types>"],["impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Display for Snapshot<Types, T, ARITY>"]] +"hotshot_query_service":[["impl Display for Error"],["impl Display for Error"],["impl Display for QueryError"],["impl Display for CurrencyCode"],["impl Display for Error"],["impl Display for GetBlockDetailError"],["impl Display for GetBlockSummariesError"],["impl Display for GetExplorerSummaryError"],["impl Display for GetSearchResultsError"],["impl Display for GetTransactionDetailError"],["impl Display for GetTransactionSummariesError"],["impl Display for TimestampConversionError"],["impl Display for Error"],["impl Display for MetricsError"],["impl Display for Error"],["impl Display for Error"],["impl Display for CurrencyMismatchError"],["impl Display for InvalidCurrencyCodeError"],["impl Display for MonetaryValue"],["impl<Types: NodeType> Display for BlockId<Types>"],["impl<Types: NodeType> Display for LeafId<Types>"],["impl<Types: NodeType> Display for BlockIdentifier<Types>"],["impl<Types: NodeType> Display for TransactionIdentifier<Types>"],["impl<Types: NodeType> Display for InconsistentLeafError<Types>"],["impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Display for Snapshot<Types, T, ARITY>"]] };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/future/into_future/trait.IntoFuture.js b/trait.impl/core/future/into_future/trait.IntoFuture.js index 3fd772e5f..154c9344a 100644 --- a/trait.impl/core/future/into_future/trait.IntoFuture.js +++ b/trait.impl/core/future/into_future/trait.IntoFuture.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"hotshot_query_service":[["impl<T: Send + 'static> IntoFuture for Fetch<T>"]] +"hotshot_query_service":[["impl<T: Send + 'static> IntoFuture for Fetch<T>"]] };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/hash/trait.Hash.js b/trait.impl/core/hash/trait.Hash.js index 348c2a681..3874d02d4 100644 --- a/trait.impl/core/hash/trait.Hash.js +++ b/trait.impl/core/hash/trait.Hash.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"hotshot_query_service":[["impl Hash for LeafRequest"],["impl Hash for PayloadRequest"],["impl Hash for VidCommonRequest"],["impl Hash for SyncStatus"],["impl Hash for MockNodeImpl"],["impl Hash for MockTypes"],["impl<Types: NodeType> Hash for BlockId<Types>"],["impl<Types: NodeType> Hash for LeafId<Types>"],["impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Hash for Snapshot<Types, T, ARITY>"]] +"hotshot_query_service":[["impl Hash for LeafRequest"],["impl Hash for PayloadRequest"],["impl Hash for VidCommonRequest"],["impl Hash for SyncStatus"],["impl Hash for MockNodeImpl"],["impl Hash for MockTypes"],["impl<Types: NodeType> Hash for BlockId<Types>"],["impl<Types: NodeType> Hash for LeafId<Types>"],["impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Hash for Snapshot<Types, T, ARITY>"]] };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 304eed504..a2533560a 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 Copy for CurrencyCode"],["impl Copy for RequestSnafu"],["impl Copy for NoStorage"],["impl Copy for Timestamp"],["impl Copy for NoFetching"],["impl Copy for LeafRequest"],["impl Copy for PayloadRequest"],["impl Copy for VidCommonRequest"],["impl Copy for QuerySnafu"],["impl Copy for RequestSnafu"],["impl Copy for MissingSnafu"],["impl Copy for NotFoundSnafu"],["impl Copy for MockNodeImpl"],["impl Copy for MockTypes"],["impl<D: Copy, U: Copy> Copy for ExtensibleDataSource<D, U>"],["impl<Types: NodeType> Copy for BlockId<Types>"],["impl<Types: NodeType> Copy for LeafId<Types>"],["impl<Types: NodeType> Copy for WindowStart<Types>"],["impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Copy for Snapshot<Types, T, ARITY>"],["impl<__T0: Copy> Copy for FetchBlockSnafu<__T0>"],["impl<__T0: Copy> Copy for FetchLeafSnafu<__T0>"],["impl<__T0: Copy> Copy for FetchTransactionSnafu<__T0>"],["impl<__T0: Copy> Copy for QueryVidSnafu<__T0>"],["impl<__T0: Copy> Copy for ErrorSnafu<__T0>"],["impl<__T0: Copy, __T1: Copy> Copy for CustomSnafu<__T0, __T1>"],["impl<__T0: Copy, __T1: Copy> Copy for InvalidTransactionIndexSnafu<__T0, __T1>"],["impl<__T0: Copy, __T1: Copy> Copy for CustomSnafu<__T0, __T1>"],["impl<__T0: Copy, __T1: Copy> Copy for QueryWindowSnafu<__T0, __T1>"]] +"hotshot_query_service":[["impl Copy for CurrencyCode"],["impl Copy for RequestSnafu"],["impl Copy for NoStorage"],["impl Copy for Timestamp"],["impl Copy for NoFetching"],["impl Copy for LeafRequest"],["impl Copy for PayloadRequest"],["impl Copy for VidCommonRequest"],["impl Copy for QuerySnafu"],["impl Copy for RequestSnafu"],["impl Copy for MissingSnafu"],["impl Copy for NotFoundSnafu"],["impl Copy for MockNodeImpl"],["impl Copy for MockTypes"],["impl<D: Copy, U: Copy> Copy for ExtensibleDataSource<D, U>"],["impl<Types: NodeType> Copy for BlockId<Types>"],["impl<Types: NodeType> Copy for LeafId<Types>"],["impl<Types: NodeType> Copy for WindowStart<Types>"],["impl<Types: NodeType, T: MerklizedState<Types, ARITY>, const ARITY: usize> Copy for Snapshot<Types, T, ARITY>"],["impl<__T0: Copy> Copy for FetchBlockSnafu<__T0>"],["impl<__T0: Copy> Copy for FetchLeafSnafu<__T0>"],["impl<__T0: Copy> Copy for FetchTransactionSnafu<__T0>"],["impl<__T0: Copy> Copy for QueryVidSnafu<__T0>"],["impl<__T0: Copy> Copy for ErrorSnafu<__T0>"],["impl<__T0: Copy, __T1: Copy> Copy for CustomSnafu<__T0, __T1>"],["impl<__T0: Copy, __T1: Copy> Copy for InvalidTransactionIndexSnafu<__T0, __T1>"],["impl<__T0: Copy, __T1: Copy> Copy for CustomSnafu<__T0, __T1>"],["impl<__T0: Copy, __T1: Copy> Copy for QueryWindowSnafu<__T0, __T1>"]] };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 0c0a35e5f..6ada6c437 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 Freeze for Error",1,["hotshot_query_service::availability::Error"]],["impl Freeze for DataSource",1,["hotshot_query_service::data_source::storage::no_storage::testing::DataSource"]],["impl Freeze for Storage",1,["hotshot_query_service::data_source::storage::no_storage::testing::Storage"]],["impl Freeze for Error",1,["hotshot_query_service::error::Error"]],["impl Freeze for QueryError",1,["hotshot_query_service::QueryError"]],["impl Freeze for CurrencyCode",1,["hotshot_query_service::explorer::currency::CurrencyCode"]],["impl Freeze for Error",1,["hotshot_query_service::explorer::Error"]],["impl Freeze for GetBlockDetailError",1,["hotshot_query_service::explorer::query_data::GetBlockDetailError"]],["impl Freeze for GetBlockSummariesError",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesError"]],["impl Freeze for GetExplorerSummaryError",1,["hotshot_query_service::explorer::query_data::GetExplorerSummaryError"]],["impl Freeze for GetSearchResultsError",1,["hotshot_query_service::explorer::query_data::GetSearchResultsError"]],["impl Freeze for GetTransactionDetailError",1,["hotshot_query_service::explorer::query_data::GetTransactionDetailError"]],["impl Freeze for GetTransactionSummariesError",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesError"]],["impl Freeze for TimestampConversionError",1,["hotshot_query_service::explorer::query_data::TimestampConversionError"]],["impl Freeze for TransactionSummaryFilter",1,["hotshot_query_service::explorer::query_data::TransactionSummaryFilter"]],["impl Freeze for Error",1,["hotshot_query_service::merklized_state::Error"]],["impl Freeze for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl Freeze for Error",1,["hotshot_query_service::node::Error"]],["impl Freeze for Error",1,["hotshot_query_service::status::Error"]],["impl Freeze for Options",1,["hotshot_query_service::availability::Options"]],["impl Freeze for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl Freeze for NoStorage",1,["hotshot_query_service::data_source::storage::no_storage::NoStorage"]],["impl Freeze for PrunerCfg",1,["hotshot_query_service::data_source::storage::pruning::PrunerCfg"]],["impl Freeze for Config",1,["hotshot_query_service::data_source::storage::sql::Config"]],["impl Freeze for Pruner",1,["hotshot_query_service::data_source::storage::sql::Pruner"]],["impl Freeze for SqlStorage",1,["hotshot_query_service::data_source::storage::sql::SqlStorage"]],["impl Freeze for TestMerkleTreeMigration",1,["hotshot_query_service::data_source::storage::sql::testing::TestMerkleTreeMigration"]],["impl Freeze for TmpDb",1,["hotshot_query_service::data_source::storage::sql::testing::TmpDb"]],["impl Freeze for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl Freeze for CurrencyMismatchError",1,["hotshot_query_service::explorer::currency::CurrencyMismatchError"]],["impl Freeze for ExplorerHistograms",1,["hotshot_query_service::explorer::query_data::ExplorerHistograms"]],["impl Freeze for FeeAttribution",1,["hotshot_query_service::explorer::query_data::FeeAttribution"]],["impl Freeze for GenesisOverview",1,["hotshot_query_service::explorer::query_data::GenesisOverview"]],["impl Freeze for InvalidCurrencyCodeError",1,["hotshot_query_service::explorer::currency::InvalidCurrencyCodeError"]],["impl Freeze for MonetaryValue",1,["hotshot_query_service::explorer::monetary_value::MonetaryValue"]],["impl Freeze for Timestamp",1,["hotshot_query_service::explorer::query_data::Timestamp"]],["impl Freeze for NoFetching",1,["hotshot_query_service::fetching::provider::NoFetching"]],["impl Freeze for LeafRequest",1,["hotshot_query_service::fetching::request::LeafRequest"]],["impl Freeze for PayloadRequest",1,["hotshot_query_service::fetching::request::PayloadRequest"]],["impl Freeze for VidCommonRequest",1,["hotshot_query_service::fetching::request::VidCommonRequest"]],["impl Freeze for Options",1,["hotshot_query_service::merklized_state::Options"]],["impl Freeze for Counter",1,["hotshot_query_service::metrics::Counter"]],["impl Freeze for CounterFamily",1,["hotshot_query_service::metrics::CounterFamily"]],["impl Freeze for Gauge",1,["hotshot_query_service::metrics::Gauge"]],["impl Freeze for GaugeFamily",1,["hotshot_query_service::metrics::GaugeFamily"]],["impl Freeze for Histogram",1,["hotshot_query_service::metrics::Histogram"]],["impl Freeze for HistogramFamily",1,["hotshot_query_service::metrics::HistogramFamily"]],["impl Freeze for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl Freeze for TextFamily",1,["hotshot_query_service::metrics::TextFamily"]],["impl Freeze for Options",1,["hotshot_query_service::node::Options"]],["impl Freeze for QuerySnafu",1,["hotshot_query_service::node::QuerySnafu"]],["impl Freeze for RequestSnafu",1,["hotshot_query_service::node::RequestSnafu"]],["impl Freeze for SyncStatus",1,["hotshot_query_service::node::query_data::SyncStatus"]],["impl Freeze for Options",1,["hotshot_query_service::status::Options"]],["impl Freeze for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl Freeze for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl Freeze for Options",1,["hotshot_query_service::Options"]],["impl Freeze for MockNodeImpl",1,["hotshot_query_service::testing::mocks::MockNodeImpl"]],["impl Freeze for MockTypes",1,["hotshot_query_service::testing::mocks::MockTypes"]],["impl<'a> Freeze for Transaction<'a>",1,["hotshot_query_service::data_source::storage::sql::Transaction"]],["impl<'a, Types, S> Freeze for StorageReadGuard<'a, Types, S>",1,["hotshot_query_service::data_source::fetching::StorageReadGuard"]],["impl<'a, Types, S> Freeze for StorageWriteGuard<'a, Types, S>",1,["hotshot_query_service::data_source::fetching::StorageWriteGuard"]],["impl<D> Freeze for MockNetwork<D>",1,["hotshot_query_service::testing::consensus::MockNetwork"]],["impl<D, U> Freeze for ExtensibleDataSource<D, U>
      where\n D: Freeze,\n U: Freeze,
      ",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<P> Freeze for TestProvider<P>",1,["hotshot_query_service::fetching::provider::testing::TestProvider"]],["impl<T> Freeze for Fetch<T>
      where\n T: Freeze,
      ",1,["hotshot_query_service::availability::fetch::Fetch"]],["impl<T> Freeze for TimeWindowQueryData<T>
      where\n T: Freeze,
      ",1,["hotshot_query_service::node::query_data::TimeWindowQueryData"]],["impl<T, C> Freeze for Fetcher<T, C>",1,["hotshot_query_service::fetching::Fetcher"]],["impl<Types> Freeze for BlockId<Types>",1,["hotshot_query_service::availability::data_source::BlockId"]],["impl<Types> Freeze for LeafId<Types>",1,["hotshot_query_service::availability::data_source::LeafId"]],["impl<Types> Freeze for BlockIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::BlockIdentifier"]],["impl<Types> Freeze for TransactionIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::TransactionIdentifier"]],["impl<Types> Freeze for WindowStart<Types>",1,["hotshot_query_service::node::data_source::WindowStart"]],["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 BlockSummaryQueryData<Types>
      where\n <Types as NodeType>::BlockHeader: Freeze,
      ",1,["hotshot_query_service::availability::query_data::BlockSummaryQueryData"]],["impl<Types> Freeze for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> Freeze for LeafQueryData<Types>
      where\n <Types as NodeType>::Time: Freeze,\n <Types as NodeType>::BlockHeader: Freeze,\n <Types as NodeType>::BlockPayload: Freeze,\n <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: Freeze,
      ",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> Freeze for PayloadQueryData<Types>
      where\n <Types as NodeType>::BlockPayload: Freeze,
      ",1,["hotshot_query_service::availability::query_data::PayloadQueryData"]],["impl<Types> Freeze for TransactionQueryData<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized,\n <Types as NodeType>::Transaction: Freeze,\n <<Types as NodeType>::BlockPayload as QueryablePayload<Types>>::InclusionProof: Freeze,
      ",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl<Types> Freeze for TransactionSummaryQueryData<Types>
      where\n <Types as NodeType>::BlockHeader: Freeze,\n <Types as NodeType>::Transaction: Freeze,
      ",1,["hotshot_query_service::availability::query_data::TransactionSummaryQueryData"]],["impl<Types> Freeze for VidCommonQueryData<Types>",1,["hotshot_query_service::availability::query_data::VidCommonQueryData"]],["impl<Types> Freeze for FileSystemStorage<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized,
      ",1,["hotshot_query_service::data_source::storage::fs::FileSystemStorage"]],["impl<Types> Freeze for BlockDetail<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Freeze,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Freeze,
      ",1,["hotshot_query_service::explorer::query_data::BlockDetail"]],["impl<Types> Freeze for BlockDetailResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Freeze,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Freeze,
      ",1,["hotshot_query_service::explorer::BlockDetailResponse"]],["impl<Types> Freeze for BlockRange<Types>",1,["hotshot_query_service::explorer::query_data::BlockRange"]],["impl<Types> Freeze for BlockSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Freeze,
      ",1,["hotshot_query_service::explorer::query_data::BlockSummary"]],["impl<Types> Freeze for BlockSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::BlockSummaryResponse"]],["impl<Types> Freeze for ExplorerSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Freeze,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Freeze,
      ",1,["hotshot_query_service::explorer::query_data::ExplorerSummary"]],["impl<Types> Freeze for ExplorerSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Freeze,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Freeze,
      ",1,["hotshot_query_service::explorer::ExplorerSummaryResponse"]],["impl<Types> Freeze for GetBlockSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesRequest"]],["impl<Types> Freeze for GetTransactionSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesRequest"]],["impl<Types> Freeze for SearchResult<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::SearchResult"]],["impl<Types> Freeze for SearchResultResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::SearchResultResponse"]],["impl<Types> Freeze for TransactionDetail<Types>",1,["hotshot_query_service::explorer::query_data::TransactionDetail"]],["impl<Types> Freeze for TransactionDetailResponse<Types>",1,["hotshot_query_service::explorer::TransactionDetailResponse"]],["impl<Types> Freeze for TransactionRange<Types>",1,["hotshot_query_service::explorer::query_data::TransactionRange"]],["impl<Types> Freeze for TransactionSummariesResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::TransactionSummariesResponse"]],["impl<Types> Freeze for TransactionSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::TransactionSummary"]],["impl<Types> Freeze for AnyProvider<Types>",1,["hotshot_query_service::fetching::provider::any::AnyProvider"]],["impl<Types, S, P> Freeze for Builder<Types, S, P>
      where\n S: Freeze,\n P: Freeze,
      ",1,["hotshot_query_service::data_source::fetching::Builder"]],["impl<Types, S, P> Freeze for FetchingDataSource<Types, S, P>",1,["hotshot_query_service::data_source::fetching::FetchingDataSource"]],["impl<Types, S, P> Freeze for Pruner<Types, S, P>",1,["hotshot_query_service::data_source::fetching::Pruner"]],["impl<Types, T, const ARITY: usize> Freeze for Snapshot<Types, T, ARITY>
      where\n <T as MerklizedState<Types, ARITY>>::Commit: Freeze,
      ",1,["hotshot_query_service::merklized_state::data_source::Snapshot"]],["impl<Ver> Freeze for QueryServiceProvider<Ver>",1,["hotshot_query_service::fetching::provider::query_service::QueryServiceProvider"]],["impl<__T0> Freeze for FetchBlockSnafu<__T0>
      where\n __T0: Freeze,
      ",1,["hotshot_query_service::availability::FetchBlockSnafu"]],["impl<__T0> Freeze for FetchLeafSnafu<__T0>
      where\n __T0: Freeze,
      ",1,["hotshot_query_service::availability::FetchLeafSnafu"]],["impl<__T0> Freeze for FetchTransactionSnafu<__T0>
      where\n __T0: Freeze,
      ",1,["hotshot_query_service::availability::FetchTransactionSnafu"]],["impl<__T0> Freeze for QueryVidSnafu<__T0>
      where\n __T0: Freeze,
      ",1,["hotshot_query_service::node::QueryVidSnafu"]],["impl<__T0> Freeze for ErrorSnafu<__T0>
      where\n __T0: Freeze,
      ",1,["hotshot_query_service::ErrorSnafu"]],["impl<__T0, __T1> Freeze for CustomSnafu<__T0, __T1>
      where\n __T0: Freeze,\n __T1: Freeze,
      ",1,["hotshot_query_service::availability::CustomSnafu"]],["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 CustomSnafu<__T0, __T1>
      where\n __T0: Freeze,\n __T1: Freeze,
      ",1,["hotshot_query_service::node::CustomSnafu"]],["impl<__T0, __T1> Freeze for QueryWindowSnafu<__T0, __T1>
      where\n __T0: Freeze,\n __T1: Freeze,
      ",1,["hotshot_query_service::node::QueryWindowSnafu"]]] +"hotshot_query_service":[["impl Freeze for Error",1,["hotshot_query_service::availability::Error"]],["impl Freeze for DataSource",1,["hotshot_query_service::data_source::storage::no_storage::testing::DataSource"]],["impl Freeze for Storage",1,["hotshot_query_service::data_source::storage::no_storage::testing::Storage"]],["impl Freeze for Error",1,["hotshot_query_service::error::Error"]],["impl Freeze for QueryError",1,["hotshot_query_service::QueryError"]],["impl Freeze for CurrencyCode",1,["hotshot_query_service::explorer::currency::CurrencyCode"]],["impl Freeze for Error",1,["hotshot_query_service::explorer::Error"]],["impl Freeze for GetBlockDetailError",1,["hotshot_query_service::explorer::query_data::GetBlockDetailError"]],["impl Freeze for GetBlockSummariesError",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesError"]],["impl Freeze for GetExplorerSummaryError",1,["hotshot_query_service::explorer::query_data::GetExplorerSummaryError"]],["impl Freeze for GetSearchResultsError",1,["hotshot_query_service::explorer::query_data::GetSearchResultsError"]],["impl Freeze for GetTransactionDetailError",1,["hotshot_query_service::explorer::query_data::GetTransactionDetailError"]],["impl Freeze for GetTransactionSummariesError",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesError"]],["impl Freeze for TimestampConversionError",1,["hotshot_query_service::explorer::query_data::TimestampConversionError"]],["impl Freeze for TransactionSummaryFilter",1,["hotshot_query_service::explorer::query_data::TransactionSummaryFilter"]],["impl Freeze for Error",1,["hotshot_query_service::merklized_state::Error"]],["impl Freeze for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl Freeze for Error",1,["hotshot_query_service::node::Error"]],["impl Freeze for Error",1,["hotshot_query_service::status::Error"]],["impl Freeze for Options",1,["hotshot_query_service::availability::Options"]],["impl Freeze for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl Freeze for NoStorage",1,["hotshot_query_service::data_source::storage::no_storage::NoStorage"]],["impl Freeze for PrunerCfg",1,["hotshot_query_service::data_source::storage::pruning::PrunerCfg"]],["impl Freeze for Config",1,["hotshot_query_service::data_source::storage::sql::Config"]],["impl Freeze for Pruner",1,["hotshot_query_service::data_source::storage::sql::Pruner"]],["impl Freeze for SqlStorage",1,["hotshot_query_service::data_source::storage::sql::SqlStorage"]],["impl Freeze for TestMerkleTreeMigration",1,["hotshot_query_service::data_source::storage::sql::testing::TestMerkleTreeMigration"]],["impl Freeze for TmpDb",1,["hotshot_query_service::data_source::storage::sql::testing::TmpDb"]],["impl Freeze for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl Freeze for CurrencyMismatchError",1,["hotshot_query_service::explorer::currency::CurrencyMismatchError"]],["impl Freeze for ExplorerHistograms",1,["hotshot_query_service::explorer::query_data::ExplorerHistograms"]],["impl Freeze for FeeAttribution",1,["hotshot_query_service::explorer::query_data::FeeAttribution"]],["impl Freeze for GenesisOverview",1,["hotshot_query_service::explorer::query_data::GenesisOverview"]],["impl Freeze for InvalidCurrencyCodeError",1,["hotshot_query_service::explorer::currency::InvalidCurrencyCodeError"]],["impl Freeze for MonetaryValue",1,["hotshot_query_service::explorer::monetary_value::MonetaryValue"]],["impl Freeze for Timestamp",1,["hotshot_query_service::explorer::query_data::Timestamp"]],["impl Freeze for NoFetching",1,["hotshot_query_service::fetching::provider::NoFetching"]],["impl Freeze for LeafRequest",1,["hotshot_query_service::fetching::request::LeafRequest"]],["impl Freeze for PayloadRequest",1,["hotshot_query_service::fetching::request::PayloadRequest"]],["impl Freeze for VidCommonRequest",1,["hotshot_query_service::fetching::request::VidCommonRequest"]],["impl Freeze for Options",1,["hotshot_query_service::merklized_state::Options"]],["impl Freeze for Counter",1,["hotshot_query_service::metrics::Counter"]],["impl Freeze for CounterFamily",1,["hotshot_query_service::metrics::CounterFamily"]],["impl Freeze for Gauge",1,["hotshot_query_service::metrics::Gauge"]],["impl Freeze for GaugeFamily",1,["hotshot_query_service::metrics::GaugeFamily"]],["impl Freeze for Histogram",1,["hotshot_query_service::metrics::Histogram"]],["impl Freeze for HistogramFamily",1,["hotshot_query_service::metrics::HistogramFamily"]],["impl Freeze for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl Freeze for TextFamily",1,["hotshot_query_service::metrics::TextFamily"]],["impl Freeze for Options",1,["hotshot_query_service::node::Options"]],["impl Freeze for QuerySnafu",1,["hotshot_query_service::node::QuerySnafu"]],["impl Freeze for RequestSnafu",1,["hotshot_query_service::node::RequestSnafu"]],["impl Freeze for SyncStatus",1,["hotshot_query_service::node::query_data::SyncStatus"]],["impl Freeze for Options",1,["hotshot_query_service::status::Options"]],["impl Freeze for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl Freeze for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl Freeze for Options",1,["hotshot_query_service::Options"]],["impl Freeze for MockNodeImpl",1,["hotshot_query_service::testing::mocks::MockNodeImpl"]],["impl Freeze for MockTypes",1,["hotshot_query_service::testing::mocks::MockTypes"]],["impl<'a> Freeze for Transaction<'a>",1,["hotshot_query_service::data_source::storage::sql::Transaction"]],["impl<'a, Types, S> Freeze for StorageReadGuard<'a, Types, S>",1,["hotshot_query_service::data_source::fetching::StorageReadGuard"]],["impl<'a, Types, S> Freeze for StorageWriteGuard<'a, Types, S>",1,["hotshot_query_service::data_source::fetching::StorageWriteGuard"]],["impl<D> Freeze for MockNetwork<D>",1,["hotshot_query_service::testing::consensus::MockNetwork"]],["impl<D, U> Freeze for ExtensibleDataSource<D, U>
      where\n D: Freeze,\n U: Freeze,
      ",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<P> Freeze for TestProvider<P>",1,["hotshot_query_service::fetching::provider::testing::TestProvider"]],["impl<T> Freeze for Fetch<T>
      where\n T: Freeze,
      ",1,["hotshot_query_service::availability::fetch::Fetch"]],["impl<T> Freeze for TimeWindowQueryData<T>
      where\n T: Freeze,
      ",1,["hotshot_query_service::node::query_data::TimeWindowQueryData"]],["impl<T, C> Freeze for Fetcher<T, C>",1,["hotshot_query_service::fetching::Fetcher"]],["impl<Types> Freeze for BlockId<Types>",1,["hotshot_query_service::availability::data_source::BlockId"]],["impl<Types> Freeze for LeafId<Types>",1,["hotshot_query_service::availability::data_source::LeafId"]],["impl<Types> Freeze for BlockIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::BlockIdentifier"]],["impl<Types> Freeze for TransactionIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::TransactionIdentifier"]],["impl<Types> Freeze for WindowStart<Types>",1,["hotshot_query_service::node::data_source::WindowStart"]],["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 BlockSummaryQueryData<Types>
      where\n <Types as NodeType>::BlockHeader: Freeze,
      ",1,["hotshot_query_service::availability::query_data::BlockSummaryQueryData"]],["impl<Types> Freeze for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> Freeze for LeafQueryData<Types>
      where\n <Types as NodeType>::Time: Freeze,\n <Types as NodeType>::BlockHeader: Freeze,\n <Types as NodeType>::BlockPayload: Freeze,\n <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: Freeze,
      ",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> Freeze for PayloadQueryData<Types>
      where\n <Types as NodeType>::BlockPayload: Freeze,
      ",1,["hotshot_query_service::availability::query_data::PayloadQueryData"]],["impl<Types> Freeze for TransactionQueryData<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized,\n <Types as NodeType>::Transaction: Freeze,\n <<Types as NodeType>::BlockPayload as QueryablePayload<Types>>::InclusionProof: Freeze,
      ",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl<Types> Freeze for TransactionSummaryQueryData<Types>
      where\n <Types as NodeType>::BlockHeader: Freeze,\n <Types as NodeType>::Transaction: Freeze,
      ",1,["hotshot_query_service::availability::query_data::TransactionSummaryQueryData"]],["impl<Types> Freeze for VidCommonQueryData<Types>",1,["hotshot_query_service::availability::query_data::VidCommonQueryData"]],["impl<Types> Freeze for FileSystemStorage<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized,
      ",1,["hotshot_query_service::data_source::storage::fs::FileSystemStorage"]],["impl<Types> Freeze for BlockDetail<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Freeze,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Freeze,
      ",1,["hotshot_query_service::explorer::query_data::BlockDetail"]],["impl<Types> Freeze for BlockDetailResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Freeze,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Freeze,
      ",1,["hotshot_query_service::explorer::BlockDetailResponse"]],["impl<Types> Freeze for BlockRange<Types>",1,["hotshot_query_service::explorer::query_data::BlockRange"]],["impl<Types> Freeze for BlockSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Freeze,
      ",1,["hotshot_query_service::explorer::query_data::BlockSummary"]],["impl<Types> Freeze for BlockSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::BlockSummaryResponse"]],["impl<Types> Freeze for ExplorerSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Freeze,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Freeze,
      ",1,["hotshot_query_service::explorer::query_data::ExplorerSummary"]],["impl<Types> Freeze for ExplorerSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Freeze,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Freeze,
      ",1,["hotshot_query_service::explorer::ExplorerSummaryResponse"]],["impl<Types> Freeze for GetBlockSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesRequest"]],["impl<Types> Freeze for GetTransactionSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesRequest"]],["impl<Types> Freeze for SearchResult<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::SearchResult"]],["impl<Types> Freeze for SearchResultResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::SearchResultResponse"]],["impl<Types> Freeze for TransactionDetail<Types>",1,["hotshot_query_service::explorer::query_data::TransactionDetail"]],["impl<Types> Freeze for TransactionDetailResponse<Types>",1,["hotshot_query_service::explorer::TransactionDetailResponse"]],["impl<Types> Freeze for TransactionRange<Types>",1,["hotshot_query_service::explorer::query_data::TransactionRange"]],["impl<Types> Freeze for TransactionSummariesResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::TransactionSummariesResponse"]],["impl<Types> Freeze for TransactionSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::TransactionSummary"]],["impl<Types> Freeze for AnyProvider<Types>",1,["hotshot_query_service::fetching::provider::any::AnyProvider"]],["impl<Types, S, P> Freeze for Builder<Types, S, P>
      where\n S: Freeze,\n P: Freeze,
      ",1,["hotshot_query_service::data_source::fetching::Builder"]],["impl<Types, S, P> Freeze for FetchingDataSource<Types, S, P>",1,["hotshot_query_service::data_source::fetching::FetchingDataSource"]],["impl<Types, S, P> Freeze for Pruner<Types, S, P>",1,["hotshot_query_service::data_source::fetching::Pruner"]],["impl<Types, T, const ARITY: usize> Freeze for Snapshot<Types, T, ARITY>
      where\n <T as MerklizedState<Types, ARITY>>::Commit: Freeze,
      ",1,["hotshot_query_service::merklized_state::data_source::Snapshot"]],["impl<Ver> Freeze for QueryServiceProvider<Ver>",1,["hotshot_query_service::fetching::provider::query_service::QueryServiceProvider"]],["impl<__T0> Freeze for FetchBlockSnafu<__T0>
      where\n __T0: Freeze,
      ",1,["hotshot_query_service::availability::FetchBlockSnafu"]],["impl<__T0> Freeze for FetchLeafSnafu<__T0>
      where\n __T0: Freeze,
      ",1,["hotshot_query_service::availability::FetchLeafSnafu"]],["impl<__T0> Freeze for FetchTransactionSnafu<__T0>
      where\n __T0: Freeze,
      ",1,["hotshot_query_service::availability::FetchTransactionSnafu"]],["impl<__T0> Freeze for QueryVidSnafu<__T0>
      where\n __T0: Freeze,
      ",1,["hotshot_query_service::node::QueryVidSnafu"]],["impl<__T0> Freeze for ErrorSnafu<__T0>
      where\n __T0: Freeze,
      ",1,["hotshot_query_service::ErrorSnafu"]],["impl<__T0, __T1> Freeze for CustomSnafu<__T0, __T1>
      where\n __T0: Freeze,\n __T1: Freeze,
      ",1,["hotshot_query_service::availability::CustomSnafu"]],["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 CustomSnafu<__T0, __T1>
      where\n __T0: Freeze,\n __T1: Freeze,
      ",1,["hotshot_query_service::node::CustomSnafu"]],["impl<__T0, __T1> Freeze for QueryWindowSnafu<__T0, __T1>
      where\n __T0: Freeze,\n __T1: Freeze,
      ",1,["hotshot_query_service::node::QueryWindowSnafu"]]] };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 d426306cd..86344a583 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 Send for Error",1,["hotshot_query_service::availability::Error"]],["impl Send for DataSource",1,["hotshot_query_service::data_source::storage::no_storage::testing::DataSource"]],["impl Send for Storage",1,["hotshot_query_service::data_source::storage::no_storage::testing::Storage"]],["impl Send for Error",1,["hotshot_query_service::error::Error"]],["impl Send for QueryError",1,["hotshot_query_service::QueryError"]],["impl Send for CurrencyCode",1,["hotshot_query_service::explorer::currency::CurrencyCode"]],["impl Send for Error",1,["hotshot_query_service::explorer::Error"]],["impl Send for GetBlockDetailError",1,["hotshot_query_service::explorer::query_data::GetBlockDetailError"]],["impl Send for GetBlockSummariesError",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesError"]],["impl Send for GetExplorerSummaryError",1,["hotshot_query_service::explorer::query_data::GetExplorerSummaryError"]],["impl Send for GetSearchResultsError",1,["hotshot_query_service::explorer::query_data::GetSearchResultsError"]],["impl Send for GetTransactionDetailError",1,["hotshot_query_service::explorer::query_data::GetTransactionDetailError"]],["impl Send for GetTransactionSummariesError",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesError"]],["impl Send for TimestampConversionError",1,["hotshot_query_service::explorer::query_data::TimestampConversionError"]],["impl Send for TransactionSummaryFilter",1,["hotshot_query_service::explorer::query_data::TransactionSummaryFilter"]],["impl Send for Error",1,["hotshot_query_service::merklized_state::Error"]],["impl Send for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl Send for Error",1,["hotshot_query_service::node::Error"]],["impl Send for Error",1,["hotshot_query_service::status::Error"]],["impl Send for Options",1,["hotshot_query_service::availability::Options"]],["impl Send for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl Send for NoStorage",1,["hotshot_query_service::data_source::storage::no_storage::NoStorage"]],["impl Send for PrunerCfg",1,["hotshot_query_service::data_source::storage::pruning::PrunerCfg"]],["impl Send for Config",1,["hotshot_query_service::data_source::storage::sql::Config"]],["impl Send for Pruner",1,["hotshot_query_service::data_source::storage::sql::Pruner"]],["impl Send for SqlStorage",1,["hotshot_query_service::data_source::storage::sql::SqlStorage"]],["impl Send for TestMerkleTreeMigration",1,["hotshot_query_service::data_source::storage::sql::testing::TestMerkleTreeMigration"]],["impl Send for TmpDb",1,["hotshot_query_service::data_source::storage::sql::testing::TmpDb"]],["impl Send for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl Send for CurrencyMismatchError",1,["hotshot_query_service::explorer::currency::CurrencyMismatchError"]],["impl Send for ExplorerHistograms",1,["hotshot_query_service::explorer::query_data::ExplorerHistograms"]],["impl Send for FeeAttribution",1,["hotshot_query_service::explorer::query_data::FeeAttribution"]],["impl Send for GenesisOverview",1,["hotshot_query_service::explorer::query_data::GenesisOverview"]],["impl Send for InvalidCurrencyCodeError",1,["hotshot_query_service::explorer::currency::InvalidCurrencyCodeError"]],["impl Send for MonetaryValue",1,["hotshot_query_service::explorer::monetary_value::MonetaryValue"]],["impl Send for Timestamp",1,["hotshot_query_service::explorer::query_data::Timestamp"]],["impl Send for NoFetching",1,["hotshot_query_service::fetching::provider::NoFetching"]],["impl Send for LeafRequest",1,["hotshot_query_service::fetching::request::LeafRequest"]],["impl Send for PayloadRequest",1,["hotshot_query_service::fetching::request::PayloadRequest"]],["impl Send for VidCommonRequest",1,["hotshot_query_service::fetching::request::VidCommonRequest"]],["impl Send for Options",1,["hotshot_query_service::merklized_state::Options"]],["impl Send for Counter",1,["hotshot_query_service::metrics::Counter"]],["impl Send for CounterFamily",1,["hotshot_query_service::metrics::CounterFamily"]],["impl Send for Gauge",1,["hotshot_query_service::metrics::Gauge"]],["impl Send for GaugeFamily",1,["hotshot_query_service::metrics::GaugeFamily"]],["impl Send for Histogram",1,["hotshot_query_service::metrics::Histogram"]],["impl Send for HistogramFamily",1,["hotshot_query_service::metrics::HistogramFamily"]],["impl Send for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl Send for TextFamily",1,["hotshot_query_service::metrics::TextFamily"]],["impl Send for Options",1,["hotshot_query_service::node::Options"]],["impl Send for QuerySnafu",1,["hotshot_query_service::node::QuerySnafu"]],["impl Send for RequestSnafu",1,["hotshot_query_service::node::RequestSnafu"]],["impl Send for SyncStatus",1,["hotshot_query_service::node::query_data::SyncStatus"]],["impl Send for Options",1,["hotshot_query_service::status::Options"]],["impl Send for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl Send for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl Send for Options",1,["hotshot_query_service::Options"]],["impl Send for MockNodeImpl",1,["hotshot_query_service::testing::mocks::MockNodeImpl"]],["impl Send for MockTypes",1,["hotshot_query_service::testing::mocks::MockTypes"]],["impl<'a> Send for Transaction<'a>",1,["hotshot_query_service::data_source::storage::sql::Transaction"]],["impl<'a, Types, S> Send for StorageReadGuard<'a, Types, S>
      where\n S: Sync,
      ",1,["hotshot_query_service::data_source::fetching::StorageReadGuard"]],["impl<'a, Types, S> Send for StorageWriteGuard<'a, Types, S>
      where\n S: Send,
      ",1,["hotshot_query_service::data_source::fetching::StorageWriteGuard"]],["impl<D> Send for MockNetwork<D>",1,["hotshot_query_service::testing::consensus::MockNetwork"]],["impl<D, U> Send for ExtensibleDataSource<D, U>
      where\n D: Send,\n U: Send,
      ",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<P> Send for TestProvider<P>
      where\n P: Sync + Send,
      ",1,["hotshot_query_service::fetching::provider::testing::TestProvider"]],["impl<T> Send for Fetch<T>
      where\n T: Send,
      ",1,["hotshot_query_service::availability::fetch::Fetch"]],["impl<T> Send for TimeWindowQueryData<T>
      where\n T: Send,
      ",1,["hotshot_query_service::node::query_data::TimeWindowQueryData"]],["impl<T, C> Send for Fetcher<T, C>
      where\n T: Send,\n C: Send,
      ",1,["hotshot_query_service::fetching::Fetcher"]],["impl<Types> Send for BlockId<Types>",1,["hotshot_query_service::availability::data_source::BlockId"]],["impl<Types> Send for LeafId<Types>",1,["hotshot_query_service::availability::data_source::LeafId"]],["impl<Types> Send for BlockIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::BlockIdentifier"]],["impl<Types> Send for TransactionIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::TransactionIdentifier"]],["impl<Types> Send for WindowStart<Types>",1,["hotshot_query_service::node::data_source::WindowStart"]],["impl<Types> Send for BlockQueryData<Types>",1,["hotshot_query_service::availability::query_data::BlockQueryData"]],["impl<Types> Send for BlockSummaryQueryData<Types>",1,["hotshot_query_service::availability::query_data::BlockSummaryQueryData"]],["impl<Types> Send for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> Send for LeafQueryData<Types>",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> Send for PayloadQueryData<Types>",1,["hotshot_query_service::availability::query_data::PayloadQueryData"]],["impl<Types> Send for TransactionQueryData<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized,
      ",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl<Types> Send for TransactionSummaryQueryData<Types>",1,["hotshot_query_service::availability::query_data::TransactionSummaryQueryData"]],["impl<Types> Send for VidCommonQueryData<Types>",1,["hotshot_query_service::availability::query_data::VidCommonQueryData"]],["impl<Types> Send for FileSystemStorage<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized,
      ",1,["hotshot_query_service::data_source::storage::fs::FileSystemStorage"]],["impl<Types> Send for BlockDetail<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::BlockDetail"]],["impl<Types> Send for BlockDetailResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::BlockDetailResponse"]],["impl<Types> Send for BlockRange<Types>",1,["hotshot_query_service::explorer::query_data::BlockRange"]],["impl<Types> Send for BlockSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::BlockSummary"]],["impl<Types> Send for BlockSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::BlockSummaryResponse"]],["impl<Types> Send for ExplorerSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::ExplorerSummary"]],["impl<Types> Send for ExplorerSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::ExplorerSummaryResponse"]],["impl<Types> Send for GetBlockSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesRequest"]],["impl<Types> Send for GetTransactionSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesRequest"]],["impl<Types> Send for SearchResult<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::SearchResult"]],["impl<Types> Send for SearchResultResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::SearchResultResponse"]],["impl<Types> Send for TransactionDetail<Types>",1,["hotshot_query_service::explorer::query_data::TransactionDetail"]],["impl<Types> Send for TransactionDetailResponse<Types>",1,["hotshot_query_service::explorer::TransactionDetailResponse"]],["impl<Types> Send for TransactionRange<Types>",1,["hotshot_query_service::explorer::query_data::TransactionRange"]],["impl<Types> Send for TransactionSummariesResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::TransactionSummariesResponse"]],["impl<Types> Send for TransactionSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::TransactionSummary"]],["impl<Types> Send for AnyProvider<Types>",1,["hotshot_query_service::fetching::provider::any::AnyProvider"]],["impl<Types, S, P> Send for Builder<Types, S, P>
      where\n S: Send,\n P: Send,\n Types: Send,
      ",1,["hotshot_query_service::data_source::fetching::Builder"]],["impl<Types, S, P> Send for FetchingDataSource<Types, S, P>
      where\n P: Sync + Send,\n S: Send + Sync,
      ",1,["hotshot_query_service::data_source::fetching::FetchingDataSource"]],["impl<Types, S, P> Send for Pruner<Types, S, P>
      where\n S: Send,\n P: Send,
      ",1,["hotshot_query_service::data_source::fetching::Pruner"]],["impl<Types, T, const ARITY: usize> Send for Snapshot<Types, T, ARITY>",1,["hotshot_query_service::merklized_state::data_source::Snapshot"]],["impl<Ver> Send for QueryServiceProvider<Ver>",1,["hotshot_query_service::fetching::provider::query_service::QueryServiceProvider"]],["impl<__T0> Send for FetchBlockSnafu<__T0>
      where\n __T0: Send,
      ",1,["hotshot_query_service::availability::FetchBlockSnafu"]],["impl<__T0> Send for FetchLeafSnafu<__T0>
      where\n __T0: Send,
      ",1,["hotshot_query_service::availability::FetchLeafSnafu"]],["impl<__T0> Send for FetchTransactionSnafu<__T0>
      where\n __T0: Send,
      ",1,["hotshot_query_service::availability::FetchTransactionSnafu"]],["impl<__T0> Send for QueryVidSnafu<__T0>
      where\n __T0: Send,
      ",1,["hotshot_query_service::node::QueryVidSnafu"]],["impl<__T0> Send for ErrorSnafu<__T0>
      where\n __T0: Send,
      ",1,["hotshot_query_service::ErrorSnafu"]],["impl<__T0, __T1> Send for CustomSnafu<__T0, __T1>
      where\n __T0: Send,\n __T1: Send,
      ",1,["hotshot_query_service::availability::CustomSnafu"]],["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 CustomSnafu<__T0, __T1>
      where\n __T0: Send,\n __T1: Send,
      ",1,["hotshot_query_service::node::CustomSnafu"]],["impl<__T0, __T1> Send for QueryWindowSnafu<__T0, __T1>
      where\n __T0: Send,\n __T1: Send,
      ",1,["hotshot_query_service::node::QueryWindowSnafu"]]] +"hotshot_query_service":[["impl Send for Error",1,["hotshot_query_service::availability::Error"]],["impl Send for DataSource",1,["hotshot_query_service::data_source::storage::no_storage::testing::DataSource"]],["impl Send for Storage",1,["hotshot_query_service::data_source::storage::no_storage::testing::Storage"]],["impl Send for Error",1,["hotshot_query_service::error::Error"]],["impl Send for QueryError",1,["hotshot_query_service::QueryError"]],["impl Send for CurrencyCode",1,["hotshot_query_service::explorer::currency::CurrencyCode"]],["impl Send for Error",1,["hotshot_query_service::explorer::Error"]],["impl Send for GetBlockDetailError",1,["hotshot_query_service::explorer::query_data::GetBlockDetailError"]],["impl Send for GetBlockSummariesError",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesError"]],["impl Send for GetExplorerSummaryError",1,["hotshot_query_service::explorer::query_data::GetExplorerSummaryError"]],["impl Send for GetSearchResultsError",1,["hotshot_query_service::explorer::query_data::GetSearchResultsError"]],["impl Send for GetTransactionDetailError",1,["hotshot_query_service::explorer::query_data::GetTransactionDetailError"]],["impl Send for GetTransactionSummariesError",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesError"]],["impl Send for TimestampConversionError",1,["hotshot_query_service::explorer::query_data::TimestampConversionError"]],["impl Send for TransactionSummaryFilter",1,["hotshot_query_service::explorer::query_data::TransactionSummaryFilter"]],["impl Send for Error",1,["hotshot_query_service::merklized_state::Error"]],["impl Send for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl Send for Error",1,["hotshot_query_service::node::Error"]],["impl Send for Error",1,["hotshot_query_service::status::Error"]],["impl Send for Options",1,["hotshot_query_service::availability::Options"]],["impl Send for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl Send for NoStorage",1,["hotshot_query_service::data_source::storage::no_storage::NoStorage"]],["impl Send for PrunerCfg",1,["hotshot_query_service::data_source::storage::pruning::PrunerCfg"]],["impl Send for Config",1,["hotshot_query_service::data_source::storage::sql::Config"]],["impl Send for Pruner",1,["hotshot_query_service::data_source::storage::sql::Pruner"]],["impl Send for SqlStorage",1,["hotshot_query_service::data_source::storage::sql::SqlStorage"]],["impl Send for TestMerkleTreeMigration",1,["hotshot_query_service::data_source::storage::sql::testing::TestMerkleTreeMigration"]],["impl Send for TmpDb",1,["hotshot_query_service::data_source::storage::sql::testing::TmpDb"]],["impl Send for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl Send for CurrencyMismatchError",1,["hotshot_query_service::explorer::currency::CurrencyMismatchError"]],["impl Send for ExplorerHistograms",1,["hotshot_query_service::explorer::query_data::ExplorerHistograms"]],["impl Send for FeeAttribution",1,["hotshot_query_service::explorer::query_data::FeeAttribution"]],["impl Send for GenesisOverview",1,["hotshot_query_service::explorer::query_data::GenesisOverview"]],["impl Send for InvalidCurrencyCodeError",1,["hotshot_query_service::explorer::currency::InvalidCurrencyCodeError"]],["impl Send for MonetaryValue",1,["hotshot_query_service::explorer::monetary_value::MonetaryValue"]],["impl Send for Timestamp",1,["hotshot_query_service::explorer::query_data::Timestamp"]],["impl Send for NoFetching",1,["hotshot_query_service::fetching::provider::NoFetching"]],["impl Send for LeafRequest",1,["hotshot_query_service::fetching::request::LeafRequest"]],["impl Send for PayloadRequest",1,["hotshot_query_service::fetching::request::PayloadRequest"]],["impl Send for VidCommonRequest",1,["hotshot_query_service::fetching::request::VidCommonRequest"]],["impl Send for Options",1,["hotshot_query_service::merklized_state::Options"]],["impl Send for Counter",1,["hotshot_query_service::metrics::Counter"]],["impl Send for CounterFamily",1,["hotshot_query_service::metrics::CounterFamily"]],["impl Send for Gauge",1,["hotshot_query_service::metrics::Gauge"]],["impl Send for GaugeFamily",1,["hotshot_query_service::metrics::GaugeFamily"]],["impl Send for Histogram",1,["hotshot_query_service::metrics::Histogram"]],["impl Send for HistogramFamily",1,["hotshot_query_service::metrics::HistogramFamily"]],["impl Send for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl Send for TextFamily",1,["hotshot_query_service::metrics::TextFamily"]],["impl Send for Options",1,["hotshot_query_service::node::Options"]],["impl Send for QuerySnafu",1,["hotshot_query_service::node::QuerySnafu"]],["impl Send for RequestSnafu",1,["hotshot_query_service::node::RequestSnafu"]],["impl Send for SyncStatus",1,["hotshot_query_service::node::query_data::SyncStatus"]],["impl Send for Options",1,["hotshot_query_service::status::Options"]],["impl Send for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl Send for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl Send for Options",1,["hotshot_query_service::Options"]],["impl Send for MockNodeImpl",1,["hotshot_query_service::testing::mocks::MockNodeImpl"]],["impl Send for MockTypes",1,["hotshot_query_service::testing::mocks::MockTypes"]],["impl<'a> Send for Transaction<'a>",1,["hotshot_query_service::data_source::storage::sql::Transaction"]],["impl<'a, Types, S> Send for StorageReadGuard<'a, Types, S>
      where\n S: Sync,
      ",1,["hotshot_query_service::data_source::fetching::StorageReadGuard"]],["impl<'a, Types, S> Send for StorageWriteGuard<'a, Types, S>
      where\n S: Send,
      ",1,["hotshot_query_service::data_source::fetching::StorageWriteGuard"]],["impl<D> Send for MockNetwork<D>",1,["hotshot_query_service::testing::consensus::MockNetwork"]],["impl<D, U> Send for ExtensibleDataSource<D, U>
      where\n D: Send,\n U: Send,
      ",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<P> Send for TestProvider<P>
      where\n P: Sync + Send,
      ",1,["hotshot_query_service::fetching::provider::testing::TestProvider"]],["impl<T> Send for Fetch<T>
      where\n T: Send,
      ",1,["hotshot_query_service::availability::fetch::Fetch"]],["impl<T> Send for TimeWindowQueryData<T>
      where\n T: Send,
      ",1,["hotshot_query_service::node::query_data::TimeWindowQueryData"]],["impl<T, C> Send for Fetcher<T, C>
      where\n T: Send,\n C: Send,
      ",1,["hotshot_query_service::fetching::Fetcher"]],["impl<Types> Send for BlockId<Types>",1,["hotshot_query_service::availability::data_source::BlockId"]],["impl<Types> Send for LeafId<Types>",1,["hotshot_query_service::availability::data_source::LeafId"]],["impl<Types> Send for BlockIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::BlockIdentifier"]],["impl<Types> Send for TransactionIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::TransactionIdentifier"]],["impl<Types> Send for WindowStart<Types>",1,["hotshot_query_service::node::data_source::WindowStart"]],["impl<Types> Send for BlockQueryData<Types>",1,["hotshot_query_service::availability::query_data::BlockQueryData"]],["impl<Types> Send for BlockSummaryQueryData<Types>",1,["hotshot_query_service::availability::query_data::BlockSummaryQueryData"]],["impl<Types> Send for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> Send for LeafQueryData<Types>",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> Send for PayloadQueryData<Types>",1,["hotshot_query_service::availability::query_data::PayloadQueryData"]],["impl<Types> Send for TransactionQueryData<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized,
      ",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl<Types> Send for TransactionSummaryQueryData<Types>",1,["hotshot_query_service::availability::query_data::TransactionSummaryQueryData"]],["impl<Types> Send for VidCommonQueryData<Types>",1,["hotshot_query_service::availability::query_data::VidCommonQueryData"]],["impl<Types> Send for FileSystemStorage<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized,
      ",1,["hotshot_query_service::data_source::storage::fs::FileSystemStorage"]],["impl<Types> Send for BlockDetail<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::BlockDetail"]],["impl<Types> Send for BlockDetailResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::BlockDetailResponse"]],["impl<Types> Send for BlockRange<Types>",1,["hotshot_query_service::explorer::query_data::BlockRange"]],["impl<Types> Send for BlockSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::BlockSummary"]],["impl<Types> Send for BlockSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::BlockSummaryResponse"]],["impl<Types> Send for ExplorerSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::ExplorerSummary"]],["impl<Types> Send for ExplorerSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::ExplorerSummaryResponse"]],["impl<Types> Send for GetBlockSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesRequest"]],["impl<Types> Send for GetTransactionSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesRequest"]],["impl<Types> Send for SearchResult<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::SearchResult"]],["impl<Types> Send for SearchResultResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::SearchResultResponse"]],["impl<Types> Send for TransactionDetail<Types>",1,["hotshot_query_service::explorer::query_data::TransactionDetail"]],["impl<Types> Send for TransactionDetailResponse<Types>",1,["hotshot_query_service::explorer::TransactionDetailResponse"]],["impl<Types> Send for TransactionRange<Types>",1,["hotshot_query_service::explorer::query_data::TransactionRange"]],["impl<Types> Send for TransactionSummariesResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::TransactionSummariesResponse"]],["impl<Types> Send for TransactionSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::TransactionSummary"]],["impl<Types> Send for AnyProvider<Types>",1,["hotshot_query_service::fetching::provider::any::AnyProvider"]],["impl<Types, S, P> Send for Builder<Types, S, P>
      where\n S: Send,\n P: Send,\n Types: Send,
      ",1,["hotshot_query_service::data_source::fetching::Builder"]],["impl<Types, S, P> Send for FetchingDataSource<Types, S, P>
      where\n P: Sync + Send,\n S: Send + Sync,
      ",1,["hotshot_query_service::data_source::fetching::FetchingDataSource"]],["impl<Types, S, P> Send for Pruner<Types, S, P>
      where\n S: Send,\n P: Send,
      ",1,["hotshot_query_service::data_source::fetching::Pruner"]],["impl<Types, T, const ARITY: usize> Send for Snapshot<Types, T, ARITY>",1,["hotshot_query_service::merklized_state::data_source::Snapshot"]],["impl<Ver> Send for QueryServiceProvider<Ver>",1,["hotshot_query_service::fetching::provider::query_service::QueryServiceProvider"]],["impl<__T0> Send for FetchBlockSnafu<__T0>
      where\n __T0: Send,
      ",1,["hotshot_query_service::availability::FetchBlockSnafu"]],["impl<__T0> Send for FetchLeafSnafu<__T0>
      where\n __T0: Send,
      ",1,["hotshot_query_service::availability::FetchLeafSnafu"]],["impl<__T0> Send for FetchTransactionSnafu<__T0>
      where\n __T0: Send,
      ",1,["hotshot_query_service::availability::FetchTransactionSnafu"]],["impl<__T0> Send for QueryVidSnafu<__T0>
      where\n __T0: Send,
      ",1,["hotshot_query_service::node::QueryVidSnafu"]],["impl<__T0> Send for ErrorSnafu<__T0>
      where\n __T0: Send,
      ",1,["hotshot_query_service::ErrorSnafu"]],["impl<__T0, __T1> Send for CustomSnafu<__T0, __T1>
      where\n __T0: Send,\n __T1: Send,
      ",1,["hotshot_query_service::availability::CustomSnafu"]],["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 CustomSnafu<__T0, __T1>
      where\n __T0: Send,\n __T1: Send,
      ",1,["hotshot_query_service::node::CustomSnafu"]],["impl<__T0, __T1> Send for QueryWindowSnafu<__T0, __T1>
      where\n __T0: Send,\n __T1: Send,
      ",1,["hotshot_query_service::node::QueryWindowSnafu"]]] };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 7b4489d4b..1e3ab4290 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 StructuralPartialEq for CurrencyCode"],["impl StructuralPartialEq for TimestampConversionError"],["impl StructuralPartialEq for FeeAttribution"],["impl StructuralPartialEq for MonetaryValue"],["impl StructuralPartialEq for Timestamp"],["impl StructuralPartialEq for LeafRequest"],["impl StructuralPartialEq for PayloadRequest"],["impl StructuralPartialEq for VidCommonRequest"],["impl StructuralPartialEq for SyncStatus"],["impl StructuralPartialEq for MockNodeImpl"],["impl StructuralPartialEq for MockTypes"],["impl<T> StructuralPartialEq for TimeWindowQueryData<T>"],["impl<Types: NodeType> StructuralPartialEq for BlockIdentifier<Types>"],["impl<Types: NodeType> StructuralPartialEq for TransactionIdentifier<Types>"],["impl<Types: NodeType> StructuralPartialEq for BlockQueryData<Types>"],["impl<Types: NodeType> StructuralPartialEq for BlockSummaryQueryData<Types>"],["impl<Types: NodeType> StructuralPartialEq for LeafQueryData<Types>"],["impl<Types: NodeType> StructuralPartialEq for PayloadQueryData<Types>"],["impl<Types: NodeType> StructuralPartialEq for TransactionQueryData<Types>
      where\n Payload<Types>: QueryablePayload<Types>,
      "],["impl<Types: NodeType> StructuralPartialEq for TransactionSummaryQueryData<Types>"],["impl<Types: NodeType> StructuralPartialEq for VidCommonQueryData<Types>"],["impl<Types: NodeType> StructuralPartialEq for BlockDetail<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: NodeType> StructuralPartialEq for BlockRange<Types>"],["impl<Types: NodeType> StructuralPartialEq for BlockSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: NodeType> StructuralPartialEq for GetBlockSummariesRequest<Types>"],["impl<Types: NodeType> StructuralPartialEq for TransactionDetail<Types>"],["impl<Types: NodeType> StructuralPartialEq for TransactionRange<Types>"],["impl<Types: NodeType> StructuralPartialEq for TransactionSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "]] +"hotshot_query_service":[["impl StructuralPartialEq for CurrencyCode"],["impl StructuralPartialEq for TimestampConversionError"],["impl StructuralPartialEq for FeeAttribution"],["impl StructuralPartialEq for MonetaryValue"],["impl StructuralPartialEq for Timestamp"],["impl StructuralPartialEq for LeafRequest"],["impl StructuralPartialEq for PayloadRequest"],["impl StructuralPartialEq for VidCommonRequest"],["impl StructuralPartialEq for SyncStatus"],["impl StructuralPartialEq for MockNodeImpl"],["impl StructuralPartialEq for MockTypes"],["impl<T> StructuralPartialEq for TimeWindowQueryData<T>"],["impl<Types: NodeType> StructuralPartialEq for BlockIdentifier<Types>"],["impl<Types: NodeType> StructuralPartialEq for TransactionIdentifier<Types>"],["impl<Types: NodeType> StructuralPartialEq for BlockQueryData<Types>"],["impl<Types: NodeType> StructuralPartialEq for BlockSummaryQueryData<Types>"],["impl<Types: NodeType> StructuralPartialEq for LeafQueryData<Types>"],["impl<Types: NodeType> StructuralPartialEq for PayloadQueryData<Types>"],["impl<Types: NodeType> StructuralPartialEq for TransactionQueryData<Types>
      where\n Payload<Types>: QueryablePayload<Types>,
      "],["impl<Types: NodeType> StructuralPartialEq for TransactionSummaryQueryData<Types>"],["impl<Types: NodeType> StructuralPartialEq for VidCommonQueryData<Types>"],["impl<Types: NodeType> StructuralPartialEq for BlockDetail<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: NodeType> StructuralPartialEq for BlockRange<Types>"],["impl<Types: NodeType> StructuralPartialEq for BlockSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: NodeType> StructuralPartialEq for GetBlockSummariesRequest<Types>"],["impl<Types: NodeType> StructuralPartialEq for TransactionDetail<Types>"],["impl<Types: NodeType> StructuralPartialEq for TransactionRange<Types>"],["impl<Types: NodeType> StructuralPartialEq for TransactionSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "]] };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 74b94d040..ea57a898c 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 Sync for Error",1,["hotshot_query_service::availability::Error"]],["impl Sync for DataSource",1,["hotshot_query_service::data_source::storage::no_storage::testing::DataSource"]],["impl Sync for Storage",1,["hotshot_query_service::data_source::storage::no_storage::testing::Storage"]],["impl Sync for Error",1,["hotshot_query_service::error::Error"]],["impl Sync for QueryError",1,["hotshot_query_service::QueryError"]],["impl Sync for CurrencyCode",1,["hotshot_query_service::explorer::currency::CurrencyCode"]],["impl Sync for Error",1,["hotshot_query_service::explorer::Error"]],["impl Sync for GetBlockDetailError",1,["hotshot_query_service::explorer::query_data::GetBlockDetailError"]],["impl Sync for GetBlockSummariesError",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesError"]],["impl Sync for GetExplorerSummaryError",1,["hotshot_query_service::explorer::query_data::GetExplorerSummaryError"]],["impl Sync for GetSearchResultsError",1,["hotshot_query_service::explorer::query_data::GetSearchResultsError"]],["impl Sync for GetTransactionDetailError",1,["hotshot_query_service::explorer::query_data::GetTransactionDetailError"]],["impl Sync for GetTransactionSummariesError",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesError"]],["impl Sync for TimestampConversionError",1,["hotshot_query_service::explorer::query_data::TimestampConversionError"]],["impl Sync for TransactionSummaryFilter",1,["hotshot_query_service::explorer::query_data::TransactionSummaryFilter"]],["impl Sync for Error",1,["hotshot_query_service::merklized_state::Error"]],["impl Sync for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl Sync for Error",1,["hotshot_query_service::node::Error"]],["impl Sync for Error",1,["hotshot_query_service::status::Error"]],["impl Sync for Options",1,["hotshot_query_service::availability::Options"]],["impl Sync for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl Sync for NoStorage",1,["hotshot_query_service::data_source::storage::no_storage::NoStorage"]],["impl Sync for PrunerCfg",1,["hotshot_query_service::data_source::storage::pruning::PrunerCfg"]],["impl Sync for Config",1,["hotshot_query_service::data_source::storage::sql::Config"]],["impl Sync for Pruner",1,["hotshot_query_service::data_source::storage::sql::Pruner"]],["impl Sync for SqlStorage",1,["hotshot_query_service::data_source::storage::sql::SqlStorage"]],["impl Sync for TestMerkleTreeMigration",1,["hotshot_query_service::data_source::storage::sql::testing::TestMerkleTreeMigration"]],["impl Sync for TmpDb",1,["hotshot_query_service::data_source::storage::sql::testing::TmpDb"]],["impl Sync for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl Sync for CurrencyMismatchError",1,["hotshot_query_service::explorer::currency::CurrencyMismatchError"]],["impl Sync for ExplorerHistograms",1,["hotshot_query_service::explorer::query_data::ExplorerHistograms"]],["impl Sync for FeeAttribution",1,["hotshot_query_service::explorer::query_data::FeeAttribution"]],["impl Sync for GenesisOverview",1,["hotshot_query_service::explorer::query_data::GenesisOverview"]],["impl Sync for InvalidCurrencyCodeError",1,["hotshot_query_service::explorer::currency::InvalidCurrencyCodeError"]],["impl Sync for MonetaryValue",1,["hotshot_query_service::explorer::monetary_value::MonetaryValue"]],["impl Sync for Timestamp",1,["hotshot_query_service::explorer::query_data::Timestamp"]],["impl Sync for NoFetching",1,["hotshot_query_service::fetching::provider::NoFetching"]],["impl Sync for LeafRequest",1,["hotshot_query_service::fetching::request::LeafRequest"]],["impl Sync for PayloadRequest",1,["hotshot_query_service::fetching::request::PayloadRequest"]],["impl Sync for VidCommonRequest",1,["hotshot_query_service::fetching::request::VidCommonRequest"]],["impl Sync for Options",1,["hotshot_query_service::merklized_state::Options"]],["impl Sync for Counter",1,["hotshot_query_service::metrics::Counter"]],["impl Sync for CounterFamily",1,["hotshot_query_service::metrics::CounterFamily"]],["impl Sync for Gauge",1,["hotshot_query_service::metrics::Gauge"]],["impl Sync for GaugeFamily",1,["hotshot_query_service::metrics::GaugeFamily"]],["impl Sync for Histogram",1,["hotshot_query_service::metrics::Histogram"]],["impl Sync for HistogramFamily",1,["hotshot_query_service::metrics::HistogramFamily"]],["impl Sync for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl Sync for TextFamily",1,["hotshot_query_service::metrics::TextFamily"]],["impl Sync for Options",1,["hotshot_query_service::node::Options"]],["impl Sync for QuerySnafu",1,["hotshot_query_service::node::QuerySnafu"]],["impl Sync for RequestSnafu",1,["hotshot_query_service::node::RequestSnafu"]],["impl Sync for SyncStatus",1,["hotshot_query_service::node::query_data::SyncStatus"]],["impl Sync for Options",1,["hotshot_query_service::status::Options"]],["impl Sync for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl Sync for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl Sync for Options",1,["hotshot_query_service::Options"]],["impl Sync for MockNodeImpl",1,["hotshot_query_service::testing::mocks::MockNodeImpl"]],["impl Sync for MockTypes",1,["hotshot_query_service::testing::mocks::MockTypes"]],["impl<'a> Sync for Transaction<'a>",1,["hotshot_query_service::data_source::storage::sql::Transaction"]],["impl<'a, Types, S> Sync for StorageReadGuard<'a, Types, S>
      where\n S: Sync,
      ",1,["hotshot_query_service::data_source::fetching::StorageReadGuard"]],["impl<'a, Types, S> Sync for StorageWriteGuard<'a, Types, S>
      where\n S: Sync,
      ",1,["hotshot_query_service::data_source::fetching::StorageWriteGuard"]],["impl<D> Sync for MockNetwork<D>",1,["hotshot_query_service::testing::consensus::MockNetwork"]],["impl<D, U> Sync for ExtensibleDataSource<D, U>
      where\n D: Sync,\n U: Sync,
      ",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<P> Sync for TestProvider<P>
      where\n P: Sync + Send,
      ",1,["hotshot_query_service::fetching::provider::testing::TestProvider"]],["impl<T> !Sync for Fetch<T>",1,["hotshot_query_service::availability::fetch::Fetch"]],["impl<T> Sync for TimeWindowQueryData<T>
      where\n T: Sync,
      ",1,["hotshot_query_service::node::query_data::TimeWindowQueryData"]],["impl<T, C> Sync for Fetcher<T, C>
      where\n T: Send,\n C: Send,
      ",1,["hotshot_query_service::fetching::Fetcher"]],["impl<Types> Sync for BlockId<Types>",1,["hotshot_query_service::availability::data_source::BlockId"]],["impl<Types> Sync for LeafId<Types>",1,["hotshot_query_service::availability::data_source::LeafId"]],["impl<Types> Sync for BlockIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::BlockIdentifier"]],["impl<Types> Sync for TransactionIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::TransactionIdentifier"]],["impl<Types> Sync for WindowStart<Types>",1,["hotshot_query_service::node::data_source::WindowStart"]],["impl<Types> Sync for BlockQueryData<Types>",1,["hotshot_query_service::availability::query_data::BlockQueryData"]],["impl<Types> Sync for BlockSummaryQueryData<Types>",1,["hotshot_query_service::availability::query_data::BlockSummaryQueryData"]],["impl<Types> Sync for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> Sync for LeafQueryData<Types>",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> Sync for PayloadQueryData<Types>",1,["hotshot_query_service::availability::query_data::PayloadQueryData"]],["impl<Types> Sync for TransactionQueryData<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized,
      ",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl<Types> Sync for TransactionSummaryQueryData<Types>",1,["hotshot_query_service::availability::query_data::TransactionSummaryQueryData"]],["impl<Types> Sync for VidCommonQueryData<Types>",1,["hotshot_query_service::availability::query_data::VidCommonQueryData"]],["impl<Types> Sync for FileSystemStorage<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized,
      ",1,["hotshot_query_service::data_source::storage::fs::FileSystemStorage"]],["impl<Types> Sync for BlockDetail<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::BlockDetail"]],["impl<Types> Sync for BlockDetailResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::BlockDetailResponse"]],["impl<Types> Sync for BlockRange<Types>",1,["hotshot_query_service::explorer::query_data::BlockRange"]],["impl<Types> Sync for BlockSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::BlockSummary"]],["impl<Types> Sync for BlockSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::BlockSummaryResponse"]],["impl<Types> Sync for ExplorerSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::ExplorerSummary"]],["impl<Types> Sync for ExplorerSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::ExplorerSummaryResponse"]],["impl<Types> Sync for GetBlockSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesRequest"]],["impl<Types> Sync for GetTransactionSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesRequest"]],["impl<Types> Sync for SearchResult<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::SearchResult"]],["impl<Types> Sync for SearchResultResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::SearchResultResponse"]],["impl<Types> Sync for TransactionDetail<Types>",1,["hotshot_query_service::explorer::query_data::TransactionDetail"]],["impl<Types> Sync for TransactionDetailResponse<Types>",1,["hotshot_query_service::explorer::TransactionDetailResponse"]],["impl<Types> Sync for TransactionRange<Types>",1,["hotshot_query_service::explorer::query_data::TransactionRange"]],["impl<Types> Sync for TransactionSummariesResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::TransactionSummariesResponse"]],["impl<Types> Sync for TransactionSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::TransactionSummary"]],["impl<Types> Sync for AnyProvider<Types>",1,["hotshot_query_service::fetching::provider::any::AnyProvider"]],["impl<Types, S, P> Sync for Builder<Types, S, P>
      where\n S: Sync,\n P: Sync,\n Types: Sync,
      ",1,["hotshot_query_service::data_source::fetching::Builder"]],["impl<Types, S, P> Sync for FetchingDataSource<Types, S, P>
      where\n P: Sync + Send,\n S: Sync + Send,
      ",1,["hotshot_query_service::data_source::fetching::FetchingDataSource"]],["impl<Types, S, P> Sync for Pruner<Types, S, P>
      where\n S: Sync,\n P: Sync,
      ",1,["hotshot_query_service::data_source::fetching::Pruner"]],["impl<Types, T, const ARITY: usize> Sync for Snapshot<Types, T, ARITY>",1,["hotshot_query_service::merklized_state::data_source::Snapshot"]],["impl<Ver> Sync for QueryServiceProvider<Ver>",1,["hotshot_query_service::fetching::provider::query_service::QueryServiceProvider"]],["impl<__T0> Sync for FetchBlockSnafu<__T0>
      where\n __T0: Sync,
      ",1,["hotshot_query_service::availability::FetchBlockSnafu"]],["impl<__T0> Sync for FetchLeafSnafu<__T0>
      where\n __T0: Sync,
      ",1,["hotshot_query_service::availability::FetchLeafSnafu"]],["impl<__T0> Sync for FetchTransactionSnafu<__T0>
      where\n __T0: Sync,
      ",1,["hotshot_query_service::availability::FetchTransactionSnafu"]],["impl<__T0> Sync for QueryVidSnafu<__T0>
      where\n __T0: Sync,
      ",1,["hotshot_query_service::node::QueryVidSnafu"]],["impl<__T0> Sync for ErrorSnafu<__T0>
      where\n __T0: Sync,
      ",1,["hotshot_query_service::ErrorSnafu"]],["impl<__T0, __T1> Sync for CustomSnafu<__T0, __T1>
      where\n __T0: Sync,\n __T1: Sync,
      ",1,["hotshot_query_service::availability::CustomSnafu"]],["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 CustomSnafu<__T0, __T1>
      where\n __T0: Sync,\n __T1: Sync,
      ",1,["hotshot_query_service::node::CustomSnafu"]],["impl<__T0, __T1> Sync for QueryWindowSnafu<__T0, __T1>
      where\n __T0: Sync,\n __T1: Sync,
      ",1,["hotshot_query_service::node::QueryWindowSnafu"]]] +"hotshot_query_service":[["impl Sync for Error",1,["hotshot_query_service::availability::Error"]],["impl Sync for DataSource",1,["hotshot_query_service::data_source::storage::no_storage::testing::DataSource"]],["impl Sync for Storage",1,["hotshot_query_service::data_source::storage::no_storage::testing::Storage"]],["impl Sync for Error",1,["hotshot_query_service::error::Error"]],["impl Sync for QueryError",1,["hotshot_query_service::QueryError"]],["impl Sync for CurrencyCode",1,["hotshot_query_service::explorer::currency::CurrencyCode"]],["impl Sync for Error",1,["hotshot_query_service::explorer::Error"]],["impl Sync for GetBlockDetailError",1,["hotshot_query_service::explorer::query_data::GetBlockDetailError"]],["impl Sync for GetBlockSummariesError",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesError"]],["impl Sync for GetExplorerSummaryError",1,["hotshot_query_service::explorer::query_data::GetExplorerSummaryError"]],["impl Sync for GetSearchResultsError",1,["hotshot_query_service::explorer::query_data::GetSearchResultsError"]],["impl Sync for GetTransactionDetailError",1,["hotshot_query_service::explorer::query_data::GetTransactionDetailError"]],["impl Sync for GetTransactionSummariesError",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesError"]],["impl Sync for TimestampConversionError",1,["hotshot_query_service::explorer::query_data::TimestampConversionError"]],["impl Sync for TransactionSummaryFilter",1,["hotshot_query_service::explorer::query_data::TransactionSummaryFilter"]],["impl Sync for Error",1,["hotshot_query_service::merklized_state::Error"]],["impl Sync for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl Sync for Error",1,["hotshot_query_service::node::Error"]],["impl Sync for Error",1,["hotshot_query_service::status::Error"]],["impl Sync for Options",1,["hotshot_query_service::availability::Options"]],["impl Sync for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl Sync for NoStorage",1,["hotshot_query_service::data_source::storage::no_storage::NoStorage"]],["impl Sync for PrunerCfg",1,["hotshot_query_service::data_source::storage::pruning::PrunerCfg"]],["impl Sync for Config",1,["hotshot_query_service::data_source::storage::sql::Config"]],["impl Sync for Pruner",1,["hotshot_query_service::data_source::storage::sql::Pruner"]],["impl Sync for SqlStorage",1,["hotshot_query_service::data_source::storage::sql::SqlStorage"]],["impl Sync for TestMerkleTreeMigration",1,["hotshot_query_service::data_source::storage::sql::testing::TestMerkleTreeMigration"]],["impl Sync for TmpDb",1,["hotshot_query_service::data_source::storage::sql::testing::TmpDb"]],["impl Sync for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl Sync for CurrencyMismatchError",1,["hotshot_query_service::explorer::currency::CurrencyMismatchError"]],["impl Sync for ExplorerHistograms",1,["hotshot_query_service::explorer::query_data::ExplorerHistograms"]],["impl Sync for FeeAttribution",1,["hotshot_query_service::explorer::query_data::FeeAttribution"]],["impl Sync for GenesisOverview",1,["hotshot_query_service::explorer::query_data::GenesisOverview"]],["impl Sync for InvalidCurrencyCodeError",1,["hotshot_query_service::explorer::currency::InvalidCurrencyCodeError"]],["impl Sync for MonetaryValue",1,["hotshot_query_service::explorer::monetary_value::MonetaryValue"]],["impl Sync for Timestamp",1,["hotshot_query_service::explorer::query_data::Timestamp"]],["impl Sync for NoFetching",1,["hotshot_query_service::fetching::provider::NoFetching"]],["impl Sync for LeafRequest",1,["hotshot_query_service::fetching::request::LeafRequest"]],["impl Sync for PayloadRequest",1,["hotshot_query_service::fetching::request::PayloadRequest"]],["impl Sync for VidCommonRequest",1,["hotshot_query_service::fetching::request::VidCommonRequest"]],["impl Sync for Options",1,["hotshot_query_service::merklized_state::Options"]],["impl Sync for Counter",1,["hotshot_query_service::metrics::Counter"]],["impl Sync for CounterFamily",1,["hotshot_query_service::metrics::CounterFamily"]],["impl Sync for Gauge",1,["hotshot_query_service::metrics::Gauge"]],["impl Sync for GaugeFamily",1,["hotshot_query_service::metrics::GaugeFamily"]],["impl Sync for Histogram",1,["hotshot_query_service::metrics::Histogram"]],["impl Sync for HistogramFamily",1,["hotshot_query_service::metrics::HistogramFamily"]],["impl Sync for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl Sync for TextFamily",1,["hotshot_query_service::metrics::TextFamily"]],["impl Sync for Options",1,["hotshot_query_service::node::Options"]],["impl Sync for QuerySnafu",1,["hotshot_query_service::node::QuerySnafu"]],["impl Sync for RequestSnafu",1,["hotshot_query_service::node::RequestSnafu"]],["impl Sync for SyncStatus",1,["hotshot_query_service::node::query_data::SyncStatus"]],["impl Sync for Options",1,["hotshot_query_service::status::Options"]],["impl Sync for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl Sync for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl Sync for Options",1,["hotshot_query_service::Options"]],["impl Sync for MockNodeImpl",1,["hotshot_query_service::testing::mocks::MockNodeImpl"]],["impl Sync for MockTypes",1,["hotshot_query_service::testing::mocks::MockTypes"]],["impl<'a> Sync for Transaction<'a>",1,["hotshot_query_service::data_source::storage::sql::Transaction"]],["impl<'a, Types, S> Sync for StorageReadGuard<'a, Types, S>
      where\n S: Sync,
      ",1,["hotshot_query_service::data_source::fetching::StorageReadGuard"]],["impl<'a, Types, S> Sync for StorageWriteGuard<'a, Types, S>
      where\n S: Sync,
      ",1,["hotshot_query_service::data_source::fetching::StorageWriteGuard"]],["impl<D> Sync for MockNetwork<D>",1,["hotshot_query_service::testing::consensus::MockNetwork"]],["impl<D, U> Sync for ExtensibleDataSource<D, U>
      where\n D: Sync,\n U: Sync,
      ",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<P> Sync for TestProvider<P>
      where\n P: Sync + Send,
      ",1,["hotshot_query_service::fetching::provider::testing::TestProvider"]],["impl<T> !Sync for Fetch<T>",1,["hotshot_query_service::availability::fetch::Fetch"]],["impl<T> Sync for TimeWindowQueryData<T>
      where\n T: Sync,
      ",1,["hotshot_query_service::node::query_data::TimeWindowQueryData"]],["impl<T, C> Sync for Fetcher<T, C>
      where\n T: Send,\n C: Send,
      ",1,["hotshot_query_service::fetching::Fetcher"]],["impl<Types> Sync for BlockId<Types>",1,["hotshot_query_service::availability::data_source::BlockId"]],["impl<Types> Sync for LeafId<Types>",1,["hotshot_query_service::availability::data_source::LeafId"]],["impl<Types> Sync for BlockIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::BlockIdentifier"]],["impl<Types> Sync for TransactionIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::TransactionIdentifier"]],["impl<Types> Sync for WindowStart<Types>",1,["hotshot_query_service::node::data_source::WindowStart"]],["impl<Types> Sync for BlockQueryData<Types>",1,["hotshot_query_service::availability::query_data::BlockQueryData"]],["impl<Types> Sync for BlockSummaryQueryData<Types>",1,["hotshot_query_service::availability::query_data::BlockSummaryQueryData"]],["impl<Types> Sync for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> Sync for LeafQueryData<Types>",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> Sync for PayloadQueryData<Types>",1,["hotshot_query_service::availability::query_data::PayloadQueryData"]],["impl<Types> Sync for TransactionQueryData<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized,
      ",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl<Types> Sync for TransactionSummaryQueryData<Types>",1,["hotshot_query_service::availability::query_data::TransactionSummaryQueryData"]],["impl<Types> Sync for VidCommonQueryData<Types>",1,["hotshot_query_service::availability::query_data::VidCommonQueryData"]],["impl<Types> Sync for FileSystemStorage<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized,
      ",1,["hotshot_query_service::data_source::storage::fs::FileSystemStorage"]],["impl<Types> Sync for BlockDetail<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::BlockDetail"]],["impl<Types> Sync for BlockDetailResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::BlockDetailResponse"]],["impl<Types> Sync for BlockRange<Types>",1,["hotshot_query_service::explorer::query_data::BlockRange"]],["impl<Types> Sync for BlockSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::BlockSummary"]],["impl<Types> Sync for BlockSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::BlockSummaryResponse"]],["impl<Types> Sync for ExplorerSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::ExplorerSummary"]],["impl<Types> Sync for ExplorerSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::ExplorerSummaryResponse"]],["impl<Types> Sync for GetBlockSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesRequest"]],["impl<Types> Sync for GetTransactionSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesRequest"]],["impl<Types> Sync for SearchResult<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::SearchResult"]],["impl<Types> Sync for SearchResultResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::SearchResultResponse"]],["impl<Types> Sync for TransactionDetail<Types>",1,["hotshot_query_service::explorer::query_data::TransactionDetail"]],["impl<Types> Sync for TransactionDetailResponse<Types>",1,["hotshot_query_service::explorer::TransactionDetailResponse"]],["impl<Types> Sync for TransactionRange<Types>",1,["hotshot_query_service::explorer::query_data::TransactionRange"]],["impl<Types> Sync for TransactionSummariesResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::TransactionSummariesResponse"]],["impl<Types> Sync for TransactionSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,
      ",1,["hotshot_query_service::explorer::query_data::TransactionSummary"]],["impl<Types> Sync for AnyProvider<Types>",1,["hotshot_query_service::fetching::provider::any::AnyProvider"]],["impl<Types, S, P> Sync for Builder<Types, S, P>
      where\n S: Sync,\n P: Sync,\n Types: Sync,
      ",1,["hotshot_query_service::data_source::fetching::Builder"]],["impl<Types, S, P> Sync for FetchingDataSource<Types, S, P>
      where\n P: Sync + Send,\n S: Sync + Send,
      ",1,["hotshot_query_service::data_source::fetching::FetchingDataSource"]],["impl<Types, S, P> Sync for Pruner<Types, S, P>
      where\n S: Sync,\n P: Sync,
      ",1,["hotshot_query_service::data_source::fetching::Pruner"]],["impl<Types, T, const ARITY: usize> Sync for Snapshot<Types, T, ARITY>",1,["hotshot_query_service::merklized_state::data_source::Snapshot"]],["impl<Ver> Sync for QueryServiceProvider<Ver>",1,["hotshot_query_service::fetching::provider::query_service::QueryServiceProvider"]],["impl<__T0> Sync for FetchBlockSnafu<__T0>
      where\n __T0: Sync,
      ",1,["hotshot_query_service::availability::FetchBlockSnafu"]],["impl<__T0> Sync for FetchLeafSnafu<__T0>
      where\n __T0: Sync,
      ",1,["hotshot_query_service::availability::FetchLeafSnafu"]],["impl<__T0> Sync for FetchTransactionSnafu<__T0>
      where\n __T0: Sync,
      ",1,["hotshot_query_service::availability::FetchTransactionSnafu"]],["impl<__T0> Sync for QueryVidSnafu<__T0>
      where\n __T0: Sync,
      ",1,["hotshot_query_service::node::QueryVidSnafu"]],["impl<__T0> Sync for ErrorSnafu<__T0>
      where\n __T0: Sync,
      ",1,["hotshot_query_service::ErrorSnafu"]],["impl<__T0, __T1> Sync for CustomSnafu<__T0, __T1>
      where\n __T0: Sync,\n __T1: Sync,
      ",1,["hotshot_query_service::availability::CustomSnafu"]],["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 CustomSnafu<__T0, __T1>
      where\n __T0: Sync,\n __T1: Sync,
      ",1,["hotshot_query_service::node::CustomSnafu"]],["impl<__T0, __T1> Sync for QueryWindowSnafu<__T0, __T1>
      where\n __T0: Sync,\n __T1: Sync,
      ",1,["hotshot_query_service::node::QueryWindowSnafu"]]] };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 4be432414..f29c49980 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 Unpin for Error",1,["hotshot_query_service::availability::Error"]],["impl Unpin for DataSource",1,["hotshot_query_service::data_source::storage::no_storage::testing::DataSource"]],["impl Unpin for Storage",1,["hotshot_query_service::data_source::storage::no_storage::testing::Storage"]],["impl Unpin for Error",1,["hotshot_query_service::error::Error"]],["impl Unpin for QueryError",1,["hotshot_query_service::QueryError"]],["impl Unpin for CurrencyCode",1,["hotshot_query_service::explorer::currency::CurrencyCode"]],["impl Unpin for Error",1,["hotshot_query_service::explorer::Error"]],["impl Unpin for GetBlockDetailError",1,["hotshot_query_service::explorer::query_data::GetBlockDetailError"]],["impl Unpin for GetBlockSummariesError",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesError"]],["impl Unpin for GetExplorerSummaryError",1,["hotshot_query_service::explorer::query_data::GetExplorerSummaryError"]],["impl Unpin for GetSearchResultsError",1,["hotshot_query_service::explorer::query_data::GetSearchResultsError"]],["impl Unpin for GetTransactionDetailError",1,["hotshot_query_service::explorer::query_data::GetTransactionDetailError"]],["impl Unpin for GetTransactionSummariesError",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesError"]],["impl Unpin for TimestampConversionError",1,["hotshot_query_service::explorer::query_data::TimestampConversionError"]],["impl Unpin for TransactionSummaryFilter",1,["hotshot_query_service::explorer::query_data::TransactionSummaryFilter"]],["impl Unpin for Error",1,["hotshot_query_service::merklized_state::Error"]],["impl Unpin for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl Unpin for Error",1,["hotshot_query_service::node::Error"]],["impl Unpin for Error",1,["hotshot_query_service::status::Error"]],["impl Unpin for Options",1,["hotshot_query_service::availability::Options"]],["impl Unpin for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl Unpin for NoStorage",1,["hotshot_query_service::data_source::storage::no_storage::NoStorage"]],["impl Unpin for PrunerCfg",1,["hotshot_query_service::data_source::storage::pruning::PrunerCfg"]],["impl Unpin for Config",1,["hotshot_query_service::data_source::storage::sql::Config"]],["impl Unpin for Pruner",1,["hotshot_query_service::data_source::storage::sql::Pruner"]],["impl Unpin for SqlStorage",1,["hotshot_query_service::data_source::storage::sql::SqlStorage"]],["impl Unpin for TestMerkleTreeMigration",1,["hotshot_query_service::data_source::storage::sql::testing::TestMerkleTreeMigration"]],["impl Unpin for TmpDb",1,["hotshot_query_service::data_source::storage::sql::testing::TmpDb"]],["impl Unpin for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl Unpin for CurrencyMismatchError",1,["hotshot_query_service::explorer::currency::CurrencyMismatchError"]],["impl Unpin for ExplorerHistograms",1,["hotshot_query_service::explorer::query_data::ExplorerHistograms"]],["impl Unpin for FeeAttribution",1,["hotshot_query_service::explorer::query_data::FeeAttribution"]],["impl Unpin for GenesisOverview",1,["hotshot_query_service::explorer::query_data::GenesisOverview"]],["impl Unpin for InvalidCurrencyCodeError",1,["hotshot_query_service::explorer::currency::InvalidCurrencyCodeError"]],["impl Unpin for MonetaryValue",1,["hotshot_query_service::explorer::monetary_value::MonetaryValue"]],["impl Unpin for Timestamp",1,["hotshot_query_service::explorer::query_data::Timestamp"]],["impl Unpin for NoFetching",1,["hotshot_query_service::fetching::provider::NoFetching"]],["impl Unpin for LeafRequest",1,["hotshot_query_service::fetching::request::LeafRequest"]],["impl Unpin for PayloadRequest",1,["hotshot_query_service::fetching::request::PayloadRequest"]],["impl Unpin for VidCommonRequest",1,["hotshot_query_service::fetching::request::VidCommonRequest"]],["impl Unpin for Options",1,["hotshot_query_service::merklized_state::Options"]],["impl Unpin for Counter",1,["hotshot_query_service::metrics::Counter"]],["impl Unpin for CounterFamily",1,["hotshot_query_service::metrics::CounterFamily"]],["impl Unpin for Gauge",1,["hotshot_query_service::metrics::Gauge"]],["impl Unpin for GaugeFamily",1,["hotshot_query_service::metrics::GaugeFamily"]],["impl Unpin for Histogram",1,["hotshot_query_service::metrics::Histogram"]],["impl Unpin for HistogramFamily",1,["hotshot_query_service::metrics::HistogramFamily"]],["impl Unpin for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl Unpin for TextFamily",1,["hotshot_query_service::metrics::TextFamily"]],["impl Unpin for Options",1,["hotshot_query_service::node::Options"]],["impl Unpin for QuerySnafu",1,["hotshot_query_service::node::QuerySnafu"]],["impl Unpin for RequestSnafu",1,["hotshot_query_service::node::RequestSnafu"]],["impl Unpin for SyncStatus",1,["hotshot_query_service::node::query_data::SyncStatus"]],["impl Unpin for Options",1,["hotshot_query_service::status::Options"]],["impl Unpin for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl Unpin for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl Unpin for Options",1,["hotshot_query_service::Options"]],["impl Unpin for MockNodeImpl",1,["hotshot_query_service::testing::mocks::MockNodeImpl"]],["impl Unpin for MockTypes",1,["hotshot_query_service::testing::mocks::MockTypes"]],["impl<'a> Unpin for Transaction<'a>",1,["hotshot_query_service::data_source::storage::sql::Transaction"]],["impl<'a, Types, S> Unpin for StorageReadGuard<'a, Types, S>",1,["hotshot_query_service::data_source::fetching::StorageReadGuard"]],["impl<'a, Types, S> Unpin for StorageWriteGuard<'a, Types, S>",1,["hotshot_query_service::data_source::fetching::StorageWriteGuard"]],["impl<D> Unpin for MockNetwork<D>",1,["hotshot_query_service::testing::consensus::MockNetwork"]],["impl<D, U> Unpin for ExtensibleDataSource<D, U>
      where\n D: Unpin,\n U: Unpin,
      ",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<P> Unpin for TestProvider<P>",1,["hotshot_query_service::fetching::provider::testing::TestProvider"]],["impl<T> Unpin for Fetch<T>
      where\n T: Unpin,
      ",1,["hotshot_query_service::availability::fetch::Fetch"]],["impl<T> Unpin for TimeWindowQueryData<T>
      where\n T: Unpin,
      ",1,["hotshot_query_service::node::query_data::TimeWindowQueryData"]],["impl<T, C> Unpin for Fetcher<T, C>",1,["hotshot_query_service::fetching::Fetcher"]],["impl<Types> Unpin for BlockId<Types>",1,["hotshot_query_service::availability::data_source::BlockId"]],["impl<Types> Unpin for LeafId<Types>",1,["hotshot_query_service::availability::data_source::LeafId"]],["impl<Types> Unpin for BlockIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::BlockIdentifier"]],["impl<Types> Unpin for TransactionIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::TransactionIdentifier"]],["impl<Types> Unpin for WindowStart<Types>",1,["hotshot_query_service::node::data_source::WindowStart"]],["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 BlockSummaryQueryData<Types>
      where\n <Types as NodeType>::BlockHeader: Unpin,
      ",1,["hotshot_query_service::availability::query_data::BlockSummaryQueryData"]],["impl<Types> Unpin for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> Unpin for LeafQueryData<Types>
      where\n <Types as NodeType>::Time: Unpin,\n <Types as NodeType>::BlockHeader: Unpin,\n <Types as NodeType>::BlockPayload: Unpin,\n <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: Unpin,\n Types: Unpin,
      ",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> Unpin for PayloadQueryData<Types>
      where\n <Types as NodeType>::BlockPayload: Unpin,
      ",1,["hotshot_query_service::availability::query_data::PayloadQueryData"]],["impl<Types> Unpin for TransactionQueryData<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized,\n <Types as NodeType>::Transaction: Unpin,\n <<Types as NodeType>::BlockPayload as QueryablePayload<Types>>::InclusionProof: Unpin,
      ",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl<Types> Unpin for TransactionSummaryQueryData<Types>
      where\n <Types as NodeType>::BlockHeader: Unpin,\n <Types as NodeType>::Transaction: Unpin,
      ",1,["hotshot_query_service::availability::query_data::TransactionSummaryQueryData"]],["impl<Types> Unpin for VidCommonQueryData<Types>",1,["hotshot_query_service::availability::query_data::VidCommonQueryData"]],["impl<Types> Unpin for FileSystemStorage<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized + Unpin,\n <Types as NodeType>::BlockHeader: Unpin,\n <Types as NodeType>::Time: Unpin,\n <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: Unpin,\n Types: Unpin,
      ",1,["hotshot_query_service::data_source::storage::fs::FileSystemStorage"]],["impl<Types> Unpin for BlockDetail<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Unpin,
      ",1,["hotshot_query_service::explorer::query_data::BlockDetail"]],["impl<Types> Unpin for BlockDetailResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Unpin,
      ",1,["hotshot_query_service::explorer::BlockDetailResponse"]],["impl<Types> Unpin for BlockRange<Types>",1,["hotshot_query_service::explorer::query_data::BlockRange"]],["impl<Types> Unpin for BlockSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin,
      ",1,["hotshot_query_service::explorer::query_data::BlockSummary"]],["impl<Types> Unpin for BlockSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin,
      ",1,["hotshot_query_service::explorer::BlockSummaryResponse"]],["impl<Types> Unpin for ExplorerSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Unpin,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,
      ",1,["hotshot_query_service::explorer::query_data::ExplorerSummary"]],["impl<Types> Unpin for ExplorerSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Unpin,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,
      ",1,["hotshot_query_service::explorer::ExplorerSummaryResponse"]],["impl<Types> Unpin for GetBlockSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesRequest"]],["impl<Types> Unpin for GetTransactionSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesRequest"]],["impl<Types> Unpin for SearchResult<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,
      ",1,["hotshot_query_service::explorer::query_data::SearchResult"]],["impl<Types> Unpin for SearchResultResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,
      ",1,["hotshot_query_service::explorer::SearchResultResponse"]],["impl<Types> Unpin for TransactionDetail<Types>",1,["hotshot_query_service::explorer::query_data::TransactionDetail"]],["impl<Types> Unpin for TransactionDetailResponse<Types>
      where\n <Types as NodeType>::Transaction: Unpin,
      ",1,["hotshot_query_service::explorer::TransactionDetailResponse"]],["impl<Types> Unpin for TransactionRange<Types>",1,["hotshot_query_service::explorer::query_data::TransactionRange"]],["impl<Types> Unpin for TransactionSummariesResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,
      ",1,["hotshot_query_service::explorer::TransactionSummariesResponse"]],["impl<Types> Unpin for TransactionSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,
      ",1,["hotshot_query_service::explorer::query_data::TransactionSummary"]],["impl<Types> Unpin for AnyProvider<Types>",1,["hotshot_query_service::fetching::provider::any::AnyProvider"]],["impl<Types, S, P> Unpin for Builder<Types, S, P>
      where\n S: Unpin,\n P: Unpin,\n Types: Unpin,
      ",1,["hotshot_query_service::data_source::fetching::Builder"]],["impl<Types, S, P> Unpin for FetchingDataSource<Types, S, P>
      where\n Types: Unpin,\n S: Unpin,\n P: Unpin,
      ",1,["hotshot_query_service::data_source::fetching::FetchingDataSource"]],["impl<Types, S, P> Unpin for Pruner<Types, S, P>
      where\n Types: Unpin,\n S: Unpin,\n P: Unpin,
      ",1,["hotshot_query_service::data_source::fetching::Pruner"]],["impl<Types, T, const ARITY: usize> Unpin for Snapshot<Types, T, ARITY>
      where\n <T as MerklizedState<Types, ARITY>>::Commit: Unpin,
      ",1,["hotshot_query_service::merklized_state::data_source::Snapshot"]],["impl<Ver> Unpin for QueryServiceProvider<Ver>",1,["hotshot_query_service::fetching::provider::query_service::QueryServiceProvider"]],["impl<__T0> Unpin for FetchBlockSnafu<__T0>
      where\n __T0: Unpin,
      ",1,["hotshot_query_service::availability::FetchBlockSnafu"]],["impl<__T0> Unpin for FetchLeafSnafu<__T0>
      where\n __T0: Unpin,
      ",1,["hotshot_query_service::availability::FetchLeafSnafu"]],["impl<__T0> Unpin for FetchTransactionSnafu<__T0>
      where\n __T0: Unpin,
      ",1,["hotshot_query_service::availability::FetchTransactionSnafu"]],["impl<__T0> Unpin for QueryVidSnafu<__T0>
      where\n __T0: Unpin,
      ",1,["hotshot_query_service::node::QueryVidSnafu"]],["impl<__T0> Unpin for ErrorSnafu<__T0>
      where\n __T0: Unpin,
      ",1,["hotshot_query_service::ErrorSnafu"]],["impl<__T0, __T1> Unpin for CustomSnafu<__T0, __T1>
      where\n __T0: Unpin,\n __T1: Unpin,
      ",1,["hotshot_query_service::availability::CustomSnafu"]],["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 CustomSnafu<__T0, __T1>
      where\n __T0: Unpin,\n __T1: Unpin,
      ",1,["hotshot_query_service::node::CustomSnafu"]],["impl<__T0, __T1> Unpin for QueryWindowSnafu<__T0, __T1>
      where\n __T0: Unpin,\n __T1: Unpin,
      ",1,["hotshot_query_service::node::QueryWindowSnafu"]]] +"hotshot_query_service":[["impl Unpin for Error",1,["hotshot_query_service::availability::Error"]],["impl Unpin for DataSource",1,["hotshot_query_service::data_source::storage::no_storage::testing::DataSource"]],["impl Unpin for Storage",1,["hotshot_query_service::data_source::storage::no_storage::testing::Storage"]],["impl Unpin for Error",1,["hotshot_query_service::error::Error"]],["impl Unpin for QueryError",1,["hotshot_query_service::QueryError"]],["impl Unpin for CurrencyCode",1,["hotshot_query_service::explorer::currency::CurrencyCode"]],["impl Unpin for Error",1,["hotshot_query_service::explorer::Error"]],["impl Unpin for GetBlockDetailError",1,["hotshot_query_service::explorer::query_data::GetBlockDetailError"]],["impl Unpin for GetBlockSummariesError",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesError"]],["impl Unpin for GetExplorerSummaryError",1,["hotshot_query_service::explorer::query_data::GetExplorerSummaryError"]],["impl Unpin for GetSearchResultsError",1,["hotshot_query_service::explorer::query_data::GetSearchResultsError"]],["impl Unpin for GetTransactionDetailError",1,["hotshot_query_service::explorer::query_data::GetTransactionDetailError"]],["impl Unpin for GetTransactionSummariesError",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesError"]],["impl Unpin for TimestampConversionError",1,["hotshot_query_service::explorer::query_data::TimestampConversionError"]],["impl Unpin for TransactionSummaryFilter",1,["hotshot_query_service::explorer::query_data::TransactionSummaryFilter"]],["impl Unpin for Error",1,["hotshot_query_service::merklized_state::Error"]],["impl Unpin for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl Unpin for Error",1,["hotshot_query_service::node::Error"]],["impl Unpin for Error",1,["hotshot_query_service::status::Error"]],["impl Unpin for Options",1,["hotshot_query_service::availability::Options"]],["impl Unpin for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl Unpin for NoStorage",1,["hotshot_query_service::data_source::storage::no_storage::NoStorage"]],["impl Unpin for PrunerCfg",1,["hotshot_query_service::data_source::storage::pruning::PrunerCfg"]],["impl Unpin for Config",1,["hotshot_query_service::data_source::storage::sql::Config"]],["impl Unpin for Pruner",1,["hotshot_query_service::data_source::storage::sql::Pruner"]],["impl Unpin for SqlStorage",1,["hotshot_query_service::data_source::storage::sql::SqlStorage"]],["impl Unpin for TestMerkleTreeMigration",1,["hotshot_query_service::data_source::storage::sql::testing::TestMerkleTreeMigration"]],["impl Unpin for TmpDb",1,["hotshot_query_service::data_source::storage::sql::testing::TmpDb"]],["impl Unpin for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl Unpin for CurrencyMismatchError",1,["hotshot_query_service::explorer::currency::CurrencyMismatchError"]],["impl Unpin for ExplorerHistograms",1,["hotshot_query_service::explorer::query_data::ExplorerHistograms"]],["impl Unpin for FeeAttribution",1,["hotshot_query_service::explorer::query_data::FeeAttribution"]],["impl Unpin for GenesisOverview",1,["hotshot_query_service::explorer::query_data::GenesisOverview"]],["impl Unpin for InvalidCurrencyCodeError",1,["hotshot_query_service::explorer::currency::InvalidCurrencyCodeError"]],["impl Unpin for MonetaryValue",1,["hotshot_query_service::explorer::monetary_value::MonetaryValue"]],["impl Unpin for Timestamp",1,["hotshot_query_service::explorer::query_data::Timestamp"]],["impl Unpin for NoFetching",1,["hotshot_query_service::fetching::provider::NoFetching"]],["impl Unpin for LeafRequest",1,["hotshot_query_service::fetching::request::LeafRequest"]],["impl Unpin for PayloadRequest",1,["hotshot_query_service::fetching::request::PayloadRequest"]],["impl Unpin for VidCommonRequest",1,["hotshot_query_service::fetching::request::VidCommonRequest"]],["impl Unpin for Options",1,["hotshot_query_service::merklized_state::Options"]],["impl Unpin for Counter",1,["hotshot_query_service::metrics::Counter"]],["impl Unpin for CounterFamily",1,["hotshot_query_service::metrics::CounterFamily"]],["impl Unpin for Gauge",1,["hotshot_query_service::metrics::Gauge"]],["impl Unpin for GaugeFamily",1,["hotshot_query_service::metrics::GaugeFamily"]],["impl Unpin for Histogram",1,["hotshot_query_service::metrics::Histogram"]],["impl Unpin for HistogramFamily",1,["hotshot_query_service::metrics::HistogramFamily"]],["impl Unpin for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl Unpin for TextFamily",1,["hotshot_query_service::metrics::TextFamily"]],["impl Unpin for Options",1,["hotshot_query_service::node::Options"]],["impl Unpin for QuerySnafu",1,["hotshot_query_service::node::QuerySnafu"]],["impl Unpin for RequestSnafu",1,["hotshot_query_service::node::RequestSnafu"]],["impl Unpin for SyncStatus",1,["hotshot_query_service::node::query_data::SyncStatus"]],["impl Unpin for Options",1,["hotshot_query_service::status::Options"]],["impl Unpin for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl Unpin for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl Unpin for Options",1,["hotshot_query_service::Options"]],["impl Unpin for MockNodeImpl",1,["hotshot_query_service::testing::mocks::MockNodeImpl"]],["impl Unpin for MockTypes",1,["hotshot_query_service::testing::mocks::MockTypes"]],["impl<'a> Unpin for Transaction<'a>",1,["hotshot_query_service::data_source::storage::sql::Transaction"]],["impl<'a, Types, S> Unpin for StorageReadGuard<'a, Types, S>",1,["hotshot_query_service::data_source::fetching::StorageReadGuard"]],["impl<'a, Types, S> Unpin for StorageWriteGuard<'a, Types, S>",1,["hotshot_query_service::data_source::fetching::StorageWriteGuard"]],["impl<D> Unpin for MockNetwork<D>",1,["hotshot_query_service::testing::consensus::MockNetwork"]],["impl<D, U> Unpin for ExtensibleDataSource<D, U>
      where\n D: Unpin,\n U: Unpin,
      ",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<P> Unpin for TestProvider<P>",1,["hotshot_query_service::fetching::provider::testing::TestProvider"]],["impl<T> Unpin for Fetch<T>
      where\n T: Unpin,
      ",1,["hotshot_query_service::availability::fetch::Fetch"]],["impl<T> Unpin for TimeWindowQueryData<T>
      where\n T: Unpin,
      ",1,["hotshot_query_service::node::query_data::TimeWindowQueryData"]],["impl<T, C> Unpin for Fetcher<T, C>",1,["hotshot_query_service::fetching::Fetcher"]],["impl<Types> Unpin for BlockId<Types>",1,["hotshot_query_service::availability::data_source::BlockId"]],["impl<Types> Unpin for LeafId<Types>",1,["hotshot_query_service::availability::data_source::LeafId"]],["impl<Types> Unpin for BlockIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::BlockIdentifier"]],["impl<Types> Unpin for TransactionIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::TransactionIdentifier"]],["impl<Types> Unpin for WindowStart<Types>",1,["hotshot_query_service::node::data_source::WindowStart"]],["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 BlockSummaryQueryData<Types>
      where\n <Types as NodeType>::BlockHeader: Unpin,
      ",1,["hotshot_query_service::availability::query_data::BlockSummaryQueryData"]],["impl<Types> Unpin for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> Unpin for LeafQueryData<Types>
      where\n <Types as NodeType>::Time: Unpin,\n <Types as NodeType>::BlockHeader: Unpin,\n <Types as NodeType>::BlockPayload: Unpin,\n <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: Unpin,\n Types: Unpin,
      ",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> Unpin for PayloadQueryData<Types>
      where\n <Types as NodeType>::BlockPayload: Unpin,
      ",1,["hotshot_query_service::availability::query_data::PayloadQueryData"]],["impl<Types> Unpin for TransactionQueryData<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized,\n <Types as NodeType>::Transaction: Unpin,\n <<Types as NodeType>::BlockPayload as QueryablePayload<Types>>::InclusionProof: Unpin,
      ",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl<Types> Unpin for TransactionSummaryQueryData<Types>
      where\n <Types as NodeType>::BlockHeader: Unpin,\n <Types as NodeType>::Transaction: Unpin,
      ",1,["hotshot_query_service::availability::query_data::TransactionSummaryQueryData"]],["impl<Types> Unpin for VidCommonQueryData<Types>",1,["hotshot_query_service::availability::query_data::VidCommonQueryData"]],["impl<Types> Unpin for FileSystemStorage<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized + Unpin,\n <Types as NodeType>::BlockHeader: Unpin,\n <Types as NodeType>::Time: Unpin,\n <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: Unpin,\n Types: Unpin,
      ",1,["hotshot_query_service::data_source::storage::fs::FileSystemStorage"]],["impl<Types> Unpin for BlockDetail<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Unpin,
      ",1,["hotshot_query_service::explorer::query_data::BlockDetail"]],["impl<Types> Unpin for BlockDetailResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Unpin,
      ",1,["hotshot_query_service::explorer::BlockDetailResponse"]],["impl<Types> Unpin for BlockRange<Types>",1,["hotshot_query_service::explorer::query_data::BlockRange"]],["impl<Types> Unpin for BlockSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin,
      ",1,["hotshot_query_service::explorer::query_data::BlockSummary"]],["impl<Types> Unpin for BlockSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin,
      ",1,["hotshot_query_service::explorer::BlockSummaryResponse"]],["impl<Types> Unpin for ExplorerSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Unpin,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,
      ",1,["hotshot_query_service::explorer::query_data::ExplorerSummary"]],["impl<Types> Unpin for ExplorerSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: Unpin,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,
      ",1,["hotshot_query_service::explorer::ExplorerSummaryResponse"]],["impl<Types> Unpin for GetBlockSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesRequest"]],["impl<Types> Unpin for GetTransactionSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesRequest"]],["impl<Types> Unpin for SearchResult<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,
      ",1,["hotshot_query_service::explorer::query_data::SearchResult"]],["impl<Types> Unpin for SearchResultResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: Unpin,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,
      ",1,["hotshot_query_service::explorer::SearchResultResponse"]],["impl<Types> Unpin for TransactionDetail<Types>",1,["hotshot_query_service::explorer::query_data::TransactionDetail"]],["impl<Types> Unpin for TransactionDetailResponse<Types>
      where\n <Types as NodeType>::Transaction: Unpin,
      ",1,["hotshot_query_service::explorer::TransactionDetailResponse"]],["impl<Types> Unpin for TransactionRange<Types>",1,["hotshot_query_service::explorer::query_data::TransactionRange"]],["impl<Types> Unpin for TransactionSummariesResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,
      ",1,["hotshot_query_service::explorer::TransactionSummariesResponse"]],["impl<Types> Unpin for TransactionSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: Unpin,
      ",1,["hotshot_query_service::explorer::query_data::TransactionSummary"]],["impl<Types> Unpin for AnyProvider<Types>",1,["hotshot_query_service::fetching::provider::any::AnyProvider"]],["impl<Types, S, P> Unpin for Builder<Types, S, P>
      where\n S: Unpin,\n P: Unpin,\n Types: Unpin,
      ",1,["hotshot_query_service::data_source::fetching::Builder"]],["impl<Types, S, P> Unpin for FetchingDataSource<Types, S, P>
      where\n Types: Unpin,\n S: Unpin,\n P: Unpin,
      ",1,["hotshot_query_service::data_source::fetching::FetchingDataSource"]],["impl<Types, S, P> Unpin for Pruner<Types, S, P>
      where\n Types: Unpin,\n S: Unpin,\n P: Unpin,
      ",1,["hotshot_query_service::data_source::fetching::Pruner"]],["impl<Types, T, const ARITY: usize> Unpin for Snapshot<Types, T, ARITY>
      where\n <T as MerklizedState<Types, ARITY>>::Commit: Unpin,
      ",1,["hotshot_query_service::merklized_state::data_source::Snapshot"]],["impl<Ver> Unpin for QueryServiceProvider<Ver>",1,["hotshot_query_service::fetching::provider::query_service::QueryServiceProvider"]],["impl<__T0> Unpin for FetchBlockSnafu<__T0>
      where\n __T0: Unpin,
      ",1,["hotshot_query_service::availability::FetchBlockSnafu"]],["impl<__T0> Unpin for FetchLeafSnafu<__T0>
      where\n __T0: Unpin,
      ",1,["hotshot_query_service::availability::FetchLeafSnafu"]],["impl<__T0> Unpin for FetchTransactionSnafu<__T0>
      where\n __T0: Unpin,
      ",1,["hotshot_query_service::availability::FetchTransactionSnafu"]],["impl<__T0> Unpin for QueryVidSnafu<__T0>
      where\n __T0: Unpin,
      ",1,["hotshot_query_service::node::QueryVidSnafu"]],["impl<__T0> Unpin for ErrorSnafu<__T0>
      where\n __T0: Unpin,
      ",1,["hotshot_query_service::ErrorSnafu"]],["impl<__T0, __T1> Unpin for CustomSnafu<__T0, __T1>
      where\n __T0: Unpin,\n __T1: Unpin,
      ",1,["hotshot_query_service::availability::CustomSnafu"]],["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 CustomSnafu<__T0, __T1>
      where\n __T0: Unpin,\n __T1: Unpin,
      ",1,["hotshot_query_service::node::CustomSnafu"]],["impl<__T0, __T1> Unpin for QueryWindowSnafu<__T0, __T1>
      where\n __T0: Unpin,\n __T1: Unpin,
      ",1,["hotshot_query_service::node::QueryWindowSnafu"]]] };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/ops/arith/trait.Add.js b/trait.impl/core/ops/arith/trait.Add.js index ba3456d2e..90e5c63d9 100644 --- a/trait.impl/core/ops/arith/trait.Add.js +++ b/trait.impl/core/ops/arith/trait.Add.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"hotshot_query_service":[["impl Add for MonetaryValue"]] +"hotshot_query_service":[["impl Add for MonetaryValue"]] };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/ops/arith/trait.Sub.js b/trait.impl/core/ops/arith/trait.Sub.js index 819e3d504..39fb26782 100644 --- a/trait.impl/core/ops/arith/trait.Sub.js +++ b/trait.impl/core/ops/arith/trait.Sub.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"hotshot_query_service":[["impl Sub for MonetaryValue"]] +"hotshot_query_service":[["impl Sub for MonetaryValue"]] };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/ops/deref/trait.Deref.js b/trait.impl/core/ops/deref/trait.Deref.js index 8a2aecea9..3b7b7a41e 100644 --- a/trait.impl/core/ops/deref/trait.Deref.js +++ b/trait.impl/core/ops/deref/trait.Deref.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"hotshot_query_service":[["impl<'a, Types, S> Deref for StorageReadGuard<'a, Types, S>
      where\n Types: NodeType,
      "],["impl<'a, Types, S> Deref for StorageWriteGuard<'a, Types, S>
      where\n Types: NodeType,
      "]] +"hotshot_query_service":[["impl<'a, Types, S> Deref for StorageReadGuard<'a, Types, S>
      where\n Types: NodeType,
      "],["impl<'a, Types, S> Deref for StorageWriteGuard<'a, Types, S>
      where\n Types: NodeType,
      "]] };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/ops/deref/trait.DerefMut.js b/trait.impl/core/ops/deref/trait.DerefMut.js index 9a03aa8bf..f94d7cb31 100644 --- a/trait.impl/core/ops/deref/trait.DerefMut.js +++ b/trait.impl/core/ops/deref/trait.DerefMut.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"hotshot_query_service":[["impl<'a, Types, S> DerefMut for StorageWriteGuard<'a, Types, S>
      where\n Types: NodeType,
      "]] +"hotshot_query_service":[["impl<'a, Types, S> DerefMut for StorageWriteGuard<'a, Types, S>
      where\n Types: NodeType,
      "]] };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/ops/drop/trait.Drop.js b/trait.impl/core/ops/drop/trait.Drop.js index c8a3d4bdb..380366bf0 100644 --- a/trait.impl/core/ops/drop/trait.Drop.js +++ b/trait.impl/core/ops/drop/trait.Drop.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"hotshot_query_service":[["impl Drop for TmpDb"],["impl<D: DataSourceLifeCycle> Drop for MockNetwork<D>"]] +"hotshot_query_service":[["impl Drop for TmpDb"],["impl<D: DataSourceLifeCycle> Drop for MockNetwork<D>"]] };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 a21651f1a..f94bd3b57 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 !RefUnwindSafe for DataSource",1,["hotshot_query_service::data_source::storage::no_storage::testing::DataSource"]],["impl !RefUnwindSafe for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl !RefUnwindSafe for SqlStorage",1,["hotshot_query_service::data_source::storage::sql::SqlStorage"]],["impl !RefUnwindSafe for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl !RefUnwindSafe for CounterFamily",1,["hotshot_query_service::metrics::CounterFamily"]],["impl !RefUnwindSafe for GaugeFamily",1,["hotshot_query_service::metrics::GaugeFamily"]],["impl !RefUnwindSafe for HistogramFamily",1,["hotshot_query_service::metrics::HistogramFamily"]],["impl !RefUnwindSafe for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl !RefUnwindSafe for TextFamily",1,["hotshot_query_service::metrics::TextFamily"]],["impl RefUnwindSafe for Error",1,["hotshot_query_service::availability::Error"]],["impl RefUnwindSafe for Storage",1,["hotshot_query_service::data_source::storage::no_storage::testing::Storage"]],["impl RefUnwindSafe for Error",1,["hotshot_query_service::error::Error"]],["impl RefUnwindSafe for QueryError",1,["hotshot_query_service::QueryError"]],["impl RefUnwindSafe for CurrencyCode",1,["hotshot_query_service::explorer::currency::CurrencyCode"]],["impl RefUnwindSafe for Error",1,["hotshot_query_service::explorer::Error"]],["impl RefUnwindSafe for GetBlockDetailError",1,["hotshot_query_service::explorer::query_data::GetBlockDetailError"]],["impl RefUnwindSafe for GetBlockSummariesError",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesError"]],["impl RefUnwindSafe for GetExplorerSummaryError",1,["hotshot_query_service::explorer::query_data::GetExplorerSummaryError"]],["impl RefUnwindSafe for GetSearchResultsError",1,["hotshot_query_service::explorer::query_data::GetSearchResultsError"]],["impl RefUnwindSafe for GetTransactionDetailError",1,["hotshot_query_service::explorer::query_data::GetTransactionDetailError"]],["impl RefUnwindSafe for GetTransactionSummariesError",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesError"]],["impl RefUnwindSafe for TimestampConversionError",1,["hotshot_query_service::explorer::query_data::TimestampConversionError"]],["impl RefUnwindSafe for TransactionSummaryFilter",1,["hotshot_query_service::explorer::query_data::TransactionSummaryFilter"]],["impl RefUnwindSafe for Error",1,["hotshot_query_service::merklized_state::Error"]],["impl RefUnwindSafe for Error",1,["hotshot_query_service::node::Error"]],["impl RefUnwindSafe for Error",1,["hotshot_query_service::status::Error"]],["impl RefUnwindSafe for Options",1,["hotshot_query_service::availability::Options"]],["impl RefUnwindSafe for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl RefUnwindSafe for NoStorage",1,["hotshot_query_service::data_source::storage::no_storage::NoStorage"]],["impl RefUnwindSafe for PrunerCfg",1,["hotshot_query_service::data_source::storage::pruning::PrunerCfg"]],["impl RefUnwindSafe for Config",1,["hotshot_query_service::data_source::storage::sql::Config"]],["impl RefUnwindSafe for Pruner",1,["hotshot_query_service::data_source::storage::sql::Pruner"]],["impl RefUnwindSafe for TestMerkleTreeMigration",1,["hotshot_query_service::data_source::storage::sql::testing::TestMerkleTreeMigration"]],["impl RefUnwindSafe for TmpDb",1,["hotshot_query_service::data_source::storage::sql::testing::TmpDb"]],["impl RefUnwindSafe for CurrencyMismatchError",1,["hotshot_query_service::explorer::currency::CurrencyMismatchError"]],["impl RefUnwindSafe for ExplorerHistograms",1,["hotshot_query_service::explorer::query_data::ExplorerHistograms"]],["impl RefUnwindSafe for FeeAttribution",1,["hotshot_query_service::explorer::query_data::FeeAttribution"]],["impl RefUnwindSafe for GenesisOverview",1,["hotshot_query_service::explorer::query_data::GenesisOverview"]],["impl RefUnwindSafe for InvalidCurrencyCodeError",1,["hotshot_query_service::explorer::currency::InvalidCurrencyCodeError"]],["impl RefUnwindSafe for MonetaryValue",1,["hotshot_query_service::explorer::monetary_value::MonetaryValue"]],["impl RefUnwindSafe for Timestamp",1,["hotshot_query_service::explorer::query_data::Timestamp"]],["impl RefUnwindSafe for NoFetching",1,["hotshot_query_service::fetching::provider::NoFetching"]],["impl RefUnwindSafe for LeafRequest",1,["hotshot_query_service::fetching::request::LeafRequest"]],["impl RefUnwindSafe for PayloadRequest",1,["hotshot_query_service::fetching::request::PayloadRequest"]],["impl RefUnwindSafe for VidCommonRequest",1,["hotshot_query_service::fetching::request::VidCommonRequest"]],["impl RefUnwindSafe for Options",1,["hotshot_query_service::merklized_state::Options"]],["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 Options",1,["hotshot_query_service::node::Options"]],["impl RefUnwindSafe for QuerySnafu",1,["hotshot_query_service::node::QuerySnafu"]],["impl RefUnwindSafe for RequestSnafu",1,["hotshot_query_service::node::RequestSnafu"]],["impl RefUnwindSafe for SyncStatus",1,["hotshot_query_service::node::query_data::SyncStatus"]],["impl RefUnwindSafe for Options",1,["hotshot_query_service::status::Options"]],["impl RefUnwindSafe for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl RefUnwindSafe for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl RefUnwindSafe for Options",1,["hotshot_query_service::Options"]],["impl RefUnwindSafe for MockNodeImpl",1,["hotshot_query_service::testing::mocks::MockNodeImpl"]],["impl RefUnwindSafe for MockTypes",1,["hotshot_query_service::testing::mocks::MockTypes"]],["impl<'a> !RefUnwindSafe for Transaction<'a>",1,["hotshot_query_service::data_source::storage::sql::Transaction"]],["impl<'a, Types, S> !RefUnwindSafe for StorageReadGuard<'a, Types, S>",1,["hotshot_query_service::data_source::fetching::StorageReadGuard"]],["impl<'a, Types, S> !RefUnwindSafe for StorageWriteGuard<'a, Types, S>",1,["hotshot_query_service::data_source::fetching::StorageWriteGuard"]],["impl<D> !RefUnwindSafe for MockNetwork<D>",1,["hotshot_query_service::testing::consensus::MockNetwork"]],["impl<D, U> RefUnwindSafe for ExtensibleDataSource<D, U>
      where\n D: RefUnwindSafe,\n U: RefUnwindSafe,
      ",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<P> !RefUnwindSafe for TestProvider<P>",1,["hotshot_query_service::fetching::provider::testing::TestProvider"]],["impl<T> !RefUnwindSafe for Fetch<T>",1,["hotshot_query_service::availability::fetch::Fetch"]],["impl<T> RefUnwindSafe for TimeWindowQueryData<T>
      where\n T: RefUnwindSafe,
      ",1,["hotshot_query_service::node::query_data::TimeWindowQueryData"]],["impl<T, C> !RefUnwindSafe for Fetcher<T, C>",1,["hotshot_query_service::fetching::Fetcher"]],["impl<Types> !RefUnwindSafe for AnyProvider<Types>",1,["hotshot_query_service::fetching::provider::any::AnyProvider"]],["impl<Types> RefUnwindSafe for BlockId<Types>",1,["hotshot_query_service::availability::data_source::BlockId"]],["impl<Types> RefUnwindSafe for LeafId<Types>",1,["hotshot_query_service::availability::data_source::LeafId"]],["impl<Types> RefUnwindSafe for BlockIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::BlockIdentifier"]],["impl<Types> RefUnwindSafe for TransactionIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::TransactionIdentifier"]],["impl<Types> RefUnwindSafe for WindowStart<Types>",1,["hotshot_query_service::node::data_source::WindowStart"]],["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 BlockSummaryQueryData<Types>
      where\n <Types as NodeType>::BlockHeader: RefUnwindSafe,
      ",1,["hotshot_query_service::availability::query_data::BlockSummaryQueryData"]],["impl<Types> RefUnwindSafe for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> RefUnwindSafe for LeafQueryData<Types>
      where\n <Types as NodeType>::Time: RefUnwindSafe,\n <Types as NodeType>::BlockHeader: RefUnwindSafe,\n <Types as NodeType>::BlockPayload: RefUnwindSafe,\n <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: RefUnwindSafe,\n Types: RefUnwindSafe,
      ",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> RefUnwindSafe for PayloadQueryData<Types>
      where\n <Types as NodeType>::BlockPayload: RefUnwindSafe,
      ",1,["hotshot_query_service::availability::query_data::PayloadQueryData"]],["impl<Types> RefUnwindSafe for TransactionQueryData<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized,\n <Types as NodeType>::Transaction: RefUnwindSafe,\n <<Types as NodeType>::BlockPayload as QueryablePayload<Types>>::InclusionProof: RefUnwindSafe,
      ",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl<Types> RefUnwindSafe for TransactionSummaryQueryData<Types>
      where\n <Types as NodeType>::BlockHeader: RefUnwindSafe,\n <Types as NodeType>::Transaction: RefUnwindSafe,
      ",1,["hotshot_query_service::availability::query_data::TransactionSummaryQueryData"]],["impl<Types> RefUnwindSafe for VidCommonQueryData<Types>",1,["hotshot_query_service::availability::query_data::VidCommonQueryData"]],["impl<Types> RefUnwindSafe for FileSystemStorage<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized + RefUnwindSafe,\n <Types as NodeType>::BlockHeader: RefUnwindSafe,\n <Types as NodeType>::Time: RefUnwindSafe,\n <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: RefUnwindSafe,\n Types: RefUnwindSafe,
      ",1,["hotshot_query_service::data_source::storage::fs::FileSystemStorage"]],["impl<Types> RefUnwindSafe for BlockDetail<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::query_data::BlockDetail"]],["impl<Types> RefUnwindSafe for BlockDetailResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::BlockDetailResponse"]],["impl<Types> RefUnwindSafe for BlockRange<Types>",1,["hotshot_query_service::explorer::query_data::BlockRange"]],["impl<Types> RefUnwindSafe for BlockSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::query_data::BlockSummary"]],["impl<Types> RefUnwindSafe for BlockSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::BlockSummaryResponse"]],["impl<Types> RefUnwindSafe for ExplorerSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: RefUnwindSafe,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::query_data::ExplorerSummary"]],["impl<Types> RefUnwindSafe for ExplorerSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: RefUnwindSafe,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::ExplorerSummaryResponse"]],["impl<Types> RefUnwindSafe for GetBlockSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesRequest"]],["impl<Types> RefUnwindSafe for GetTransactionSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesRequest"]],["impl<Types> RefUnwindSafe for SearchResult<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::query_data::SearchResult"]],["impl<Types> RefUnwindSafe for SearchResultResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::SearchResultResponse"]],["impl<Types> RefUnwindSafe for TransactionDetail<Types>",1,["hotshot_query_service::explorer::query_data::TransactionDetail"]],["impl<Types> RefUnwindSafe for TransactionDetailResponse<Types>
      where\n <Types as NodeType>::Transaction: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::TransactionDetailResponse"]],["impl<Types> RefUnwindSafe for TransactionRange<Types>",1,["hotshot_query_service::explorer::query_data::TransactionRange"]],["impl<Types> RefUnwindSafe for TransactionSummariesResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::TransactionSummariesResponse"]],["impl<Types> RefUnwindSafe for TransactionSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::query_data::TransactionSummary"]],["impl<Types, S, P> !RefUnwindSafe for FetchingDataSource<Types, S, P>",1,["hotshot_query_service::data_source::fetching::FetchingDataSource"]],["impl<Types, S, P> RefUnwindSafe for Builder<Types, S, P>
      where\n S: RefUnwindSafe,\n P: RefUnwindSafe,\n Types: RefUnwindSafe,
      ",1,["hotshot_query_service::data_source::fetching::Builder"]],["impl<Types, S, P> RefUnwindSafe for Pruner<Types, S, P>
      where\n Types: RefUnwindSafe,\n S: RefUnwindSafe,\n P: RefUnwindSafe,
      ",1,["hotshot_query_service::data_source::fetching::Pruner"]],["impl<Types, T, const ARITY: usize> RefUnwindSafe for Snapshot<Types, T, ARITY>
      where\n <T as MerklizedState<Types, ARITY>>::Commit: RefUnwindSafe,
      ",1,["hotshot_query_service::merklized_state::data_source::Snapshot"]],["impl<Ver> !RefUnwindSafe for QueryServiceProvider<Ver>",1,["hotshot_query_service::fetching::provider::query_service::QueryServiceProvider"]],["impl<__T0> RefUnwindSafe for FetchBlockSnafu<__T0>
      where\n __T0: RefUnwindSafe,
      ",1,["hotshot_query_service::availability::FetchBlockSnafu"]],["impl<__T0> RefUnwindSafe for FetchLeafSnafu<__T0>
      where\n __T0: RefUnwindSafe,
      ",1,["hotshot_query_service::availability::FetchLeafSnafu"]],["impl<__T0> RefUnwindSafe for FetchTransactionSnafu<__T0>
      where\n __T0: RefUnwindSafe,
      ",1,["hotshot_query_service::availability::FetchTransactionSnafu"]],["impl<__T0> RefUnwindSafe for QueryVidSnafu<__T0>
      where\n __T0: RefUnwindSafe,
      ",1,["hotshot_query_service::node::QueryVidSnafu"]],["impl<__T0> RefUnwindSafe for ErrorSnafu<__T0>
      where\n __T0: RefUnwindSafe,
      ",1,["hotshot_query_service::ErrorSnafu"]],["impl<__T0, __T1> RefUnwindSafe for CustomSnafu<__T0, __T1>
      where\n __T0: RefUnwindSafe,\n __T1: RefUnwindSafe,
      ",1,["hotshot_query_service::availability::CustomSnafu"]],["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 CustomSnafu<__T0, __T1>
      where\n __T0: RefUnwindSafe,\n __T1: RefUnwindSafe,
      ",1,["hotshot_query_service::node::CustomSnafu"]],["impl<__T0, __T1> RefUnwindSafe for QueryWindowSnafu<__T0, __T1>
      where\n __T0: RefUnwindSafe,\n __T1: RefUnwindSafe,
      ",1,["hotshot_query_service::node::QueryWindowSnafu"]]] +"hotshot_query_service":[["impl !RefUnwindSafe for DataSource",1,["hotshot_query_service::data_source::storage::no_storage::testing::DataSource"]],["impl !RefUnwindSafe for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl !RefUnwindSafe for SqlStorage",1,["hotshot_query_service::data_source::storage::sql::SqlStorage"]],["impl !RefUnwindSafe for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl !RefUnwindSafe for CounterFamily",1,["hotshot_query_service::metrics::CounterFamily"]],["impl !RefUnwindSafe for GaugeFamily",1,["hotshot_query_service::metrics::GaugeFamily"]],["impl !RefUnwindSafe for HistogramFamily",1,["hotshot_query_service::metrics::HistogramFamily"]],["impl !RefUnwindSafe for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl !RefUnwindSafe for TextFamily",1,["hotshot_query_service::metrics::TextFamily"]],["impl RefUnwindSafe for Error",1,["hotshot_query_service::availability::Error"]],["impl RefUnwindSafe for Storage",1,["hotshot_query_service::data_source::storage::no_storage::testing::Storage"]],["impl RefUnwindSafe for Error",1,["hotshot_query_service::error::Error"]],["impl RefUnwindSafe for QueryError",1,["hotshot_query_service::QueryError"]],["impl RefUnwindSafe for CurrencyCode",1,["hotshot_query_service::explorer::currency::CurrencyCode"]],["impl RefUnwindSafe for Error",1,["hotshot_query_service::explorer::Error"]],["impl RefUnwindSafe for GetBlockDetailError",1,["hotshot_query_service::explorer::query_data::GetBlockDetailError"]],["impl RefUnwindSafe for GetBlockSummariesError",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesError"]],["impl RefUnwindSafe for GetExplorerSummaryError",1,["hotshot_query_service::explorer::query_data::GetExplorerSummaryError"]],["impl RefUnwindSafe for GetSearchResultsError",1,["hotshot_query_service::explorer::query_data::GetSearchResultsError"]],["impl RefUnwindSafe for GetTransactionDetailError",1,["hotshot_query_service::explorer::query_data::GetTransactionDetailError"]],["impl RefUnwindSafe for GetTransactionSummariesError",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesError"]],["impl RefUnwindSafe for TimestampConversionError",1,["hotshot_query_service::explorer::query_data::TimestampConversionError"]],["impl RefUnwindSafe for TransactionSummaryFilter",1,["hotshot_query_service::explorer::query_data::TransactionSummaryFilter"]],["impl RefUnwindSafe for Error",1,["hotshot_query_service::merklized_state::Error"]],["impl RefUnwindSafe for Error",1,["hotshot_query_service::node::Error"]],["impl RefUnwindSafe for Error",1,["hotshot_query_service::status::Error"]],["impl RefUnwindSafe for Options",1,["hotshot_query_service::availability::Options"]],["impl RefUnwindSafe for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl RefUnwindSafe for NoStorage",1,["hotshot_query_service::data_source::storage::no_storage::NoStorage"]],["impl RefUnwindSafe for PrunerCfg",1,["hotshot_query_service::data_source::storage::pruning::PrunerCfg"]],["impl RefUnwindSafe for Config",1,["hotshot_query_service::data_source::storage::sql::Config"]],["impl RefUnwindSafe for Pruner",1,["hotshot_query_service::data_source::storage::sql::Pruner"]],["impl RefUnwindSafe for TestMerkleTreeMigration",1,["hotshot_query_service::data_source::storage::sql::testing::TestMerkleTreeMigration"]],["impl RefUnwindSafe for TmpDb",1,["hotshot_query_service::data_source::storage::sql::testing::TmpDb"]],["impl RefUnwindSafe for CurrencyMismatchError",1,["hotshot_query_service::explorer::currency::CurrencyMismatchError"]],["impl RefUnwindSafe for ExplorerHistograms",1,["hotshot_query_service::explorer::query_data::ExplorerHistograms"]],["impl RefUnwindSafe for FeeAttribution",1,["hotshot_query_service::explorer::query_data::FeeAttribution"]],["impl RefUnwindSafe for GenesisOverview",1,["hotshot_query_service::explorer::query_data::GenesisOverview"]],["impl RefUnwindSafe for InvalidCurrencyCodeError",1,["hotshot_query_service::explorer::currency::InvalidCurrencyCodeError"]],["impl RefUnwindSafe for MonetaryValue",1,["hotshot_query_service::explorer::monetary_value::MonetaryValue"]],["impl RefUnwindSafe for Timestamp",1,["hotshot_query_service::explorer::query_data::Timestamp"]],["impl RefUnwindSafe for NoFetching",1,["hotshot_query_service::fetching::provider::NoFetching"]],["impl RefUnwindSafe for LeafRequest",1,["hotshot_query_service::fetching::request::LeafRequest"]],["impl RefUnwindSafe for PayloadRequest",1,["hotshot_query_service::fetching::request::PayloadRequest"]],["impl RefUnwindSafe for VidCommonRequest",1,["hotshot_query_service::fetching::request::VidCommonRequest"]],["impl RefUnwindSafe for Options",1,["hotshot_query_service::merklized_state::Options"]],["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 Options",1,["hotshot_query_service::node::Options"]],["impl RefUnwindSafe for QuerySnafu",1,["hotshot_query_service::node::QuerySnafu"]],["impl RefUnwindSafe for RequestSnafu",1,["hotshot_query_service::node::RequestSnafu"]],["impl RefUnwindSafe for SyncStatus",1,["hotshot_query_service::node::query_data::SyncStatus"]],["impl RefUnwindSafe for Options",1,["hotshot_query_service::status::Options"]],["impl RefUnwindSafe for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl RefUnwindSafe for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl RefUnwindSafe for Options",1,["hotshot_query_service::Options"]],["impl RefUnwindSafe for MockNodeImpl",1,["hotshot_query_service::testing::mocks::MockNodeImpl"]],["impl RefUnwindSafe for MockTypes",1,["hotshot_query_service::testing::mocks::MockTypes"]],["impl<'a> !RefUnwindSafe for Transaction<'a>",1,["hotshot_query_service::data_source::storage::sql::Transaction"]],["impl<'a, Types, S> !RefUnwindSafe for StorageReadGuard<'a, Types, S>",1,["hotshot_query_service::data_source::fetching::StorageReadGuard"]],["impl<'a, Types, S> !RefUnwindSafe for StorageWriteGuard<'a, Types, S>",1,["hotshot_query_service::data_source::fetching::StorageWriteGuard"]],["impl<D> !RefUnwindSafe for MockNetwork<D>",1,["hotshot_query_service::testing::consensus::MockNetwork"]],["impl<D, U> RefUnwindSafe for ExtensibleDataSource<D, U>
      where\n D: RefUnwindSafe,\n U: RefUnwindSafe,
      ",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<P> !RefUnwindSafe for TestProvider<P>",1,["hotshot_query_service::fetching::provider::testing::TestProvider"]],["impl<T> !RefUnwindSafe for Fetch<T>",1,["hotshot_query_service::availability::fetch::Fetch"]],["impl<T> RefUnwindSafe for TimeWindowQueryData<T>
      where\n T: RefUnwindSafe,
      ",1,["hotshot_query_service::node::query_data::TimeWindowQueryData"]],["impl<T, C> !RefUnwindSafe for Fetcher<T, C>",1,["hotshot_query_service::fetching::Fetcher"]],["impl<Types> !RefUnwindSafe for AnyProvider<Types>",1,["hotshot_query_service::fetching::provider::any::AnyProvider"]],["impl<Types> RefUnwindSafe for BlockId<Types>",1,["hotshot_query_service::availability::data_source::BlockId"]],["impl<Types> RefUnwindSafe for LeafId<Types>",1,["hotshot_query_service::availability::data_source::LeafId"]],["impl<Types> RefUnwindSafe for BlockIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::BlockIdentifier"]],["impl<Types> RefUnwindSafe for TransactionIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::TransactionIdentifier"]],["impl<Types> RefUnwindSafe for WindowStart<Types>",1,["hotshot_query_service::node::data_source::WindowStart"]],["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 BlockSummaryQueryData<Types>
      where\n <Types as NodeType>::BlockHeader: RefUnwindSafe,
      ",1,["hotshot_query_service::availability::query_data::BlockSummaryQueryData"]],["impl<Types> RefUnwindSafe for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> RefUnwindSafe for LeafQueryData<Types>
      where\n <Types as NodeType>::Time: RefUnwindSafe,\n <Types as NodeType>::BlockHeader: RefUnwindSafe,\n <Types as NodeType>::BlockPayload: RefUnwindSafe,\n <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: RefUnwindSafe,\n Types: RefUnwindSafe,
      ",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> RefUnwindSafe for PayloadQueryData<Types>
      where\n <Types as NodeType>::BlockPayload: RefUnwindSafe,
      ",1,["hotshot_query_service::availability::query_data::PayloadQueryData"]],["impl<Types> RefUnwindSafe for TransactionQueryData<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized,\n <Types as NodeType>::Transaction: RefUnwindSafe,\n <<Types as NodeType>::BlockPayload as QueryablePayload<Types>>::InclusionProof: RefUnwindSafe,
      ",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl<Types> RefUnwindSafe for TransactionSummaryQueryData<Types>
      where\n <Types as NodeType>::BlockHeader: RefUnwindSafe,\n <Types as NodeType>::Transaction: RefUnwindSafe,
      ",1,["hotshot_query_service::availability::query_data::TransactionSummaryQueryData"]],["impl<Types> RefUnwindSafe for VidCommonQueryData<Types>",1,["hotshot_query_service::availability::query_data::VidCommonQueryData"]],["impl<Types> RefUnwindSafe for FileSystemStorage<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized + RefUnwindSafe,\n <Types as NodeType>::BlockHeader: RefUnwindSafe,\n <Types as NodeType>::Time: RefUnwindSafe,\n <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: RefUnwindSafe,\n Types: RefUnwindSafe,
      ",1,["hotshot_query_service::data_source::storage::fs::FileSystemStorage"]],["impl<Types> RefUnwindSafe for BlockDetail<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::query_data::BlockDetail"]],["impl<Types> RefUnwindSafe for BlockDetailResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::BlockDetailResponse"]],["impl<Types> RefUnwindSafe for BlockRange<Types>",1,["hotshot_query_service::explorer::query_data::BlockRange"]],["impl<Types> RefUnwindSafe for BlockSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::query_data::BlockSummary"]],["impl<Types> RefUnwindSafe for BlockSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::BlockSummaryResponse"]],["impl<Types> RefUnwindSafe for ExplorerSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: RefUnwindSafe,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::query_data::ExplorerSummary"]],["impl<Types> RefUnwindSafe for ExplorerSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: RefUnwindSafe,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::ExplorerSummaryResponse"]],["impl<Types> RefUnwindSafe for GetBlockSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesRequest"]],["impl<Types> RefUnwindSafe for GetTransactionSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesRequest"]],["impl<Types> RefUnwindSafe for SearchResult<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::query_data::SearchResult"]],["impl<Types> RefUnwindSafe for SearchResultResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: RefUnwindSafe,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::SearchResultResponse"]],["impl<Types> RefUnwindSafe for TransactionDetail<Types>",1,["hotshot_query_service::explorer::query_data::TransactionDetail"]],["impl<Types> RefUnwindSafe for TransactionDetailResponse<Types>
      where\n <Types as NodeType>::Transaction: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::TransactionDetailResponse"]],["impl<Types> RefUnwindSafe for TransactionRange<Types>",1,["hotshot_query_service::explorer::query_data::TransactionRange"]],["impl<Types> RefUnwindSafe for TransactionSummariesResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::TransactionSummariesResponse"]],["impl<Types> RefUnwindSafe for TransactionSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: RefUnwindSafe,
      ",1,["hotshot_query_service::explorer::query_data::TransactionSummary"]],["impl<Types, S, P> !RefUnwindSafe for FetchingDataSource<Types, S, P>",1,["hotshot_query_service::data_source::fetching::FetchingDataSource"]],["impl<Types, S, P> RefUnwindSafe for Builder<Types, S, P>
      where\n S: RefUnwindSafe,\n P: RefUnwindSafe,\n Types: RefUnwindSafe,
      ",1,["hotshot_query_service::data_source::fetching::Builder"]],["impl<Types, S, P> RefUnwindSafe for Pruner<Types, S, P>
      where\n Types: RefUnwindSafe,\n S: RefUnwindSafe,\n P: RefUnwindSafe,
      ",1,["hotshot_query_service::data_source::fetching::Pruner"]],["impl<Types, T, const ARITY: usize> RefUnwindSafe for Snapshot<Types, T, ARITY>
      where\n <T as MerklizedState<Types, ARITY>>::Commit: RefUnwindSafe,
      ",1,["hotshot_query_service::merklized_state::data_source::Snapshot"]],["impl<Ver> !RefUnwindSafe for QueryServiceProvider<Ver>",1,["hotshot_query_service::fetching::provider::query_service::QueryServiceProvider"]],["impl<__T0> RefUnwindSafe for FetchBlockSnafu<__T0>
      where\n __T0: RefUnwindSafe,
      ",1,["hotshot_query_service::availability::FetchBlockSnafu"]],["impl<__T0> RefUnwindSafe for FetchLeafSnafu<__T0>
      where\n __T0: RefUnwindSafe,
      ",1,["hotshot_query_service::availability::FetchLeafSnafu"]],["impl<__T0> RefUnwindSafe for FetchTransactionSnafu<__T0>
      where\n __T0: RefUnwindSafe,
      ",1,["hotshot_query_service::availability::FetchTransactionSnafu"]],["impl<__T0> RefUnwindSafe for QueryVidSnafu<__T0>
      where\n __T0: RefUnwindSafe,
      ",1,["hotshot_query_service::node::QueryVidSnafu"]],["impl<__T0> RefUnwindSafe for ErrorSnafu<__T0>
      where\n __T0: RefUnwindSafe,
      ",1,["hotshot_query_service::ErrorSnafu"]],["impl<__T0, __T1> RefUnwindSafe for CustomSnafu<__T0, __T1>
      where\n __T0: RefUnwindSafe,\n __T1: RefUnwindSafe,
      ",1,["hotshot_query_service::availability::CustomSnafu"]],["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 CustomSnafu<__T0, __T1>
      where\n __T0: RefUnwindSafe,\n __T1: RefUnwindSafe,
      ",1,["hotshot_query_service::node::CustomSnafu"]],["impl<__T0, __T1> RefUnwindSafe for QueryWindowSnafu<__T0, __T1>
      where\n __T0: RefUnwindSafe,\n __T1: RefUnwindSafe,
      ",1,["hotshot_query_service::node::QueryWindowSnafu"]]] };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 78d945d68..aec17cae0 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 !UnwindSafe for DataSource",1,["hotshot_query_service::data_source::storage::no_storage::testing::DataSource"]],["impl !UnwindSafe for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl !UnwindSafe for SqlStorage",1,["hotshot_query_service::data_source::storage::sql::SqlStorage"]],["impl !UnwindSafe for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl !UnwindSafe for CounterFamily",1,["hotshot_query_service::metrics::CounterFamily"]],["impl !UnwindSafe for GaugeFamily",1,["hotshot_query_service::metrics::GaugeFamily"]],["impl !UnwindSafe for HistogramFamily",1,["hotshot_query_service::metrics::HistogramFamily"]],["impl !UnwindSafe for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl !UnwindSafe for TextFamily",1,["hotshot_query_service::metrics::TextFamily"]],["impl UnwindSafe for Error",1,["hotshot_query_service::availability::Error"]],["impl UnwindSafe for Storage",1,["hotshot_query_service::data_source::storage::no_storage::testing::Storage"]],["impl UnwindSafe for Error",1,["hotshot_query_service::error::Error"]],["impl UnwindSafe for QueryError",1,["hotshot_query_service::QueryError"]],["impl UnwindSafe for CurrencyCode",1,["hotshot_query_service::explorer::currency::CurrencyCode"]],["impl UnwindSafe for Error",1,["hotshot_query_service::explorer::Error"]],["impl UnwindSafe for GetBlockDetailError",1,["hotshot_query_service::explorer::query_data::GetBlockDetailError"]],["impl UnwindSafe for GetBlockSummariesError",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesError"]],["impl UnwindSafe for GetExplorerSummaryError",1,["hotshot_query_service::explorer::query_data::GetExplorerSummaryError"]],["impl UnwindSafe for GetSearchResultsError",1,["hotshot_query_service::explorer::query_data::GetSearchResultsError"]],["impl UnwindSafe for GetTransactionDetailError",1,["hotshot_query_service::explorer::query_data::GetTransactionDetailError"]],["impl UnwindSafe for GetTransactionSummariesError",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesError"]],["impl UnwindSafe for TimestampConversionError",1,["hotshot_query_service::explorer::query_data::TimestampConversionError"]],["impl UnwindSafe for TransactionSummaryFilter",1,["hotshot_query_service::explorer::query_data::TransactionSummaryFilter"]],["impl UnwindSafe for Error",1,["hotshot_query_service::merklized_state::Error"]],["impl UnwindSafe for Error",1,["hotshot_query_service::node::Error"]],["impl UnwindSafe for Error",1,["hotshot_query_service::status::Error"]],["impl UnwindSafe for Options",1,["hotshot_query_service::availability::Options"]],["impl UnwindSafe for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl UnwindSafe for NoStorage",1,["hotshot_query_service::data_source::storage::no_storage::NoStorage"]],["impl UnwindSafe for PrunerCfg",1,["hotshot_query_service::data_source::storage::pruning::PrunerCfg"]],["impl UnwindSafe for Config",1,["hotshot_query_service::data_source::storage::sql::Config"]],["impl UnwindSafe for Pruner",1,["hotshot_query_service::data_source::storage::sql::Pruner"]],["impl UnwindSafe for TestMerkleTreeMigration",1,["hotshot_query_service::data_source::storage::sql::testing::TestMerkleTreeMigration"]],["impl UnwindSafe for TmpDb",1,["hotshot_query_service::data_source::storage::sql::testing::TmpDb"]],["impl UnwindSafe for CurrencyMismatchError",1,["hotshot_query_service::explorer::currency::CurrencyMismatchError"]],["impl UnwindSafe for ExplorerHistograms",1,["hotshot_query_service::explorer::query_data::ExplorerHistograms"]],["impl UnwindSafe for FeeAttribution",1,["hotshot_query_service::explorer::query_data::FeeAttribution"]],["impl UnwindSafe for GenesisOverview",1,["hotshot_query_service::explorer::query_data::GenesisOverview"]],["impl UnwindSafe for InvalidCurrencyCodeError",1,["hotshot_query_service::explorer::currency::InvalidCurrencyCodeError"]],["impl UnwindSafe for MonetaryValue",1,["hotshot_query_service::explorer::monetary_value::MonetaryValue"]],["impl UnwindSafe for Timestamp",1,["hotshot_query_service::explorer::query_data::Timestamp"]],["impl UnwindSafe for NoFetching",1,["hotshot_query_service::fetching::provider::NoFetching"]],["impl UnwindSafe for LeafRequest",1,["hotshot_query_service::fetching::request::LeafRequest"]],["impl UnwindSafe for PayloadRequest",1,["hotshot_query_service::fetching::request::PayloadRequest"]],["impl UnwindSafe for VidCommonRequest",1,["hotshot_query_service::fetching::request::VidCommonRequest"]],["impl UnwindSafe for Options",1,["hotshot_query_service::merklized_state::Options"]],["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 Options",1,["hotshot_query_service::node::Options"]],["impl UnwindSafe for QuerySnafu",1,["hotshot_query_service::node::QuerySnafu"]],["impl UnwindSafe for RequestSnafu",1,["hotshot_query_service::node::RequestSnafu"]],["impl UnwindSafe for SyncStatus",1,["hotshot_query_service::node::query_data::SyncStatus"]],["impl UnwindSafe for Options",1,["hotshot_query_service::status::Options"]],["impl UnwindSafe for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl UnwindSafe for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl UnwindSafe for Options",1,["hotshot_query_service::Options"]],["impl UnwindSafe for MockNodeImpl",1,["hotshot_query_service::testing::mocks::MockNodeImpl"]],["impl UnwindSafe for MockTypes",1,["hotshot_query_service::testing::mocks::MockTypes"]],["impl<'a> !UnwindSafe for Transaction<'a>",1,["hotshot_query_service::data_source::storage::sql::Transaction"]],["impl<'a, Types, S> !UnwindSafe for StorageReadGuard<'a, Types, S>",1,["hotshot_query_service::data_source::fetching::StorageReadGuard"]],["impl<'a, Types, S> !UnwindSafe for StorageWriteGuard<'a, Types, S>",1,["hotshot_query_service::data_source::fetching::StorageWriteGuard"]],["impl<D> !UnwindSafe for MockNetwork<D>",1,["hotshot_query_service::testing::consensus::MockNetwork"]],["impl<D, U> UnwindSafe for ExtensibleDataSource<D, U>
      where\n D: UnwindSafe,\n U: UnwindSafe,
      ",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<P> !UnwindSafe for TestProvider<P>",1,["hotshot_query_service::fetching::provider::testing::TestProvider"]],["impl<T> !UnwindSafe for Fetch<T>",1,["hotshot_query_service::availability::fetch::Fetch"]],["impl<T> UnwindSafe for TimeWindowQueryData<T>
      where\n T: UnwindSafe,
      ",1,["hotshot_query_service::node::query_data::TimeWindowQueryData"]],["impl<T, C> !UnwindSafe for Fetcher<T, C>",1,["hotshot_query_service::fetching::Fetcher"]],["impl<Types> !UnwindSafe for AnyProvider<Types>",1,["hotshot_query_service::fetching::provider::any::AnyProvider"]],["impl<Types> UnwindSafe for BlockId<Types>",1,["hotshot_query_service::availability::data_source::BlockId"]],["impl<Types> UnwindSafe for LeafId<Types>",1,["hotshot_query_service::availability::data_source::LeafId"]],["impl<Types> UnwindSafe for BlockIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::BlockIdentifier"]],["impl<Types> UnwindSafe for TransactionIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::TransactionIdentifier"]],["impl<Types> UnwindSafe for WindowStart<Types>",1,["hotshot_query_service::node::data_source::WindowStart"]],["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 BlockSummaryQueryData<Types>
      where\n <Types as NodeType>::BlockHeader: UnwindSafe,
      ",1,["hotshot_query_service::availability::query_data::BlockSummaryQueryData"]],["impl<Types> UnwindSafe for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> UnwindSafe for LeafQueryData<Types>
      where\n <Types as NodeType>::Time: UnwindSafe,\n <Types as NodeType>::BlockHeader: UnwindSafe,\n <Types as NodeType>::BlockPayload: UnwindSafe,\n <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: UnwindSafe,\n Types: UnwindSafe,
      ",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> UnwindSafe for PayloadQueryData<Types>
      where\n <Types as NodeType>::BlockPayload: UnwindSafe,
      ",1,["hotshot_query_service::availability::query_data::PayloadQueryData"]],["impl<Types> UnwindSafe for TransactionQueryData<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized,\n <Types as NodeType>::Transaction: UnwindSafe,\n <<Types as NodeType>::BlockPayload as QueryablePayload<Types>>::InclusionProof: UnwindSafe,
      ",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl<Types> UnwindSafe for TransactionSummaryQueryData<Types>
      where\n <Types as NodeType>::BlockHeader: UnwindSafe,\n <Types as NodeType>::Transaction: UnwindSafe,
      ",1,["hotshot_query_service::availability::query_data::TransactionSummaryQueryData"]],["impl<Types> UnwindSafe for VidCommonQueryData<Types>",1,["hotshot_query_service::availability::query_data::VidCommonQueryData"]],["impl<Types> UnwindSafe for FileSystemStorage<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized + UnwindSafe,\n <Types as NodeType>::BlockHeader: UnwindSafe,\n <Types as NodeType>::Time: UnwindSafe,\n <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: UnwindSafe,\n Types: UnwindSafe,
      ",1,["hotshot_query_service::data_source::storage::fs::FileSystemStorage"]],["impl<Types> UnwindSafe for BlockDetail<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: UnwindSafe,
      ",1,["hotshot_query_service::explorer::query_data::BlockDetail"]],["impl<Types> UnwindSafe for BlockDetailResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: UnwindSafe,
      ",1,["hotshot_query_service::explorer::BlockDetailResponse"]],["impl<Types> UnwindSafe for BlockRange<Types>",1,["hotshot_query_service::explorer::query_data::BlockRange"]],["impl<Types> UnwindSafe for BlockSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe,
      ",1,["hotshot_query_service::explorer::query_data::BlockSummary"]],["impl<Types> UnwindSafe for BlockSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe,
      ",1,["hotshot_query_service::explorer::BlockSummaryResponse"]],["impl<Types> UnwindSafe for ExplorerSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: UnwindSafe,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,
      ",1,["hotshot_query_service::explorer::query_data::ExplorerSummary"]],["impl<Types> UnwindSafe for ExplorerSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: UnwindSafe,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,
      ",1,["hotshot_query_service::explorer::ExplorerSummaryResponse"]],["impl<Types> UnwindSafe for GetBlockSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesRequest"]],["impl<Types> UnwindSafe for GetTransactionSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesRequest"]],["impl<Types> UnwindSafe for SearchResult<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,
      ",1,["hotshot_query_service::explorer::query_data::SearchResult"]],["impl<Types> UnwindSafe for SearchResultResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,
      ",1,["hotshot_query_service::explorer::SearchResultResponse"]],["impl<Types> UnwindSafe for TransactionDetail<Types>",1,["hotshot_query_service::explorer::query_data::TransactionDetail"]],["impl<Types> UnwindSafe for TransactionDetailResponse<Types>
      where\n <Types as NodeType>::Transaction: UnwindSafe,
      ",1,["hotshot_query_service::explorer::TransactionDetailResponse"]],["impl<Types> UnwindSafe for TransactionRange<Types>",1,["hotshot_query_service::explorer::query_data::TransactionRange"]],["impl<Types> UnwindSafe for TransactionSummariesResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,
      ",1,["hotshot_query_service::explorer::TransactionSummariesResponse"]],["impl<Types> UnwindSafe for TransactionSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,
      ",1,["hotshot_query_service::explorer::query_data::TransactionSummary"]],["impl<Types, S, P> !UnwindSafe for FetchingDataSource<Types, S, P>",1,["hotshot_query_service::data_source::fetching::FetchingDataSource"]],["impl<Types, S, P> UnwindSafe for Builder<Types, S, P>
      where\n S: UnwindSafe,\n P: UnwindSafe,\n Types: UnwindSafe,
      ",1,["hotshot_query_service::data_source::fetching::Builder"]],["impl<Types, S, P> UnwindSafe for Pruner<Types, S, P>
      where\n Types: UnwindSafe,\n S: UnwindSafe,\n P: UnwindSafe,
      ",1,["hotshot_query_service::data_source::fetching::Pruner"]],["impl<Types, T, const ARITY: usize> UnwindSafe for Snapshot<Types, T, ARITY>
      where\n <T as MerklizedState<Types, ARITY>>::Commit: UnwindSafe,
      ",1,["hotshot_query_service::merklized_state::data_source::Snapshot"]],["impl<Ver> !UnwindSafe for QueryServiceProvider<Ver>",1,["hotshot_query_service::fetching::provider::query_service::QueryServiceProvider"]],["impl<__T0> UnwindSafe for FetchBlockSnafu<__T0>
      where\n __T0: UnwindSafe,
      ",1,["hotshot_query_service::availability::FetchBlockSnafu"]],["impl<__T0> UnwindSafe for FetchLeafSnafu<__T0>
      where\n __T0: UnwindSafe,
      ",1,["hotshot_query_service::availability::FetchLeafSnafu"]],["impl<__T0> UnwindSafe for FetchTransactionSnafu<__T0>
      where\n __T0: UnwindSafe,
      ",1,["hotshot_query_service::availability::FetchTransactionSnafu"]],["impl<__T0> UnwindSafe for QueryVidSnafu<__T0>
      where\n __T0: UnwindSafe,
      ",1,["hotshot_query_service::node::QueryVidSnafu"]],["impl<__T0> UnwindSafe for ErrorSnafu<__T0>
      where\n __T0: UnwindSafe,
      ",1,["hotshot_query_service::ErrorSnafu"]],["impl<__T0, __T1> UnwindSafe for CustomSnafu<__T0, __T1>
      where\n __T0: UnwindSafe,\n __T1: UnwindSafe,
      ",1,["hotshot_query_service::availability::CustomSnafu"]],["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 CustomSnafu<__T0, __T1>
      where\n __T0: UnwindSafe,\n __T1: UnwindSafe,
      ",1,["hotshot_query_service::node::CustomSnafu"]],["impl<__T0, __T1> UnwindSafe for QueryWindowSnafu<__T0, __T1>
      where\n __T0: UnwindSafe,\n __T1: UnwindSafe,
      ",1,["hotshot_query_service::node::QueryWindowSnafu"]]] +"hotshot_query_service":[["impl !UnwindSafe for DataSource",1,["hotshot_query_service::data_source::storage::no_storage::testing::DataSource"]],["impl !UnwindSafe for MetricsError",1,["hotshot_query_service::metrics::MetricsError"]],["impl !UnwindSafe for SqlStorage",1,["hotshot_query_service::data_source::storage::sql::SqlStorage"]],["impl !UnwindSafe for MetricsDataSource",1,["hotshot_query_service::data_source::metrics::MetricsDataSource"]],["impl !UnwindSafe for CounterFamily",1,["hotshot_query_service::metrics::CounterFamily"]],["impl !UnwindSafe for GaugeFamily",1,["hotshot_query_service::metrics::GaugeFamily"]],["impl !UnwindSafe for HistogramFamily",1,["hotshot_query_service::metrics::HistogramFamily"]],["impl !UnwindSafe for PrometheusMetrics",1,["hotshot_query_service::metrics::PrometheusMetrics"]],["impl !UnwindSafe for TextFamily",1,["hotshot_query_service::metrics::TextFamily"]],["impl UnwindSafe for Error",1,["hotshot_query_service::availability::Error"]],["impl UnwindSafe for Storage",1,["hotshot_query_service::data_source::storage::no_storage::testing::Storage"]],["impl UnwindSafe for Error",1,["hotshot_query_service::error::Error"]],["impl UnwindSafe for QueryError",1,["hotshot_query_service::QueryError"]],["impl UnwindSafe for CurrencyCode",1,["hotshot_query_service::explorer::currency::CurrencyCode"]],["impl UnwindSafe for Error",1,["hotshot_query_service::explorer::Error"]],["impl UnwindSafe for GetBlockDetailError",1,["hotshot_query_service::explorer::query_data::GetBlockDetailError"]],["impl UnwindSafe for GetBlockSummariesError",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesError"]],["impl UnwindSafe for GetExplorerSummaryError",1,["hotshot_query_service::explorer::query_data::GetExplorerSummaryError"]],["impl UnwindSafe for GetSearchResultsError",1,["hotshot_query_service::explorer::query_data::GetSearchResultsError"]],["impl UnwindSafe for GetTransactionDetailError",1,["hotshot_query_service::explorer::query_data::GetTransactionDetailError"]],["impl UnwindSafe for GetTransactionSummariesError",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesError"]],["impl UnwindSafe for TimestampConversionError",1,["hotshot_query_service::explorer::query_data::TimestampConversionError"]],["impl UnwindSafe for TransactionSummaryFilter",1,["hotshot_query_service::explorer::query_data::TransactionSummaryFilter"]],["impl UnwindSafe for Error",1,["hotshot_query_service::merklized_state::Error"]],["impl UnwindSafe for Error",1,["hotshot_query_service::node::Error"]],["impl UnwindSafe for Error",1,["hotshot_query_service::status::Error"]],["impl UnwindSafe for Options",1,["hotshot_query_service::availability::Options"]],["impl UnwindSafe for RequestSnafu",1,["hotshot_query_service::availability::RequestSnafu"]],["impl UnwindSafe for NoStorage",1,["hotshot_query_service::data_source::storage::no_storage::NoStorage"]],["impl UnwindSafe for PrunerCfg",1,["hotshot_query_service::data_source::storage::pruning::PrunerCfg"]],["impl UnwindSafe for Config",1,["hotshot_query_service::data_source::storage::sql::Config"]],["impl UnwindSafe for Pruner",1,["hotshot_query_service::data_source::storage::sql::Pruner"]],["impl UnwindSafe for TestMerkleTreeMigration",1,["hotshot_query_service::data_source::storage::sql::testing::TestMerkleTreeMigration"]],["impl UnwindSafe for TmpDb",1,["hotshot_query_service::data_source::storage::sql::testing::TmpDb"]],["impl UnwindSafe for CurrencyMismatchError",1,["hotshot_query_service::explorer::currency::CurrencyMismatchError"]],["impl UnwindSafe for ExplorerHistograms",1,["hotshot_query_service::explorer::query_data::ExplorerHistograms"]],["impl UnwindSafe for FeeAttribution",1,["hotshot_query_service::explorer::query_data::FeeAttribution"]],["impl UnwindSafe for GenesisOverview",1,["hotshot_query_service::explorer::query_data::GenesisOverview"]],["impl UnwindSafe for InvalidCurrencyCodeError",1,["hotshot_query_service::explorer::currency::InvalidCurrencyCodeError"]],["impl UnwindSafe for MonetaryValue",1,["hotshot_query_service::explorer::monetary_value::MonetaryValue"]],["impl UnwindSafe for Timestamp",1,["hotshot_query_service::explorer::query_data::Timestamp"]],["impl UnwindSafe for NoFetching",1,["hotshot_query_service::fetching::provider::NoFetching"]],["impl UnwindSafe for LeafRequest",1,["hotshot_query_service::fetching::request::LeafRequest"]],["impl UnwindSafe for PayloadRequest",1,["hotshot_query_service::fetching::request::PayloadRequest"]],["impl UnwindSafe for VidCommonRequest",1,["hotshot_query_service::fetching::request::VidCommonRequest"]],["impl UnwindSafe for Options",1,["hotshot_query_service::merklized_state::Options"]],["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 Options",1,["hotshot_query_service::node::Options"]],["impl UnwindSafe for QuerySnafu",1,["hotshot_query_service::node::QuerySnafu"]],["impl UnwindSafe for RequestSnafu",1,["hotshot_query_service::node::RequestSnafu"]],["impl UnwindSafe for SyncStatus",1,["hotshot_query_service::node::query_data::SyncStatus"]],["impl UnwindSafe for Options",1,["hotshot_query_service::status::Options"]],["impl UnwindSafe for MissingSnafu",1,["hotshot_query_service::MissingSnafu"]],["impl UnwindSafe for NotFoundSnafu",1,["hotshot_query_service::NotFoundSnafu"]],["impl UnwindSafe for Options",1,["hotshot_query_service::Options"]],["impl UnwindSafe for MockNodeImpl",1,["hotshot_query_service::testing::mocks::MockNodeImpl"]],["impl UnwindSafe for MockTypes",1,["hotshot_query_service::testing::mocks::MockTypes"]],["impl<'a> !UnwindSafe for Transaction<'a>",1,["hotshot_query_service::data_source::storage::sql::Transaction"]],["impl<'a, Types, S> !UnwindSafe for StorageReadGuard<'a, Types, S>",1,["hotshot_query_service::data_source::fetching::StorageReadGuard"]],["impl<'a, Types, S> !UnwindSafe for StorageWriteGuard<'a, Types, S>",1,["hotshot_query_service::data_source::fetching::StorageWriteGuard"]],["impl<D> !UnwindSafe for MockNetwork<D>",1,["hotshot_query_service::testing::consensus::MockNetwork"]],["impl<D, U> UnwindSafe for ExtensibleDataSource<D, U>
      where\n D: UnwindSafe,\n U: UnwindSafe,
      ",1,["hotshot_query_service::data_source::extension::ExtensibleDataSource"]],["impl<P> !UnwindSafe for TestProvider<P>",1,["hotshot_query_service::fetching::provider::testing::TestProvider"]],["impl<T> !UnwindSafe for Fetch<T>",1,["hotshot_query_service::availability::fetch::Fetch"]],["impl<T> UnwindSafe for TimeWindowQueryData<T>
      where\n T: UnwindSafe,
      ",1,["hotshot_query_service::node::query_data::TimeWindowQueryData"]],["impl<T, C> !UnwindSafe for Fetcher<T, C>",1,["hotshot_query_service::fetching::Fetcher"]],["impl<Types> !UnwindSafe for AnyProvider<Types>",1,["hotshot_query_service::fetching::provider::any::AnyProvider"]],["impl<Types> UnwindSafe for BlockId<Types>",1,["hotshot_query_service::availability::data_source::BlockId"]],["impl<Types> UnwindSafe for LeafId<Types>",1,["hotshot_query_service::availability::data_source::LeafId"]],["impl<Types> UnwindSafe for BlockIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::BlockIdentifier"]],["impl<Types> UnwindSafe for TransactionIdentifier<Types>",1,["hotshot_query_service::explorer::query_data::TransactionIdentifier"]],["impl<Types> UnwindSafe for WindowStart<Types>",1,["hotshot_query_service::node::data_source::WindowStart"]],["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 BlockSummaryQueryData<Types>
      where\n <Types as NodeType>::BlockHeader: UnwindSafe,
      ",1,["hotshot_query_service::availability::query_data::BlockSummaryQueryData"]],["impl<Types> UnwindSafe for InconsistentLeafError<Types>",1,["hotshot_query_service::availability::query_data::InconsistentLeafError"]],["impl<Types> UnwindSafe for LeafQueryData<Types>
      where\n <Types as NodeType>::Time: UnwindSafe,\n <Types as NodeType>::BlockHeader: UnwindSafe,\n <Types as NodeType>::BlockPayload: UnwindSafe,\n <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: UnwindSafe,\n Types: UnwindSafe,
      ",1,["hotshot_query_service::availability::query_data::LeafQueryData"]],["impl<Types> UnwindSafe for PayloadQueryData<Types>
      where\n <Types as NodeType>::BlockPayload: UnwindSafe,
      ",1,["hotshot_query_service::availability::query_data::PayloadQueryData"]],["impl<Types> UnwindSafe for TransactionQueryData<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized,\n <Types as NodeType>::Transaction: UnwindSafe,\n <<Types as NodeType>::BlockPayload as QueryablePayload<Types>>::InclusionProof: UnwindSafe,
      ",1,["hotshot_query_service::availability::query_data::TransactionQueryData"]],["impl<Types> UnwindSafe for TransactionSummaryQueryData<Types>
      where\n <Types as NodeType>::BlockHeader: UnwindSafe,\n <Types as NodeType>::Transaction: UnwindSafe,
      ",1,["hotshot_query_service::availability::query_data::TransactionSummaryQueryData"]],["impl<Types> UnwindSafe for VidCommonQueryData<Types>",1,["hotshot_query_service::availability::query_data::VidCommonQueryData"]],["impl<Types> UnwindSafe for FileSystemStorage<Types>
      where\n <Types as NodeType>::BlockPayload: for<'de> Sized + UnwindSafe,\n <Types as NodeType>::BlockHeader: UnwindSafe,\n <Types as NodeType>::Time: UnwindSafe,\n <<Types as NodeType>::SignatureKey as SignatureKey>::QcType: UnwindSafe,\n Types: UnwindSafe,
      ",1,["hotshot_query_service::data_source::storage::fs::FileSystemStorage"]],["impl<Types> UnwindSafe for BlockDetail<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: UnwindSafe,
      ",1,["hotshot_query_service::explorer::query_data::BlockDetail"]],["impl<Types> UnwindSafe for BlockDetailResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: UnwindSafe,
      ",1,["hotshot_query_service::explorer::BlockDetailResponse"]],["impl<Types> UnwindSafe for BlockRange<Types>",1,["hotshot_query_service::explorer::query_data::BlockRange"]],["impl<Types> UnwindSafe for BlockSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe,
      ",1,["hotshot_query_service::explorer::query_data::BlockSummary"]],["impl<Types> UnwindSafe for BlockSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe,
      ",1,["hotshot_query_service::explorer::BlockSummaryResponse"]],["impl<Types> UnwindSafe for ExplorerSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: UnwindSafe,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,
      ",1,["hotshot_query_service::explorer::query_data::ExplorerSummary"]],["impl<Types> UnwindSafe for ExplorerSummaryResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::WalletAddress: UnwindSafe,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,
      ",1,["hotshot_query_service::explorer::ExplorerSummaryResponse"]],["impl<Types> UnwindSafe for GetBlockSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetBlockSummariesRequest"]],["impl<Types> UnwindSafe for GetTransactionSummariesRequest<Types>",1,["hotshot_query_service::explorer::query_data::GetTransactionSummariesRequest"]],["impl<Types> UnwindSafe for SearchResult<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,
      ",1,["hotshot_query_service::explorer::query_data::SearchResult"]],["impl<Types> UnwindSafe for SearchResultResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::BlockHeader as ExplorerHeader<Types>>::ProposerId: UnwindSafe,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,
      ",1,["hotshot_query_service::explorer::SearchResultResponse"]],["impl<Types> UnwindSafe for TransactionDetail<Types>",1,["hotshot_query_service::explorer::query_data::TransactionDetail"]],["impl<Types> UnwindSafe for TransactionDetailResponse<Types>
      where\n <Types as NodeType>::Transaction: UnwindSafe,
      ",1,["hotshot_query_service::explorer::TransactionDetailResponse"]],["impl<Types> UnwindSafe for TransactionRange<Types>",1,["hotshot_query_service::explorer::query_data::TransactionRange"]],["impl<Types> UnwindSafe for TransactionSummariesResponse<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,
      ",1,["hotshot_query_service::explorer::TransactionSummariesResponse"]],["impl<Types> UnwindSafe for TransactionSummary<Types>
      where\n <Types as NodeType>::BlockHeader: for<'de> Sized,\n <<Types as NodeType>::Transaction as ExplorerTransaction>::NamespaceId: UnwindSafe,
      ",1,["hotshot_query_service::explorer::query_data::TransactionSummary"]],["impl<Types, S, P> !UnwindSafe for FetchingDataSource<Types, S, P>",1,["hotshot_query_service::data_source::fetching::FetchingDataSource"]],["impl<Types, S, P> UnwindSafe for Builder<Types, S, P>
      where\n S: UnwindSafe,\n P: UnwindSafe,\n Types: UnwindSafe,
      ",1,["hotshot_query_service::data_source::fetching::Builder"]],["impl<Types, S, P> UnwindSafe for Pruner<Types, S, P>
      where\n Types: UnwindSafe,\n S: UnwindSafe,\n P: UnwindSafe,
      ",1,["hotshot_query_service::data_source::fetching::Pruner"]],["impl<Types, T, const ARITY: usize> UnwindSafe for Snapshot<Types, T, ARITY>
      where\n <T as MerklizedState<Types, ARITY>>::Commit: UnwindSafe,
      ",1,["hotshot_query_service::merklized_state::data_source::Snapshot"]],["impl<Ver> !UnwindSafe for QueryServiceProvider<Ver>",1,["hotshot_query_service::fetching::provider::query_service::QueryServiceProvider"]],["impl<__T0> UnwindSafe for FetchBlockSnafu<__T0>
      where\n __T0: UnwindSafe,
      ",1,["hotshot_query_service::availability::FetchBlockSnafu"]],["impl<__T0> UnwindSafe for FetchLeafSnafu<__T0>
      where\n __T0: UnwindSafe,
      ",1,["hotshot_query_service::availability::FetchLeafSnafu"]],["impl<__T0> UnwindSafe for FetchTransactionSnafu<__T0>
      where\n __T0: UnwindSafe,
      ",1,["hotshot_query_service::availability::FetchTransactionSnafu"]],["impl<__T0> UnwindSafe for QueryVidSnafu<__T0>
      where\n __T0: UnwindSafe,
      ",1,["hotshot_query_service::node::QueryVidSnafu"]],["impl<__T0> UnwindSafe for ErrorSnafu<__T0>
      where\n __T0: UnwindSafe,
      ",1,["hotshot_query_service::ErrorSnafu"]],["impl<__T0, __T1> UnwindSafe for CustomSnafu<__T0, __T1>
      where\n __T0: UnwindSafe,\n __T1: UnwindSafe,
      ",1,["hotshot_query_service::availability::CustomSnafu"]],["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 CustomSnafu<__T0, __T1>
      where\n __T0: UnwindSafe,\n __T1: UnwindSafe,
      ",1,["hotshot_query_service::node::CustomSnafu"]],["impl<__T0, __T1> UnwindSafe for QueryWindowSnafu<__T0, __T1>
      where\n __T0: UnwindSafe,\n __T1: UnwindSafe,
      ",1,["hotshot_query_service::node::QueryWindowSnafu"]]] };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/str/traits/trait.FromStr.js b/trait.impl/core/str/traits/trait.FromStr.js index 17b2498eb..b860a3474 100644 --- a/trait.impl/core/str/traits/trait.FromStr.js +++ b/trait.impl/core/str/traits/trait.FromStr.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"hotshot_query_service":[["impl FromStr for Config"]] +"hotshot_query_service":[["impl FromStr 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/hotshot_types/traits/metrics/trait.MetricsFamily.js b/trait.impl/hotshot_types/traits/metrics/trait.MetricsFamily.js index 4af669783..4719ec235 100644 --- a/trait.impl/hotshot_types/traits/metrics/trait.MetricsFamily.js +++ b/trait.impl/hotshot_types/traits/metrics/trait.MetricsFamily.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"hotshot_query_service":[["impl MetricsFamily<()> for TextFamily"],["impl MetricsFamily<Box<dyn Counter>> for CounterFamily"],["impl MetricsFamily<Box<dyn Gauge>> for GaugeFamily"],["impl MetricsFamily<Box<dyn Histogram>> for HistogramFamily"]] +"hotshot_query_service":[["impl MetricsFamily<()> for TextFamily"],["impl MetricsFamily<Box<dyn Counter>> for CounterFamily"],["impl MetricsFamily<Box<dyn Gauge>> for GaugeFamily"],["impl MetricsFamily<Box<dyn Histogram>> for HistogramFamily"]] };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 e3e233335..99ea39ff3 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> Deserialize<'de> for Error"],["impl<'de> Deserialize<'de> for Error"],["impl<'de> Deserialize<'de> for QueryError"],["impl<'de> Deserialize<'de> for CurrencyCode"],["impl<'de> Deserialize<'de> for Error"],["impl<'de> Deserialize<'de> for GetBlockDetailError"],["impl<'de> Deserialize<'de> for GetBlockSummariesError"],["impl<'de> Deserialize<'de> for GetExplorerSummaryError"],["impl<'de> Deserialize<'de> for GetSearchResultsError"],["impl<'de> Deserialize<'de> for GetTransactionDetailError"],["impl<'de> Deserialize<'de> for GetTransactionSummariesError"],["impl<'de> Deserialize<'de> for TransactionSummaryFilter"],["impl<'de> Deserialize<'de> for Error"],["impl<'de> Deserialize<'de> for Error"],["impl<'de> Deserialize<'de> for Error"],["impl<'de> Deserialize<'de> for CurrencyMismatchError"],["impl<'de> Deserialize<'de> for ExplorerHistograms"],["impl<'de> Deserialize<'de> for FeeAttribution"],["impl<'de> Deserialize<'de> for GenesisOverview"],["impl<'de> Deserialize<'de> for InvalidCurrencyCodeError"],["impl<'de> Deserialize<'de> for MonetaryValue"],["impl<'de> Deserialize<'de> for Timestamp"],["impl<'de> Deserialize<'de> for SyncStatus"],["impl<'de> Deserialize<'de> for MockNodeImpl"],["impl<'de> Deserialize<'de> for MockTypes"],["impl<'de, T> Deserialize<'de> for TimeWindowQueryData<T>
      where\n T: Deserialize<'de>,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for BlockQueryData<Types>"],["impl<'de, Types: NodeType> Deserialize<'de> for BlockSummaryQueryData<Types>"],["impl<'de, Types: NodeType> Deserialize<'de> for LeafQueryData<Types>"],["impl<'de, Types: NodeType> Deserialize<'de> for PayloadQueryData<Types>"],["impl<'de, Types: NodeType> Deserialize<'de> for TransactionQueryData<Types>
      where\n Payload<Types>: QueryablePayload<Types>,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for TransactionSummaryQueryData<Types>"],["impl<'de, Types: NodeType> Deserialize<'de> for VidCommonQueryData<Types>"],["impl<'de, Types: NodeType> Deserialize<'de> for BlockDetail<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for BlockDetailResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for BlockSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for BlockSummaryResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for ExplorerSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for ExplorerSummaryResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for SearchResult<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for SearchResultResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for TransactionDetail<Types>"],["impl<'de, Types: NodeType> Deserialize<'de> for TransactionDetailResponse<Types>"],["impl<'de, Types: NodeType> Deserialize<'de> for TransactionSummariesResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for TransactionSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "]] +"hotshot_query_service":[["impl<'de> Deserialize<'de> for Error"],["impl<'de> Deserialize<'de> for Error"],["impl<'de> Deserialize<'de> for QueryError"],["impl<'de> Deserialize<'de> for CurrencyCode"],["impl<'de> Deserialize<'de> for Error"],["impl<'de> Deserialize<'de> for GetBlockDetailError"],["impl<'de> Deserialize<'de> for GetBlockSummariesError"],["impl<'de> Deserialize<'de> for GetExplorerSummaryError"],["impl<'de> Deserialize<'de> for GetSearchResultsError"],["impl<'de> Deserialize<'de> for GetTransactionDetailError"],["impl<'de> Deserialize<'de> for GetTransactionSummariesError"],["impl<'de> Deserialize<'de> for TransactionSummaryFilter"],["impl<'de> Deserialize<'de> for Error"],["impl<'de> Deserialize<'de> for Error"],["impl<'de> Deserialize<'de> for Error"],["impl<'de> Deserialize<'de> for CurrencyMismatchError"],["impl<'de> Deserialize<'de> for ExplorerHistograms"],["impl<'de> Deserialize<'de> for FeeAttribution"],["impl<'de> Deserialize<'de> for GenesisOverview"],["impl<'de> Deserialize<'de> for InvalidCurrencyCodeError"],["impl<'de> Deserialize<'de> for MonetaryValue"],["impl<'de> Deserialize<'de> for Timestamp"],["impl<'de> Deserialize<'de> for SyncStatus"],["impl<'de> Deserialize<'de> for MockNodeImpl"],["impl<'de> Deserialize<'de> for MockTypes"],["impl<'de, T> Deserialize<'de> for TimeWindowQueryData<T>
      where\n T: Deserialize<'de>,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for BlockQueryData<Types>"],["impl<'de, Types: NodeType> Deserialize<'de> for BlockSummaryQueryData<Types>"],["impl<'de, Types: NodeType> Deserialize<'de> for LeafQueryData<Types>"],["impl<'de, Types: NodeType> Deserialize<'de> for PayloadQueryData<Types>"],["impl<'de, Types: NodeType> Deserialize<'de> for TransactionQueryData<Types>
      where\n Payload<Types>: QueryablePayload<Types>,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for TransactionSummaryQueryData<Types>"],["impl<'de, Types: NodeType> Deserialize<'de> for VidCommonQueryData<Types>"],["impl<'de, Types: NodeType> Deserialize<'de> for BlockDetail<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for BlockDetailResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for BlockSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for BlockSummaryResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for ExplorerSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for ExplorerSummaryResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for SearchResult<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for SearchResultResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for TransactionDetail<Types>"],["impl<'de, Types: NodeType> Deserialize<'de> for TransactionDetailResponse<Types>"],["impl<'de, Types: NodeType> Deserialize<'de> for TransactionSummariesResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<'de, Types: NodeType> Deserialize<'de> for TransactionSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "]] };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 54d1c7dd8..4fd7bc503 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 Error"],["impl Serialize for QueryError"],["impl Serialize for CurrencyCode"],["impl Serialize for Error"],["impl Serialize for GetBlockDetailError"],["impl Serialize for GetBlockSummariesError"],["impl Serialize for GetExplorerSummaryError"],["impl Serialize for GetSearchResultsError"],["impl Serialize for GetTransactionDetailError"],["impl Serialize for GetTransactionSummariesError"],["impl Serialize for TransactionSummaryFilter"],["impl Serialize for Error"],["impl Serialize for Error"],["impl Serialize for Error"],["impl Serialize for CurrencyMismatchError"],["impl Serialize for ExplorerHistograms"],["impl Serialize for FeeAttribution"],["impl Serialize for GenesisOverview"],["impl Serialize for InvalidCurrencyCodeError"],["impl Serialize for MonetaryValue"],["impl Serialize for Timestamp"],["impl Serialize for SyncStatus"],["impl Serialize for MockNodeImpl"],["impl Serialize for MockTypes"],["impl<T> Serialize for TimeWindowQueryData<T>
      where\n T: Serialize,
      "],["impl<Types: NodeType> Serialize for BlockQueryData<Types>"],["impl<Types: NodeType> Serialize for BlockSummaryQueryData<Types>"],["impl<Types: NodeType> Serialize for LeafQueryData<Types>"],["impl<Types: NodeType> Serialize for PayloadQueryData<Types>"],["impl<Types: NodeType> Serialize for TransactionQueryData<Types>
      where\n Payload<Types>: QueryablePayload<Types>,
      "],["impl<Types: NodeType> Serialize for TransactionSummaryQueryData<Types>"],["impl<Types: NodeType> Serialize for VidCommonQueryData<Types>"],["impl<Types: NodeType> Serialize for BlockDetail<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: NodeType> Serialize for BlockDetailResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: NodeType> Serialize for BlockSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: NodeType> Serialize for BlockSummaryResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: NodeType> Serialize for ExplorerSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> Serialize for ExplorerSummaryResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> Serialize for SearchResult<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> Serialize for SearchResultResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> Serialize for TransactionDetail<Types>"],["impl<Types: NodeType> Serialize for TransactionDetailResponse<Types>"],["impl<Types: NodeType> Serialize for TransactionSummariesResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> Serialize for TransactionSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "]] +"hotshot_query_service":[["impl Serialize for Error"],["impl Serialize for Error"],["impl Serialize for QueryError"],["impl Serialize for CurrencyCode"],["impl Serialize for Error"],["impl Serialize for GetBlockDetailError"],["impl Serialize for GetBlockSummariesError"],["impl Serialize for GetExplorerSummaryError"],["impl Serialize for GetSearchResultsError"],["impl Serialize for GetTransactionDetailError"],["impl Serialize for GetTransactionSummariesError"],["impl Serialize for TransactionSummaryFilter"],["impl Serialize for Error"],["impl Serialize for Error"],["impl Serialize for Error"],["impl Serialize for CurrencyMismatchError"],["impl Serialize for ExplorerHistograms"],["impl Serialize for FeeAttribution"],["impl Serialize for GenesisOverview"],["impl Serialize for InvalidCurrencyCodeError"],["impl Serialize for MonetaryValue"],["impl Serialize for Timestamp"],["impl Serialize for SyncStatus"],["impl Serialize for MockNodeImpl"],["impl Serialize for MockTypes"],["impl<T> Serialize for TimeWindowQueryData<T>
      where\n T: Serialize,
      "],["impl<Types: NodeType> Serialize for BlockQueryData<Types>"],["impl<Types: NodeType> Serialize for BlockSummaryQueryData<Types>"],["impl<Types: NodeType> Serialize for LeafQueryData<Types>"],["impl<Types: NodeType> Serialize for PayloadQueryData<Types>"],["impl<Types: NodeType> Serialize for TransactionQueryData<Types>
      where\n Payload<Types>: QueryablePayload<Types>,
      "],["impl<Types: NodeType> Serialize for TransactionSummaryQueryData<Types>"],["impl<Types: NodeType> Serialize for VidCommonQueryData<Types>"],["impl<Types: NodeType> Serialize for BlockDetail<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: NodeType> Serialize for BlockDetailResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: NodeType> Serialize for BlockSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: NodeType> Serialize for BlockSummaryResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,
      "],["impl<Types: NodeType> Serialize for ExplorerSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> Serialize for ExplorerSummaryResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> Serialize for SearchResult<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> Serialize for SearchResultResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> Serialize for TransactionDetail<Types>"],["impl<Types: NodeType> Serialize for TransactionDetailResponse<Types>"],["impl<Types: NodeType> Serialize for TransactionSummariesResponse<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "],["impl<Types: NodeType> Serialize for TransactionSummary<Types>
      where\n Header<Types>: ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,
      "]] };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 f4eb29d78..20e4d155f 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 IntoError<Error> for RequestSnafu
      where\n Error: Error + ErrorCompat,
      "],["impl IntoError<QueryError> for MissingSnafu
      where\n QueryError: Error + ErrorCompat,
      "],["impl IntoError<QueryError> for NotFoundSnafu
      where\n QueryError: Error + ErrorCompat,
      "],["impl IntoError<Error> for QuerySnafu
      where\n Error: Error + ErrorCompat,
      "],["impl IntoError<Error> for RequestSnafu
      where\n Error: Error + ErrorCompat,
      "],["impl<__T0> IntoError<Error> for FetchBlockSnafu<__T0>
      where\n Error: Error + ErrorCompat,\n __T0: Into<String>,
      "],["impl<__T0> IntoError<Error> for FetchLeafSnafu<__T0>
      where\n Error: Error + ErrorCompat,\n __T0: Into<String>,
      "],["impl<__T0> IntoError<Error> for FetchTransactionSnafu<__T0>
      where\n Error: Error + ErrorCompat,\n __T0: Into<String>,
      "],["impl<__T0> IntoError<QueryError> for ErrorSnafu<__T0>
      where\n QueryError: Error + ErrorCompat,\n __T0: Into<String>,
      "],["impl<__T0> IntoError<Error> for QueryVidSnafu<__T0>
      where\n Error: Error + ErrorCompat,\n __T0: Into<String>,
      "],["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 InvalidTransactionIndexSnafu<__T0, __T1>
      where\n Error: Error + ErrorCompat,\n __T0: Into<u64>,\n __T1: Into<u64>,
      "],["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 QueryWindowSnafu<__T0, __T1>
      where\n Error: Error + ErrorCompat,\n __T0: Into<String>,\n __T1: Into<u64>,
      "]] +"hotshot_query_service":[["impl IntoError<Error> for RequestSnafu
      where\n Error: Error + ErrorCompat,
      "],["impl IntoError<QueryError> for MissingSnafu
      where\n QueryError: Error + ErrorCompat,
      "],["impl IntoError<QueryError> for NotFoundSnafu
      where\n QueryError: Error + ErrorCompat,
      "],["impl IntoError<Error> for QuerySnafu
      where\n Error: Error + ErrorCompat,
      "],["impl IntoError<Error> for RequestSnafu
      where\n Error: Error + ErrorCompat,
      "],["impl<__T0> IntoError<Error> for FetchBlockSnafu<__T0>
      where\n Error: Error + ErrorCompat,\n __T0: Into<String>,
      "],["impl<__T0> IntoError<Error> for FetchLeafSnafu<__T0>
      where\n Error: Error + ErrorCompat,\n __T0: Into<String>,
      "],["impl<__T0> IntoError<Error> for FetchTransactionSnafu<__T0>
      where\n Error: Error + ErrorCompat,\n __T0: Into<String>,
      "],["impl<__T0> IntoError<QueryError> for ErrorSnafu<__T0>
      where\n QueryError: Error + ErrorCompat,\n __T0: Into<String>,
      "],["impl<__T0> IntoError<Error> for QueryVidSnafu<__T0>
      where\n Error: Error + ErrorCompat,\n __T0: Into<String>,
      "],["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 InvalidTransactionIndexSnafu<__T0, __T1>
      where\n Error: Error + ErrorCompat,\n __T0: Into<u64>,\n __T1: Into<u64>,
      "],["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 QueryWindowSnafu<__T0, __T1>
      where\n Error: Error + ErrorCompat,\n __T0: Into<String>,\n __T1: Into<u64>,
      "]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/type.impl/committable/struct.Commitment.js b/type.impl/committable/struct.Commitment.js index 6d53090ad..b5057a36f 100644 --- a/type.impl/committable/struct.Commitment.js +++ b/type.impl/committable/struct.Commitment.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"hotshot_query_service":[["
      §

      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> 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> 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> 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> 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> 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> 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> 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> 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<'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> 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> 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<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) -> Self
      where\n Self: Sized,

      Compares and returns the maximum of two values. Read more
      1.21.0 · source§

      fn min(self, other: Self) -> Self
      where\n Self: Sized,

      Compares and returns the minimum of two values. Read more
      1.50.0 · source§

      fn clamp(self, min: Self, max: Self) -> Self
      where\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> 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> 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> 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> 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"],["
      §

      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> 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> 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> 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"]] +"hotshot_query_service":[["
      §

      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> 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> 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> 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> 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> 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> 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> 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> 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<'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> 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> 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<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) -> Self
      where\n Self: Sized,

      Compares and returns the maximum of two values. Read more
      1.21.0 · source§

      fn min(self, other: Self) -> Self
      where\n Self: Sized,

      Compares and returns the minimum of two values. Read more
      1.50.0 · source§

      fn clamp(self, min: Self, max: Self) -> Self
      where\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> 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> 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> 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> 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"],["
      §

      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> 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> 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> 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"]] };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 21ead374f..da8535c09 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":[["
      §

      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> Archive for Result<T, E>
      where\n T: Archive,\n E: Archive,

      §

      type Archived = ArchivedResult<<T as Archive>::Archived, <E as Archive>::Archived>

      The archived representation of this type. Read more
      §

      type Resolver = Result<<T as Archive>::Resolver, <E as Archive>::Resolver>

      The resolver for this type. It must contain all the additional information from serializing\nneeded to make the archived type from the normal type.
      §

      unsafe fn resolve(\n &self,\n pos: usize,\n resolver: <Result<T, E> as Archive>::Resolver,\n out: *mut <Result<T, E> as Archive>::Archived,\n)

      Creates the archived version of this value at the given position and writes it to the given\noutput. Read more
      ","Archive","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"],["
      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"],["
      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"],["
      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<'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"],["
      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"],["
      §

      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"],["
      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, 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"],["
      §

      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"],["
      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"],["
      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"],["
      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"],["
      §

      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"],["
      §

      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"],["
      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) -> Self
      where\n Self: Sized,

      Compares and returns the maximum of two values. Read more
      1.21.0 · source§

      fn min(self, other: Self) -> Self
      where\n Self: Sized,

      Compares and returns the minimum of two values. Read more
      1.50.0 · source§

      fn clamp(self, min: Self, max: Self) -> Self
      where\n Self: Sized + PartialOrd,

      Restrict a value to a certain interval. Read more
      ","Ord","hotshot_query_service::QueryResult"],["
      §

      impl<T, U, E, F> PartialEq<ArchivedResult<T, E>> for Result<U, F>
      where\n T: PartialEq<U>,\n E: PartialEq<F>,

      §

      fn eq(&self, other: &ArchivedResult<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> 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> 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"],["
      §

      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"],["
      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, E> Reply for Result<T, E>
      where\n T: Reply,\n E: Reply,

      §

      fn into_response(self) -> Response<Body>

      Converts the given value into a Response.
      ","Reply","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"],["
      §

      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> 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"],["
      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) -> U
      where\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) -> U
      where\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
      1.76.0 · source

      pub fn inspect<F>(self, f: F) -> Result<T, E>
      where\n F: FnOnce(&T),

      Calls a function with a reference to the contained value if Ok.

      \n

      Returns the original result.

      \n
      §Examples
      \n
      let 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
      1.76.0 · source

      pub fn inspect_err<F>(self, f: F) -> Result<T, E>
      where\n F: FnOnce(&E),

      Calls a function with a reference to the contained value if Err.

      \n

      Returns the original result.

      \n
      §Examples
      \n
      use 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) -> T
      where\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) -> T
      where\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) -> T
      where\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) -> E
      where\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) -> E
      where\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) -> T
      where\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) -> E
      where\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) -> T
      where\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"],["
      §

      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> 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
      §

      fn boxed<'a>(self) -> Result<T, Box<dyn Error + Sync + Send + 'a>>
      where\n E: Error + Send + Sync + 'a,

      Convert a Result’s error into a boxed trait object\ncompatible with multiple threads. Read more
      §

      fn boxed_local<'a>(self) -> Result<T, Box<dyn Error + 'a>>
      where\n E: Error + 'a,

      Convert a Result’s error into a boxed trait object. Read more
      ","ResultExt","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<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"],["
      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>::Return
      where\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>::Return
      where\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>::Return
      where\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>::Return
      where\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>::Return
      where\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>::Return
      where\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>::Return
      where\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>::Return
      where\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>::Return
      where\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>::Return
      where\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
      source§

      fn suppress_backtrace(self, suppress: bool) -> <Result<T, E> as Section>::Return

      Whether to suppress printing of collected backtrace (if any). Read more
      ","Section","hotshot_query_service::QueryResult"],["
      §

      impl<T, E, S> Serialize<S> for Result<T, E>
      where\n T: Serialize<S>,\n E: Serialize<S>,\n S: Fallible + ?Sized,

      §

      fn serialize(\n &self,\n serializer: &mut S,\n) -> Result<<Result<T, E> as Archive>::Resolver, <S as Fallible>::Error>

      Writes the dependencies for the object and returns a resolver that can create the archived\ntype.
      ","Serialize","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<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> 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"],["
      §

      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"],["
      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"],["
      §

      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"],["
      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"],["
      §

      impl<T, E> TestTermination for Result<T, E>

      §

      fn is_success(&self) -> bool

      ","TestTermination","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"],["
      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<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"],["
      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.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<T, E> StructuralPartialEq for Result<T, E>

      ","StructuralPartialEq","hotshot_query_service::QueryResult"]] +"hotshot_query_service":[["
      §

      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> Archive for Result<T, E>
      where\n T: Archive,\n E: Archive,

      §

      type Archived = ArchivedResult<<T as Archive>::Archived, <E as Archive>::Archived>

      The archived representation of this type. Read more
      §

      type Resolver = Result<<T as Archive>::Resolver, <E as Archive>::Resolver>

      The resolver for this type. It must contain all the additional information from serializing\nneeded to make the archived type from the normal type.
      §

      unsafe fn resolve(\n &self,\n pos: usize,\n resolver: <Result<T, E> as Archive>::Resolver,\n out: *mut <Result<T, E> as Archive>::Archived,\n)

      Creates the archived version of this value at the given position and writes it to the given\noutput. Read more
      ","Archive","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"],["
      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"],["
      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"],["
      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<'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"],["
      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"],["
      §

      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"],["
      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, 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"],["
      §

      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"],["
      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"],["
      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"],["
      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"],["
      §

      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"],["
      §

      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"],["
      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) -> Self
      where\n Self: Sized,

      Compares and returns the maximum of two values. Read more
      1.21.0 · source§

      fn min(self, other: Self) -> Self
      where\n Self: Sized,

      Compares and returns the minimum of two values. Read more
      1.50.0 · source§

      fn clamp(self, min: Self, max: Self) -> Self
      where\n Self: Sized + PartialOrd,

      Restrict a value to a certain interval. Read more
      ","Ord","hotshot_query_service::QueryResult"],["
      §

      impl<T, U, E, F> PartialEq<ArchivedResult<T, E>> for Result<U, F>
      where\n T: PartialEq<U>,\n E: PartialEq<F>,

      §

      fn eq(&self, other: &ArchivedResult<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> 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> 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"],["
      §

      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"],["
      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, E> Reply for Result<T, E>
      where\n T: Reply,\n E: Reply,

      §

      fn into_response(self) -> Response<Body>

      Converts the given value into a Response.
      ","Reply","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"],["
      §

      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> 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"],["
      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) -> U
      where\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) -> U
      where\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
      1.76.0 · source

      pub fn inspect<F>(self, f: F) -> Result<T, E>
      where\n F: FnOnce(&T),

      Calls a function with a reference to the contained value if Ok.

      \n

      Returns the original result.

      \n
      §Examples
      \n
      let 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
      1.76.0 · source

      pub fn inspect_err<F>(self, f: F) -> Result<T, E>
      where\n F: FnOnce(&E),

      Calls a function with a reference to the contained value if Err.

      \n

      Returns the original result.

      \n
      §Examples
      \n
      use 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) -> T
      where\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) -> T
      where\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) -> T
      where\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) -> E
      where\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) -> E
      where\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) -> T
      where\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) -> E
      where\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) -> T
      where\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"],["
      §

      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> 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
      §

      fn boxed<'a>(self) -> Result<T, Box<dyn Error + Sync + Send + 'a>>
      where\n E: Error + Send + Sync + 'a,

      Convert a Result’s error into a boxed trait object\ncompatible with multiple threads. Read more
      §

      fn boxed_local<'a>(self) -> Result<T, Box<dyn Error + 'a>>
      where\n E: Error + 'a,

      Convert a Result’s error into a boxed trait object. Read more
      ","ResultExt","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<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"],["
      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>::Return
      where\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>::Return
      where\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>::Return
      where\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>::Return
      where\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>::Return
      where\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>::Return
      where\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>::Return
      where\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>::Return
      where\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>::Return
      where\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>::Return
      where\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
      source§

      fn suppress_backtrace(self, suppress: bool) -> <Result<T, E> as Section>::Return

      Whether to suppress printing of collected backtrace (if any). Read more
      ","Section","hotshot_query_service::QueryResult"],["
      §

      impl<T, E, S> Serialize<S> for Result<T, E>
      where\n T: Serialize<S>,\n E: Serialize<S>,\n S: Fallible + ?Sized,

      §

      fn serialize(\n &self,\n serializer: &mut S,\n) -> Result<<Result<T, E> as Archive>::Resolver, <S as Fallible>::Error>

      Writes the dependencies for the object and returns a resolver that can create the archived\ntype.
      ","Serialize","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<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> 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"],["
      §

      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"],["
      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"],["
      §

      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"],["
      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"],["
      §

      impl<T, E> TestTermination for Result<T, E>

      §

      fn is_success(&self) -> bool

      ","TestTermination","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"],["
      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<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"],["
      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.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<T, E> StructuralPartialEq for Result<T, E>

      ","StructuralPartialEq","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/traits/election/static_committee/struct.GeneralStaticCommittee.js b/type.impl/hotshot/traits/election/static_committee/struct.GeneralStaticCommittee.js index 89c853078..e4a383ae5 100644 --- a/type.impl/hotshot/traits/election/static_committee/struct.GeneralStaticCommittee.js +++ b/type.impl/hotshot/traits/election/static_committee/struct.GeneralStaticCommittee.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"hotshot_query_service":[["
      §

      impl<T, PUBKEY> Clone for GeneralStaticCommittee<T, PUBKEY>
      where\n T: Clone,\n PUBKEY: Clone + SignatureKey,\n <PUBKEY as SignatureKey>::StakeTableEntry: Clone,

      §

      fn clone(&self) -> GeneralStaticCommittee<T, PUBKEY>

      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::testing::mocks::MockMembership"],["
      §

      impl<T, PUBKEY> Debug for GeneralStaticCommittee<T, PUBKEY>
      where\n T: Debug,\n PUBKEY: Debug + SignatureKey,\n <PUBKEY as SignatureKey>::StakeTableEntry: Debug,

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::testing::mocks::MockMembership"],["
      §

      impl<T, PUBKEY> GeneralStaticCommittee<T, PUBKEY>
      where\n PUBKEY: SignatureKey,

      pub fn new(\n _nodes: &[PUBKEY],\n nodes_with_stake: Vec<<PUBKEY as SignatureKey>::StakeTableEntry>,\n nodes_without_stake: Vec<PUBKEY>,\n fixed_leader_for_gpuvid: usize,\n committee_topic: Topic,\n) -> GeneralStaticCommittee<T, PUBKEY>

      Creates a new dummy elector

      \n
      ",0,"hotshot_query_service::testing::mocks::MockMembership"],["
      §

      impl<TYPES, PUBKEY> GeneralStaticCommittee<TYPES, PUBKEY>
      where\n PUBKEY: SignatureKey + 'static,\n TYPES: NodeType<SignatureKey = PUBKEY>,

      pub fn non_staked_nodes_count(&self) -> usize

      get the non-staked builder nodes

      \n

      pub fn non_staked_nodes(&self) -> Vec<PUBKEY>

      get all the non-staked nodes

      \n
      ",0,"hotshot_query_service::testing::mocks::MockMembership"],["
      §

      impl<T, PUBKEY> Hash for GeneralStaticCommittee<T, PUBKEY>
      where\n T: Hash,\n PUBKEY: Hash + SignatureKey,\n <PUBKEY as SignatureKey>::StakeTableEntry: Hash,

      §

      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::testing::mocks::MockMembership"],["
      §

      impl<TYPES, PUBKEY> Membership<TYPES> for GeneralStaticCommittee<TYPES, PUBKEY>
      where\n PUBKEY: SignatureKey + 'static,\n TYPES: NodeType<SignatureKey = PUBKEY>,

      §

      fn committee_qc_stake_table(\n &self,\n) -> Vec<<PUBKEY as SignatureKey>::StakeTableEntry>

      Clone the public key and corresponding stake table for current elected committee

      \n
      §

      fn committee_topic(&self) -> Topic

      Get the network topic for the committee

      \n
      §

      fn leader(&self, view_number: <TYPES as NodeType>::Time) -> PUBKEY

      Index the vector of public keys with the current view number

      \n
      §

      fn has_stake(&self, pub_key: &PUBKEY) -> bool

      Check if a key has stake
      §

      fn stake(\n &self,\n pub_key: &<TYPES as NodeType>::SignatureKey,\n) -> Option<<<TYPES as NodeType>::SignatureKey as SignatureKey>::StakeTableEntry>

      Get the stake table entry for a public key, returns None if the\nkey is not in the table
      §

      fn create_election(\n all_nodes: Vec<PeerConfig<PUBKEY>>,\n committee_members: Vec<PeerConfig<PUBKEY>>,\n committee_topic: Topic,\n fixed_leader_for_gpuvid: usize,\n) -> GeneralStaticCommittee<TYPES, PUBKEY>

      create an election\nTODO may want to move this to a testableelection trait
      §

      fn total_nodes(&self) -> usize

      Returns the number of total nodes in the committee
      §

      fn success_threshold(&self) -> NonZero<u64>

      Returns the threshold for a specific Membership implementation
      §

      fn failure_threshold(&self) -> NonZero<u64>

      Returns the threshold for a specific Membership implementation
      §

      fn upgrade_threshold(&self) -> NonZero<u64>

      Returns the threshold required to upgrade the network protocol
      §

      fn staked_committee(\n &self,\n _view_number: <TYPES as NodeType>::Time,\n) -> BTreeSet<<TYPES as NodeType>::SignatureKey>

      The staked members of the committee for view view_number.
      §

      fn non_staked_committee(\n &self,\n _view_number: <TYPES as NodeType>::Time,\n) -> BTreeSet<<TYPES as NodeType>::SignatureKey>

      The non-staked members of the committee for view view_number.
      §

      fn whole_committee(\n &self,\n view_number: <TYPES as NodeType>::Time,\n) -> BTreeSet<<TYPES as NodeType>::SignatureKey>

      Get whole (staked + non-staked) committee for view view_number.
      ","Membership","hotshot_query_service::testing::mocks::MockMembership"],["
      §

      impl<T, PUBKEY> PartialEq for GeneralStaticCommittee<T, PUBKEY>
      where\n T: PartialEq,\n PUBKEY: PartialEq + SignatureKey,\n <PUBKEY as SignatureKey>::StakeTableEntry: PartialEq,

      §

      fn eq(&self, other: &GeneralStaticCommittee<T, PUBKEY>) -> 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::testing::mocks::MockMembership"],["
      §

      impl<T, PUBKEY> Eq for GeneralStaticCommittee<T, PUBKEY>
      where\n T: Eq,\n PUBKEY: Eq + SignatureKey,\n <PUBKEY as SignatureKey>::StakeTableEntry: Eq,

      ","Eq","hotshot_query_service::testing::mocks::MockMembership"],["
      §

      impl<T, PUBKEY> StructuralPartialEq for GeneralStaticCommittee<T, PUBKEY>
      where\n PUBKEY: SignatureKey,

      ","StructuralPartialEq","hotshot_query_service::testing::mocks::MockMembership"]] +"hotshot_query_service":[["
      §

      impl<T, PUBKEY> Clone for GeneralStaticCommittee<T, PUBKEY>
      where\n T: Clone,\n PUBKEY: Clone + SignatureKey,\n <PUBKEY as SignatureKey>::StakeTableEntry: Clone,

      §

      fn clone(&self) -> GeneralStaticCommittee<T, PUBKEY>

      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::testing::mocks::MockMembership"],["
      §

      impl<T, PUBKEY> Debug for GeneralStaticCommittee<T, PUBKEY>
      where\n T: Debug,\n PUBKEY: Debug + SignatureKey,\n <PUBKEY as SignatureKey>::StakeTableEntry: Debug,

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::testing::mocks::MockMembership"],["
      §

      impl<T, PUBKEY> GeneralStaticCommittee<T, PUBKEY>
      where\n PUBKEY: SignatureKey,

      pub fn new(\n _nodes: &[PUBKEY],\n nodes_with_stake: Vec<<PUBKEY as SignatureKey>::StakeTableEntry>,\n nodes_without_stake: Vec<PUBKEY>,\n fixed_leader_for_gpuvid: usize,\n committee_topic: Topic,\n) -> GeneralStaticCommittee<T, PUBKEY>

      Creates a new dummy elector

      \n
      ",0,"hotshot_query_service::testing::mocks::MockMembership"],["
      §

      impl<TYPES, PUBKEY> GeneralStaticCommittee<TYPES, PUBKEY>
      where\n PUBKEY: SignatureKey + 'static,\n TYPES: NodeType<SignatureKey = PUBKEY>,

      pub fn non_staked_nodes_count(&self) -> usize

      get the non-staked builder nodes

      \n

      pub fn non_staked_nodes(&self) -> Vec<PUBKEY>

      get all the non-staked nodes

      \n
      ",0,"hotshot_query_service::testing::mocks::MockMembership"],["
      §

      impl<T, PUBKEY> Hash for GeneralStaticCommittee<T, PUBKEY>
      where\n T: Hash,\n PUBKEY: Hash + SignatureKey,\n <PUBKEY as SignatureKey>::StakeTableEntry: Hash,

      §

      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::testing::mocks::MockMembership"],["
      §

      impl<TYPES, PUBKEY> Membership<TYPES> for GeneralStaticCommittee<TYPES, PUBKEY>
      where\n PUBKEY: SignatureKey + 'static,\n TYPES: NodeType<SignatureKey = PUBKEY>,

      §

      fn committee_qc_stake_table(\n &self,\n) -> Vec<<PUBKEY as SignatureKey>::StakeTableEntry>

      Clone the public key and corresponding stake table for current elected committee

      \n
      §

      fn committee_topic(&self) -> Topic

      Get the network topic for the committee

      \n
      §

      fn leader(&self, view_number: <TYPES as NodeType>::Time) -> PUBKEY

      Index the vector of public keys with the current view number

      \n
      §

      fn has_stake(&self, pub_key: &PUBKEY) -> bool

      Check if a key has stake
      §

      fn stake(\n &self,\n pub_key: &<TYPES as NodeType>::SignatureKey,\n) -> Option<<<TYPES as NodeType>::SignatureKey as SignatureKey>::StakeTableEntry>

      Get the stake table entry for a public key, returns None if the\nkey is not in the table
      §

      fn create_election(\n all_nodes: Vec<PeerConfig<PUBKEY>>,\n committee_members: Vec<PeerConfig<PUBKEY>>,\n committee_topic: Topic,\n fixed_leader_for_gpuvid: usize,\n) -> GeneralStaticCommittee<TYPES, PUBKEY>

      create an election\nTODO may want to move this to a testableelection trait
      §

      fn total_nodes(&self) -> usize

      Returns the number of total nodes in the committee
      §

      fn success_threshold(&self) -> NonZero<u64>

      Returns the threshold for a specific Membership implementation
      §

      fn failure_threshold(&self) -> NonZero<u64>

      Returns the threshold for a specific Membership implementation
      §

      fn upgrade_threshold(&self) -> NonZero<u64>

      Returns the threshold required to upgrade the network protocol
      §

      fn staked_committee(\n &self,\n _view_number: <TYPES as NodeType>::Time,\n) -> BTreeSet<<TYPES as NodeType>::SignatureKey>

      The staked members of the committee for view view_number.
      §

      fn non_staked_committee(\n &self,\n _view_number: <TYPES as NodeType>::Time,\n) -> BTreeSet<<TYPES as NodeType>::SignatureKey>

      The non-staked members of the committee for view view_number.
      §

      fn whole_committee(\n &self,\n view_number: <TYPES as NodeType>::Time,\n) -> BTreeSet<<TYPES as NodeType>::SignatureKey>

      Get whole (staked + non-staked) committee for view view_number.
      ","Membership","hotshot_query_service::testing::mocks::MockMembership"],["
      §

      impl<T, PUBKEY> PartialEq for GeneralStaticCommittee<T, PUBKEY>
      where\n T: PartialEq,\n PUBKEY: PartialEq + SignatureKey,\n <PUBKEY as SignatureKey>::StakeTableEntry: PartialEq,

      §

      fn eq(&self, other: &GeneralStaticCommittee<T, PUBKEY>) -> 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::testing::mocks::MockMembership"],["
      §

      impl<T, PUBKEY> Eq for GeneralStaticCommittee<T, PUBKEY>
      where\n T: Eq,\n PUBKEY: Eq + SignatureKey,\n <PUBKEY as SignatureKey>::StakeTableEntry: Eq,

      ","Eq","hotshot_query_service::testing::mocks::MockMembership"],["
      §

      impl<T, PUBKEY> StructuralPartialEq for GeneralStaticCommittee<T, PUBKEY>
      where\n PUBKEY: SignatureKey,

      ","StructuralPartialEq","hotshot_query_service::testing::mocks::MockMembership"]] };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/traits/networking/memory_network/struct.MemoryNetwork.js b/type.impl/hotshot/traits/networking/memory_network/struct.MemoryNetwork.js index 2b0be3028..31ae9c99e 100644 --- a/type.impl/hotshot/traits/networking/memory_network/struct.MemoryNetwork.js +++ b/type.impl/hotshot/traits/networking/memory_network/struct.MemoryNetwork.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"hotshot_query_service":[["
      §

      impl<K> Clone for MemoryNetwork<K>
      where\n K: Clone + SignatureKey,

      §

      fn clone(&self) -> MemoryNetwork<K>

      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::testing::mocks::MockNetwork"],["
      §

      impl<K> ConnectedNetwork<K> for MemoryNetwork<K>
      where\n K: SignatureKey + 'static,

      §

      fn recv_msgs<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = Result<Vec<Vec<u8>>, NetworkError>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n MemoryNetwork<K>: 'async_trait,

      Receive one or many messages from the underlying network.

      \n
      §Errors
      \n

      If the other side of the channel is closed

      \n
      §

      fn wait_for_ready<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n MemoryNetwork<K>: 'async_trait,

      Blocks until the network is successfully initialized
      §

      fn pause(&self)

      Pauses the underlying network
      §

      fn resume(&self)

      Resumes the underlying network
      §

      fn shut_down<'a, 'b>(\n &'a self,\n) -> Pin<Box<dyn Future<Output = ()> + Sync + Send + 'b>>
      where\n 'a: 'b,\n MemoryNetwork<K>: 'b,

      Blocks until the network is shut down
      §

      fn broadcast_message<'life0, 'async_trait>(\n &'life0 self,\n message: Vec<u8>,\n topic: Topic,\n _broadcast_delay: BroadcastDelay,\n) -> Pin<Box<dyn Future<Output = Result<(), NetworkError>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n MemoryNetwork<K>: 'async_trait,

      broadcast message to some subset of nodes\nblocking
      §

      fn da_broadcast_message<'life0, 'async_trait>(\n &'life0 self,\n message: Vec<u8>,\n recipients: BTreeSet<K>,\n broadcast_delay: BroadcastDelay,\n) -> Pin<Box<dyn Future<Output = Result<(), NetworkError>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n MemoryNetwork<K>: 'async_trait,

      broadcast a message only to a DA committee\nblocking
      §

      fn direct_message<'life0, 'async_trait>(\n &'life0 self,\n message: Vec<u8>,\n recipient: K,\n) -> Pin<Box<dyn Future<Output = Result<(), NetworkError>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n MemoryNetwork<K>: 'async_trait,

      Sends a direct message to a specific node\nblocking
      §

      fn vid_broadcast_message<'life0, 'async_trait>(\n &'life0 self,\n messages: HashMap<K, Vec<u8>>,\n) -> Pin<Box<dyn Future<Output = Result<(), NetworkError>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n Self: 'async_trait,

      send messages with vid shares to its recipients\nblocking
      §

      fn request_data<'life0, 'life1, 'async_trait, TYPES>(\n &'life0 self,\n _request: Vec<u8>,\n _recipient: &'life1 K,\n) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, NetworkError>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n 'life1: 'async_trait,\n TYPES: 'async_trait + NodeType,\n Self: 'async_trait,

      Ask request the network for some data. Returns the request ID for that data,\nThe ID returned can be used for cancelling the request
      §

      fn spawn_request_receiver_task<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = Option<Receiver<(Vec<u8>, ResponseChannel<Vec<u8>>)>>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n Self: 'async_trait,

      Spawn a request task in the given network layer. If it supports\nRequest and responses it will return the receiving end of a channel.\nRequests the network receives will be sent over this channel along\nwith a return channel to send the response back to. Read more
      §

      fn queue_node_lookup(\n &self,\n _view_number: ViewNumber,\n _pk: K,\n) -> Result<(), TrySendError<Option<(ViewNumber, K)>>>

      queues lookup of a node Read more
      §

      fn update_view<'a, 'life0, 'async_trait, TYPES>(\n &'a self,\n _view: u64,\n _membership: &'life0 <TYPES as NodeType>::Membership,\n) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
      where\n 'a: 'async_trait,\n 'life0: 'async_trait,\n TYPES: NodeType<SignatureKey = K> + 'a + 'async_trait,\n Self: 'async_trait,

      handles view update
      §

      fn is_primary_down(&self) -> bool

      Is primary network down? Makes sense only for combined network
      ","ConnectedNetwork","hotshot_query_service::testing::mocks::MockNetwork"],["
      §

      impl<K> Debug for MemoryNetwork<K>
      where\n K: SignatureKey,

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::testing::mocks::MockNetwork"],["
      §

      impl<K> MemoryNetwork<K>
      where\n K: SignatureKey,

      pub fn new(\n pub_key: &K,\n master_map: &Arc<MasterMap<K>>,\n subscribed_topics: &[Topic],\n reliability_config: Option<Box<dyn NetworkReliability>>,\n) -> MemoryNetwork<K>

      Creates a new MemoryNetwork and hooks it up to the group through the provided MasterMap

      \n
      ",0,"hotshot_query_service::testing::mocks::MockNetwork"],["
      §

      impl<TYPES> TestableNetworkingImplementation<TYPES> for MemoryNetwork<<TYPES as NodeType>::SignatureKey>
      where\n TYPES: NodeType,

      §

      fn generator(\n _expected_node_count: usize,\n _num_bootstrap: usize,\n _network_id: usize,\n da_committee_size: usize,\n _is_da: bool,\n reliability_config: Option<Box<dyn NetworkReliability>>,\n _secondary_network_delay: Duration,\n) -> Pin<Box<dyn Fn(u64) -> Pin<Box<dyn Future<Output = Arc<MemoryNetwork<<TYPES as NodeType>::SignatureKey>>>>>>>

      generates a network given an expected node count
      §

      fn in_flight_message_count(&self) -> Option<usize>

      Get the number of messages in-flight. Read more
      ","TestableNetworkingImplementation","hotshot_query_service::testing::mocks::MockNetwork"]] +"hotshot_query_service":[["
      §

      impl<K> Clone for MemoryNetwork<K>
      where\n K: Clone + SignatureKey,

      §

      fn clone(&self) -> MemoryNetwork<K>

      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::testing::mocks::MockNetwork"],["
      §

      impl<K> ConnectedNetwork<K> for MemoryNetwork<K>
      where\n K: SignatureKey + 'static,

      §

      fn recv_msgs<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = Result<Vec<Vec<u8>>, NetworkError>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n MemoryNetwork<K>: 'async_trait,

      Receive one or many messages from the underlying network.

      \n
      §Errors
      \n

      If the other side of the channel is closed

      \n
      §

      fn wait_for_ready<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n MemoryNetwork<K>: 'async_trait,

      Blocks until the network is successfully initialized
      §

      fn pause(&self)

      Pauses the underlying network
      §

      fn resume(&self)

      Resumes the underlying network
      §

      fn shut_down<'a, 'b>(\n &'a self,\n) -> Pin<Box<dyn Future<Output = ()> + Sync + Send + 'b>>
      where\n 'a: 'b,\n MemoryNetwork<K>: 'b,

      Blocks until the network is shut down
      §

      fn broadcast_message<'life0, 'async_trait>(\n &'life0 self,\n message: Vec<u8>,\n topic: Topic,\n _broadcast_delay: BroadcastDelay,\n) -> Pin<Box<dyn Future<Output = Result<(), NetworkError>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n MemoryNetwork<K>: 'async_trait,

      broadcast message to some subset of nodes\nblocking
      §

      fn da_broadcast_message<'life0, 'async_trait>(\n &'life0 self,\n message: Vec<u8>,\n recipients: BTreeSet<K>,\n broadcast_delay: BroadcastDelay,\n) -> Pin<Box<dyn Future<Output = Result<(), NetworkError>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n MemoryNetwork<K>: 'async_trait,

      broadcast a message only to a DA committee\nblocking
      §

      fn direct_message<'life0, 'async_trait>(\n &'life0 self,\n message: Vec<u8>,\n recipient: K,\n) -> Pin<Box<dyn Future<Output = Result<(), NetworkError>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n MemoryNetwork<K>: 'async_trait,

      Sends a direct message to a specific node\nblocking
      §

      fn vid_broadcast_message<'life0, 'async_trait>(\n &'life0 self,\n messages: HashMap<K, Vec<u8>>,\n) -> Pin<Box<dyn Future<Output = Result<(), NetworkError>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n Self: 'async_trait,

      send messages with vid shares to its recipients\nblocking
      §

      fn request_data<'life0, 'life1, 'async_trait, TYPES>(\n &'life0 self,\n _request: Vec<u8>,\n _recipient: &'life1 K,\n) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, NetworkError>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n 'life1: 'async_trait,\n TYPES: 'async_trait + NodeType,\n Self: 'async_trait,

      Ask request the network for some data. Returns the request ID for that data,\nThe ID returned can be used for cancelling the request
      §

      fn spawn_request_receiver_task<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = Option<Receiver<(Vec<u8>, ResponseChannel<Vec<u8>>)>>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n Self: 'async_trait,

      Spawn a request task in the given network layer. If it supports\nRequest and responses it will return the receiving end of a channel.\nRequests the network receives will be sent over this channel along\nwith a return channel to send the response back to. Read more
      §

      fn queue_node_lookup(\n &self,\n _view_number: ViewNumber,\n _pk: K,\n) -> Result<(), TrySendError<Option<(ViewNumber, K)>>>

      queues lookup of a node Read more
      §

      fn update_view<'a, 'life0, 'async_trait, TYPES>(\n &'a self,\n _view: u64,\n _membership: &'life0 <TYPES as NodeType>::Membership,\n) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
      where\n 'a: 'async_trait,\n 'life0: 'async_trait,\n TYPES: NodeType<SignatureKey = K> + 'a + 'async_trait,\n Self: 'async_trait,

      handles view update
      §

      fn is_primary_down(&self) -> bool

      Is primary network down? Makes sense only for combined network
      ","ConnectedNetwork","hotshot_query_service::testing::mocks::MockNetwork"],["
      §

      impl<K> Debug for MemoryNetwork<K>
      where\n K: SignatureKey,

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::testing::mocks::MockNetwork"],["
      §

      impl<K> MemoryNetwork<K>
      where\n K: SignatureKey,

      pub fn new(\n pub_key: &K,\n master_map: &Arc<MasterMap<K>>,\n subscribed_topics: &[Topic],\n reliability_config: Option<Box<dyn NetworkReliability>>,\n) -> MemoryNetwork<K>

      Creates a new MemoryNetwork and hooks it up to the group through the provided MasterMap

      \n
      ",0,"hotshot_query_service::testing::mocks::MockNetwork"],["
      §

      impl<TYPES> TestableNetworkingImplementation<TYPES> for MemoryNetwork<<TYPES as NodeType>::SignatureKey>
      where\n TYPES: NodeType,

      §

      fn generator(\n _expected_node_count: usize,\n _num_bootstrap: usize,\n _network_id: usize,\n da_committee_size: usize,\n _is_da: bool,\n reliability_config: Option<Box<dyn NetworkReliability>>,\n _secondary_network_delay: Duration,\n) -> Pin<Box<dyn Fn(u64) -> Pin<Box<dyn Future<Output = Arc<MemoryNetwork<<TYPES as NodeType>::SignatureKey>>>>>>>

      generates a network given an expected node count
      §

      fn in_flight_message_count(&self) -> Option<usize>

      Get the number of messages in-flight. Read more
      ","TestableNetworkingImplementation","hotshot_query_service::testing::mocks::MockNetwork"]] };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_example_types/auction_results_provider_types/struct.TestAuctionResult.js b/type.impl/hotshot_example_types/auction_results_provider_types/struct.TestAuctionResult.js index 3b520333e..e5c829e97 100644 --- a/type.impl/hotshot_example_types/auction_results_provider_types/struct.TestAuctionResult.js +++ b/type.impl/hotshot_example_types/auction_results_provider_types/struct.TestAuctionResult.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"hotshot_query_service":[["
      §

      impl Clone for TestAuctionResult

      §

      fn clone(&self) -> TestAuctionResult

      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::testing::mocks::MockAuctionResults"],["
      §

      impl Debug for TestAuctionResult

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::testing::mocks::MockAuctionResults"],["
      §

      impl Default for TestAuctionResult

      §

      fn default() -> TestAuctionResult

      Returns the “default value” for a type. Read more
      ","Default","hotshot_query_service::testing::mocks::MockAuctionResults"],["
      §

      impl<'de> Deserialize<'de> for TestAuctionResult

      §

      fn deserialize<__D>(\n __deserializer: __D,\n) -> Result<TestAuctionResult, <__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::testing::mocks::MockAuctionResults"],["
      §

      impl HasUrls for TestAuctionResult

      §

      fn urls(&self) -> Vec<Url>

      Returns the builer url associated with the datatype
      ","HasUrls","hotshot_query_service::testing::mocks::MockAuctionResults"],["
      §

      impl PartialEq for TestAuctionResult

      §

      fn eq(&self, other: &TestAuctionResult) -> 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::testing::mocks::MockAuctionResults"],["
      §

      impl Serialize for TestAuctionResult

      §

      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::testing::mocks::MockAuctionResults"],["
      §

      impl Eq for TestAuctionResult

      ","Eq","hotshot_query_service::testing::mocks::MockAuctionResults"],["
      §

      impl StructuralPartialEq for TestAuctionResult

      ","StructuralPartialEq","hotshot_query_service::testing::mocks::MockAuctionResults"]] +"hotshot_query_service":[["
      §

      impl Clone for TestAuctionResult

      §

      fn clone(&self) -> TestAuctionResult

      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::testing::mocks::MockAuctionResults"],["
      §

      impl Debug for TestAuctionResult

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::testing::mocks::MockAuctionResults"],["
      §

      impl Default for TestAuctionResult

      §

      fn default() -> TestAuctionResult

      Returns the “default value” for a type. Read more
      ","Default","hotshot_query_service::testing::mocks::MockAuctionResults"],["
      §

      impl<'de> Deserialize<'de> for TestAuctionResult

      §

      fn deserialize<__D>(\n __deserializer: __D,\n) -> Result<TestAuctionResult, <__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::testing::mocks::MockAuctionResults"],["
      §

      impl HasUrls for TestAuctionResult

      §

      fn urls(&self) -> Vec<Url>

      Returns the builer url associated with the datatype
      ","HasUrls","hotshot_query_service::testing::mocks::MockAuctionResults"],["
      §

      impl PartialEq for TestAuctionResult

      §

      fn eq(&self, other: &TestAuctionResult) -> 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::testing::mocks::MockAuctionResults"],["
      §

      impl Serialize for TestAuctionResult

      §

      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::testing::mocks::MockAuctionResults"],["
      §

      impl Eq for TestAuctionResult

      ","Eq","hotshot_query_service::testing::mocks::MockAuctionResults"],["
      §

      impl StructuralPartialEq for TestAuctionResult

      ","StructuralPartialEq","hotshot_query_service::testing::mocks::MockAuctionResults"]] };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_example_types/block_types/struct.TestBlockHeader.js b/type.impl/hotshot_example_types/block_types/struct.TestBlockHeader.js index ff2c90c93..8f515e3fb 100644 --- a/type.impl/hotshot_example_types/block_types/struct.TestBlockHeader.js +++ b/type.impl/hotshot_example_types/block_types/struct.TestBlockHeader.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"hotshot_query_service":[["
      §

      impl<TYPES> BlockHeader<TYPES> for TestBlockHeader
      where\n TYPES: NodeType<BlockHeader = TestBlockHeader, BlockPayload = TestBlockPayload>,

      §

      type Error = Infallible

      Error type for this type of block header
      §

      async fn new_legacy(\n _parent_state: &<TYPES as NodeType>::ValidatedState,\n _instance_state: &<<TYPES as NodeType>::ValidatedState as ValidatedState<TYPES>>::Instance,\n parent_leaf: &Leaf<TYPES>,\n payload_commitment: <VidSchemeType as VidScheme>::Commit,\n builder_commitment: BuilderCommitment,\n _metadata: <<TYPES as NodeType>::BlockPayload as BlockPayload<TYPES>>::Metadata,\n _builder_fee: BuilderFee<TYPES>,\n _vid_common: <VidSchemeType as VidScheme>::Common,\n _version: Version,\n) -> Result<TestBlockHeader, <TestBlockHeader as BlockHeader<TYPES>>::Error>

      Build a header with the parent validate state, instance-level state, parent leaf, payload\ncommitment, and metadata. This is only used in pre-marketplace versions
      §

      async fn new_marketplace(\n _parent_state: &<TYPES as NodeType>::ValidatedState,\n _instance_state: &<<TYPES as NodeType>::ValidatedState as ValidatedState<TYPES>>::Instance,\n _parent_leaf: &Leaf<TYPES>,\n _payload_commitment: <VidSchemeType as VidScheme>::Commit,\n _metadata: <<TYPES as NodeType>::BlockPayload as BlockPayload<TYPES>>::Metadata,\n _builder_fee: Vec<BuilderFee<TYPES>>,\n _vid_common: <VidSchemeType as VidScheme>::Common,\n _auction_results: Option<<TYPES as NodeType>::AuctionResult>,\n _version: Version,\n) -> Result<TestBlockHeader, <TestBlockHeader as BlockHeader<TYPES>>::Error>

      Build a header with the parent validate state, instance-level state, parent leaf, payload\ncommitment, metadata, and auction results. This is only used in post-marketplace versions
      §

      fn genesis(\n _instance_state: &<<TYPES as NodeType>::ValidatedState as ValidatedState<TYPES>>::Instance,\n payload_commitment: <VidSchemeType as VidScheme>::Commit,\n builder_commitment: BuilderCommitment,\n _metadata: <<TYPES as NodeType>::BlockPayload as BlockPayload<TYPES>>::Metadata,\n) -> TestBlockHeader

      Build the genesis header, payload, and metadata.
      §

      fn block_number(&self) -> u64

      Get the block number.
      §

      fn payload_commitment(&self) -> <VidSchemeType as VidScheme>::Commit

      Get the payload commitment.
      §

      fn metadata(\n &self,\n) -> &<<TYPES as NodeType>::BlockPayload as BlockPayload<TYPES>>::Metadata

      Get the metadata.
      §

      fn builder_commitment(&self) -> BuilderCommitment

      Get the builder commitment
      §

      fn get_auction_results(&self) -> Option<<TYPES as NodeType>::AuctionResult>

      Get the results of the auction for this Header. Only used in post-marketplace versions
      ","BlockHeader","hotshot_query_service::testing::mocks::MockHeader"],["
      §

      impl Clone for TestBlockHeader

      §

      fn clone(&self) -> TestBlockHeader

      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::testing::mocks::MockHeader"],["
      §

      impl Committable for TestBlockHeader

      §

      fn commit(&self) -> Commitment<TestBlockHeader>

      Create a binding commitment to self.
      §

      fn tag() -> String

      Tag that should be used when serializing commitments to this type. Read more
      ","Committable","hotshot_query_service::testing::mocks::MockHeader"],["
      §

      impl Debug for TestBlockHeader

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::testing::mocks::MockHeader"],["
      §

      impl<'de> Deserialize<'de> for TestBlockHeader

      §

      fn deserialize<__D>(\n __deserializer: __D,\n) -> Result<TestBlockHeader, <__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::testing::mocks::MockHeader"],["
      §

      impl Hash for TestBlockHeader

      §

      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::testing::mocks::MockHeader"],["
      §

      impl PartialEq for TestBlockHeader

      §

      fn eq(&self, other: &TestBlockHeader) -> 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::testing::mocks::MockHeader"],["
      §

      impl Serialize for TestBlockHeader

      §

      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::testing::mocks::MockHeader"],["
      §

      impl Eq for TestBlockHeader

      ","Eq","hotshot_query_service::testing::mocks::MockHeader"],["
      §

      impl StructuralPartialEq for TestBlockHeader

      ","StructuralPartialEq","hotshot_query_service::testing::mocks::MockHeader"]] +"hotshot_query_service":[["
      §

      impl<TYPES> BlockHeader<TYPES> for TestBlockHeader
      where\n TYPES: NodeType<BlockHeader = TestBlockHeader, BlockPayload = TestBlockPayload>,

      §

      type Error = Infallible

      Error type for this type of block header
      §

      async fn new_legacy(\n _parent_state: &<TYPES as NodeType>::ValidatedState,\n _instance_state: &<<TYPES as NodeType>::ValidatedState as ValidatedState<TYPES>>::Instance,\n parent_leaf: &Leaf<TYPES>,\n payload_commitment: <VidSchemeType as VidScheme>::Commit,\n builder_commitment: BuilderCommitment,\n _metadata: <<TYPES as NodeType>::BlockPayload as BlockPayload<TYPES>>::Metadata,\n _builder_fee: BuilderFee<TYPES>,\n _vid_common: <VidSchemeType as VidScheme>::Common,\n _version: Version,\n) -> Result<TestBlockHeader, <TestBlockHeader as BlockHeader<TYPES>>::Error>

      Build a header with the parent validate state, instance-level state, parent leaf, payload\nand builder commitments, and metadata. This is only used in pre-marketplace versions
      §

      async fn new_marketplace(\n _parent_state: &<TYPES as NodeType>::ValidatedState,\n _instance_state: &<<TYPES as NodeType>::ValidatedState as ValidatedState<TYPES>>::Instance,\n parent_leaf: &Leaf<TYPES>,\n payload_commitment: <VidSchemeType as VidScheme>::Commit,\n builder_commitment: BuilderCommitment,\n _metadata: <<TYPES as NodeType>::BlockPayload as BlockPayload<TYPES>>::Metadata,\n _builder_fee: Vec<BuilderFee<TYPES>>,\n _vid_common: <VidSchemeType as VidScheme>::Common,\n _auction_results: Option<<TYPES as NodeType>::AuctionResult>,\n _version: Version,\n) -> Result<TestBlockHeader, <TestBlockHeader as BlockHeader<TYPES>>::Error>

      Build a header with the parent validate state, instance-level state, parent leaf, payload\nand builder commitments, metadata, and auction results. This is only used in post-marketplace\nversions
      §

      fn genesis(\n _instance_state: &<<TYPES as NodeType>::ValidatedState as ValidatedState<TYPES>>::Instance,\n payload_commitment: <VidSchemeType as VidScheme>::Commit,\n builder_commitment: BuilderCommitment,\n _metadata: <<TYPES as NodeType>::BlockPayload as BlockPayload<TYPES>>::Metadata,\n) -> TestBlockHeader

      Build the genesis header, payload, and metadata.
      §

      fn block_number(&self) -> u64

      Get the block number.
      §

      fn payload_commitment(&self) -> <VidSchemeType as VidScheme>::Commit

      Get the payload commitment.
      §

      fn metadata(\n &self,\n) -> &<<TYPES as NodeType>::BlockPayload as BlockPayload<TYPES>>::Metadata

      Get the metadata.
      §

      fn builder_commitment(&self) -> BuilderCommitment

      Get the builder commitment
      §

      fn get_auction_results(&self) -> Option<<TYPES as NodeType>::AuctionResult>

      Get the results of the auction for this Header. Only used in post-marketplace versions
      ","BlockHeader","hotshot_query_service::testing::mocks::MockHeader"],["
      §

      impl Clone for TestBlockHeader

      §

      fn clone(&self) -> TestBlockHeader

      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::testing::mocks::MockHeader"],["
      §

      impl Committable for TestBlockHeader

      §

      fn commit(&self) -> Commitment<TestBlockHeader>

      Create a binding commitment to self.
      §

      fn tag() -> String

      Tag that should be used when serializing commitments to this type. Read more
      ","Committable","hotshot_query_service::testing::mocks::MockHeader"],["
      §

      impl Debug for TestBlockHeader

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::testing::mocks::MockHeader"],["
      §

      impl<'de> Deserialize<'de> for TestBlockHeader

      §

      fn deserialize<__D>(\n __deserializer: __D,\n) -> Result<TestBlockHeader, <__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::testing::mocks::MockHeader"],["
      §

      impl Hash for TestBlockHeader

      §

      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::testing::mocks::MockHeader"],["
      §

      impl PartialEq for TestBlockHeader

      §

      fn eq(&self, other: &TestBlockHeader) -> 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::testing::mocks::MockHeader"],["
      §

      impl Serialize for TestBlockHeader

      §

      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::testing::mocks::MockHeader"],["
      §

      impl Eq for TestBlockHeader

      ","Eq","hotshot_query_service::testing::mocks::MockHeader"],["
      §

      impl StructuralPartialEq for TestBlockHeader

      ","StructuralPartialEq","hotshot_query_service::testing::mocks::MockHeader"]] };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_example_types/block_types/struct.TestBlockPayload.js b/type.impl/hotshot_example_types/block_types/struct.TestBlockPayload.js index 6ca4b646f..a52d429ac 100644 --- a/type.impl/hotshot_example_types/block_types/struct.TestBlockPayload.js +++ b/type.impl/hotshot_example_types/block_types/struct.TestBlockPayload.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"hotshot_query_service":[["
      §

      impl<TYPES> BlockPayload<TYPES> for TestBlockPayload
      where\n TYPES: NodeType,

      §

      type Error = BlockError

      The error type for this type of block
      §

      type Instance = TestInstanceState

      The type of the instance-level state this state is associated with
      §

      type Transaction = TestTransaction

      The type of the transitions we are applying
      §

      type Metadata = TestMetadata

      Data created during block building which feeds into the block header
      §

      type ValidatedState = TestValidatedState

      Validated State
      §

      fn from_transactions<'life0, 'life1, 'async_trait>(\n transactions: impl IntoIterator<Item = <TestBlockPayload as BlockPayload<TYPES>>::Transaction> + Send + 'async_trait,\n _validated_state: &'life0 <TestBlockPayload as BlockPayload<TYPES>>::ValidatedState,\n _instance_state: &'life1 <TestBlockPayload as BlockPayload<TYPES>>::Instance,\n) -> Pin<Box<dyn Future<Output = Result<(TestBlockPayload, <TestBlockPayload as BlockPayload<TYPES>>::Metadata), <TestBlockPayload as BlockPayload<TYPES>>::Error>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n 'life1: 'async_trait,\n TestBlockPayload: 'async_trait,

      Build a payload and associated metadata with the transactions.\nThis function is asynchronous because it may need to request updated state from the peers via GET requests. Read more
      §

      fn from_bytes(\n encoded_transactions: &[u8],\n _metadata: &<TestBlockPayload as BlockPayload<TYPES>>::Metadata,\n) -> TestBlockPayload

      Build a payload with the encoded transaction bytes, metadata,\nand the associated number of VID storage nodes
      §

      fn empty() -> (TestBlockPayload, <TestBlockPayload as BlockPayload<TYPES>>::Metadata)

      Build the payload and metadata for genesis/null block.
      §

      fn builder_commitment(\n &self,\n _metadata: &<TestBlockPayload as BlockPayload<TYPES>>::Metadata,\n) -> BuilderCommitment

      Generate commitment that builders use to sign block options.
      §

      fn transactions<'a>(\n &'a self,\n _metadata: &'a <TestBlockPayload as BlockPayload<TYPES>>::Metadata,\n) -> impl Iterator<Item = <TestBlockPayload as BlockPayload<TYPES>>::Transaction> + 'a

      Get the transactions in the payload.
      §

      fn transaction_commitments(\n &self,\n metadata: &Self::Metadata,\n) -> Vec<Commitment<Self::Transaction>>

      List of transaction commitments.
      §

      fn num_transactions(&self, metadata: &Self::Metadata) -> usize

      Number of transactions in the block.
      ","BlockPayload","hotshot_query_service::testing::mocks::MockPayload"],["
      §

      impl Clone for TestBlockPayload

      §

      fn clone(&self) -> TestBlockPayload

      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::testing::mocks::MockPayload"],["
      §

      impl Debug for TestBlockPayload

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::testing::mocks::MockPayload"],["
      §

      impl<'de> Deserialize<'de> for TestBlockPayload

      §

      fn deserialize<__D>(\n __deserializer: __D,\n) -> Result<TestBlockPayload, <__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::testing::mocks::MockPayload"],["
      §

      impl Display for TestBlockPayload

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Display","hotshot_query_service::testing::mocks::MockPayload"],["
      §

      impl EncodeBytes for TestBlockPayload

      §

      fn encode(&self) -> Arc<[u8]>

      Encode &self
      ","EncodeBytes","hotshot_query_service::testing::mocks::MockPayload"],["
      §

      impl Hash for TestBlockPayload

      §

      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::testing::mocks::MockPayload"],["
      §

      impl PartialEq for TestBlockPayload

      §

      fn eq(&self, other: &TestBlockPayload) -> 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::testing::mocks::MockPayload"],["
      §

      impl Serialize for TestBlockPayload

      §

      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::testing::mocks::MockPayload"],["
      §

      impl TestBlockPayload

      pub fn genesis() -> TestBlockPayload

      Create a genesis block payload with bytes vec![0], to be used for\nconsensus task initiation.

      \n
      §Panics
      \n

      If the VidScheme construction fails.

      \n
      ",0,"hotshot_query_service::testing::mocks::MockPayload"],["
      §

      impl<TYPES> TestableBlock<TYPES> for TestBlockPayload
      where\n TYPES: NodeType,

      §

      fn genesis() -> TestBlockPayload

      generate a genesis block
      §

      fn txn_count(&self) -> u64

      the number of transactions in this block
      ","TestableBlock","hotshot_query_service::testing::mocks::MockPayload"],["
      §

      impl Eq for TestBlockPayload

      ","Eq","hotshot_query_service::testing::mocks::MockPayload"],["
      §

      impl StructuralPartialEq for TestBlockPayload

      ","StructuralPartialEq","hotshot_query_service::testing::mocks::MockPayload"]] +"hotshot_query_service":[["
      §

      impl<TYPES> BlockPayload<TYPES> for TestBlockPayload
      where\n TYPES: NodeType,

      §

      type Error = BlockError

      The error type for this type of block
      §

      type Instance = TestInstanceState

      The type of the instance-level state this state is associated with
      §

      type Transaction = TestTransaction

      The type of the transitions we are applying
      §

      type Metadata = TestMetadata

      Data created during block building which feeds into the block header
      §

      type ValidatedState = TestValidatedState

      Validated State
      §

      fn from_transactions<'life0, 'life1, 'async_trait>(\n transactions: impl IntoIterator<Item = <TestBlockPayload as BlockPayload<TYPES>>::Transaction> + Send + 'async_trait,\n _validated_state: &'life0 <TestBlockPayload as BlockPayload<TYPES>>::ValidatedState,\n _instance_state: &'life1 <TestBlockPayload as BlockPayload<TYPES>>::Instance,\n) -> Pin<Box<dyn Future<Output = Result<(TestBlockPayload, <TestBlockPayload as BlockPayload<TYPES>>::Metadata), <TestBlockPayload as BlockPayload<TYPES>>::Error>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n 'life1: 'async_trait,\n TestBlockPayload: 'async_trait,

      Build a payload and associated metadata with the transactions.\nThis function is asynchronous because it may need to request updated state from the peers via GET requests. Read more
      §

      fn from_bytes(\n encoded_transactions: &[u8],\n _metadata: &<TestBlockPayload as BlockPayload<TYPES>>::Metadata,\n) -> TestBlockPayload

      Build a payload with the encoded transaction bytes, metadata,\nand the associated number of VID storage nodes
      §

      fn empty() -> (TestBlockPayload, <TestBlockPayload as BlockPayload<TYPES>>::Metadata)

      Build the payload and metadata for genesis/null block.
      §

      fn builder_commitment(\n &self,\n _metadata: &<TestBlockPayload as BlockPayload<TYPES>>::Metadata,\n) -> BuilderCommitment

      Generate commitment that builders use to sign block options.
      §

      fn transactions<'a>(\n &'a self,\n _metadata: &'a <TestBlockPayload as BlockPayload<TYPES>>::Metadata,\n) -> impl Iterator<Item = <TestBlockPayload as BlockPayload<TYPES>>::Transaction> + 'a

      Get the transactions in the payload.
      §

      fn transaction_commitments(\n &self,\n metadata: &Self::Metadata,\n) -> Vec<Commitment<Self::Transaction>>

      List of transaction commitments.
      §

      fn num_transactions(&self, metadata: &Self::Metadata) -> usize

      Number of transactions in the block.
      ","BlockPayload","hotshot_query_service::testing::mocks::MockPayload"],["
      §

      impl Clone for TestBlockPayload

      §

      fn clone(&self) -> TestBlockPayload

      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::testing::mocks::MockPayload"],["
      §

      impl Debug for TestBlockPayload

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::testing::mocks::MockPayload"],["
      §

      impl<'de> Deserialize<'de> for TestBlockPayload

      §

      fn deserialize<__D>(\n __deserializer: __D,\n) -> Result<TestBlockPayload, <__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::testing::mocks::MockPayload"],["
      §

      impl Display for TestBlockPayload

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Display","hotshot_query_service::testing::mocks::MockPayload"],["
      §

      impl EncodeBytes for TestBlockPayload

      §

      fn encode(&self) -> Arc<[u8]>

      Encode &self
      ","EncodeBytes","hotshot_query_service::testing::mocks::MockPayload"],["
      §

      impl Hash for TestBlockPayload

      §

      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::testing::mocks::MockPayload"],["
      §

      impl PartialEq for TestBlockPayload

      §

      fn eq(&self, other: &TestBlockPayload) -> 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::testing::mocks::MockPayload"],["
      §

      impl Serialize for TestBlockPayload

      §

      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::testing::mocks::MockPayload"],["
      §

      impl TestBlockPayload

      pub fn genesis() -> TestBlockPayload

      Create a genesis block payload with bytes vec![0], to be used for\nconsensus task initiation.

      \n
      §Panics
      \n

      If the VidScheme construction fails.

      \n
      ",0,"hotshot_query_service::testing::mocks::MockPayload"],["
      §

      impl<TYPES> TestableBlock<TYPES> for TestBlockPayload
      where\n TYPES: NodeType,

      §

      fn genesis() -> TestBlockPayload

      generate a genesis block
      §

      fn txn_count(&self) -> u64

      the number of transactions in this block
      ","TestableBlock","hotshot_query_service::testing::mocks::MockPayload"],["
      §

      impl Eq for TestBlockPayload

      ","Eq","hotshot_query_service::testing::mocks::MockPayload"],["
      §

      impl StructuralPartialEq for TestBlockPayload

      ","StructuralPartialEq","hotshot_query_service::testing::mocks::MockPayload"]] };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_example_types/block_types/struct.TestTransaction.js b/type.impl/hotshot_example_types/block_types/struct.TestTransaction.js index cd100196d..3d4c53820 100644 --- a/type.impl/hotshot_example_types/block_types/struct.TestTransaction.js +++ b/type.impl/hotshot_example_types/block_types/struct.TestTransaction.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"hotshot_query_service":[["
      §

      impl Clone for TestTransaction

      §

      fn clone(&self) -> TestTransaction

      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::testing::mocks::MockTransaction"],["
      §

      impl Committable for TestTransaction

      §

      fn commit(&self) -> Commitment<TestTransaction>

      Create a binding commitment to self.
      §

      fn tag() -> String

      Tag that should be used when serializing commitments to this type. Read more
      ","Committable","hotshot_query_service::testing::mocks::MockTransaction"],["
      §

      impl Debug for TestTransaction

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::testing::mocks::MockTransaction"],["
      §

      impl Default for TestTransaction

      §

      fn default() -> TestTransaction

      Returns the “default value” for a type. Read more
      ","Default","hotshot_query_service::testing::mocks::MockTransaction"],["
      §

      impl<'de> Deserialize<'de> for TestTransaction

      §

      fn deserialize<__D>(\n __deserializer: __D,\n) -> Result<TestTransaction, <__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::testing::mocks::MockTransaction"],["
      §

      impl Hash for TestTransaction

      §

      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::testing::mocks::MockTransaction"],["
      §

      impl PartialEq for TestTransaction

      §

      fn eq(&self, other: &TestTransaction) -> 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::testing::mocks::MockTransaction"],["
      §

      impl Serialize for TestTransaction

      §

      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::testing::mocks::MockTransaction"],["
      §

      impl TestTransaction

      pub fn new(bytes: Vec<u8>) -> TestTransaction

      Construct a new transaction

      \n
      §Panics
      \n

      If bytes.len() > u32::MAX

      \n

      pub fn try_new(bytes: Vec<u8>) -> Option<TestTransaction>

      Construct a new transaction.\nReturns None if bytes.len() > u32::MAX\nfor cross-platform compatibility

      \n

      pub fn bytes(&self) -> &Vec<u8>

      Get reference to raw bytes of transaction

      \n

      pub fn into_bytes(self) -> Vec<u8>

      Convert transaction to raw vector of bytes

      \n

      pub fn encode(transactions: &[TestTransaction]) -> Vec<u8>

      Encode a list of transactions into bytes.

      \n
      §Errors
      \n

      If the transaction length conversion fails.

      \n
      ",0,"hotshot_query_service::testing::mocks::MockTransaction"],["
      §

      impl TryFrom<Vec<u8>> for TestTransaction

      §

      type Error = TransactionTooLong

      The type returned in the event of a conversion error.
      §

      fn try_from(\n value: Vec<u8>,\n) -> Result<TestTransaction, <TestTransaction as TryFrom<Vec<u8>>>::Error>

      Performs the conversion.
      ","TryFrom>","hotshot_query_service::testing::mocks::MockTransaction"],["
      §

      impl Eq for TestTransaction

      ","Eq","hotshot_query_service::testing::mocks::MockTransaction"],["
      §

      impl StructuralPartialEq for TestTransaction

      ","StructuralPartialEq","hotshot_query_service::testing::mocks::MockTransaction"],["
      §

      impl Transaction for TestTransaction

      ","Transaction","hotshot_query_service::testing::mocks::MockTransaction"]] +"hotshot_query_service":[["
      §

      impl Clone for TestTransaction

      §

      fn clone(&self) -> TestTransaction

      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::testing::mocks::MockTransaction"],["
      §

      impl Committable for TestTransaction

      §

      fn commit(&self) -> Commitment<TestTransaction>

      Create a binding commitment to self.
      §

      fn tag() -> String

      Tag that should be used when serializing commitments to this type. Read more
      ","Committable","hotshot_query_service::testing::mocks::MockTransaction"],["
      §

      impl Debug for TestTransaction

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::testing::mocks::MockTransaction"],["
      §

      impl Default for TestTransaction

      §

      fn default() -> TestTransaction

      Returns the “default value” for a type. Read more
      ","Default","hotshot_query_service::testing::mocks::MockTransaction"],["
      §

      impl<'de> Deserialize<'de> for TestTransaction

      §

      fn deserialize<__D>(\n __deserializer: __D,\n) -> Result<TestTransaction, <__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::testing::mocks::MockTransaction"],["
      §

      impl Hash for TestTransaction

      §

      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::testing::mocks::MockTransaction"],["
      §

      impl PartialEq for TestTransaction

      §

      fn eq(&self, other: &TestTransaction) -> 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::testing::mocks::MockTransaction"],["
      §

      impl Serialize for TestTransaction

      §

      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::testing::mocks::MockTransaction"],["
      §

      impl TestTransaction

      pub fn new(bytes: Vec<u8>) -> TestTransaction

      Construct a new transaction

      \n
      §Panics
      \n

      If bytes.len() > u32::MAX

      \n

      pub fn try_new(bytes: Vec<u8>) -> Option<TestTransaction>

      Construct a new transaction.\nReturns None if bytes.len() > u32::MAX\nfor cross-platform compatibility

      \n

      pub fn bytes(&self) -> &Vec<u8>

      Get reference to raw bytes of transaction

      \n

      pub fn into_bytes(self) -> Vec<u8>

      Convert transaction to raw vector of bytes

      \n

      pub fn encode(transactions: &[TestTransaction]) -> Vec<u8>

      Encode a list of transactions into bytes.

      \n
      §Errors
      \n

      If the transaction length conversion fails.

      \n
      ",0,"hotshot_query_service::testing::mocks::MockTransaction"],["
      §

      impl TryFrom<Vec<u8>> for TestTransaction

      §

      type Error = TransactionTooLong

      The type returned in the event of a conversion error.
      §

      fn try_from(\n value: Vec<u8>,\n) -> Result<TestTransaction, <TestTransaction as TryFrom<Vec<u8>>>::Error>

      Performs the conversion.
      ","TryFrom>","hotshot_query_service::testing::mocks::MockTransaction"],["
      §

      impl Eq for TestTransaction

      ","Eq","hotshot_query_service::testing::mocks::MockTransaction"],["
      §

      impl StructuralPartialEq for TestTransaction

      ","StructuralPartialEq","hotshot_query_service::testing::mocks::MockTransaction"],["
      §

      impl Transaction for TestTransaction

      ","Transaction","hotshot_query_service::testing::mocks::MockTransaction"]] };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_example_types/storage_types/struct.TestStorage.js b/type.impl/hotshot_example_types/storage_types/struct.TestStorage.js index 13bf02403..5f53db827 100644 --- a/type.impl/hotshot_example_types/storage_types/struct.TestStorage.js +++ b/type.impl/hotshot_example_types/storage_types/struct.TestStorage.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"hotshot_query_service":[["
      §

      impl<TYPES> Clone for TestStorage<TYPES>
      where\n TYPES: Clone + NodeType,

      §

      fn clone(&self) -> TestStorage<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
      ","Clone","hotshot_query_service::testing::mocks::MockStorage"],["
      §

      impl<TYPES> Debug for TestStorage<TYPES>
      where\n TYPES: Debug + NodeType,

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::testing::mocks::MockStorage"],["
      §

      impl<TYPES> Default for TestStorage<TYPES>
      where\n TYPES: NodeType,

      §

      fn default() -> TestStorage<TYPES>

      Returns the “default value” for a type. Read more
      ","Default","hotshot_query_service::testing::mocks::MockStorage"],["
      §

      impl<TYPES> Storage<TYPES> for TestStorage<TYPES>
      where\n TYPES: NodeType,

      §

      fn append_vid<'life0, 'life1, 'async_trait>(\n &'life0 self,\n proposal: &'life1 Proposal<TYPES, VidDisperseShare<TYPES>>,\n) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n 'life1: 'async_trait,\n TestStorage<TYPES>: 'async_trait,

      Add a proposal to the stored VID proposals.
      §

      fn append_da<'life0, 'life1, 'async_trait>(\n &'life0 self,\n proposal: &'life1 Proposal<TYPES, DaProposal<TYPES>>,\n) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n 'life1: 'async_trait,\n TestStorage<TYPES>: 'async_trait,

      Add a proposal to the stored DA proposals.
      §

      fn append_proposal<'life0, 'life1, 'async_trait>(\n &'life0 self,\n proposal: &'life1 Proposal<TYPES, QuorumProposal<TYPES>>,\n) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n 'life1: 'async_trait,\n TestStorage<TYPES>: 'async_trait,

      Add a proposal we sent to the store
      §

      fn record_action<'life0, 'async_trait>(\n &'life0 self,\n _view: <TYPES as NodeType>::Time,\n _action: HotShotAction,\n) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n TestStorage<TYPES>: 'async_trait,

      Record a HotShotAction taken.
      §

      fn update_high_qc<'life0, 'async_trait>(\n &'life0 self,\n new_high_qc: SimpleCertificate<TYPES, QuorumData<TYPES>, SuccessThreshold>,\n) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n TestStorage<TYPES>: 'async_trait,

      Update the current high QC in storage.
      §

      fn update_undecided_state<'life0, 'async_trait>(\n &'life0 self,\n _leafs: HashMap<Commitment<Leaf<TYPES>>, Leaf<TYPES>>,\n _state: BTreeMap<<TYPES as NodeType>::Time, View<TYPES>>,\n) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n TestStorage<TYPES>: 'async_trait,

      Update the currently undecided state of consensus. This includes the undecided leaf chain,\nand the undecided state.
      ","Storage","hotshot_query_service::testing::mocks::MockStorage"],["
      §

      impl<TYPES> TestStorage<TYPES>
      where\n TYPES: NodeType,

      pub async fn proposals_cloned(\n &self,\n) -> BTreeMap<<TYPES as NodeType>::Time, Proposal<TYPES, QuorumProposal<TYPES>>>

      pub async fn high_qc_cloned(\n &self,\n) -> Option<SimpleCertificate<TYPES, QuorumData<TYPES>, SuccessThreshold>>

      ",0,"hotshot_query_service::testing::mocks::MockStorage"]] +"hotshot_query_service":[["
      §

      impl<TYPES> Clone for TestStorage<TYPES>
      where\n TYPES: Clone + NodeType,

      §

      fn clone(&self) -> TestStorage<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
      ","Clone","hotshot_query_service::testing::mocks::MockStorage"],["
      §

      impl<TYPES> Debug for TestStorage<TYPES>
      where\n TYPES: Debug + NodeType,

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::testing::mocks::MockStorage"],["
      §

      impl<TYPES> Default for TestStorage<TYPES>
      where\n TYPES: NodeType,

      §

      fn default() -> TestStorage<TYPES>

      Returns the “default value” for a type. Read more
      ","Default","hotshot_query_service::testing::mocks::MockStorage"],["
      §

      impl<TYPES> Storage<TYPES> for TestStorage<TYPES>
      where\n TYPES: NodeType,

      §

      fn append_vid<'life0, 'life1, 'async_trait>(\n &'life0 self,\n proposal: &'life1 Proposal<TYPES, VidDisperseShare<TYPES>>,\n) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n 'life1: 'async_trait,\n TestStorage<TYPES>: 'async_trait,

      Add a proposal to the stored VID proposals.
      §

      fn append_da<'life0, 'life1, 'async_trait>(\n &'life0 self,\n proposal: &'life1 Proposal<TYPES, DaProposal<TYPES>>,\n) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n 'life1: 'async_trait,\n TestStorage<TYPES>: 'async_trait,

      Add a proposal to the stored DA proposals.
      §

      fn append_proposal<'life0, 'life1, 'async_trait>(\n &'life0 self,\n proposal: &'life1 Proposal<TYPES, QuorumProposal<TYPES>>,\n) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n 'life1: 'async_trait,\n TestStorage<TYPES>: 'async_trait,

      Add a proposal we sent to the store
      §

      fn record_action<'life0, 'async_trait>(\n &'life0 self,\n _view: <TYPES as NodeType>::Time,\n _action: HotShotAction,\n) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n TestStorage<TYPES>: 'async_trait,

      Record a HotShotAction taken.
      §

      fn update_high_qc<'life0, 'async_trait>(\n &'life0 self,\n new_high_qc: SimpleCertificate<TYPES, QuorumData<TYPES>, SuccessThreshold>,\n) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n TestStorage<TYPES>: 'async_trait,

      Update the current high QC in storage.
      §

      fn update_undecided_state<'life0, 'async_trait>(\n &'life0 self,\n _leafs: HashMap<Commitment<Leaf<TYPES>>, Leaf<TYPES>>,\n _state: BTreeMap<<TYPES as NodeType>::Time, View<TYPES>>,\n) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
      where\n 'life0: 'async_trait,\n TestStorage<TYPES>: 'async_trait,

      Update the currently undecided state of consensus. This includes the undecided leaf chain,\nand the undecided state.
      ","Storage","hotshot_query_service::testing::mocks::MockStorage"],["
      §

      impl<TYPES> TestStorage<TYPES>
      where\n TYPES: NodeType,

      pub async fn proposals_cloned(\n &self,\n) -> BTreeMap<<TYPES as NodeType>::Time, Proposal<TYPES, QuorumProposal<TYPES>>>

      pub async fn high_qc_cloned(\n &self,\n) -> Option<SimpleCertificate<TYPES, QuorumData<TYPES>, SuccessThreshold>>

      ",0,"hotshot_query_service::testing::mocks::MockStorage"]] };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/data_source/fetching/struct.Builder.js b/type.impl/hotshot_query_service/data_source/fetching/struct.Builder.js index 22785c64b..95fee47fe 100644 --- a/type.impl/hotshot_query_service/data_source/fetching/struct.Builder.js +++ b/type.impl/hotshot_query_service/data_source/fetching/struct.Builder.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"hotshot_query_service":[["
      source§

      impl<Types, S, P> Builder<Types, S, P>

      source

      pub fn new(storage: S, provider: P) -> Self

      Construct a new builder with the given storage and fetcher and the default options.

      \n
      source

      pub fn with_retry_delay(self, retry_delay: Duration) -> Self

      Set the maximum delay between retries of fetches.

      \n
      source

      pub fn with_rate_limit(self, with_rate_limit: usize) -> Self

      Set the maximum delay between retries of fetches.

      \n
      source

      pub fn with_range_chunk_size(self, range_chunk_size: usize) -> Self

      Set the number of items to process at a time when loading a range or stream.

      \n

      This determines:

      \n
        \n
      • The number of objects to load from storage in a single request
      • \n
      • The number of objects to buffer in memory per request/stream
      • \n
      • The number of concurrent notification subscriptions per request/stream
      • \n
      \n
      source

      pub fn with_minor_scan_interval(self, interval: Duration) -> Self

      Set the time interval between minor proactive fetching scans.

      \n

      See proactive fetching.

      \n
      source

      pub fn with_major_scan_interval(self, interval: usize) -> Self

      Set the interval (denominated in minor scans) between\nmajor proactive fetching scans.

      \n

      See proactive fetching.

      \n
      source

      pub fn with_major_scan_offset(self, offset: usize) -> Self

      Set the offset (denominated in minor scans) before the\nfirst major proactive fetching scan.

      \n

      This is useful when starting multiple nodes at the same time: major proactive scans can have\na measurable impact on the performance of the node for a brief time while the scan is\nrunning, so it may be desirable to prevent a group of nodes from all doing major scans at\nthe same time. This can be achieved by giving each node a different major_scan_offset.

      \n

      See also proactive fetching.

      \n
      source

      pub fn with_proactive_range_chunk_size(self, range_chunk_size: usize) -> Self

      Set the number of items to process at a time when scanning for proactive fetching.

      \n

      This is similar to Self::with_range_chunk_size, but only affects the chunk size for\nproactive fetching scans, not for normal subscription streams. This can be useful to tune\nthe proactive scanner to be more or less greedy with the lock on persistent storage.

      \n

      By default (i.e. if this method is not called) the proactive range chunk size will be set to\nwhatever the normal range chunk size is.

      \n
      source

      pub fn with_active_fetch_delay(self, active_fetch_delay: Duration) -> Self

      Add a delay between active fetches in proactive scans.

      \n

      This can be used to limit the rate at which this query service makes requests to other query\nservices during proactive scans. This is useful if the query service has a lot of blocks to\ncatch up on, as without a delay, scanning can be extremely burdensome on the peer.

      \n
      source

      pub fn with_chunk_fetch_delay(self, chunk_fetch_delay: Duration) -> Self

      Adds a delay between chunk fetches during proactive scans.

      \n

      In a proactive scan, we retrieve a range of objects from a provider or local storage (e.g., a database).\nWithout a delay between fetching these chunks, the process can become very CPU-intensive, especially\nwhen chunks are retrieved from local storage. While there is already a delay for active fetches\n(active_fetch_delay), situations may arise when subscribed to an old stream that fetches most of the data\nfrom local storage.

      \n

      This additional delay helps to limit constant maximum CPU usage\nand ensures that local storage remains accessible to all processes,\nnot just the proactive scanner.

      \n
      source

      pub fn disable_proactive_fetching(self) -> Self

      Run without proactive fetching.

      \n

      This can reduce load on the CPU and the database, but increases the probability that\nrequests will fail due to missing resources. If resources are constrained, it is recommended\nto run with rare proactive fetching (see\nwith_major_scan_interval,\nwith_minor_scan_interval), rather than disabling it\nentirely.

      \n
      ",0,"hotshot_query_service::data_source::sql::Builder"],["
      source§

      impl<Types, S, P> Builder<Types, S, P>
      where\n Types: NodeType,\n Payload<Types>: QueryablePayload<Types>,\n Header<Types>: QueryableHeader<Types>,\n S: NodeDataSource<Types> + AvailabilityStorage<Types> + 'static,\n P: AvailabilityProvider<Types>,

      source

      pub async fn build(self) -> Result<FetchingDataSource<Types, S, P>>

      Build a FetchingDataSource with these options.

      \n
      ",0,"hotshot_query_service::data_source::sql::Builder"]] +"hotshot_query_service":[["
      source§

      impl<Types, S, P> Builder<Types, S, P>

      source

      pub fn new(storage: S, provider: P) -> Self

      Construct a new builder with the given storage and fetcher and the default options.

      \n
      source

      pub fn with_retry_delay(self, retry_delay: Duration) -> Self

      Set the maximum delay between retries of fetches.

      \n
      source

      pub fn with_rate_limit(self, with_rate_limit: usize) -> Self

      Set the maximum delay between retries of fetches.

      \n
      source

      pub fn with_range_chunk_size(self, range_chunk_size: usize) -> Self

      Set the number of items to process at a time when loading a range or stream.

      \n

      This determines:

      \n
        \n
      • The number of objects to load from storage in a single request
      • \n
      • The number of objects to buffer in memory per request/stream
      • \n
      • The number of concurrent notification subscriptions per request/stream
      • \n
      \n
      source

      pub fn with_minor_scan_interval(self, interval: Duration) -> Self

      Set the time interval between minor proactive fetching scans.

      \n

      See proactive fetching.

      \n
      source

      pub fn with_major_scan_interval(self, interval: usize) -> Self

      Set the interval (denominated in minor scans) between\nmajor proactive fetching scans.

      \n

      See proactive fetching.

      \n
      source

      pub fn with_major_scan_offset(self, offset: usize) -> Self

      Set the offset (denominated in minor scans) before the\nfirst major proactive fetching scan.

      \n

      This is useful when starting multiple nodes at the same time: major proactive scans can have\na measurable impact on the performance of the node for a brief time while the scan is\nrunning, so it may be desirable to prevent a group of nodes from all doing major scans at\nthe same time. This can be achieved by giving each node a different major_scan_offset.

      \n

      See also proactive fetching.

      \n
      source

      pub fn with_proactive_range_chunk_size(self, range_chunk_size: usize) -> Self

      Set the number of items to process at a time when scanning for proactive fetching.

      \n

      This is similar to Self::with_range_chunk_size, but only affects the chunk size for\nproactive fetching scans, not for normal subscription streams. This can be useful to tune\nthe proactive scanner to be more or less greedy with the lock on persistent storage.

      \n

      By default (i.e. if this method is not called) the proactive range chunk size will be set to\nwhatever the normal range chunk size is.

      \n
      source

      pub fn with_active_fetch_delay(self, active_fetch_delay: Duration) -> Self

      Add a delay between active fetches in proactive scans.

      \n

      This can be used to limit the rate at which this query service makes requests to other query\nservices during proactive scans. This is useful if the query service has a lot of blocks to\ncatch up on, as without a delay, scanning can be extremely burdensome on the peer.

      \n
      source

      pub fn with_chunk_fetch_delay(self, chunk_fetch_delay: Duration) -> Self

      Adds a delay between chunk fetches during proactive scans.

      \n

      In a proactive scan, we retrieve a range of objects from a provider or local storage (e.g., a database).\nWithout a delay between fetching these chunks, the process can become very CPU-intensive, especially\nwhen chunks are retrieved from local storage. While there is already a delay for active fetches\n(active_fetch_delay), situations may arise when subscribed to an old stream that fetches most of the data\nfrom local storage.

      \n

      This additional delay helps to limit constant maximum CPU usage\nand ensures that local storage remains accessible to all processes,\nnot just the proactive scanner.

      \n
      source

      pub fn disable_proactive_fetching(self) -> Self

      Run without proactive fetching.

      \n

      This can reduce load on the CPU and the database, but increases the probability that\nrequests will fail due to missing resources. If resources are constrained, it is recommended\nto run with rare proactive fetching (see\nwith_major_scan_interval,\nwith_minor_scan_interval), rather than disabling it\nentirely.

      \n
      ",0,"hotshot_query_service::data_source::sql::Builder"],["
      source§

      impl<Types, S, P> Builder<Types, S, P>
      where\n Types: NodeType,\n Payload<Types>: QueryablePayload<Types>,\n Header<Types>: QueryableHeader<Types>,\n S: NodeDataSource<Types> + AvailabilityStorage<Types> + 'static,\n P: AvailabilityProvider<Types>,

      source

      pub async fn build(self) -> Result<FetchingDataSource<Types, S, P>>

      Build a FetchingDataSource with these options.

      \n
      ",0,"hotshot_query_service::data_source::sql::Builder"]] };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/data_source/fetching/struct.FetchingDataSource.js b/type.impl/hotshot_query_service/data_source/fetching/struct.FetchingDataSource.js index a549665cc..b60c4b6d5 100644 --- a/type.impl/hotshot_query_service/data_source/fetching/struct.FetchingDataSource.js +++ b/type.impl/hotshot_query_service/data_source/fetching/struct.FetchingDataSource.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"hotshot_query_service":[["
      source§

      impl<Types, S, P> AvailabilityDataSource<Types> for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n Payload<Types>: QueryablePayload<Types>,\n S: AvailabilityStorage<Types> + 'static,\n P: AvailabilityProvider<Types>,

      §

      type LeafRange<R> = Pin<Box<dyn Stream<Item = Fetch<LeafQueryData<Types>>> + Send>>\nwhere\n R: RangeBounds<usize> + Send

      §

      type BlockRange<R> = Pin<Box<dyn Stream<Item = Fetch<BlockQueryData<Types>>> + Send>>\nwhere\n R: RangeBounds<usize> + Send

      §

      type PayloadRange<R> = Pin<Box<dyn Stream<Item = Fetch<PayloadQueryData<Types>>> + Send>>\nwhere\n R: RangeBounds<usize> + Send

      §

      type VidCommonRange<R> = Pin<Box<dyn Stream<Item = Fetch<VidCommonQueryData<Types>>> + Send>>\nwhere\n R: RangeBounds<usize> + Send

      source§

      fn get_leaf<'life0, 'async_trait, ID>(\n &'life0 self,\n id: ID,\n) -> Pin<Box<dyn Future<Output = Fetch<LeafQueryData<Types>>> + Send + 'async_trait>>
      where\n ID: Into<LeafId<Types>> + Send + Sync + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_block<'life0, 'async_trait, ID>(\n &'life0 self,\n id: ID,\n) -> Pin<Box<dyn Future<Output = Fetch<BlockQueryData<Types>>> + Send + 'async_trait>>
      where\n ID: Into<BlockId<Types>> + Send + Sync + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_payload<'life0, 'async_trait, ID>(\n &'life0 self,\n id: ID,\n) -> Pin<Box<dyn Future<Output = Fetch<PayloadQueryData<Types>>> + Send + 'async_trait>>
      where\n ID: Into<BlockId<Types>> + Send + Sync + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_vid_common<'life0, 'async_trait, ID>(\n &'life0 self,\n id: ID,\n) -> Pin<Box<dyn Future<Output = Fetch<VidCommonQueryData<Types>>> + Send + 'async_trait>>
      where\n ID: Into<BlockId<Types>> + Send + Sync + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_leaf_range<'life0, 'async_trait, R>(\n &'life0 self,\n range: R,\n) -> Pin<Box<dyn Future<Output = Self::LeafRange<R>> + Send + 'async_trait>>
      where\n R: RangeBounds<usize> + Send + 'static + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_block_range<'life0, 'async_trait, R>(\n &'life0 self,\n range: R,\n) -> Pin<Box<dyn Future<Output = Self::BlockRange<R>> + Send + 'async_trait>>
      where\n R: RangeBounds<usize> + Send + 'static + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_payload_range<'life0, 'async_trait, R>(\n &'life0 self,\n range: R,\n) -> Pin<Box<dyn Future<Output = Self::PayloadRange<R>> + Send + 'async_trait>>
      where\n R: RangeBounds<usize> + Send + 'static + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_vid_common_range<'life0, 'async_trait, R>(\n &'life0 self,\n range: R,\n) -> Pin<Box<dyn Future<Output = Self::VidCommonRange<R>> + Send + 'async_trait>>
      where\n R: RangeBounds<usize> + Send + 'static + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_transaction<'life0, 'async_trait>(\n &'life0 self,\n hash: TransactionHash<Types>,\n) -> Pin<Box<dyn Future<Output = Fetch<TransactionQueryData<Types>>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      Returns the transaction with the given hash.
      source§

      fn subscribe_blocks<'life0, 'async_trait>(\n &'life0 self,\n from: usize,\n) -> Pin<Box<dyn Future<Output = BoxStream<'static, BlockQueryData<Types>>> + Send + 'async_trait>>
      where\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,

      source§

      fn subscribe_payloads<'life0, 'async_trait>(\n &'life0 self,\n from: usize,\n) -> Pin<Box<dyn Future<Output = BoxStream<'static, PayloadQueryData<Types>>> + Send + 'async_trait>>
      where\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,

      source§

      fn subscribe_leaves<'life0, 'async_trait>(\n &'life0 self,\n from: usize,\n) -> Pin<Box<dyn Future<Output = BoxStream<'static, LeafQueryData<Types>>> + Send + 'async_trait>>
      where\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,

      source§

      fn subscribe_vid_common<'life0, 'async_trait>(\n &'life0 self,\n from: usize,\n) -> Pin<Box<dyn Future<Output = BoxStream<'static, VidCommonQueryData<Types>>> + Send + 'async_trait>>
      where\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,

      ","AvailabilityDataSource","hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, P> Clone for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,

      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::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, P> Debug for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n S: Debug,\n P: Debug,

      source§

      fn fmt(&self, __f: &mut Formatter<'_>) -> Result

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, P> ExplorerStorage<Types> for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n Payload<Types>: QueryablePayload<Types>,\n Header<Types>: QueryableHeader<Types> + ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,\n S: ExplorerStorage<Types> + Send + Sync,\n P: Send + Sync,

      source§

      fn get_block_summaries<'life0, 'async_trait>(\n &'life0 self,\n request: GetBlockSummariesRequest<Types>,\n) -> Pin<Box<dyn Future<Output = Result<Vec<BlockSummary<Types>>, GetBlockSummariesError>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      get_block_summaries is a method that retrieves a list of block\nsummaries from the blockchain. The list is generated from the given\n[GetBlockSummariesRequest].
      source§

      fn get_block_detail<'life0, 'async_trait>(\n &'life0 self,\n request: BlockIdentifier<Types>,\n) -> Pin<Box<dyn Future<Output = Result<BlockDetail<Types>, GetBlockDetailError>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      get_block_detail is a method that retrieves the details of a specific\nblock from the blockchain. The block is identified by the given\n[BlockIdentifier].
      source§

      fn get_transaction_summaries<'life0, 'async_trait>(\n &'life0 self,\n request: GetTransactionSummariesRequest<Types>,\n) -> Pin<Box<dyn Future<Output = Result<Vec<TransactionSummary<Types>>, GetTransactionSummariesError>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      get_transaction_summaries is a method that retrieves a list of\ntransaction summaries from the blockchain. The list is generated from\nthe given [GetTransactionSummariesRequest].
      source§

      fn get_transaction_detail<'life0, 'async_trait>(\n &'life0 self,\n request: TransactionIdentifier<Types>,\n) -> Pin<Box<dyn Future<Output = Result<TransactionDetailResponse<Types>, GetTransactionDetailError>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      get_transaction_detail is a method that retrieves the details of a\nspecific transaction from the blockchain. The transaction is identified\nby the given [TransactionIdentifier].
      source§

      fn get_explorer_summary<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = Result<ExplorerSummary<Types>, GetExplorerSummaryError>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      get_explorer_summary is a method that retrieves a summary overview of\nthe blockchain. This is useful for displaying information that\nindicates the overall status of the block chain.
      source§

      fn get_search_results<'life0, 'async_trait>(\n &'life0 self,\n query: String,\n) -> Pin<Box<dyn Future<Output = Result<SearchResult<Types>, GetSearchResultsError>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      get_search_results is a method that retrieves the results of a search\nquery against the blockchain. The results are generated from the given\nquery string.
      ","ExplorerStorage","hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, P> FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n Payload<Types>: QueryablePayload<Types>,\n Header<Types>: QueryableHeader<Types>,\n S: NodeDataSource<Types> + AvailabilityStorage<Types> + 'static,\n P: AvailabilityProvider<Types>,

      source

      pub fn builder(storage: S, provider: P) -> Builder<Types, S, P>

      Build a FetchingDataSource with the given storage and provider.

      \n
      ",0,"hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, P> FetchingDataSource<Types, S, P>
      where\n Types: NodeType,

      source

      pub async fn storage(&self) -> StorageReadGuard<'_, Types, S>

      Obtain direct, read-only access to the underlying local storage.

      \n
      source

      pub async fn storage_mut(&self) -> StorageWriteGuard<'_, Types, S>

      Obtain direct, mutable access the underlying local storage.

      \n
      ",0,"hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, State, P, const ARITY: usize> MerklizedStateDataSource<Types, State, ARITY> for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n S: MerklizedStateDataSource<Types, State, ARITY> + Send + Sync + 'static,\n P: AvailabilityProvider<Types>,\n State: MerklizedState<Types, ARITY> + 'static,\n <State as MerkleTreeScheme>::Commitment: Send,

      source§

      fn get_path<'life0, 'async_trait>(\n &'life0 self,\n snapshot: Snapshot<Types, State, ARITY>,\n key: State::Key,\n) -> Pin<Box<dyn Future<Output = QueryResult<MerkleProof<State::Entry, State::Key, State::T, ARITY>>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      ","MerklizedStateDataSource","hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, P> MerklizedStateHeightPersistence for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n Payload<Types>: QueryablePayload<Types>,\n S: MerklizedStateHeightPersistence + Send + Sync,\n P: Send + Sync,

      source§

      fn set_last_state_height<'life0, 'async_trait>(\n &'life0 mut self,\n height: usize,\n) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_last_state_height<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      ","MerklizedStateHeightPersistence","hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, P> NodeDataSource<Types> for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n S: NodeDataSource<Types> + Send + Sync,\n P: Send + Sync,

      source§

      fn block_height<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn count_transactions<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn payload_size<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn vid_share<'life0, 'async_trait, ID>(\n &'life0 self,\n id: ID,\n) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
      where\n ID: Into<BlockId<Types>> + Send + Sync + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn sync_status<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      Search the database for missing objects and generate a report. Read more
      source§

      fn get_header_window<'life0, 'async_trait>(\n &'life0 self,\n start: impl 'async_trait + Into<WindowStart<Types>> + Send + Sync,\n end: u64,\n) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<Types>>>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      ","NodeDataSource","hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, P> StatusDataSource for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n S: NodeDataSource<Types> + Send + Sync,\n P: Send + Sync,

      source§

      fn block_height<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn metrics(&self) -> &PrometheusMetrics

      source§

      fn consensus_metrics(&self) -> QueryResult<PrometheusMetrics>

      source§

      fn elapsed_time_since_last_decide<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = QueryResult<u64>> + Send + 'async_trait>>
      where\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,

      source§

      fn success_rate<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = QueryResult<f64>> + Send + 'async_trait>>
      where\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,

      ","StatusDataSource","hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, P> UpdateAvailabilityData<Types> for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n Payload<Types>: QueryablePayload<Types>,\n S: UpdateAvailabilityData<Types> + Send + Sync,\n P: Send + Sync,

      §

      type Error = <S as UpdateAvailabilityData<Types>>::Error

      source§

      fn insert_leaf<'life0, 'async_trait>(\n &'life0 mut self,\n leaf: LeafQueryData<Types>,\n) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn insert_block<'life0, 'async_trait>(\n &'life0 mut self,\n block: BlockQueryData<Types>,\n) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn insert_vid<'life0, 'async_trait>(\n &'life0 mut self,\n common: VidCommonQueryData<Types>,\n share: Option<VidShare>,\n) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      ","UpdateAvailabilityData","hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, State, S, P, const ARITY: usize> UpdateStateData<Types, State, ARITY> for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n State: MerklizedState<Types, ARITY>,\n S: UpdateStateData<Types, State, ARITY> + Send + Sync + 'static,\n P: AvailabilityProvider<Types>,

      source§

      fn insert_merkle_nodes<'life0, 'async_trait>(\n &'life0 mut self,\n path: MerkleProof<State::Entry, State::Key, State::T, ARITY>,\n traversal_path: Vec<usize>,\n block_number: u64,\n) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      ","UpdateStateData","hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, P> VersionedDataSource for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n S: VersionedDataSource + Send + Sync,\n P: Send + Sync,

      §

      type Error = <S as VersionedDataSource>::Error

      source§

      fn commit<'life0, 'async_trait>(\n &'life0 mut self,\n) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      Atomically commit to all outstanding modifications to the data. Read more
      source§

      fn revert<'life0, 'async_trait>(\n &'life0 mut self,\n) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      Erase all oustanding modifications to the data. Read more
      ","VersionedDataSource","hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"]] +"hotshot_query_service":[["
      source§

      impl<Types, S, P> AvailabilityDataSource<Types> for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n Payload<Types>: QueryablePayload<Types>,\n S: AvailabilityStorage<Types> + 'static,\n P: AvailabilityProvider<Types>,

      §

      type LeafRange<R> = Pin<Box<dyn Stream<Item = Fetch<LeafQueryData<Types>>> + Send>>\nwhere\n R: RangeBounds<usize> + Send

      §

      type BlockRange<R> = Pin<Box<dyn Stream<Item = Fetch<BlockQueryData<Types>>> + Send>>\nwhere\n R: RangeBounds<usize> + Send

      §

      type PayloadRange<R> = Pin<Box<dyn Stream<Item = Fetch<PayloadQueryData<Types>>> + Send>>\nwhere\n R: RangeBounds<usize> + Send

      §

      type VidCommonRange<R> = Pin<Box<dyn Stream<Item = Fetch<VidCommonQueryData<Types>>> + Send>>\nwhere\n R: RangeBounds<usize> + Send

      source§

      fn get_leaf<'life0, 'async_trait, ID>(\n &'life0 self,\n id: ID,\n) -> Pin<Box<dyn Future<Output = Fetch<LeafQueryData<Types>>> + Send + 'async_trait>>
      where\n ID: Into<LeafId<Types>> + Send + Sync + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_block<'life0, 'async_trait, ID>(\n &'life0 self,\n id: ID,\n) -> Pin<Box<dyn Future<Output = Fetch<BlockQueryData<Types>>> + Send + 'async_trait>>
      where\n ID: Into<BlockId<Types>> + Send + Sync + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_payload<'life0, 'async_trait, ID>(\n &'life0 self,\n id: ID,\n) -> Pin<Box<dyn Future<Output = Fetch<PayloadQueryData<Types>>> + Send + 'async_trait>>
      where\n ID: Into<BlockId<Types>> + Send + Sync + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_vid_common<'life0, 'async_trait, ID>(\n &'life0 self,\n id: ID,\n) -> Pin<Box<dyn Future<Output = Fetch<VidCommonQueryData<Types>>> + Send + 'async_trait>>
      where\n ID: Into<BlockId<Types>> + Send + Sync + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_leaf_range<'life0, 'async_trait, R>(\n &'life0 self,\n range: R,\n) -> Pin<Box<dyn Future<Output = Self::LeafRange<R>> + Send + 'async_trait>>
      where\n R: RangeBounds<usize> + Send + 'static + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_block_range<'life0, 'async_trait, R>(\n &'life0 self,\n range: R,\n) -> Pin<Box<dyn Future<Output = Self::BlockRange<R>> + Send + 'async_trait>>
      where\n R: RangeBounds<usize> + Send + 'static + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_payload_range<'life0, 'async_trait, R>(\n &'life0 self,\n range: R,\n) -> Pin<Box<dyn Future<Output = Self::PayloadRange<R>> + Send + 'async_trait>>
      where\n R: RangeBounds<usize> + Send + 'static + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_vid_common_range<'life0, 'async_trait, R>(\n &'life0 self,\n range: R,\n) -> Pin<Box<dyn Future<Output = Self::VidCommonRange<R>> + Send + 'async_trait>>
      where\n R: RangeBounds<usize> + Send + 'static + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_transaction<'life0, 'async_trait>(\n &'life0 self,\n hash: TransactionHash<Types>,\n) -> Pin<Box<dyn Future<Output = Fetch<TransactionQueryData<Types>>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      Returns the transaction with the given hash.
      source§

      fn subscribe_blocks<'life0, 'async_trait>(\n &'life0 self,\n from: usize,\n) -> Pin<Box<dyn Future<Output = BoxStream<'static, BlockQueryData<Types>>> + Send + 'async_trait>>
      where\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,

      source§

      fn subscribe_payloads<'life0, 'async_trait>(\n &'life0 self,\n from: usize,\n) -> Pin<Box<dyn Future<Output = BoxStream<'static, PayloadQueryData<Types>>> + Send + 'async_trait>>
      where\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,

      source§

      fn subscribe_leaves<'life0, 'async_trait>(\n &'life0 self,\n from: usize,\n) -> Pin<Box<dyn Future<Output = BoxStream<'static, LeafQueryData<Types>>> + Send + 'async_trait>>
      where\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,

      source§

      fn subscribe_vid_common<'life0, 'async_trait>(\n &'life0 self,\n from: usize,\n) -> Pin<Box<dyn Future<Output = BoxStream<'static, VidCommonQueryData<Types>>> + Send + 'async_trait>>
      where\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,

      ","AvailabilityDataSource","hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, P> Clone for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,

      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::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, P> Debug for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n S: Debug,\n P: Debug,

      source§

      fn fmt(&self, __f: &mut Formatter<'_>) -> Result

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, P> ExplorerStorage<Types> for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n Payload<Types>: QueryablePayload<Types>,\n Header<Types>: QueryableHeader<Types> + ExplorerHeader<Types>,\n Transaction<Types>: ExplorerTransaction,\n S: ExplorerStorage<Types> + Send + Sync,\n P: Send + Sync,

      source§

      fn get_block_summaries<'life0, 'async_trait>(\n &'life0 self,\n request: GetBlockSummariesRequest<Types>,\n) -> Pin<Box<dyn Future<Output = Result<Vec<BlockSummary<Types>>, GetBlockSummariesError>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      get_block_summaries is a method that retrieves a list of block\nsummaries from the blockchain. The list is generated from the given\n[GetBlockSummariesRequest].
      source§

      fn get_block_detail<'life0, 'async_trait>(\n &'life0 self,\n request: BlockIdentifier<Types>,\n) -> Pin<Box<dyn Future<Output = Result<BlockDetail<Types>, GetBlockDetailError>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      get_block_detail is a method that retrieves the details of a specific\nblock from the blockchain. The block is identified by the given\n[BlockIdentifier].
      source§

      fn get_transaction_summaries<'life0, 'async_trait>(\n &'life0 self,\n request: GetTransactionSummariesRequest<Types>,\n) -> Pin<Box<dyn Future<Output = Result<Vec<TransactionSummary<Types>>, GetTransactionSummariesError>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      get_transaction_summaries is a method that retrieves a list of\ntransaction summaries from the blockchain. The list is generated from\nthe given [GetTransactionSummariesRequest].
      source§

      fn get_transaction_detail<'life0, 'async_trait>(\n &'life0 self,\n request: TransactionIdentifier<Types>,\n) -> Pin<Box<dyn Future<Output = Result<TransactionDetailResponse<Types>, GetTransactionDetailError>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      get_transaction_detail is a method that retrieves the details of a\nspecific transaction from the blockchain. The transaction is identified\nby the given [TransactionIdentifier].
      source§

      fn get_explorer_summary<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = Result<ExplorerSummary<Types>, GetExplorerSummaryError>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      get_explorer_summary is a method that retrieves a summary overview of\nthe blockchain. This is useful for displaying information that\nindicates the overall status of the block chain.
      source§

      fn get_search_results<'life0, 'async_trait>(\n &'life0 self,\n query: String,\n) -> Pin<Box<dyn Future<Output = Result<SearchResult<Types>, GetSearchResultsError>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      get_search_results is a method that retrieves the results of a search\nquery against the blockchain. The results are generated from the given\nquery string.
      ","ExplorerStorage","hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, P> FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n Payload<Types>: QueryablePayload<Types>,\n Header<Types>: QueryableHeader<Types>,\n S: NodeDataSource<Types> + AvailabilityStorage<Types> + 'static,\n P: AvailabilityProvider<Types>,

      source

      pub fn builder(storage: S, provider: P) -> Builder<Types, S, P>

      Build a FetchingDataSource with the given storage and provider.

      \n
      ",0,"hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, P> FetchingDataSource<Types, S, P>
      where\n Types: NodeType,

      source

      pub async fn storage(&self) -> StorageReadGuard<'_, Types, S>

      Obtain direct, read-only access to the underlying local storage.

      \n
      source

      pub async fn storage_mut(&self) -> StorageWriteGuard<'_, Types, S>

      Obtain direct, mutable access the underlying local storage.

      \n
      ",0,"hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, State, P, const ARITY: usize> MerklizedStateDataSource<Types, State, ARITY> for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n S: MerklizedStateDataSource<Types, State, ARITY> + Send + Sync + 'static,\n P: AvailabilityProvider<Types>,\n State: MerklizedState<Types, ARITY> + 'static,\n <State as MerkleTreeScheme>::Commitment: Send,

      source§

      fn get_path<'life0, 'async_trait>(\n &'life0 self,\n snapshot: Snapshot<Types, State, ARITY>,\n key: State::Key,\n) -> Pin<Box<dyn Future<Output = QueryResult<MerkleProof<State::Entry, State::Key, State::T, ARITY>>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      ","MerklizedStateDataSource","hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, P> MerklizedStateHeightPersistence for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n Payload<Types>: QueryablePayload<Types>,\n S: MerklizedStateHeightPersistence + Send + Sync,\n P: Send + Sync,

      source§

      fn set_last_state_height<'life0, 'async_trait>(\n &'life0 mut self,\n height: usize,\n) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_last_state_height<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      ","MerklizedStateHeightPersistence","hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, P> NodeDataSource<Types> for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n S: NodeDataSource<Types> + Send + Sync,\n P: Send + Sync,

      source§

      fn block_height<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn count_transactions<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn payload_size<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn vid_share<'life0, 'async_trait, ID>(\n &'life0 self,\n id: ID,\n) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
      where\n ID: Into<BlockId<Types>> + Send + Sync + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn sync_status<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      Search the database for missing objects and generate a report. Read more
      source§

      fn get_header_window<'life0, 'async_trait>(\n &'life0 self,\n start: impl 'async_trait + Into<WindowStart<Types>> + Send + Sync,\n end: u64,\n) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<Types>>>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      ","NodeDataSource","hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, P> StatusDataSource for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n S: NodeDataSource<Types> + Send + Sync,\n P: Send + Sync,

      source§

      fn block_height<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn metrics(&self) -> &PrometheusMetrics

      source§

      fn consensus_metrics(&self) -> QueryResult<PrometheusMetrics>

      source§

      fn elapsed_time_since_last_decide<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = QueryResult<u64>> + Send + 'async_trait>>
      where\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,

      source§

      fn success_rate<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = QueryResult<f64>> + Send + 'async_trait>>
      where\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,

      ","StatusDataSource","hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, P> UpdateAvailabilityData<Types> for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n Payload<Types>: QueryablePayload<Types>,\n S: UpdateAvailabilityData<Types> + Send + Sync,\n P: Send + Sync,

      §

      type Error = <S as UpdateAvailabilityData<Types>>::Error

      source§

      fn insert_leaf<'life0, 'async_trait>(\n &'life0 mut self,\n leaf: LeafQueryData<Types>,\n) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn insert_block<'life0, 'async_trait>(\n &'life0 mut self,\n block: BlockQueryData<Types>,\n) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn insert_vid<'life0, 'async_trait>(\n &'life0 mut self,\n common: VidCommonQueryData<Types>,\n share: Option<VidShare>,\n) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      ","UpdateAvailabilityData","hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, State, S, P, const ARITY: usize> UpdateStateData<Types, State, ARITY> for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n State: MerklizedState<Types, ARITY>,\n S: UpdateStateData<Types, State, ARITY> + Send + Sync + 'static,\n P: AvailabilityProvider<Types>,

      source§

      fn insert_merkle_nodes<'life0, 'async_trait>(\n &'life0 mut self,\n path: MerkleProof<State::Entry, State::Key, State::T, ARITY>,\n traversal_path: Vec<usize>,\n block_number: u64,\n) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      ","UpdateStateData","hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"],["
      source§

      impl<Types, S, P> VersionedDataSource for FetchingDataSource<Types, S, P>
      where\n Types: NodeType,\n S: VersionedDataSource + Send + Sync,\n P: Send + Sync,

      §

      type Error = <S as VersionedDataSource>::Error

      source§

      fn commit<'life0, 'async_trait>(\n &'life0 mut self,\n) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      Atomically commit to all outstanding modifications to the data. Read more
      source§

      fn revert<'life0, 'async_trait>(\n &'life0 mut self,\n) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      Erase all oustanding modifications to the data. Read more
      ","VersionedDataSource","hotshot_query_service::data_source::fs::FileSystemDataSource","hotshot_query_service::data_source::sql::SqlDataSource"]] };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/data_source/sql/type.SqlDataSource.js b/type.impl/hotshot_query_service/data_source/sql/type.SqlDataSource.js index fd2296303..87202f432 100644 --- a/type.impl/hotshot_query_service/data_source/sql/type.SqlDataSource.js +++ b/type.impl/hotshot_query_service/data_source/sql/type.SqlDataSource.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"hotshot_query_service":[["
      source§

      impl<P: AvailabilityProvider<MockTypes> + Default> DataSourceLifeCycle for SqlDataSource<MockTypes, P>

      §

      type Storage = TmpDb

      Backing storage for the data source. Read more
      source§

      fn create<'async_trait>(\n _node_id: usize,\n) -> Pin<Box<dyn Future<Output = Self::Storage> + Send + 'async_trait>>
      where\n Self: 'async_trait,

      source§

      fn connect<'life0, 'async_trait>(\n tmp_db: &'life0 Self::Storage,\n) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn reset<'life0, 'async_trait>(\n tmp_db: &'life0 Self::Storage,\n) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn handle_event<'life0, 'life1, 'async_trait>(\n &'life0 mut self,\n event: &'life1 Event<MockTypes>,\n) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,\n 'life1: 'async_trait,

      source§

      fn setup<'life0, 'async_trait>(\n _network: &'life0 mut MockNetwork<Self>,\n) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      Setup runs after setting up the network but before starting a test.
      ","DataSourceLifeCycle","hotshot_query_service::testing::consensus::MockSqlDataSource"],["
      source§

      impl<Types, P: AvailabilityProvider<Types>> SqlDataSource<Types, P>
      where\n Types: NodeType,\n Header<Types>: QueryableHeader<Types>,\n Payload<Types>: QueryablePayload<Types>,

      source

      pub async fn connect(\n config: Config,\n provider: P,\n) -> Result<Builder<Types, P>, Error>

      Connect to a remote database.

      \n

      This function returns a fetching::Builder which can be used to set options on the\nunderlying FetchingDataSource, before constructing the SqlDataSource with\nbuild. For a convenient constructor that uses the default\nfetching options, see Config::connect.

      \n
      ",0,"hotshot_query_service::testing::consensus::MockSqlDataSource"],["
      source§

      impl<Types, P> SqlDataSource<Types, P>
      where\n Types: NodeType,

      source

      pub async fn transaction(&mut self) -> QueryResult<Transaction<'_>>

      Access the transaction which is accumulating all uncommitted changes to the data source.

      \n

      This can be used to manually group database modifications to custom state atomically with\nmodifications made through the SqlDataSource.

      \n

      If there is no currently open transaction, a new transaction will be opened. No changes\nmade through the transaction objeect returned by this method will be persisted until\ncommit is called.

      \n
      ",0,"hotshot_query_service::testing::consensus::MockSqlDataSource"],["
      source§

      impl<Types, P: Send + Sync> Query for SqlDataSource<Types, P>
      where\n Types: NodeType,

      source§

      fn client<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = Cow<'_, Arc<Client>>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn query<'life0, 'life1, 'async_trait, T, P>(\n &'life0 self,\n query: &'life1 T,\n params: P,\n) -> Pin<Box<dyn Future<Output = QueryResult<BoxStream<'static, QueryResult<Row>>>> + Send + 'async_trait>>
      where\n T: ?Sized + ToStatement + Sync + 'async_trait,\n P: IntoIterator + Send + 'async_trait,\n P::IntoIter: ExactSizeIterator,\n P::Item: BorrowToSql,\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,\n 'life1: 'async_trait,

      source§

      fn query_static<'life0, 'life1, 'async_trait, T>(\n &'life0 self,\n query: &'life1 T,\n) -> Pin<Box<dyn Future<Output = QueryResult<BoxStream<'static, QueryResult<Row>>>> + Send + 'async_trait>>
      where\n T: ?Sized + ToStatement + Sync + 'async_trait,\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,\n 'life1: 'async_trait,

      Query the underlying SQL database with no parameters.
      source§

      fn query_one<'life0, 'life1, 'async_trait, T, P>(\n &'life0 self,\n query: &'life1 T,\n params: P,\n) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>
      where\n T: ?Sized + ToStatement + Sync + 'async_trait,\n P: IntoIterator + Send + 'async_trait,\n P::IntoIter: ExactSizeIterator,\n P::Item: BorrowToSql,\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,\n 'life1: 'async_trait,

      Query the underlying SQL database, returning exactly one result or failing.
      source§

      fn query_one_static<'life0, 'life1, 'async_trait, T>(\n &'life0 self,\n query: &'life1 T,\n) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>
      where\n T: ?Sized + ToStatement + Sync + 'async_trait,\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,\n 'life1: 'async_trait,

      Query the underlying SQL database with no parameters, returning exactly one result or\nfailing.
      source§

      fn query_opt<'life0, 'life1, 'async_trait, T, P>(\n &'life0 self,\n query: &'life1 T,\n params: P,\n) -> Pin<Box<dyn Future<Output = QueryResult<Option<Row>>> + Send + 'async_trait>>
      where\n T: ?Sized + ToStatement + Sync + 'async_trait,\n P: IntoIterator + Send + 'async_trait,\n P::IntoIter: ExactSizeIterator,\n P::Item: BorrowToSql,\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,\n 'life1: 'async_trait,

      Query the underlying SQL database, returning zero or one results.
      source§

      fn query_opt_static<'life0, 'life1, 'async_trait, T>(\n &'life0 self,\n query: &'life1 T,\n) -> Pin<Box<dyn Future<Output = QueryResult<Option<Row>>> + Send + 'async_trait>>
      where\n T: ?Sized + ToStatement + Sync + 'async_trait,\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,\n 'life1: 'async_trait,

      Query the underlying SQL database with no parameters, returning zero or one results.
      ","Query","hotshot_query_service::testing::consensus::MockSqlDataSource"]] +"hotshot_query_service":[["
      source§

      impl<P: AvailabilityProvider<MockTypes> + Default> DataSourceLifeCycle for SqlDataSource<MockTypes, P>

      §

      type Storage = TmpDb

      Backing storage for the data source. Read more
      source§

      fn create<'async_trait>(\n _node_id: usize,\n) -> Pin<Box<dyn Future<Output = Self::Storage> + Send + 'async_trait>>
      where\n Self: 'async_trait,

      source§

      fn connect<'life0, 'async_trait>(\n tmp_db: &'life0 Self::Storage,\n) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn reset<'life0, 'async_trait>(\n tmp_db: &'life0 Self::Storage,\n) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn handle_event<'life0, 'life1, 'async_trait>(\n &'life0 mut self,\n event: &'life1 Event<MockTypes>,\n) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,\n 'life1: 'async_trait,

      source§

      fn setup<'life0, 'async_trait>(\n _network: &'life0 mut MockNetwork<Self>,\n) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      Setup runs after setting up the network but before starting a test.
      ","DataSourceLifeCycle","hotshot_query_service::testing::consensus::MockSqlDataSource"],["
      source§

      impl<Types, P: AvailabilityProvider<Types>> SqlDataSource<Types, P>
      where\n Types: NodeType,\n Header<Types>: QueryableHeader<Types>,\n Payload<Types>: QueryablePayload<Types>,

      source

      pub async fn connect(\n config: Config,\n provider: P,\n) -> Result<Builder<Types, P>, Error>

      Connect to a remote database.

      \n

      This function returns a fetching::Builder which can be used to set options on the\nunderlying FetchingDataSource, before constructing the SqlDataSource with\nbuild. For a convenient constructor that uses the default\nfetching options, see Config::connect.

      \n
      ",0,"hotshot_query_service::testing::consensus::MockSqlDataSource"],["
      source§

      impl<Types, P> SqlDataSource<Types, P>
      where\n Types: NodeType,

      source

      pub async fn transaction(&mut self) -> QueryResult<Transaction<'_>>

      Access the transaction which is accumulating all uncommitted changes to the data source.

      \n

      This can be used to manually group database modifications to custom state atomically with\nmodifications made through the SqlDataSource.

      \n

      If there is no currently open transaction, a new transaction will be opened. No changes\nmade through the transaction objeect returned by this method will be persisted until\ncommit is called.

      \n
      ",0,"hotshot_query_service::testing::consensus::MockSqlDataSource"],["
      source§

      impl<Types, P: Send + Sync> Query for SqlDataSource<Types, P>
      where\n Types: NodeType,

      source§

      fn client<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = Cow<'_, Arc<Client>>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn query<'life0, 'life1, 'async_trait, T, P>(\n &'life0 self,\n query: &'life1 T,\n params: P,\n) -> Pin<Box<dyn Future<Output = QueryResult<BoxStream<'static, QueryResult<Row>>>> + Send + 'async_trait>>
      where\n T: ?Sized + ToStatement + Sync + 'async_trait,\n P: IntoIterator + Send + 'async_trait,\n P::IntoIter: ExactSizeIterator,\n P::Item: BorrowToSql,\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,\n 'life1: 'async_trait,

      source§

      fn query_static<'life0, 'life1, 'async_trait, T>(\n &'life0 self,\n query: &'life1 T,\n) -> Pin<Box<dyn Future<Output = QueryResult<BoxStream<'static, QueryResult<Row>>>> + Send + 'async_trait>>
      where\n T: ?Sized + ToStatement + Sync + 'async_trait,\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,\n 'life1: 'async_trait,

      Query the underlying SQL database with no parameters.
      source§

      fn query_one<'life0, 'life1, 'async_trait, T, P>(\n &'life0 self,\n query: &'life1 T,\n params: P,\n) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>
      where\n T: ?Sized + ToStatement + Sync + 'async_trait,\n P: IntoIterator + Send + 'async_trait,\n P::IntoIter: ExactSizeIterator,\n P::Item: BorrowToSql,\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,\n 'life1: 'async_trait,

      Query the underlying SQL database, returning exactly one result or failing.
      source§

      fn query_one_static<'life0, 'life1, 'async_trait, T>(\n &'life0 self,\n query: &'life1 T,\n) -> Pin<Box<dyn Future<Output = QueryResult<Row>> + Send + 'async_trait>>
      where\n T: ?Sized + ToStatement + Sync + 'async_trait,\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,\n 'life1: 'async_trait,

      Query the underlying SQL database with no parameters, returning exactly one result or\nfailing.
      source§

      fn query_opt<'life0, 'life1, 'async_trait, T, P>(\n &'life0 self,\n query: &'life1 T,\n params: P,\n) -> Pin<Box<dyn Future<Output = QueryResult<Option<Row>>> + Send + 'async_trait>>
      where\n T: ?Sized + ToStatement + Sync + 'async_trait,\n P: IntoIterator + Send + 'async_trait,\n P::IntoIter: ExactSizeIterator,\n P::Item: BorrowToSql,\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,\n 'life1: 'async_trait,

      Query the underlying SQL database, returning zero or one results.
      source§

      fn query_opt_static<'life0, 'life1, 'async_trait, T>(\n &'life0 self,\n query: &'life1 T,\n) -> Pin<Box<dyn Future<Output = QueryResult<Option<Row>>> + Send + 'async_trait>>
      where\n T: ?Sized + ToStatement + Sync + 'async_trait,\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,\n 'life1: 'async_trait,

      Query the underlying SQL database with no parameters, returning zero or one results.
      ","Query","hotshot_query_service::testing::consensus::MockSqlDataSource"]] };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/data_source/type.FileSystemDataSource.js b/type.impl/hotshot_query_service/data_source/type.FileSystemDataSource.js index a2ff7aac3..7fb615729 100644 --- a/type.impl/hotshot_query_service/data_source/type.FileSystemDataSource.js +++ b/type.impl/hotshot_query_service/data_source/type.FileSystemDataSource.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"hotshot_query_service":[["
      source§

      impl<P: AvailabilityProvider<MockTypes> + Default> DataSourceLifeCycle for FileSystemDataSource<MockTypes, P>

      §

      type Storage = TempDir

      Backing storage for the data source. Read more
      source§

      fn create<'async_trait>(\n node_id: usize,\n) -> Pin<Box<dyn Future<Output = Self::Storage> + Send + 'async_trait>>
      where\n Self: 'async_trait,

      source§

      fn connect<'life0, 'async_trait>(\n storage: &'life0 Self::Storage,\n) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn reset<'life0, 'async_trait>(\n storage: &'life0 Self::Storage,\n) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn handle_event<'life0, 'life1, 'async_trait>(\n &'life0 mut self,\n event: &'life1 Event<MockTypes>,\n) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,\n 'life1: 'async_trait,

      source§

      fn setup<'life0, 'async_trait>(\n _network: &'life0 mut MockNetwork<Self>,\n) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      Setup runs after setting up the network but before starting a test.
      ","DataSourceLifeCycle","hotshot_query_service::testing::consensus::MockDataSource"],["
      source§

      impl<Types: NodeType, P> FileSystemDataSource<Types, P>
      where\n Payload<Types>: QueryablePayload<Types>,\n Header<Types>: QueryableHeader<Types>,\n P: AvailabilityProvider<Types>,

      source

      pub async fn create(path: &Path, provider: P) -> Result<Self>

      Create a new FileSystemDataSource with storage at path.

      \n

      If there is already data at path, it will be archived.

      \n

      The FileSystemDataSource will manage its own persistence synchronization.

      \n
      source

      pub async fn open(path: &Path, provider: P) -> Result<Self>

      Open an existing FileSystemDataSource from storage at path.

      \n

      If there is no data at path, a new store will be created.

      \n

      The FileSystemDataSource will manage its own persistence synchronization.

      \n
      source

      pub async fn create_with_store(\n loader: &mut AtomicStoreLoader,\n provider: P,\n) -> Result<Self>

      Create a new FileSystemDataSource using a persistent storage loader.

      \n

      If there is existing data corresponding to the FileSystemDataSource data structures, it\nwill be archived.

      \n

      The FileSystemDataSource will register its persistent data structures with loader. The\ncaller is responsible for creating an AtomicStore from loader\nand managing synchronization of the store.

      \n
      source

      pub async fn open_with_store(\n loader: &mut AtomicStoreLoader,\n provider: P,\n) -> Result<Self>

      Open an existing FileSystemDataSource using a persistent storage loader.

      \n

      If there is no existing data corresponding to the FileSystemDataSource data structures, a\nnew store will be created.

      \n

      The FileSystemDataSource will register its persistent data structures with loader. The\ncaller is responsible for creating an AtomicStore from loader\nand managing synchronization of the store.

      \n
      source

      pub async fn skip_version(&mut self) -> Result<()>

      Advance the version of the persistent store without committing changes to persistent state.

      \n

      This function is useful when the AtomicStore synchronizing\nstorage for this FileSystemDataSource is being managed by the caller. The caller may want\nto persist some changes to other modules whose state is managed by the same\nAtomicStore. In order to call\nAtomicStore::commit_version, the version of\nthis FileSystemDataSource must be advanced, either by\ncommit or, if there are no outstanding changes,\nskip_version.

      \n
      ",0,"hotshot_query_service::testing::consensus::MockDataSource"]] +"hotshot_query_service":[["
      source§

      impl<P: AvailabilityProvider<MockTypes> + Default> DataSourceLifeCycle for FileSystemDataSource<MockTypes, P>

      §

      type Storage = TempDir

      Backing storage for the data source. Read more
      source§

      fn create<'async_trait>(\n node_id: usize,\n) -> Pin<Box<dyn Future<Output = Self::Storage> + Send + 'async_trait>>
      where\n Self: 'async_trait,

      source§

      fn connect<'life0, 'async_trait>(\n storage: &'life0 Self::Storage,\n) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn reset<'life0, 'async_trait>(\n storage: &'life0 Self::Storage,\n) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn handle_event<'life0, 'life1, 'async_trait>(\n &'life0 mut self,\n event: &'life1 Event<MockTypes>,\n) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,\n 'life1: 'async_trait,

      source§

      fn setup<'life0, 'async_trait>(\n _network: &'life0 mut MockNetwork<Self>,\n) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      Setup runs after setting up the network but before starting a test.
      ","DataSourceLifeCycle","hotshot_query_service::testing::consensus::MockDataSource"],["
      source§

      impl<Types: NodeType, P> FileSystemDataSource<Types, P>
      where\n Payload<Types>: QueryablePayload<Types>,\n Header<Types>: QueryableHeader<Types>,\n P: AvailabilityProvider<Types>,

      source

      pub async fn create(path: &Path, provider: P) -> Result<Self>

      Create a new FileSystemDataSource with storage at path.

      \n

      If there is already data at path, it will be archived.

      \n

      The FileSystemDataSource will manage its own persistence synchronization.

      \n
      source

      pub async fn open(path: &Path, provider: P) -> Result<Self>

      Open an existing FileSystemDataSource from storage at path.

      \n

      If there is no data at path, a new store will be created.

      \n

      The FileSystemDataSource will manage its own persistence synchronization.

      \n
      source

      pub async fn create_with_store(\n loader: &mut AtomicStoreLoader,\n provider: P,\n) -> Result<Self>

      Create a new FileSystemDataSource using a persistent storage loader.

      \n

      If there is existing data corresponding to the FileSystemDataSource data structures, it\nwill be archived.

      \n

      The FileSystemDataSource will register its persistent data structures with loader. The\ncaller is responsible for creating an AtomicStore from loader\nand managing synchronization of the store.

      \n
      source

      pub async fn open_with_store(\n loader: &mut AtomicStoreLoader,\n provider: P,\n) -> Result<Self>

      Open an existing FileSystemDataSource using a persistent storage loader.

      \n

      If there is no existing data corresponding to the FileSystemDataSource data structures, a\nnew store will be created.

      \n

      The FileSystemDataSource will register its persistent data structures with loader. The\ncaller is responsible for creating an AtomicStore from loader\nand managing synchronization of the store.

      \n
      source

      pub async fn skip_version(&mut self) -> Result<()>

      Advance the version of the persistent store without committing changes to persistent state.

      \n

      This function is useful when the AtomicStore synchronizing\nstorage for this FileSystemDataSource is being managed by the caller. The caller may want\nto persist some changes to other modules whose state is managed by the same\nAtomicStore. In order to call\nAtomicStore::commit_version, the version of\nthis FileSystemDataSource must be advanced, either by\ncommit or, if there are no outstanding changes,\nskip_version.

      \n
      ",0,"hotshot_query_service::testing::consensus::MockDataSource"]] };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/testing/mocks/struct.MockTypes.js b/type.impl/hotshot_query_service/testing/mocks/struct.MockTypes.js index 9174a93de..f7c2f9af2 100644 --- a/type.impl/hotshot_query_service/testing/mocks/struct.MockTypes.js +++ b/type.impl/hotshot_query_service/testing/mocks/struct.MockTypes.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"hotshot_query_service":[["
      source§

      impl AvailabilityDataSource<MockTypes> for DataSource

      §

      type LeafRange<R> = Pin<Box<dyn Stream<Item = Fetch<LeafQueryData<MockTypes>>> + Send>>\nwhere\n R: RangeBounds<usize> + Send

      §

      type BlockRange<R> = Pin<Box<dyn Stream<Item = Fetch<BlockQueryData<MockTypes>>> + Send>>\nwhere\n R: RangeBounds<usize> + Send

      §

      type PayloadRange<R> = Pin<Box<dyn Stream<Item = Fetch<PayloadQueryData<MockTypes>>> + Send>>\nwhere\n R: RangeBounds<usize> + Send

      §

      type VidCommonRange<R> = Pin<Box<dyn Stream<Item = Fetch<VidCommonQueryData<MockTypes>>> + Send>>\nwhere\n R: RangeBounds<usize> + Send

      source§

      fn get_leaf<'life0, 'async_trait, ID>(\n &'life0 self,\n id: ID,\n) -> Pin<Box<dyn Future<Output = Fetch<LeafQueryData<MockTypes>>> + Send + 'async_trait>>
      where\n ID: Into<LeafId<MockTypes>> + Send + Sync + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_block<'life0, 'async_trait, ID>(\n &'life0 self,\n id: ID,\n) -> Pin<Box<dyn Future<Output = Fetch<BlockQueryData<MockTypes>>> + Send + 'async_trait>>
      where\n ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_payload<'life0, 'async_trait, ID>(\n &'life0 self,\n id: ID,\n) -> Pin<Box<dyn Future<Output = Fetch<PayloadQueryData<MockTypes>>> + Send + 'async_trait>>
      where\n ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_vid_common<'life0, 'async_trait, ID>(\n &'life0 self,\n id: ID,\n) -> Pin<Box<dyn Future<Output = Fetch<VidCommonQueryData<MockTypes>>> + Send + 'async_trait>>
      where\n ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_leaf_range<'life0, 'async_trait, R>(\n &'life0 self,\n range: R,\n) -> Pin<Box<dyn Future<Output = Self::LeafRange<R>> + Send + 'async_trait>>
      where\n R: RangeBounds<usize> + Send + 'static + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_block_range<'life0, 'async_trait, R>(\n &'life0 self,\n range: R,\n) -> Pin<Box<dyn Future<Output = Self::BlockRange<R>> + Send + 'async_trait>>
      where\n R: RangeBounds<usize> + Send + 'static + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_payload_range<'life0, 'async_trait, R>(\n &'life0 self,\n range: R,\n) -> Pin<Box<dyn Future<Output = Self::PayloadRange<R>> + Send + 'async_trait>>
      where\n R: RangeBounds<usize> + Send + 'static + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_vid_common_range<'life0, 'async_trait, R>(\n &'life0 self,\n range: R,\n) -> Pin<Box<dyn Future<Output = Self::VidCommonRange<R>> + Send + 'async_trait>>
      where\n R: RangeBounds<usize> + Send + 'static + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_transaction<'life0, 'async_trait>(\n &'life0 self,\n hash: TransactionHash<MockTypes>,\n) -> Pin<Box<dyn Future<Output = Fetch<TransactionQueryData<MockTypes>>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      Returns the transaction with the given hash.
      source§

      fn subscribe_blocks<'life0, 'async_trait>(\n &'life0 self,\n from: usize,\n) -> Pin<Box<dyn Future<Output = BoxStream<'static, BlockQueryData<Types>>> + Send + 'async_trait>>
      where\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,

      source§

      fn subscribe_payloads<'life0, 'async_trait>(\n &'life0 self,\n from: usize,\n) -> Pin<Box<dyn Future<Output = BoxStream<'static, PayloadQueryData<Types>>> + Send + 'async_trait>>
      where\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,

      source§

      fn subscribe_leaves<'life0, 'async_trait>(\n &'life0 self,\n from: usize,\n) -> Pin<Box<dyn Future<Output = BoxStream<'static, LeafQueryData<Types>>> + Send + 'async_trait>>
      where\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,

      source§

      fn subscribe_vid_common<'life0, 'async_trait>(\n &'life0 self,\n from: usize,\n) -> Pin<Box<dyn Future<Output = BoxStream<'static, VidCommonQueryData<Types>>> + Send + 'async_trait>>
      where\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,

      ","AvailabilityDataSource","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl Clone for MockTypes

      source§

      fn clone(&self) -> MockTypes

      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::testing::mocks::MockBase"],["
      source§

      impl Debug for MockTypes

      source§

      fn fmt(&self, f: &mut Formatter<'_>) -> Result

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl Default for MockTypes

      source§

      fn default() -> MockTypes

      Returns the “default value” for a type. Read more
      ","Default","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl<'de> Deserialize<'de> for MockTypes

      source§

      fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
      where\n __D: Deserializer<'de>,

      Deserialize this value from the given Serde deserializer. Read more
      ","Deserialize<'de>","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl ExplorerHeader<MockTypes> for MockHeader

      §

      type BalanceAmount = i128

      BalanceAmount is a type that represents a general balance amount. It\ndoes not indicate how this balance is represented, just that there is\na representation of it that adheres to the trait restrictions specified.
      §

      type WalletAddress = [u8; 32]

      WalletAddress is a type that represents the address of a Wallet. It\ndoes not indicate how this address is represented, just that there is\na representation of it that adheres to the trait restrictions specified.
      §

      type ProposerId = [u8; 32]

      ProposerId is a type that represents the proposer id of the block. It\ndoes not indicate how this proposer id is represented, just that there is\na representation of it that adheres to the trait restrictions specified.
      §

      type NamespaceId = u64

      NamespaceId is a type that represents the id of a namespace. It does\nnot indicate how this namespace id is represented, just that there is\na representation of it that adheres to the trait restrictions specified.
      source§

      fn proposer_id(&self) -> Self::ProposerId

      The proposer id of the block as stored within the block header.
      source§

      fn fee_info_account(&self) -> Self::WalletAddress

      The wallet address of the fee info account contained within the block\nheader.
      source§

      fn fee_info_balance(&self) -> Self::BalanceAmount

      The balance amount of the fee info contained within the block header.
      source§

      fn reward_balance(&self) -> Self::BalanceAmount

      The balance amount of the reward for constructing the block.
      source§

      fn namespace_ids(&self) -> Vec<Self::NamespaceId>

      A collection of namespace ids that are contained within the block header.
      ","ExplorerHeader","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl Hash for MockTypes

      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\n H: Hasher,\n Self: Sized,

      Feeds a slice of this type into the given Hasher. Read more
      ","Hash","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl MerklizedState<MockTypes, 8> for MockMerkleTree

      §

      type Key = usize

      §

      type Entry = usize

      §

      type T = Sha3Node

      §

      type Commit = <UniversalMerkleTree<usize, Sha3Digest, usize, 8, Sha3Node> as MerkleTreeScheme>::Commitment

      §

      type Digest = Sha3Digest

      source§

      fn state_type() -> &'static str

      Retrieves the name of the state being queried.
      source§

      fn header_state_commitment_field() -> &'static str

      Retrieves the field in the header containing the Merkle tree commitment\nfor the state implementing this trait.
      source§

      fn tree_height() -> usize

      Get the height of the tree
      source§

      fn insert_path(\n &mut self,\n key: Self::Key,\n proof: &MerkleProof<Self::Entry, Self::Key, Self::T, 8>,\n) -> Result<()>

      Insert a forgotten path into the tree.
      ","MerklizedState","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl NodeDataSource<MockTypes> for DataSource

      source§

      fn block_height<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn count_transactions<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn payload_size<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn vid_share<'life0, 'async_trait, ID>(\n &'life0 self,\n id: ID,\n) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
      where\n ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn sync_status<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      Search the database for missing objects and generate a report. Read more
      source§

      fn get_header_window<'life0, 'async_trait>(\n &'life0 self,\n start: impl 'async_trait + Into<WindowStart<MockTypes>> + Send + Sync,\n end: u64,\n) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<MockTypes>>>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      ","NodeDataSource","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl NodeImplementation<MockTypes> for MockNodeImpl

      §

      type Network = MemoryNetwork<VerKey>

      The underlying network type
      §

      type Storage = TestStorage<MockTypes>

      Storage for DA layer interactions
      §

      type AuctionResultsProvider = TestAuctionResultsProvider<MockTypes>

      The auction results type for Solver interactions
      ","NodeImplementation","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl NodeType for MockTypes

      §

      type Time = ViewNumber

      The time type that this hotshot setup is using. Read more
      §

      type BlockHeader = TestBlockHeader

      The block header type that this hotshot setup is using.
      §

      type BlockPayload = TestBlockPayload

      The block type that this hotshot setup is using. Read more
      §

      type SignatureKey = VerKey

      The signature key that this hotshot setup is using.
      §

      type Transaction = TestTransaction

      The transaction type that this hotshot setup is using. Read more
      §

      type InstanceState = TestInstanceState

      The instance-level state type that this hotshot setup is using.
      §

      type ValidatedState = TestValidatedState

      The validated state type that this hotshot setup is using.
      §

      type Membership = GeneralStaticCommittee<MockTypes, VerKey>

      Membership used for this implementation
      §

      type BuilderSignatureKey = VerKey

      The type builder uses to sign its messages
      §

      type Base = StaticVersion<0, 1>

      The base version of HotShot this node is instantiated with.
      §

      type Upgrade = StaticVersion<0, 2>

      The version of HotShot this node may be upgraded to. Set equal to Base to disable upgrades.
      §

      type AuctionResult = TestAuctionResult

      The AuctionSolverResult is a type that holds the data associated with a particular solver\nrun, for a particular view.
      source§

      const UPGRADE_HASH: [u8; 32] = _

      The hash for the upgrade.
      ","NodeType","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl Ord for MockTypes

      source§

      fn cmp(&self, other: &MockTypes) -> Ordering

      This method returns an Ordering between self and other. Read more
      1.21.0 · source§

      fn max(self, other: Self) -> Self
      where\n Self: Sized,

      Compares and returns the maximum of two values. Read more
      1.21.0 · source§

      fn min(self, other: Self) -> Self
      where\n Self: Sized,

      Compares and returns the minimum of two values. Read more
      1.50.0 · source§

      fn clamp(self, min: Self, max: Self) -> Self
      where\n Self: Sized + PartialOrd,

      Restrict a value to a certain interval. Read more
      ","Ord","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl PartialEq for MockTypes

      source§

      fn eq(&self, other: &MockTypes) -> 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::testing::mocks::MockBase"],["
      source§

      impl PartialOrd for MockTypes

      source§

      fn partial_cmp(&self, other: &MockTypes) -> 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::testing::mocks::MockBase"],["
      source§

      impl QueryableHeader<MockTypes> for MockHeader

      source§

      fn timestamp(&self) -> u64

      ","QueryableHeader","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl Serialize for MockTypes

      source§

      fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
      where\n __S: Serializer,

      Serialize this value into the given Serde serializer. Read more
      ","Serialize","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl UpdateAvailabilityData<MockTypes> for DataSource

      §

      type Error = QueryError

      source§

      fn insert_leaf<'life0, 'async_trait>(\n &'life0 mut self,\n leaf: LeafQueryData<MockTypes>,\n) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn insert_block<'life0, 'async_trait>(\n &'life0 mut self,\n block: BlockQueryData<MockTypes>,\n) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn insert_vid<'life0, 'async_trait>(\n &'life0 mut self,\n common: VidCommonQueryData<MockTypes>,\n share: Option<VidShare>,\n) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      ","UpdateAvailabilityData","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl Copy for MockTypes

      ","Copy","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl Eq for MockTypes

      ","Eq","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl StructuralPartialEq for MockTypes

      ","StructuralPartialEq","hotshot_query_service::testing::mocks::MockBase"]] +"hotshot_query_service":[["
      source§

      impl AvailabilityDataSource<MockTypes> for DataSource

      §

      type LeafRange<R> = Pin<Box<dyn Stream<Item = Fetch<LeafQueryData<MockTypes>>> + Send>>\nwhere\n R: RangeBounds<usize> + Send

      §

      type BlockRange<R> = Pin<Box<dyn Stream<Item = Fetch<BlockQueryData<MockTypes>>> + Send>>\nwhere\n R: RangeBounds<usize> + Send

      §

      type PayloadRange<R> = Pin<Box<dyn Stream<Item = Fetch<PayloadQueryData<MockTypes>>> + Send>>\nwhere\n R: RangeBounds<usize> + Send

      §

      type VidCommonRange<R> = Pin<Box<dyn Stream<Item = Fetch<VidCommonQueryData<MockTypes>>> + Send>>\nwhere\n R: RangeBounds<usize> + Send

      source§

      fn get_leaf<'life0, 'async_trait, ID>(\n &'life0 self,\n id: ID,\n) -> Pin<Box<dyn Future<Output = Fetch<LeafQueryData<MockTypes>>> + Send + 'async_trait>>
      where\n ID: Into<LeafId<MockTypes>> + Send + Sync + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_block<'life0, 'async_trait, ID>(\n &'life0 self,\n id: ID,\n) -> Pin<Box<dyn Future<Output = Fetch<BlockQueryData<MockTypes>>> + Send + 'async_trait>>
      where\n ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_payload<'life0, 'async_trait, ID>(\n &'life0 self,\n id: ID,\n) -> Pin<Box<dyn Future<Output = Fetch<PayloadQueryData<MockTypes>>> + Send + 'async_trait>>
      where\n ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_vid_common<'life0, 'async_trait, ID>(\n &'life0 self,\n id: ID,\n) -> Pin<Box<dyn Future<Output = Fetch<VidCommonQueryData<MockTypes>>> + Send + 'async_trait>>
      where\n ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_leaf_range<'life0, 'async_trait, R>(\n &'life0 self,\n range: R,\n) -> Pin<Box<dyn Future<Output = Self::LeafRange<R>> + Send + 'async_trait>>
      where\n R: RangeBounds<usize> + Send + 'static + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_block_range<'life0, 'async_trait, R>(\n &'life0 self,\n range: R,\n) -> Pin<Box<dyn Future<Output = Self::BlockRange<R>> + Send + 'async_trait>>
      where\n R: RangeBounds<usize> + Send + 'static + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_payload_range<'life0, 'async_trait, R>(\n &'life0 self,\n range: R,\n) -> Pin<Box<dyn Future<Output = Self::PayloadRange<R>> + Send + 'async_trait>>
      where\n R: RangeBounds<usize> + Send + 'static + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_vid_common_range<'life0, 'async_trait, R>(\n &'life0 self,\n range: R,\n) -> Pin<Box<dyn Future<Output = Self::VidCommonRange<R>> + Send + 'async_trait>>
      where\n R: RangeBounds<usize> + Send + 'static + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn get_transaction<'life0, 'async_trait>(\n &'life0 self,\n hash: TransactionHash<MockTypes>,\n) -> Pin<Box<dyn Future<Output = Fetch<TransactionQueryData<MockTypes>>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      Returns the transaction with the given hash.
      source§

      fn subscribe_blocks<'life0, 'async_trait>(\n &'life0 self,\n from: usize,\n) -> Pin<Box<dyn Future<Output = BoxStream<'static, BlockQueryData<Types>>> + Send + 'async_trait>>
      where\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,

      source§

      fn subscribe_payloads<'life0, 'async_trait>(\n &'life0 self,\n from: usize,\n) -> Pin<Box<dyn Future<Output = BoxStream<'static, PayloadQueryData<Types>>> + Send + 'async_trait>>
      where\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,

      source§

      fn subscribe_leaves<'life0, 'async_trait>(\n &'life0 self,\n from: usize,\n) -> Pin<Box<dyn Future<Output = BoxStream<'static, LeafQueryData<Types>>> + Send + 'async_trait>>
      where\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,

      source§

      fn subscribe_vid_common<'life0, 'async_trait>(\n &'life0 self,\n from: usize,\n) -> Pin<Box<dyn Future<Output = BoxStream<'static, VidCommonQueryData<Types>>> + Send + 'async_trait>>
      where\n Self: Sync + 'async_trait,\n 'life0: 'async_trait,

      ","AvailabilityDataSource","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl Clone for MockTypes

      source§

      fn clone(&self) -> MockTypes

      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::testing::mocks::MockBase"],["
      source§

      impl Debug for MockTypes

      source§

      fn fmt(&self, f: &mut Formatter<'_>) -> Result

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl Default for MockTypes

      source§

      fn default() -> MockTypes

      Returns the “default value” for a type. Read more
      ","Default","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl<'de> Deserialize<'de> for MockTypes

      source§

      fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
      where\n __D: Deserializer<'de>,

      Deserialize this value from the given Serde deserializer. Read more
      ","Deserialize<'de>","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl ExplorerHeader<MockTypes> for MockHeader

      §

      type BalanceAmount = i128

      BalanceAmount is a type that represents a general balance amount. It\ndoes not indicate how this balance is represented, just that there is\na representation of it that adheres to the trait restrictions specified.
      §

      type WalletAddress = [u8; 32]

      WalletAddress is a type that represents the address of a Wallet. It\ndoes not indicate how this address is represented, just that there is\na representation of it that adheres to the trait restrictions specified.
      §

      type ProposerId = [u8; 32]

      ProposerId is a type that represents the proposer id of the block. It\ndoes not indicate how this proposer id is represented, just that there is\na representation of it that adheres to the trait restrictions specified.
      §

      type NamespaceId = u64

      NamespaceId is a type that represents the id of a namespace. It does\nnot indicate how this namespace id is represented, just that there is\na representation of it that adheres to the trait restrictions specified.
      source§

      fn proposer_id(&self) -> Self::ProposerId

      The proposer id of the block as stored within the block header.
      source§

      fn fee_info_account(&self) -> Self::WalletAddress

      The wallet address of the fee info account contained within the block\nheader.
      source§

      fn fee_info_balance(&self) -> Self::BalanceAmount

      The balance amount of the fee info contained within the block header.
      source§

      fn reward_balance(&self) -> Self::BalanceAmount

      The balance amount of the reward for constructing the block.
      source§

      fn namespace_ids(&self) -> Vec<Self::NamespaceId>

      A collection of namespace ids that are contained within the block header.
      ","ExplorerHeader","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl Hash for MockTypes

      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\n H: Hasher,\n Self: Sized,

      Feeds a slice of this type into the given Hasher. Read more
      ","Hash","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl MerklizedState<MockTypes, 8> for MockMerkleTree

      §

      type Key = usize

      §

      type Entry = usize

      §

      type T = Sha3Node

      §

      type Commit = <UniversalMerkleTree<usize, Sha3Digest, usize, 8, Sha3Node> as MerkleTreeScheme>::Commitment

      §

      type Digest = Sha3Digest

      source§

      fn state_type() -> &'static str

      Retrieves the name of the state being queried.
      source§

      fn header_state_commitment_field() -> &'static str

      Retrieves the field in the header containing the Merkle tree commitment\nfor the state implementing this trait.
      source§

      fn tree_height() -> usize

      Get the height of the tree
      source§

      fn insert_path(\n &mut self,\n key: Self::Key,\n proof: &MerkleProof<Self::Entry, Self::Key, Self::T, 8>,\n) -> Result<()>

      Insert a forgotten path into the tree.
      ","MerklizedState","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl NodeDataSource<MockTypes> for DataSource

      source§

      fn block_height<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn count_transactions<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn payload_size<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = QueryResult<usize>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn vid_share<'life0, 'async_trait, ID>(\n &'life0 self,\n id: ID,\n) -> Pin<Box<dyn Future<Output = QueryResult<VidShare>> + Send + 'async_trait>>
      where\n ID: Into<BlockId<MockTypes>> + Send + Sync + 'async_trait,\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn sync_status<'life0, 'async_trait>(\n &'life0 self,\n) -> Pin<Box<dyn Future<Output = BoxFuture<'static, QueryResult<SyncStatus>>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      Search the database for missing objects and generate a report. Read more
      source§

      fn get_header_window<'life0, 'async_trait>(\n &'life0 self,\n start: impl 'async_trait + Into<WindowStart<MockTypes>> + Send + Sync,\n end: u64,\n) -> Pin<Box<dyn Future<Output = QueryResult<TimeWindowQueryData<Header<MockTypes>>>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      ","NodeDataSource","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl NodeImplementation<MockTypes> for MockNodeImpl

      §

      type Network = MemoryNetwork<VerKey>

      The underlying network type
      §

      type Storage = TestStorage<MockTypes>

      Storage for DA layer interactions
      §

      type AuctionResultsProvider = TestAuctionResultsProvider<MockTypes>

      The auction results type for Solver interactions
      ","NodeImplementation","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl NodeType for MockTypes

      §

      type Time = ViewNumber

      The time type that this hotshot setup is using. Read more
      §

      type BlockHeader = TestBlockHeader

      The block header type that this hotshot setup is using.
      §

      type BlockPayload = TestBlockPayload

      The block type that this hotshot setup is using. Read more
      §

      type SignatureKey = VerKey

      The signature key that this hotshot setup is using.
      §

      type Transaction = TestTransaction

      The transaction type that this hotshot setup is using. Read more
      §

      type InstanceState = TestInstanceState

      The instance-level state type that this hotshot setup is using.
      §

      type ValidatedState = TestValidatedState

      The validated state type that this hotshot setup is using.
      §

      type Membership = GeneralStaticCommittee<MockTypes, VerKey>

      Membership used for this implementation
      §

      type BuilderSignatureKey = VerKey

      The type builder uses to sign its messages
      §

      type Base = StaticVersion<0, 1>

      The base version of HotShot this node is instantiated with.
      §

      type Upgrade = StaticVersion<0, 2>

      The version of HotShot this node may be upgraded to. Set equal to Base to disable upgrades.
      §

      type AuctionResult = TestAuctionResult

      The AuctionSolverResult is a type that holds the data associated with a particular solver\nrun, for a particular view.
      source§

      const UPGRADE_HASH: [u8; 32] = _

      The hash for the upgrade.
      ","NodeType","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl Ord for MockTypes

      source§

      fn cmp(&self, other: &MockTypes) -> Ordering

      This method returns an Ordering between self and other. Read more
      1.21.0 · source§

      fn max(self, other: Self) -> Self
      where\n Self: Sized,

      Compares and returns the maximum of two values. Read more
      1.21.0 · source§

      fn min(self, other: Self) -> Self
      where\n Self: Sized,

      Compares and returns the minimum of two values. Read more
      1.50.0 · source§

      fn clamp(self, min: Self, max: Self) -> Self
      where\n Self: Sized + PartialOrd,

      Restrict a value to a certain interval. Read more
      ","Ord","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl PartialEq for MockTypes

      source§

      fn eq(&self, other: &MockTypes) -> 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::testing::mocks::MockBase"],["
      source§

      impl PartialOrd for MockTypes

      source§

      fn partial_cmp(&self, other: &MockTypes) -> 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::testing::mocks::MockBase"],["
      source§

      impl QueryableHeader<MockTypes> for MockHeader

      source§

      fn timestamp(&self) -> u64

      ","QueryableHeader","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl Serialize for MockTypes

      source§

      fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
      where\n __S: Serializer,

      Serialize this value into the given Serde serializer. Read more
      ","Serialize","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl UpdateAvailabilityData<MockTypes> for DataSource

      §

      type Error = QueryError

      source§

      fn insert_leaf<'life0, 'async_trait>(\n &'life0 mut self,\n leaf: LeafQueryData<MockTypes>,\n) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn insert_block<'life0, 'async_trait>(\n &'life0 mut self,\n block: BlockQueryData<MockTypes>,\n) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      source§

      fn insert_vid<'life0, 'async_trait>(\n &'life0 mut self,\n common: VidCommonQueryData<MockTypes>,\n share: Option<VidShare>,\n) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
      where\n Self: 'async_trait,\n 'life0: 'async_trait,

      ","UpdateAvailabilityData","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl Copy for MockTypes

      ","Copy","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl Eq for MockTypes

      ","Eq","hotshot_query_service::testing::mocks::MockBase"],["
      source§

      impl StructuralPartialEq for MockTypes

      ","StructuralPartialEq","hotshot_query_service::testing::mocks::MockBase"]] };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_types/data/struct.QuorumProposal.js b/type.impl/hotshot_types/data/struct.QuorumProposal.js index 2ecf1e8e4..3bceb5555 100644 --- a/type.impl/hotshot_types/data/struct.QuorumProposal.js +++ b/type.impl/hotshot_types/data/struct.QuorumProposal.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"hotshot_query_service":[["
      §

      impl<TYPES> Clone for QuorumProposal<TYPES>
      where\n TYPES: Clone + NodeType,\n <TYPES as NodeType>::BlockHeader: Clone,\n <TYPES as NodeType>::Time: Clone,

      §

      fn clone(&self) -> QuorumProposal<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
      ","Clone","hotshot_query_service::testing::mocks::MockQuorumProposal"],["
      §

      impl<TYPES> Debug for QuorumProposal<TYPES>
      where\n TYPES: NodeType,\n <TYPES as NodeType>::BlockHeader: Debug,\n <TYPES as NodeType>::Time: Debug,\n SimpleCertificate<TYPES, QuorumData<TYPES>, SuccessThreshold>: Debug,\n Option<SimpleCertificate<TYPES, UpgradeProposalData<TYPES>, UpgradeThreshold>>: Debug,\n Option<ViewChangeEvidence<TYPES>>: Debug,

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::testing::mocks::MockQuorumProposal"],["
      §

      impl<'de, TYPES> Deserialize<'de> for QuorumProposal<TYPES>
      where\n TYPES: NodeType,

      §

      fn deserialize<__D>(\n __deserializer: __D,\n) -> Result<QuorumProposal<TYPES>, <__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::testing::mocks::MockQuorumProposal"],["
      §

      impl<TYPES> HasViewNumber<TYPES> for QuorumProposal<TYPES>
      where\n TYPES: NodeType,

      §

      fn view_number(&self) -> <TYPES as NodeType>::Time

      Returns the view number the type refers to.
      ","HasViewNumber","hotshot_query_service::testing::mocks::MockQuorumProposal"],["
      §

      impl<TYPES> Hash for QuorumProposal<TYPES>
      where\n TYPES: Hash + NodeType,\n <TYPES as NodeType>::BlockHeader: Hash,\n <TYPES as NodeType>::Time: Hash,

      §

      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::testing::mocks::MockQuorumProposal"],["
      §

      impl<TYPES> PartialEq for QuorumProposal<TYPES>
      where\n TYPES: PartialEq + NodeType,\n <TYPES as NodeType>::BlockHeader: PartialEq,\n <TYPES as NodeType>::Time: PartialEq,

      §

      fn eq(&self, other: &QuorumProposal<TYPES>) -> 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::testing::mocks::MockQuorumProposal"],["
      §

      impl<TYPES> Serialize for QuorumProposal<TYPES>
      where\n TYPES: NodeType + Serialize,\n <TYPES as NodeType>::BlockHeader: Serialize,\n <TYPES as NodeType>::Time: Serialize,

      §

      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::testing::mocks::MockQuorumProposal"],["
      §

      impl<TYPES> Eq for QuorumProposal<TYPES>
      where\n TYPES: Eq + NodeType,\n <TYPES as NodeType>::BlockHeader: Eq,\n <TYPES as NodeType>::Time: Eq,

      ","Eq","hotshot_query_service::testing::mocks::MockQuorumProposal"],["
      §

      impl<TYPES> StructuralPartialEq for QuorumProposal<TYPES>
      where\n TYPES: NodeType,

      ","StructuralPartialEq","hotshot_query_service::testing::mocks::MockQuorumProposal"]] +"hotshot_query_service":[["
      §

      impl<TYPES> Clone for QuorumProposal<TYPES>
      where\n TYPES: Clone + NodeType,\n <TYPES as NodeType>::BlockHeader: Clone,\n <TYPES as NodeType>::Time: Clone,

      §

      fn clone(&self) -> QuorumProposal<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
      ","Clone","hotshot_query_service::testing::mocks::MockQuorumProposal"],["
      §

      impl<TYPES> Debug for QuorumProposal<TYPES>
      where\n TYPES: NodeType,\n <TYPES as NodeType>::BlockHeader: Debug,\n <TYPES as NodeType>::Time: Debug,\n SimpleCertificate<TYPES, QuorumData<TYPES>, SuccessThreshold>: Debug,\n Option<SimpleCertificate<TYPES, UpgradeProposalData<TYPES>, UpgradeThreshold>>: Debug,\n Option<ViewChangeEvidence<TYPES>>: Debug,

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::testing::mocks::MockQuorumProposal"],["
      §

      impl<'de, TYPES> Deserialize<'de> for QuorumProposal<TYPES>
      where\n TYPES: NodeType,

      §

      fn deserialize<__D>(\n __deserializer: __D,\n) -> Result<QuorumProposal<TYPES>, <__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::testing::mocks::MockQuorumProposal"],["
      §

      impl<TYPES> HasViewNumber<TYPES> for QuorumProposal<TYPES>
      where\n TYPES: NodeType,

      §

      fn view_number(&self) -> <TYPES as NodeType>::Time

      Returns the view number the type refers to.
      ","HasViewNumber","hotshot_query_service::testing::mocks::MockQuorumProposal"],["
      §

      impl<TYPES> Hash for QuorumProposal<TYPES>
      where\n TYPES: Hash + NodeType,\n <TYPES as NodeType>::BlockHeader: Hash,\n <TYPES as NodeType>::Time: Hash,

      §

      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::testing::mocks::MockQuorumProposal"],["
      §

      impl<TYPES> PartialEq for QuorumProposal<TYPES>
      where\n TYPES: PartialEq + NodeType,\n <TYPES as NodeType>::BlockHeader: PartialEq,\n <TYPES as NodeType>::Time: PartialEq,

      §

      fn eq(&self, other: &QuorumProposal<TYPES>) -> 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::testing::mocks::MockQuorumProposal"],["
      §

      impl<TYPES> Serialize for QuorumProposal<TYPES>
      where\n TYPES: NodeType + Serialize,\n <TYPES as NodeType>::BlockHeader: Serialize,\n <TYPES as NodeType>::Time: Serialize,

      §

      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::testing::mocks::MockQuorumProposal"],["
      §

      impl<TYPES> Eq for QuorumProposal<TYPES>
      where\n TYPES: Eq + NodeType,\n <TYPES as NodeType>::BlockHeader: Eq,\n <TYPES as NodeType>::Time: Eq,

      ","Eq","hotshot_query_service::testing::mocks::MockQuorumProposal"],["
      §

      impl<TYPES> StructuralPartialEq for QuorumProposal<TYPES>
      where\n TYPES: NodeType,

      ","StructuralPartialEq","hotshot_query_service::testing::mocks::MockQuorumProposal"]] };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_types/vid/struct.VidSchemeType.js b/type.impl/hotshot_types/vid/struct.VidSchemeType.js index 2c3e9e71a..3c1a922c8 100644 --- a/type.impl/hotshot_types/vid/struct.VidSchemeType.js +++ b/type.impl/hotshot_types/vid/struct.VidSchemeType.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"hotshot_query_service":[["
      §

      impl PayloadProver<LargeRangeProofType> for VidSchemeType

      §

      fn payload_proof<B>(\n &self,\n payload: B,\n range: Range<usize>,\n) -> Result<LargeRangeProofType, VidError>
      where\n B: AsRef<[u8]>,

      Compute a proof for a subslice of payload data. Read more
      §

      fn payload_verify(\n &self,\n stmt: Statement<'_, VidSchemeType>,\n proof: &LargeRangeProofType,\n) -> Result<Result<(), ()>, VidError>

      Verify a proof made by [PayloadProver::payload_proof]. Read more
      ","PayloadProver","hotshot_query_service::VidCommitment","hotshot_query_service::VidCommon","hotshot_query_service::VidShare"],["
      §

      impl PayloadProver<SmallRangeProofType> for VidSchemeType

      §

      fn payload_proof<B>(\n &self,\n payload: B,\n range: Range<usize>,\n) -> Result<SmallRangeProofType, VidError>
      where\n B: AsRef<[u8]>,

      Compute a proof for a subslice of payload data. Read more
      §

      fn payload_verify(\n &self,\n stmt: Statement<'_, VidSchemeType>,\n proof: &SmallRangeProofType,\n) -> Result<Result<(), ()>, VidError>

      Verify a proof made by [PayloadProver::payload_proof]. Read more
      ","PayloadProver","hotshot_query_service::VidCommitment","hotshot_query_service::VidCommon","hotshot_query_service::VidShare"],["
      §

      impl Precomputable for VidSchemeType

      §

      type PrecomputeData = <AdvzInternal<Bn<Config>, CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>, ()> as Precomputable>::PrecomputeData

      Precomputed data that can be (re-)used during disperse computation
      §

      fn commit_only_precompute<B>(\n &self,\n payload: B,\n) -> Result<(<VidSchemeType as VidScheme>::Commit, <VidSchemeType as Precomputable>::PrecomputeData), VidError>
      where\n B: AsRef<[u8]>,

      Similar to [VidScheme::commit_only] but returns additional data that\ncan be used as input to disperse_precompute for faster dispersal.
      §

      fn disperse_precompute<B>(\n &self,\n payload: B,\n data: &<VidSchemeType as Precomputable>::PrecomputeData,\n) -> Result<VidDisperse<VidSchemeType>, VidError>
      where\n B: AsRef<[u8]>,

      Similar to [VidScheme::disperse] but takes as input additional\ndata for more efficient computation and faster disersal.
      ","Precomputable","hotshot_query_service::VidCommitment","hotshot_query_service::VidCommon","hotshot_query_service::VidShare"],["
      §

      impl VidScheme for VidSchemeType

      §

      type Commit = <AdvzInternal<Bn<Config>, CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>, ()> as VidScheme>::Commit

      Payload commitment.
      §

      type Share = <AdvzInternal<Bn<Config>, CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>, ()> as VidScheme>::Share

      Share-specific data sent to a storage node.
      §

      type Common = <AdvzInternal<Bn<Config>, CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>, ()> as VidScheme>::Common

      Common data sent to all storage nodes.
      §

      fn commit_only<B>(\n &mut self,\n payload: B,\n) -> Result<<VidSchemeType as VidScheme>::Commit, VidError>
      where\n B: AsRef<[u8]>,

      Compute a payload commitment
      §

      fn disperse<B>(\n &mut self,\n payload: B,\n) -> Result<VidDisperse<VidSchemeType>, VidError>
      where\n B: AsRef<[u8]>,

      Compute shares to send to the storage nodes
      §

      fn verify_share(\n &self,\n share: &<VidSchemeType as VidScheme>::Share,\n common: &<VidSchemeType as VidScheme>::Common,\n commit: &<VidSchemeType as VidScheme>::Commit,\n) -> Result<Result<(), ()>, VidError>

      Verify a share. Used by both storage node and retrieval client.\nWhy is return type a nested Result? See https://sled.rs/errors\nReturns: Read more
      §

      fn recover_payload(\n &self,\n shares: &[<VidSchemeType as VidScheme>::Share],\n common: &<VidSchemeType as VidScheme>::Common,\n) -> Result<Vec<u8>, VidError>

      Recover payload from shares.\nDo not verify shares or check recovered payload against anything.
      §

      fn is_consistent(\n commit: &<VidSchemeType as VidScheme>::Commit,\n common: &<VidSchemeType as VidScheme>::Common,\n) -> Result<(), VidError>

      Check that a [VidScheme::Common] is consistent with a\n[VidScheme::Commit]. Read more
      §

      fn get_payload_byte_len(common: &<VidSchemeType as VidScheme>::Common) -> u32

      Extract the payload byte length data from a [VidScheme::Common].
      §

      fn get_num_storage_nodes(common: &<VidSchemeType as VidScheme>::Common) -> u32

      Extract the number of storage nodes from a [VidScheme::Common].
      §

      fn get_multiplicity(common: &<VidSchemeType as VidScheme>::Common) -> u32

      Extract the number of poly evals per share [VidScheme::Common].
      ","VidScheme","hotshot_query_service::VidCommitment","hotshot_query_service::VidCommon","hotshot_query_service::VidShare"]] +"hotshot_query_service":[["
      §

      impl PayloadProver<LargeRangeProofType> for VidSchemeType

      §

      fn payload_proof<B>(\n &self,\n payload: B,\n range: Range<usize>,\n) -> Result<LargeRangeProofType, VidError>
      where\n B: AsRef<[u8]>,

      Compute a proof for a subslice of payload data. Read more
      §

      fn payload_verify(\n &self,\n stmt: Statement<'_, VidSchemeType>,\n proof: &LargeRangeProofType,\n) -> Result<Result<(), ()>, VidError>

      Verify a proof made by [PayloadProver::payload_proof]. Read more
      ","PayloadProver","hotshot_query_service::VidCommitment","hotshot_query_service::VidCommon","hotshot_query_service::VidShare"],["
      §

      impl PayloadProver<SmallRangeProofType> for VidSchemeType

      §

      fn payload_proof<B>(\n &self,\n payload: B,\n range: Range<usize>,\n) -> Result<SmallRangeProofType, VidError>
      where\n B: AsRef<[u8]>,

      Compute a proof for a subslice of payload data. Read more
      §

      fn payload_verify(\n &self,\n stmt: Statement<'_, VidSchemeType>,\n proof: &SmallRangeProofType,\n) -> Result<Result<(), ()>, VidError>

      Verify a proof made by [PayloadProver::payload_proof]. Read more
      ","PayloadProver","hotshot_query_service::VidCommitment","hotshot_query_service::VidCommon","hotshot_query_service::VidShare"],["
      §

      impl Precomputable for VidSchemeType

      §

      type PrecomputeData = <AdvzInternal<Bn<Config>, CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>, ()> as Precomputable>::PrecomputeData

      Precomputed data that can be (re-)used during disperse computation
      §

      fn commit_only_precompute<B>(\n &self,\n payload: B,\n) -> Result<(<VidSchemeType as VidScheme>::Commit, <VidSchemeType as Precomputable>::PrecomputeData), VidError>
      where\n B: AsRef<[u8]>,

      Similar to [VidScheme::commit_only] but returns additional data that\ncan be used as input to disperse_precompute for faster dispersal.
      §

      fn disperse_precompute<B>(\n &self,\n payload: B,\n data: &<VidSchemeType as Precomputable>::PrecomputeData,\n) -> Result<VidDisperse<VidSchemeType>, VidError>
      where\n B: AsRef<[u8]>,

      Similar to [VidScheme::disperse] but takes as input additional\ndata for more efficient computation and faster disersal.
      ","Precomputable","hotshot_query_service::VidCommitment","hotshot_query_service::VidCommon","hotshot_query_service::VidShare"],["
      §

      impl VidScheme for VidSchemeType

      §

      type Commit = <AdvzInternal<Bn<Config>, CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>, ()> as VidScheme>::Commit

      Payload commitment.
      §

      type Share = <AdvzInternal<Bn<Config>, CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>, ()> as VidScheme>::Share

      Share-specific data sent to a storage node.
      §

      type Common = <AdvzInternal<Bn<Config>, CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>, ()> as VidScheme>::Common

      Common data sent to all storage nodes.
      §

      fn commit_only<B>(\n &mut self,\n payload: B,\n) -> Result<<VidSchemeType as VidScheme>::Commit, VidError>
      where\n B: AsRef<[u8]>,

      Compute a payload commitment
      §

      fn disperse<B>(\n &mut self,\n payload: B,\n) -> Result<VidDisperse<VidSchemeType>, VidError>
      where\n B: AsRef<[u8]>,

      Compute shares to send to the storage nodes
      §

      fn verify_share(\n &self,\n share: &<VidSchemeType as VidScheme>::Share,\n common: &<VidSchemeType as VidScheme>::Common,\n commit: &<VidSchemeType as VidScheme>::Commit,\n) -> Result<Result<(), ()>, VidError>

      Verify a share. Used by both storage node and retrieval client.\nWhy is return type a nested Result? See https://sled.rs/errors\nReturns: Read more
      §

      fn recover_payload(\n &self,\n shares: &[<VidSchemeType as VidScheme>::Share],\n common: &<VidSchemeType as VidScheme>::Common,\n) -> Result<Vec<u8>, VidError>

      Recover payload from shares.\nDo not verify shares or check recovered payload against anything.
      §

      fn is_consistent(\n commit: &<VidSchemeType as VidScheme>::Commit,\n common: &<VidSchemeType as VidScheme>::Common,\n) -> Result<(), VidError>

      Check that a [VidScheme::Common] is consistent with a\n[VidScheme::Commit]. Read more
      §

      fn get_payload_byte_len(common: &<VidSchemeType as VidScheme>::Common) -> u32

      Extract the payload byte length data from a [VidScheme::Common].
      §

      fn get_num_storage_nodes(common: &<VidSchemeType as VidScheme>::Common) -> u32

      Extract the number of storage nodes from a [VidScheme::Common].
      §

      fn get_multiplicity(common: &<VidSchemeType as VidScheme>::Common) -> u32

      Extract the number of poly evals per share [VidScheme::Common].
      ","VidScheme","hotshot_query_service::VidCommitment","hotshot_query_service::VidCommon","hotshot_query_service::VidShare"]] };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/jf_merkle_tree/universal_merkle_tree/struct.UniversalMerkleTree.js b/type.impl/jf_merkle_tree/universal_merkle_tree/struct.UniversalMerkleTree.js index f5085f9e6..4988bb5a1 100644 --- a/type.impl/jf_merkle_tree/universal_merkle_tree/struct.UniversalMerkleTree.js +++ b/type.impl/jf_merkle_tree/universal_merkle_tree/struct.UniversalMerkleTree.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"hotshot_query_service":[["
      §

      impl<E, H, I, const ARITY: usize, T> Clone for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Clone + Element,\n H: Clone + DigestAlgorithm<E, I, T>,\n I: Clone + Index,\n T: Clone + NodeValue,

      §

      fn clone(&self) -> UniversalMerkleTree<E, H, I, ARITY, 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::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> Debug for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Debug + Element,\n H: Debug + DigestAlgorithm<E, I, T>,\n I: Debug + Index,\n T: Debug + NodeValue,

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::testing::mocks::MockMerkleTree"],["
      §

      impl<'de, E, H, I, const ARITY: usize, T> Deserialize<'de> for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Element + CanonicalSerialize + CanonicalDeserialize,\n H: DigestAlgorithm<E, I, T>,\n I: Index + CanonicalSerialize + CanonicalDeserialize,\n T: NodeValue,

      §

      fn deserialize<__D>(\n __deserializer: __D,\n) -> Result<UniversalMerkleTree<E, H, I, ARITY, 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::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> ForgetableMerkleTreeScheme for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Element,\n H: DigestAlgorithm<E, I, T>,\n I: Index + ToTraversalPath<ARITY>,\n T: NodeValue,

      §

      fn from_commitment(\n com: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Commitment>,\n) -> UniversalMerkleTree<E, H, I, ARITY, T>

      Rebuild a merkle tree from a commitment.\nReturn a tree which is entirely forgotten.
      §

      fn forget(\n &mut self,\n pos: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Index>,\n) -> LookupResult<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Element, <UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::MembershipProof, ()>

      Trim the leaf at position i from memory, if present.\nShould not trim if position i is the last inserted leaf position.\nReturn is identical to result if get_leaf(pos) were called before this\ncall.
      §

      fn remember(\n &mut self,\n pos: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Index>,\n element: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Element>,\n proof: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::MembershipProof>,\n) -> Result<(), MerkleTreeError>

      “Re-insert” a leaf into the tree using its proof.\nReturns Ok(()) if insertion is successful, or Err(err) if the\nproof disagrees with the merkle tree
      ","ForgetableMerkleTreeScheme","hotshot_query_service::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> ForgetableUniversalMerkleTreeScheme for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Element,\n H: DigestAlgorithm<E, I, T>,\n I: Index + ToTraversalPath<ARITY>,\n T: NodeValue,

      §

      fn universal_forget(\n &mut self,\n pos: <UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Index,\n) -> LookupResult<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Element, <UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::MembershipProof, <UniversalMerkleTree<E, H, I, ARITY, T> as UniversalMerkleTreeScheme>::NonMembershipProof>

      WARN(#495): this method breaks non-membership proofs.

      \n
      §

      fn non_membership_remember(\n &mut self,\n pos: <UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Index,\n proof: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as UniversalMerkleTreeScheme>::NonMembershipProof>,\n) -> Result<(), MerkleTreeError>

      “Re-insert” an empty leaf into the tree using its proof. Read more
      ","ForgetableUniversalMerkleTreeScheme","hotshot_query_service::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> Hash for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Hash + Element,\n H: Hash + DigestAlgorithm<E, I, T>,\n I: Hash + Index,\n T: Hash + NodeValue,

      §

      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::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> IntoIterator for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Element,\n H: DigestAlgorithm<E, I, T>,\n I: Index + ToTraversalPath<ARITY>,\n T: NodeValue,

      §

      type Item = (I, E)

      The type of the elements being iterated over.
      §

      type IntoIter = MerkleTreeIntoIter<E, I, T>

      Which kind of iterator are we turning this into?
      §

      fn into_iter(\n self,\n) -> <UniversalMerkleTree<E, H, I, ARITY, T> as IntoIterator>::IntoIter

      Creates an iterator from a value. Read more
      ","IntoIterator","hotshot_query_service::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> MerkleTreeScheme for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Element,\n H: DigestAlgorithm<E, I, T>,\n I: Index + ToTraversalPath<ARITY>,\n T: NodeValue,

      §

      type Element = E

      Merkle tree element type
      §

      type Index = I

      Index type for this merkle tree
      §

      type NodeValue = T

      Internal and root node value
      §

      type MembershipProof = MerkleProof<E, I, T, ARITY>

      Merkle proof
      §

      type BatchMembershipProof = ()

      Batch proof
      §

      type Commitment = MerkleTreeCommitment<T>

      Merkle tree commitment
      §

      const ARITY: usize = ARITY

      Tree ARITY
      §

      fn height(&self) -> usize

      Return the height of this merkle tree
      §

      fn capacity(&self) -> BigUint

      Return the maximum allowed number leaves
      §

      fn num_leaves(&self) -> u64

      Return the current number of leaves
      §

      fn commitment(\n &self,\n) -> <UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Commitment

      Return a merkle commitment
      §

      fn lookup(\n &self,\n pos: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Index>,\n) -> LookupResult<&<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Element, <UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::MembershipProof, ()>

      Returns the leaf value given a position Read more
      §

      fn verify(\n root: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::NodeValue>,\n pos: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Index>,\n proof: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::MembershipProof>,\n) -> Result<Result<(), ()>, MerkleTreeError>

      Verify an element is a leaf of a Merkle tree given the proof Read more
      §

      fn iter(&self) -> MerkleTreeIter<'_, E, I, T>

      Return an iterator that iterates through all element that are not\nforgetton
      ","MerkleTreeScheme","hotshot_query_service::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> PartialEq for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: PartialEq + Element,\n H: PartialEq + DigestAlgorithm<E, I, T>,\n I: PartialEq + Index,\n T: PartialEq + NodeValue,

      §

      fn eq(&self, other: &UniversalMerkleTree<E, H, I, ARITY, 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::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> PersistentUniversalMerkleTreeScheme for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Element,\n H: DigestAlgorithm<E, I, T>,\n I: Index + ToTraversalPath<ARITY>,\n T: NodeValue,

      §

      fn persistent_update_with<F>(\n &self,\n pos: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Index>,\n f: F,\n) -> Result<UniversalMerkleTree<E, H, I, ARITY, T>, MerkleTreeError>
      where\n F: FnOnce(Option<&<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Element>) -> Option<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Element>,

      A persistent update_with interface, check\n[PersistentUniversalMerkleTreeScheme] and\n[UniversalMerkleTreeScheme::update_with].
      §

      fn persistent_update(\n &self,\n pos: impl Borrow<Self::Index>,\n elem: impl Borrow<Self::Element>,\n) -> Result<Self, MerkleTreeError>

      A non destructive update interface, check\n[PersistentUniversalMerkleTreeScheme] and\n[UniversalMerkleTreeScheme::update].
      §

      fn persistent_remove(&self, pos: Self::Index) -> Result<Self, MerkleTreeError>

      A persistent remove interface, check\n[PersistentUniversalMerkleTreeScheme] and\n[UniversalMerkleTreeScheme::remove].
      ","PersistentUniversalMerkleTreeScheme","hotshot_query_service::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> Serialize for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Element + CanonicalSerialize + CanonicalDeserialize,\n H: DigestAlgorithm<E, I, T>,\n I: Index + CanonicalSerialize + CanonicalDeserialize,\n T: NodeValue,

      §

      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::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Element,\n H: DigestAlgorithm<E, I, T>,\n I: Index + ToTraversalPath<ARITY>,\n T: NodeValue,

      pub fn new(height: usize) -> UniversalMerkleTree<E, H, I, ARITY, T>

      Initialize an empty Merkle tree.

      \n

      pub fn from_kv_set<BI, BE>(\n height: usize,\n data: impl IntoIterator<Item = impl Borrow<(BI, BE)>>,\n) -> Result<UniversalMerkleTree<E, H, I, ARITY, T>, MerkleTreeError>
      where\n BI: Borrow<I>,\n BE: Borrow<E>,

      Build a universal merkle tree from a key-value set.

      \n
        \n
      • height - height of the merkle tree
      • \n
      • data - an iterator of key-value pairs. Could be a hashmap or simply\nan array or a slice of (key, value) pairs
      • \n
      \n
      ",0,"hotshot_query_service::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> UniversalMerkleTreeScheme for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Element,\n H: DigestAlgorithm<E, I, T>,\n I: Index + ToTraversalPath<ARITY>,\n T: NodeValue,

      §

      type NonMembershipProof = MerkleProof<E, I, T, ARITY>

      Non membership proof for a given index
      §

      type BatchNonMembershipProof = ()

      Batch non membership proof
      §

      fn update_with<F>(\n &mut self,\n pos: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Index>,\n f: F,\n) -> Result<LookupResult<E, (), ()>, MerkleTreeError>
      where\n F: FnOnce(Option<&<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Element>) -> Option<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Element>,

      Apply an update function f at a given position Read more
      §

      fn non_membership_verify(\n &self,\n pos: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Index>,\n proof: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as UniversalMerkleTreeScheme>::NonMembershipProof>,\n) -> Result<bool, MerkleTreeError>

      Verify an index is not in this merkle tree Read more
      §

      fn universal_lookup(\n &self,\n pos: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Index>,\n) -> LookupResult<&<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Element, <UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::MembershipProof, <UniversalMerkleTree<E, H, I, ARITY, T> as UniversalMerkleTreeScheme>::NonMembershipProof>

      Returns the leaf value given a position Read more
      §

      fn update(\n &mut self,\n pos: impl Borrow<Self::Index>,\n elem: impl Borrow<Self::Element>,\n) -> Result<LookupResult<Self::Element, (), ()>, MerkleTreeError>

      Update the leaf value at a given position Read more
      §

      fn remove(\n &mut self,\n pos: impl Borrow<Self::Index>,\n) -> Result<LookupResult<Self::Element, (), ()>, MerkleTreeError>

      Remove a leaf at the given position Read more
      ","UniversalMerkleTreeScheme","hotshot_query_service::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> Eq for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Eq + Element,\n H: Eq + DigestAlgorithm<E, I, T>,\n I: Eq + Index,\n T: Eq + NodeValue,

      ","Eq","hotshot_query_service::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> StructuralPartialEq for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Element,\n H: DigestAlgorithm<E, I, T>,\n I: Index,\n T: NodeValue,

      ","StructuralPartialEq","hotshot_query_service::testing::mocks::MockMerkleTree"]] +"hotshot_query_service":[["
      §

      impl<E, H, I, const ARITY: usize, T> Clone for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Clone + Element,\n H: Clone + DigestAlgorithm<E, I, T>,\n I: Clone + Index,\n T: Clone + NodeValue,

      §

      fn clone(&self) -> UniversalMerkleTree<E, H, I, ARITY, 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::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> Debug for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Debug + Element,\n H: Debug + DigestAlgorithm<E, I, T>,\n I: Debug + Index,\n T: Debug + NodeValue,

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::testing::mocks::MockMerkleTree"],["
      §

      impl<'de, E, H, I, const ARITY: usize, T> Deserialize<'de> for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Element + CanonicalSerialize + CanonicalDeserialize,\n H: DigestAlgorithm<E, I, T>,\n I: Index + CanonicalSerialize + CanonicalDeserialize,\n T: NodeValue,

      §

      fn deserialize<__D>(\n __deserializer: __D,\n) -> Result<UniversalMerkleTree<E, H, I, ARITY, 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::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> ForgetableMerkleTreeScheme for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Element,\n H: DigestAlgorithm<E, I, T>,\n I: Index + ToTraversalPath<ARITY>,\n T: NodeValue,

      §

      fn from_commitment(\n com: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Commitment>,\n) -> UniversalMerkleTree<E, H, I, ARITY, T>

      Rebuild a merkle tree from a commitment.\nReturn a tree which is entirely forgotten.
      §

      fn forget(\n &mut self,\n pos: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Index>,\n) -> LookupResult<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Element, <UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::MembershipProof, ()>

      Trim the leaf at position i from memory, if present.\nShould not trim if position i is the last inserted leaf position.\nReturn is identical to result if get_leaf(pos) were called before this\ncall.
      §

      fn remember(\n &mut self,\n pos: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Index>,\n element: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Element>,\n proof: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::MembershipProof>,\n) -> Result<(), MerkleTreeError>

      “Re-insert” a leaf into the tree using its proof.\nReturns Ok(()) if insertion is successful, or Err(err) if the\nproof disagrees with the merkle tree
      ","ForgetableMerkleTreeScheme","hotshot_query_service::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> ForgetableUniversalMerkleTreeScheme for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Element,\n H: DigestAlgorithm<E, I, T>,\n I: Index + ToTraversalPath<ARITY>,\n T: NodeValue,

      §

      fn universal_forget(\n &mut self,\n pos: <UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Index,\n) -> LookupResult<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Element, <UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::MembershipProof, <UniversalMerkleTree<E, H, I, ARITY, T> as UniversalMerkleTreeScheme>::NonMembershipProof>

      WARN(#495): this method breaks non-membership proofs.

      \n
      §

      fn non_membership_remember(\n &mut self,\n pos: <UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Index,\n proof: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as UniversalMerkleTreeScheme>::NonMembershipProof>,\n) -> Result<(), MerkleTreeError>

      “Re-insert” an empty leaf into the tree using its proof. Read more
      ","ForgetableUniversalMerkleTreeScheme","hotshot_query_service::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> Hash for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Hash + Element,\n H: Hash + DigestAlgorithm<E, I, T>,\n I: Hash + Index,\n T: Hash + NodeValue,

      §

      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::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> IntoIterator for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Element,\n H: DigestAlgorithm<E, I, T>,\n I: Index + ToTraversalPath<ARITY>,\n T: NodeValue,

      §

      type Item = (I, E)

      The type of the elements being iterated over.
      §

      type IntoIter = MerkleTreeIntoIter<E, I, T>

      Which kind of iterator are we turning this into?
      §

      fn into_iter(\n self,\n) -> <UniversalMerkleTree<E, H, I, ARITY, T> as IntoIterator>::IntoIter

      Creates an iterator from a value. Read more
      ","IntoIterator","hotshot_query_service::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> MerkleTreeScheme for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Element,\n H: DigestAlgorithm<E, I, T>,\n I: Index + ToTraversalPath<ARITY>,\n T: NodeValue,

      §

      type Element = E

      Merkle tree element type
      §

      type Index = I

      Index type for this merkle tree
      §

      type NodeValue = T

      Internal and root node value
      §

      type MembershipProof = MerkleProof<E, I, T, ARITY>

      Merkle proof
      §

      type BatchMembershipProof = ()

      Batch proof
      §

      type Commitment = MerkleTreeCommitment<T>

      Merkle tree commitment
      §

      const ARITY: usize = ARITY

      Tree ARITY
      §

      fn height(&self) -> usize

      Return the height of this merkle tree
      §

      fn capacity(&self) -> BigUint

      Return the maximum allowed number leaves
      §

      fn num_leaves(&self) -> u64

      Return the current number of leaves
      §

      fn commitment(\n &self,\n) -> <UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Commitment

      Return a merkle commitment
      §

      fn lookup(\n &self,\n pos: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Index>,\n) -> LookupResult<&<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Element, <UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::MembershipProof, ()>

      Returns the leaf value given a position Read more
      §

      fn verify(\n root: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::NodeValue>,\n pos: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Index>,\n proof: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::MembershipProof>,\n) -> Result<Result<(), ()>, MerkleTreeError>

      Verify an element is a leaf of a Merkle tree given the proof Read more
      §

      fn iter(&self) -> MerkleTreeIter<'_, E, I, T>

      Return an iterator that iterates through all element that are not\nforgetton
      ","MerkleTreeScheme","hotshot_query_service::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> PartialEq for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: PartialEq + Element,\n H: PartialEq + DigestAlgorithm<E, I, T>,\n I: PartialEq + Index,\n T: PartialEq + NodeValue,

      §

      fn eq(&self, other: &UniversalMerkleTree<E, H, I, ARITY, 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::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> PersistentUniversalMerkleTreeScheme for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Element,\n H: DigestAlgorithm<E, I, T>,\n I: Index + ToTraversalPath<ARITY>,\n T: NodeValue,

      §

      fn persistent_update_with<F>(\n &self,\n pos: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Index>,\n f: F,\n) -> Result<UniversalMerkleTree<E, H, I, ARITY, T>, MerkleTreeError>
      where\n F: FnOnce(Option<&<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Element>) -> Option<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Element>,

      A persistent update_with interface, check\n[PersistentUniversalMerkleTreeScheme] and\n[UniversalMerkleTreeScheme::update_with].
      §

      fn persistent_update(\n &self,\n pos: impl Borrow<Self::Index>,\n elem: impl Borrow<Self::Element>,\n) -> Result<Self, MerkleTreeError>

      A non destructive update interface, check\n[PersistentUniversalMerkleTreeScheme] and\n[UniversalMerkleTreeScheme::update].
      §

      fn persistent_remove(&self, pos: Self::Index) -> Result<Self, MerkleTreeError>

      A persistent remove interface, check\n[PersistentUniversalMerkleTreeScheme] and\n[UniversalMerkleTreeScheme::remove].
      ","PersistentUniversalMerkleTreeScheme","hotshot_query_service::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> Serialize for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Element + CanonicalSerialize + CanonicalDeserialize,\n H: DigestAlgorithm<E, I, T>,\n I: Index + CanonicalSerialize + CanonicalDeserialize,\n T: NodeValue,

      §

      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::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Element,\n H: DigestAlgorithm<E, I, T>,\n I: Index + ToTraversalPath<ARITY>,\n T: NodeValue,

      pub fn new(height: usize) -> UniversalMerkleTree<E, H, I, ARITY, T>

      Initialize an empty Merkle tree.

      \n

      pub fn from_kv_set<BI, BE>(\n height: usize,\n data: impl IntoIterator<Item = impl Borrow<(BI, BE)>>,\n) -> Result<UniversalMerkleTree<E, H, I, ARITY, T>, MerkleTreeError>
      where\n BI: Borrow<I>,\n BE: Borrow<E>,

      Build a universal merkle tree from a key-value set.

      \n
        \n
      • height - height of the merkle tree
      • \n
      • data - an iterator of key-value pairs. Could be a hashmap or simply\nan array or a slice of (key, value) pairs
      • \n
      \n
      ",0,"hotshot_query_service::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> UniversalMerkleTreeScheme for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Element,\n H: DigestAlgorithm<E, I, T>,\n I: Index + ToTraversalPath<ARITY>,\n T: NodeValue,

      §

      type NonMembershipProof = MerkleProof<E, I, T, ARITY>

      Non membership proof for a given index
      §

      type BatchNonMembershipProof = ()

      Batch non membership proof
      §

      fn update_with<F>(\n &mut self,\n pos: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Index>,\n f: F,\n) -> Result<LookupResult<E, (), ()>, MerkleTreeError>
      where\n F: FnOnce(Option<&<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Element>) -> Option<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Element>,

      Apply an update function f at a given position Read more
      §

      fn non_membership_verify(\n &self,\n pos: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Index>,\n proof: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as UniversalMerkleTreeScheme>::NonMembershipProof>,\n) -> Result<bool, MerkleTreeError>

      Verify an index is not in this merkle tree Read more
      §

      fn universal_lookup(\n &self,\n pos: impl Borrow<<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Index>,\n) -> LookupResult<&<UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::Element, <UniversalMerkleTree<E, H, I, ARITY, T> as MerkleTreeScheme>::MembershipProof, <UniversalMerkleTree<E, H, I, ARITY, T> as UniversalMerkleTreeScheme>::NonMembershipProof>

      Returns the leaf value given a position Read more
      §

      fn update(\n &mut self,\n pos: impl Borrow<Self::Index>,\n elem: impl Borrow<Self::Element>,\n) -> Result<LookupResult<Self::Element, (), ()>, MerkleTreeError>

      Update the leaf value at a given position Read more
      §

      fn remove(\n &mut self,\n pos: impl Borrow<Self::Index>,\n) -> Result<LookupResult<Self::Element, (), ()>, MerkleTreeError>

      Remove a leaf at the given position Read more
      ","UniversalMerkleTreeScheme","hotshot_query_service::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> Eq for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Eq + Element,\n H: Eq + DigestAlgorithm<E, I, T>,\n I: Eq + Index,\n T: Eq + NodeValue,

      ","Eq","hotshot_query_service::testing::mocks::MockMerkleTree"],["
      §

      impl<E, H, I, const ARITY: usize, T> StructuralPartialEq for UniversalMerkleTree<E, H, I, ARITY, T>
      where\n E: Element,\n H: DigestAlgorithm<E, I, T>,\n I: Index,\n T: NodeValue,

      ","StructuralPartialEq","hotshot_query_service::testing::mocks::MockMerkleTree"]] };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/time/offset_date_time/struct.OffsetDateTime.js b/type.impl/time/offset_date_time/struct.OffsetDateTime.js index 662947916..dc9808d93 100644 --- a/type.impl/time/offset_date_time/struct.OffsetDateTime.js +++ b/type.impl/time/offset_date_time/struct.OffsetDateTime.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"hotshot_query_service":[["
      §

      impl Add<Duration> for OffsetDateTime

      §

      fn add(self, duration: Duration) -> <OffsetDateTime as Add<Duration>>::Output

      §Panics
      \n

      This may panic if an overflow occurs.

      \n
      §

      type Output = OffsetDateTime

      The resulting type after applying the + operator.
      ","Add","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Add<Duration> for OffsetDateTime

      §

      fn add(self, duration: Duration) -> <OffsetDateTime as Add<Duration>>::Output

      §Panics
      \n

      This may panic if an overflow occurs.

      \n
      §

      type Output = OffsetDateTime

      The resulting type after applying the + operator.
      ","Add","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl AddAssign<Duration> for OffsetDateTime

      §

      fn add_assign(&mut self, rhs: Duration)

      §Panics
      \n

      This may panic if an overflow occurs.

      \n
      ","AddAssign","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl AddAssign<Duration> for OffsetDateTime

      §

      fn add_assign(&mut self, rhs: Duration)

      §Panics
      \n

      This may panic if an overflow occurs.

      \n
      ","AddAssign","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Clone for OffsetDateTime

      §

      fn clone(&self) -> OffsetDateTime

      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::Timestamp"],["
      §

      impl Debug for OffsetDateTime

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl<'r> Decode<'r, Sqlite> for OffsetDateTime

      §

      fn decode(\n value: SqliteValueRef<'r>,\n) -> Result<OffsetDateTime, Box<dyn Error + Sync + Send>>

      Decode a new value of this type using a raw value from the database.
      ","Decode<'r, Sqlite>","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Display for OffsetDateTime

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Display","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Encode<'_, Sqlite> for OffsetDateTime

      §

      fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull

      Writes the value of self into buf without moving self. Read more
      §

      fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
      where\n Self: Sized,

      Writes the value of self into buf in the expected format for the database.
      §

      fn produces(&self) -> Option<<DB as Database>::TypeInfo>

      §

      fn size_hint(&self) -> usize

      ","Encode<'_, Sqlite>","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl From<SystemTime> for OffsetDateTime

      §

      fn from(system_time: SystemTime) -> OffsetDateTime

      Converts to this type from the input type.
      ","From","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl<'a> FromSql<'a> for OffsetDateTime

      §

      fn from_sql(\n type_: &Type,\n raw: &[u8],\n) -> Result<OffsetDateTime, Box<dyn Error + Sync + Send>>

      Creates a new value of this type from a buffer of data of the specified\nPostgres Type in its binary format. Read more
      §

      fn accepts(ty: &Type) -> bool

      Determines if a value of this type can be created from the specified\nPostgres Type.
      §

      fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

      Creates a new value of this type from a NULL SQL value. Read more
      §

      fn from_sql_nullable(\n ty: &Type,\n raw: Option<&'a [u8]>,\n) -> Result<Self, Box<dyn Error + Sync + Send>>

      A convenience function that delegates to from_sql and from_sql_null depending on the\nvalue of raw.
      ","FromSql<'a>","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Hash for OffsetDateTime

      §

      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::availability::query_data::Timestamp"],["
      §

      impl OffsetDateTime

      Methods that replace part of the OffsetDateTime.

      \n

      pub const fn replace_time(self, time: Time) -> OffsetDateTime

      Replace the time, which is assumed to be in the stored offset. The date and offset\ncomponents are unchanged.

      \n\n
      assert_eq!(\n    datetime!(2020-01-01 5:00 UTC).replace_time(time!(12:00)),\n    datetime!(2020-01-01 12:00 UTC)\n);\nassert_eq!(\n    datetime!(2020-01-01 12:00 -5).replace_time(time!(7:00)),\n    datetime!(2020-01-01 7:00 -5)\n);\nassert_eq!(\n    datetime!(2020-01-01 0:00 +1).replace_time(time!(12:00)),\n    datetime!(2020-01-01 12:00 +1)\n);
      \n

      pub const fn replace_date(self, date: Date) -> OffsetDateTime

      Replace the date, which is assumed to be in the stored offset. The time and offset\ncomponents are unchanged.

      \n\n
      assert_eq!(\n    datetime!(2020-01-01 12:00 UTC).replace_date(date!(2020-01-30)),\n    datetime!(2020-01-30 12:00 UTC)\n);\nassert_eq!(\n    datetime!(2020-01-01 0:00 +1).replace_date(date!(2020-01-30)),\n    datetime!(2020-01-30 0:00 +1)\n);
      \n

      pub const fn replace_date_time(\n self,\n date_time: PrimitiveDateTime,\n) -> OffsetDateTime

      Replace the date and time, which are assumed to be in the stored offset. The offset\ncomponent remains unchanged.

      \n\n
      assert_eq!(\n    datetime!(2020-01-01 12:00 UTC).replace_date_time(datetime!(2020-01-30 16:00)),\n    datetime!(2020-01-30 16:00 UTC)\n);\nassert_eq!(\n    datetime!(2020-01-01 12:00 +1).replace_date_time(datetime!(2020-01-30 0:00)),\n    datetime!(2020-01-30 0:00 +1)\n);
      \n

      pub const fn replace_offset(self, offset: UtcOffset) -> OffsetDateTime

      Replace the offset. The date and time components remain unchanged.

      \n\n
      assert_eq!(\n    datetime!(2020-01-01 0:00 UTC).replace_offset(offset!(-5)),\n    datetime!(2020-01-01 0:00 -5)\n);
      \n

      pub const fn replace_year(\n self,\n year: i32,\n) -> Result<OffsetDateTime, ComponentRange>

      Replace the year. The month and day will be unchanged.

      \n\n
      assert_eq!(\n    datetime!(2022 - 02 - 18 12:00 +01).replace_year(2019),\n    Ok(datetime!(2019 - 02 - 18 12:00 +01))\n);\nassert!(datetime!(2022 - 02 - 18 12:00 +01).replace_year(-1_000_000_000).is_err()); // -1_000_000_000 isn't a valid year\nassert!(datetime!(2022 - 02 - 18 12:00 +01).replace_year(1_000_000_000).is_err()); // 1_000_000_000 isn't a valid year
      \n

      pub const fn replace_month(\n self,\n month: Month,\n) -> Result<OffsetDateTime, ComponentRange>

      Replace the month of the year.

      \n\n
      assert_eq!(\n    datetime!(2022 - 02 - 18 12:00 +01).replace_month(Month::January),\n    Ok(datetime!(2022 - 01 - 18 12:00 +01))\n);\nassert!(datetime!(2022 - 01 - 30 12:00 +01).replace_month(Month::February).is_err()); // 30 isn't a valid day in February
      \n

      pub const fn replace_day(\n self,\n day: u8,\n) -> Result<OffsetDateTime, ComponentRange>

      Replace the day of the month.

      \n\n
      assert_eq!(\n    datetime!(2022 - 02 - 18 12:00 +01).replace_day(1),\n    Ok(datetime!(2022 - 02 - 01 12:00 +01))\n);\nassert!(datetime!(2022 - 02 - 18 12:00 +01).replace_day(0).is_err()); // 00 isn't a valid day\nassert!(datetime!(2022 - 02 - 18 12:00 +01).replace_day(30).is_err()); // 30 isn't a valid day in February
      \n

      pub const fn replace_ordinal(\n self,\n ordinal: u16,\n) -> Result<OffsetDateTime, ComponentRange>

      Replace the day of the year.

      \n\n
      assert_eq!(datetime!(2022-049 12:00 +01).replace_ordinal(1), Ok(datetime!(2022-001 12:00 +01)));\nassert!(datetime!(2022-049 12:00 +01).replace_ordinal(0).is_err()); // 0 isn't a valid ordinal\nassert!(datetime!(2022-049 12:00 +01).replace_ordinal(366).is_err()); // 2022 isn't a leap year
      \n

      pub const fn replace_hour(\n self,\n hour: u8,\n) -> Result<OffsetDateTime, ComponentRange>

      Replace the clock hour.

      \n\n
      assert_eq!(\n    datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_hour(7),\n    Ok(datetime!(2022 - 02 - 18 07:02:03.004_005_006 +01))\n);\nassert!(datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_hour(24).is_err()); // 24 isn't a valid hour
      \n

      pub const fn replace_minute(\n self,\n minute: u8,\n) -> Result<OffsetDateTime, ComponentRange>

      Replace the minutes within the hour.

      \n\n
      assert_eq!(\n    datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_minute(7),\n    Ok(datetime!(2022 - 02 - 18 01:07:03.004_005_006 +01))\n);\nassert!(datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_minute(60).is_err()); // 60 isn't a valid minute
      \n

      pub const fn replace_second(\n self,\n second: u8,\n) -> Result<OffsetDateTime, ComponentRange>

      Replace the seconds within the minute.

      \n\n
      assert_eq!(\n    datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_second(7),\n    Ok(datetime!(2022 - 02 - 18 01:02:07.004_005_006 +01))\n);\nassert!(datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_second(60).is_err()); // 60 isn't a valid second
      \n

      pub const fn replace_millisecond(\n self,\n millisecond: u16,\n) -> Result<OffsetDateTime, ComponentRange>

      Replace the milliseconds within the second.

      \n\n
      assert_eq!(\n    datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_millisecond(7),\n    Ok(datetime!(2022 - 02 - 18 01:02:03.007 +01))\n);\nassert!(datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_millisecond(1_000).is_err()); // 1_000 isn't a valid millisecond
      \n

      pub const fn replace_microsecond(\n self,\n microsecond: u32,\n) -> Result<OffsetDateTime, ComponentRange>

      Replace the microseconds within the second.

      \n\n
      assert_eq!(\n    datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_microsecond(7_008),\n    Ok(datetime!(2022 - 02 - 18 01:02:03.007_008 +01))\n);\nassert!(datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_microsecond(1_000_000).is_err()); // 1_000_000 isn't a valid microsecond
      \n

      pub const fn replace_nanosecond(\n self,\n nanosecond: u32,\n) -> Result<OffsetDateTime, ComponentRange>

      Replace the nanoseconds within the second.

      \n\n
      assert_eq!(\n    datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_nanosecond(7_008_009),\n    Ok(datetime!(2022 - 02 - 18 01:02:03.007_008_009 +01))\n);\nassert!(datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_nanosecond(1_000_000_000).is_err()); // 1_000_000_000 isn't a valid nanosecond
      \n
      ",0,"hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl OffsetDateTime

      pub fn format_into(\n self,\n output: &mut impl Write,\n format: &(impl Formattable + ?Sized),\n) -> Result<usize, Format>

      Format the OffsetDateTime using the provided format\ndescription.

      \n

      pub fn format(\n self,\n format: &(impl Formattable + ?Sized),\n) -> Result<String, Format>

      Format the OffsetDateTime using the provided format\ndescription.

      \n\n
      let format = format_description::parse(\n    \"[year]-[month]-[day] [hour]:[minute]:[second] [offset_hour \\\n         sign:mandatory]:[offset_minute]:[offset_second]\",\n)?;\nassert_eq!(\n    datetime!(2020-01-02 03:04:05 +06:07:08).format(&format)?,\n    \"2020-01-02 03:04:05 +06:07:08\"\n);
      \n
      ",0,"hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl OffsetDateTime

      pub fn parse(\n input: &str,\n description: &(impl Parsable + ?Sized),\n) -> Result<OffsetDateTime, Parse>

      Parse an OffsetDateTime from the input using the provided format\ndescription.

      \n\n
      let format = format_description!(\n    \"[year]-[month]-[day] [hour]:[minute]:[second] [offset_hour \\\n         sign:mandatory]:[offset_minute]:[offset_second]\"\n);\nassert_eq!(\n    OffsetDateTime::parse(\"2020-01-02 03:04:05 +06:07:08\", &format)?,\n    datetime!(2020-01-02 03:04:05 +06:07:08)\n);
      \n
      ",0,"hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl OffsetDateTime

      pub const UNIX_EPOCH: OffsetDateTime = _

      Midnight, 1 January, 1970 (UTC).

      \n\n
      assert_eq!(OffsetDateTime::UNIX_EPOCH, datetime!(1970-01-01 0:00 UTC),);
      \n

      pub fn now_utc() -> OffsetDateTime

      Create a new OffsetDateTime with the current date and time in UTC.

      \n\n
      assert!(OffsetDateTime::now_utc().year() >= 2019);\nassert_eq!(OffsetDateTime::now_utc().offset(), offset!(UTC));
      \n

      pub const fn new_in_offset(\n date: Date,\n time: Time,\n offset: UtcOffset,\n) -> OffsetDateTime

      Create a new OffsetDateTime with the given [Date], [Time], and [UtcOffset].

      \n\n
      let dt = OffsetDateTime::new_in_offset(\n    Date::from_calendar_date(2024, Month::January, 1)?,\n    Time::from_hms_nano(12, 59, 59, 500_000_000)?,\n    UtcOffset::from_hms(-5, 0, 0)?,\n);\nassert_eq!(dt, datetime!(2024-01-01 12:59:59.5 -5));
      \n

      pub const fn new_utc(date: Date, time: Time) -> OffsetDateTime

      Create a new OffsetDateTime with the given [Date] and [Time] in the UTC timezone.

      \n\n
      let dt = OffsetDateTime::new_utc(\n    Date::from_calendar_date(2024, Month::January, 1)?,\n    Time::from_hms_nano(12, 59, 59, 500_000_000)?,\n);\nassert_eq!(dt, datetime!(2024-01-01 12:59:59.5 UTC));
      \n

      pub const fn to_offset(self, offset: UtcOffset) -> OffsetDateTime

      Convert the OffsetDateTime from the current [UtcOffset] to the provided [UtcOffset].

      \n\n
      assert_eq!(\n    datetime!(2000-01-01 0:00 UTC)\n        .to_offset(offset!(-1))\n        .year(),\n    1999,\n);\n\n// Let's see what time Sydney's new year's celebration is in New York and Los Angeles.\n\n// Construct midnight on new year's in Sydney.\nlet sydney = datetime!(2000-01-01 0:00 +11);\nlet new_york = sydney.to_offset(offset!(-5));\nlet los_angeles = sydney.to_offset(offset!(-8));\nassert_eq!(sydney.hour(), 0);\nassert_eq!(new_york.hour(), 8);\nassert_eq!(los_angeles.hour(), 5);
      \n
      §Panics
      \n

      This method panics if the local date-time in the new offset is outside the supported range.

      \n

      pub const fn checked_to_offset(\n self,\n offset: UtcOffset,\n) -> Option<OffsetDateTime>

      Convert the OffsetDateTime from the current [UtcOffset] to the provided [UtcOffset],\nreturning None if the date-time in the resulting offset is invalid.

      \n\n
      assert_eq!(\n    datetime!(2000-01-01 0:00 UTC)\n        .checked_to_offset(offset!(-1))\n        .unwrap()\n        .year(),\n    1999,\n);\nassert_eq!(\n    PrimitiveDateTime::MAX\n        .assume_utc()\n        .checked_to_offset(offset!(+1)),\n    None,\n);
      \n

      pub const fn from_unix_timestamp(\n timestamp: i64,\n) -> Result<OffsetDateTime, ComponentRange>

      Create an OffsetDateTime from the provided Unix timestamp. Calling .offset() on the\nresulting value is guaranteed to return UTC.

      \n\n
      assert_eq!(\n    OffsetDateTime::from_unix_timestamp(0),\n    Ok(OffsetDateTime::UNIX_EPOCH),\n);\nassert_eq!(\n    OffsetDateTime::from_unix_timestamp(1_546_300_800),\n    Ok(datetime!(2019-01-01 0:00 UTC)),\n);
      \n

      If you have a timestamp-nanosecond pair, you can use something along the lines of the\nfollowing:

      \n\n
      let (timestamp, nanos) = (1, 500_000_000);\nassert_eq!(\n    OffsetDateTime::from_unix_timestamp(timestamp)? + Duration::nanoseconds(nanos),\n    OffsetDateTime::UNIX_EPOCH + 1.5.seconds()\n);
      \n

      pub const fn from_unix_timestamp_nanos(\n timestamp: i128,\n) -> Result<OffsetDateTime, ComponentRange>

      Construct an OffsetDateTime from the provided Unix timestamp (in nanoseconds). Calling\n.offset() on the resulting value is guaranteed to return UTC.

      \n\n
      assert_eq!(\n    OffsetDateTime::from_unix_timestamp_nanos(0),\n    Ok(OffsetDateTime::UNIX_EPOCH),\n);\nassert_eq!(\n    OffsetDateTime::from_unix_timestamp_nanos(1_546_300_800_000_000_000),\n    Ok(datetime!(2019-01-01 0:00 UTC)),\n);
      \n

      pub const fn offset(self) -> UtcOffset

      Get the [UtcOffset].

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).offset(), offset!(UTC));\nassert_eq!(datetime!(2019-01-01 0:00 +1).offset(), offset!(+1));
      \n

      pub const fn unix_timestamp(self) -> i64

      Get the Unix timestamp.

      \n\n
      assert_eq!(datetime!(1970-01-01 0:00 UTC).unix_timestamp(), 0);\nassert_eq!(datetime!(1970-01-01 0:00 -1).unix_timestamp(), 3_600);
      \n

      pub const fn unix_timestamp_nanos(self) -> i128

      Get the Unix timestamp in nanoseconds.

      \n\n
      use time_macros::datetime;\nassert_eq!(datetime!(1970-01-01 0:00 UTC).unix_timestamp_nanos(), 0);\nassert_eq!(\n    datetime!(1970-01-01 0:00 -1).unix_timestamp_nanos(),\n    3_600_000_000_000,\n);
      \n

      pub const fn date(self) -> Date

      Get the [Date] in the stored offset.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).date(), date!(2019-01-01));\nassert_eq!(\n    datetime!(2019-01-01 0:00 UTC)\n        .to_offset(offset!(-1))\n        .date(),\n    date!(2018-12-31),\n);
      \n

      pub const fn time(self) -> Time

      Get the [Time] in the stored offset.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).time(), time!(0:00));\nassert_eq!(\n    datetime!(2019-01-01 0:00 UTC)\n        .to_offset(offset!(-1))\n        .time(),\n    time!(23:00)\n);
      \n

      pub const fn year(self) -> i32

      Get the year of the date in the stored offset.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).year(), 2019);\nassert_eq!(\n    datetime!(2019-12-31 23:00 UTC)\n        .to_offset(offset!(+1))\n        .year(),\n    2020,\n);\nassert_eq!(datetime!(2020-01-01 0:00 UTC).year(), 2020);
      \n

      pub const fn month(self) -> Month

      Get the month of the date in the stored offset.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).month(), Month::January);\nassert_eq!(\n    datetime!(2019-12-31 23:00 UTC)\n        .to_offset(offset!(+1))\n        .month(),\n    Month::January,\n);
      \n

      pub const fn day(self) -> u8

      Get the day of the date in the stored offset.

      \n

      The returned value will always be in the range 1..=31.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).day(), 1);\nassert_eq!(\n    datetime!(2019-12-31 23:00 UTC)\n        .to_offset(offset!(+1))\n        .day(),\n    1,\n);
      \n

      pub const fn ordinal(self) -> u16

      Get the day of the year of the date in the stored offset.

      \n

      The returned value will always be in the range 1..=366.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).ordinal(), 1);\nassert_eq!(\n    datetime!(2019-12-31 23:00 UTC)\n        .to_offset(offset!(+1))\n        .ordinal(),\n    1,\n);
      \n

      pub const fn iso_week(self) -> u8

      Get the ISO week number of the date in the stored offset.

      \n

      The returned value will always be in the range 1..=53.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).iso_week(), 1);\nassert_eq!(datetime!(2020-01-01 0:00 UTC).iso_week(), 1);\nassert_eq!(datetime!(2020-12-31 0:00 UTC).iso_week(), 53);\nassert_eq!(datetime!(2021-01-01 0:00 UTC).iso_week(), 53);
      \n

      pub const fn sunday_based_week(self) -> u8

      Get the week number where week 1 begins on the first Sunday.

      \n

      The returned value will always be in the range 0..=53.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).sunday_based_week(), 0);\nassert_eq!(datetime!(2020-01-01 0:00 UTC).sunday_based_week(), 0);\nassert_eq!(datetime!(2020-12-31 0:00 UTC).sunday_based_week(), 52);\nassert_eq!(datetime!(2021-01-01 0:00 UTC).sunday_based_week(), 0);
      \n

      pub const fn monday_based_week(self) -> u8

      Get the week number where week 1 begins on the first Monday.

      \n

      The returned value will always be in the range 0..=53.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).monday_based_week(), 0);\nassert_eq!(datetime!(2020-01-01 0:00 UTC).monday_based_week(), 0);\nassert_eq!(datetime!(2020-12-31 0:00 UTC).monday_based_week(), 52);\nassert_eq!(datetime!(2021-01-01 0:00 UTC).monday_based_week(), 0);
      \n

      pub const fn to_calendar_date(self) -> (i32, Month, u8)

      Get the year, month, and day.

      \n\n
      assert_eq!(\n    datetime!(2019-01-01 0:00 UTC).to_calendar_date(),\n    (2019, Month::January, 1)\n);
      \n

      pub const fn to_ordinal_date(self) -> (i32, u16)

      Get the year and ordinal day number.

      \n\n
      assert_eq!(\n    datetime!(2019-01-01 0:00 UTC).to_ordinal_date(),\n    (2019, 1)\n);
      \n

      pub const fn to_iso_week_date(self) -> (i32, u8, Weekday)

      Get the ISO 8601 year, week number, and weekday.

      \n\n
      assert_eq!(\n    datetime!(2019-01-01 0:00 UTC).to_iso_week_date(),\n    (2019, 1, Tuesday)\n);\nassert_eq!(\n    datetime!(2019-10-04 0:00 UTC).to_iso_week_date(),\n    (2019, 40, Friday)\n);\nassert_eq!(\n    datetime!(2020-01-01 0:00 UTC).to_iso_week_date(),\n    (2020, 1, Wednesday)\n);\nassert_eq!(\n    datetime!(2020-12-31 0:00 UTC).to_iso_week_date(),\n    (2020, 53, Thursday)\n);\nassert_eq!(\n    datetime!(2021-01-01 0:00 UTC).to_iso_week_date(),\n    (2020, 53, Friday)\n);
      \n

      pub const fn weekday(self) -> Weekday

      Get the weekday of the date in the stored offset.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).weekday(), Tuesday);\nassert_eq!(datetime!(2019-02-01 0:00 UTC).weekday(), Friday);\nassert_eq!(datetime!(2019-03-01 0:00 UTC).weekday(), Friday);
      \n

      pub const fn to_julian_day(self) -> i32

      Get the Julian day for the date. The time is not taken into account for this calculation.

      \n

      The algorithm to perform this conversion is derived from one provided by Peter Baum; it is\nfreely available here.

      \n\n
      assert_eq!(datetime!(-4713-11-24 0:00 UTC).to_julian_day(), 0);\nassert_eq!(datetime!(2000-01-01 0:00 UTC).to_julian_day(), 2_451_545);\nassert_eq!(datetime!(2019-01-01 0:00 UTC).to_julian_day(), 2_458_485);\nassert_eq!(datetime!(2019-12-31 0:00 UTC).to_julian_day(), 2_458_849);
      \n

      pub const fn to_hms(self) -> (u8, u8, u8)

      Get the clock hour, minute, and second.

      \n\n
      assert_eq!(datetime!(2020-01-01 0:00:00 UTC).to_hms(), (0, 0, 0));\nassert_eq!(datetime!(2020-01-01 23:59:59 UTC).to_hms(), (23, 59, 59));
      \n

      pub const fn to_hms_milli(self) -> (u8, u8, u8, u16)

      Get the clock hour, minute, second, and millisecond.

      \n\n
      assert_eq!(\n    datetime!(2020-01-01 0:00:00 UTC).to_hms_milli(),\n    (0, 0, 0, 0)\n);\nassert_eq!(\n    datetime!(2020-01-01 23:59:59.999 UTC).to_hms_milli(),\n    (23, 59, 59, 999)\n);
      \n

      pub const fn to_hms_micro(self) -> (u8, u8, u8, u32)

      Get the clock hour, minute, second, and microsecond.

      \n\n
      assert_eq!(\n    datetime!(2020-01-01 0:00:00 UTC).to_hms_micro(),\n    (0, 0, 0, 0)\n);\nassert_eq!(\n    datetime!(2020-01-01 23:59:59.999_999 UTC).to_hms_micro(),\n    (23, 59, 59, 999_999)\n);
      \n

      pub const fn to_hms_nano(self) -> (u8, u8, u8, u32)

      Get the clock hour, minute, second, and nanosecond.

      \n\n
      assert_eq!(\n    datetime!(2020-01-01 0:00:00 UTC).to_hms_nano(),\n    (0, 0, 0, 0)\n);\nassert_eq!(\n    datetime!(2020-01-01 23:59:59.999_999_999 UTC).to_hms_nano(),\n    (23, 59, 59, 999_999_999)\n);
      \n

      pub const fn hour(self) -> u8

      Get the clock hour in the stored offset.

      \n

      The returned value will always be in the range 0..24.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).hour(), 0);\nassert_eq!(\n    datetime!(2019-01-01 23:59:59 UTC)\n        .to_offset(offset!(-2))\n        .hour(),\n    21,\n);
      \n

      pub const fn minute(self) -> u8

      Get the minute within the hour in the stored offset.

      \n

      The returned value will always be in the range 0..60.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).minute(), 0);\nassert_eq!(\n    datetime!(2019-01-01 23:59:59 UTC)\n        .to_offset(offset!(+0:30))\n        .minute(),\n    29,\n);
      \n

      pub const fn second(self) -> u8

      Get the second within the minute in the stored offset.

      \n

      The returned value will always be in the range 0..60.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).second(), 0);\nassert_eq!(\n    datetime!(2019-01-01 23:59:59 UTC)\n        .to_offset(offset!(+0:00:30))\n        .second(),\n    29,\n);
      \n

      pub const fn millisecond(self) -> u16

      Get the milliseconds within the second in the stored offset.

      \n

      The returned value will always be in the range 0..1_000.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).millisecond(), 0);\nassert_eq!(datetime!(2019-01-01 23:59:59.999 UTC).millisecond(), 999);
      \n

      pub const fn microsecond(self) -> u32

      Get the microseconds within the second in the stored offset.

      \n

      The returned value will always be in the range 0..1_000_000.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).microsecond(), 0);\nassert_eq!(\n    datetime!(2019-01-01 23:59:59.999_999 UTC).microsecond(),\n    999_999,\n);
      \n

      pub const fn nanosecond(self) -> u32

      Get the nanoseconds within the second in the stored offset.

      \n

      The returned value will always be in the range 0..1_000_000_000.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).nanosecond(), 0);\nassert_eq!(\n    datetime!(2019-01-01 23:59:59.999_999_999 UTC).nanosecond(),\n    999_999_999,\n);
      \n

      pub const fn checked_add(self, duration: Duration) -> Option<OffsetDateTime>

      Computes self + duration, returning None if an overflow occurred.

      \n\n
      let datetime = Date::MIN.midnight().assume_offset(offset!(+10));\nassert_eq!(datetime.checked_add((-2).days()), None);\n\nlet datetime = Date::MAX.midnight().assume_offset(offset!(+10));\nassert_eq!(datetime.checked_add(2.days()), None);\n\nassert_eq!(\n    datetime!(2019 - 11 - 25 15:30 +10).checked_add(27.hours()),\n    Some(datetime!(2019 - 11 - 26 18:30 +10))\n);
      \n

      pub const fn checked_sub(self, duration: Duration) -> Option<OffsetDateTime>

      Computes self - duration, returning None if an overflow occurred.

      \n\n
      let datetime = Date::MIN.midnight().assume_offset(offset!(+10));\nassert_eq!(datetime.checked_sub(2.days()), None);\n\nlet datetime = Date::MAX.midnight().assume_offset(offset!(+10));\nassert_eq!(datetime.checked_sub((-2).days()), None);\n\nassert_eq!(\n    datetime!(2019 - 11 - 25 15:30 +10).checked_sub(27.hours()),\n    Some(datetime!(2019 - 11 - 24 12:30 +10))\n);
      \n

      pub const fn saturating_add(self, duration: Duration) -> OffsetDateTime

      Computes self + duration, saturating value on overflow.

      \n\n
      assert_eq!(\n    datetime!(-9999-01-01 0:00 +10).saturating_add((-2).days()),\n    datetime!(-9999-01-01 0:00 +10)\n);\n\nassert_eq!(\n    datetime!(+9999-12-31 23:59:59.999_999_999 +10).saturating_add(2.days()),\n    datetime!(+9999-12-31 23:59:59.999_999_999 +10)\n);\n\nassert_eq!(\n    datetime!(2019 - 11 - 25 15:30 +10).saturating_add(27.hours()),\n    datetime!(2019 - 11 - 26 18:30 +10)\n);
      \n

      pub const fn saturating_sub(self, duration: Duration) -> OffsetDateTime

      Computes self - duration, saturating value on overflow.

      \n\n
      assert_eq!(\n    datetime!(-9999-01-01 0:00 +10).saturating_sub(2.days()),\n    datetime!(-9999-01-01 0:00 +10)\n);\n\nassert_eq!(\n    datetime!(+9999-12-31 23:59:59.999_999_999 +10).saturating_sub((-2).days()),\n    datetime!(+9999-12-31 23:59:59.999_999_999 +10)\n);\n\nassert_eq!(\n    datetime!(2019 - 11 - 25 15:30 +10).saturating_sub(27.hours()),\n    datetime!(2019 - 11 - 24 12:30 +10)\n);
      \n
      ",0,"hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Ord for OffsetDateTime

      §

      fn cmp(&self, other: &OffsetDateTime) -> Ordering

      This method returns an Ordering between self and other. Read more
      1.21.0 · source§

      fn max(self, other: Self) -> Self
      where\n Self: Sized,

      Compares and returns the maximum of two values. Read more
      1.21.0 · source§

      fn min(self, other: Self) -> Self
      where\n Self: Sized,

      Compares and returns the minimum of two values. Read more
      1.50.0 · source§

      fn clamp(self, min: Self, max: Self) -> Self
      where\n Self: Sized + PartialOrd,

      Restrict a value to a certain interval. Read more
      ","Ord","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl PartialEq<SystemTime> for OffsetDateTime

      §

      fn eq(&self, rhs: &SystemTime) -> 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::Timestamp"],["
      §

      impl PartialEq for OffsetDateTime

      §

      fn eq(&self, other: &OffsetDateTime) -> 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::Timestamp"],["
      §

      impl PartialOrd<SystemTime> for OffsetDateTime

      §

      fn partial_cmp(&self, other: &SystemTime) -> 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::Timestamp"],["
      §

      impl PartialOrd for OffsetDateTime

      §

      fn partial_cmp(&self, other: &OffsetDateTime) -> 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::Timestamp"],["
      §

      impl SmartDisplay for OffsetDateTime

      §

      type Metadata = ()

      User-provided metadata type.
      §

      fn metadata(&self, _: FormatterOptions) -> Metadata<'_, OffsetDateTime>

      Compute any information needed to format the value. This must, at a minimum, determine the\nwidth of the value before any padding is added by the formatter. Read more
      §

      fn fmt_with_metadata(\n &self,\n f: &mut Formatter<'_>,\n metadata: Metadata<'_, OffsetDateTime>,\n) -> Result<(), Error>

      Format the value using the given formatter and metadata. The formatted output should have\nthe width indicated by the metadata. This is before any padding is added by the\nformatter. Read more
      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Format the value using the given formatter. This is the same as Display::fmt. Read more
      ","SmartDisplay","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Sub<Duration> for OffsetDateTime

      §

      fn sub(self, duration: Duration) -> <OffsetDateTime as Sub<Duration>>::Output

      §Panics
      \n

      This may panic if an overflow occurs.

      \n
      §

      type Output = OffsetDateTime

      The resulting type after applying the - operator.
      ","Sub","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Sub<Duration> for OffsetDateTime

      §

      fn sub(self, rhs: Duration) -> <OffsetDateTime as Sub<Duration>>::Output

      §Panics
      \n

      This may panic if an overflow occurs.

      \n
      §

      type Output = OffsetDateTime

      The resulting type after applying the - operator.
      ","Sub","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Sub<SystemTime> for OffsetDateTime

      §

      fn sub(self, rhs: SystemTime) -> <OffsetDateTime as Sub<SystemTime>>::Output

      §Panics
      \n

      This may panic if an overflow occurs.

      \n
      §

      type Output = Duration

      The resulting type after applying the - operator.
      ","Sub","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Sub for OffsetDateTime

      §

      fn sub(self, rhs: OffsetDateTime) -> <OffsetDateTime as Sub>::Output

      §Panics
      \n

      This may panic if an overflow occurs.

      \n
      §

      type Output = Duration

      The resulting type after applying the - operator.
      ","Sub","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl SubAssign<Duration> for OffsetDateTime

      §

      fn sub_assign(&mut self, rhs: Duration)

      §Panics
      \n

      This may panic if an overflow occurs.

      \n
      ","SubAssign","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl SubAssign<Duration> for OffsetDateTime

      §

      fn sub_assign(&mut self, rhs: Duration)

      §Panics
      \n

      This may panic if an overflow occurs.

      \n
      ","SubAssign","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl ToSql for OffsetDateTime

      §

      fn to_sql(\n &self,\n type_: &Type,\n w: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

      Converts the value of self into the binary format of the specified\nPostgres Type, appending it to out. Read more
      §

      fn accepts(ty: &Type) -> bool

      Determines if a value of this type can be converted to the specified\nPostgres Type.
      §

      fn to_sql_checked(\n &self,\n ty: &Type,\n out: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

      An adaptor method used internally by Rust-Postgres. Read more
      §

      fn encode_format(&self, _ty: &Type) -> Format

      Specify the encode format
      ","ToSql","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl TryFrom<Parsed> for OffsetDateTime

      §

      type Error = TryFromParsed

      The type returned in the event of a conversion error.
      §

      fn try_from(\n parsed: Parsed,\n) -> Result<OffsetDateTime, <OffsetDateTime as TryFrom<Parsed>>::Error>

      Performs the conversion.
      ","TryFrom","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Type<Sqlite> for OffsetDateTime

      §

      fn type_info() -> SqliteTypeInfo

      Returns the canonical SQL type for this Rust type. Read more
      §

      fn compatible(ty: &SqliteTypeInfo) -> bool

      Determines if this Rust type is compatible with the given SQL type. Read more
      ","Type","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Copy for OffsetDateTime

      ","Copy","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Eq for OffsetDateTime

      ","Eq","hotshot_query_service::availability::query_data::Timestamp"]] +"hotshot_query_service":[["
      §

      impl Add<Duration> for OffsetDateTime

      §

      fn add(self, duration: Duration) -> <OffsetDateTime as Add<Duration>>::Output

      §Panics
      \n

      This may panic if an overflow occurs.

      \n
      §

      type Output = OffsetDateTime

      The resulting type after applying the + operator.
      ","Add","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Add<Duration> for OffsetDateTime

      §

      fn add(self, duration: Duration) -> <OffsetDateTime as Add<Duration>>::Output

      §Panics
      \n

      This may panic if an overflow occurs.

      \n
      §

      type Output = OffsetDateTime

      The resulting type after applying the + operator.
      ","Add","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl AddAssign<Duration> for OffsetDateTime

      §

      fn add_assign(&mut self, rhs: Duration)

      §Panics
      \n

      This may panic if an overflow occurs.

      \n
      ","AddAssign","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl AddAssign<Duration> for OffsetDateTime

      §

      fn add_assign(&mut self, rhs: Duration)

      §Panics
      \n

      This may panic if an overflow occurs.

      \n
      ","AddAssign","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Clone for OffsetDateTime

      §

      fn clone(&self) -> OffsetDateTime

      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::Timestamp"],["
      §

      impl Debug for OffsetDateTime

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl<'r> Decode<'r, Sqlite> for OffsetDateTime

      §

      fn decode(\n value: SqliteValueRef<'r>,\n) -> Result<OffsetDateTime, Box<dyn Error + Sync + Send>>

      Decode a new value of this type using a raw value from the database.
      ","Decode<'r, Sqlite>","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Display for OffsetDateTime

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Display","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Encode<'_, Sqlite> for OffsetDateTime

      §

      fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull

      Writes the value of self into buf without moving self. Read more
      §

      fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
      where\n Self: Sized,

      Writes the value of self into buf in the expected format for the database.
      §

      fn produces(&self) -> Option<<DB as Database>::TypeInfo>

      §

      fn size_hint(&self) -> usize

      ","Encode<'_, Sqlite>","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl From<SystemTime> for OffsetDateTime

      §

      fn from(system_time: SystemTime) -> OffsetDateTime

      Converts to this type from the input type.
      ","From","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl<'a> FromSql<'a> for OffsetDateTime

      §

      fn from_sql(\n type_: &Type,\n raw: &[u8],\n) -> Result<OffsetDateTime, Box<dyn Error + Sync + Send>>

      Creates a new value of this type from a buffer of data of the specified\nPostgres Type in its binary format. Read more
      §

      fn accepts(ty: &Type) -> bool

      Determines if a value of this type can be created from the specified\nPostgres Type.
      §

      fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

      Creates a new value of this type from a NULL SQL value. Read more
      §

      fn from_sql_nullable(\n ty: &Type,\n raw: Option<&'a [u8]>,\n) -> Result<Self, Box<dyn Error + Sync + Send>>

      A convenience function that delegates to from_sql and from_sql_null depending on the\nvalue of raw.
      ","FromSql<'a>","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Hash for OffsetDateTime

      §

      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::availability::query_data::Timestamp"],["
      §

      impl OffsetDateTime

      Methods that replace part of the OffsetDateTime.

      \n

      pub const fn replace_time(self, time: Time) -> OffsetDateTime

      Replace the time, which is assumed to be in the stored offset. The date and offset\ncomponents are unchanged.

      \n\n
      assert_eq!(\n    datetime!(2020-01-01 5:00 UTC).replace_time(time!(12:00)),\n    datetime!(2020-01-01 12:00 UTC)\n);\nassert_eq!(\n    datetime!(2020-01-01 12:00 -5).replace_time(time!(7:00)),\n    datetime!(2020-01-01 7:00 -5)\n);\nassert_eq!(\n    datetime!(2020-01-01 0:00 +1).replace_time(time!(12:00)),\n    datetime!(2020-01-01 12:00 +1)\n);
      \n

      pub const fn replace_date(self, date: Date) -> OffsetDateTime

      Replace the date, which is assumed to be in the stored offset. The time and offset\ncomponents are unchanged.

      \n\n
      assert_eq!(\n    datetime!(2020-01-01 12:00 UTC).replace_date(date!(2020-01-30)),\n    datetime!(2020-01-30 12:00 UTC)\n);\nassert_eq!(\n    datetime!(2020-01-01 0:00 +1).replace_date(date!(2020-01-30)),\n    datetime!(2020-01-30 0:00 +1)\n);
      \n

      pub const fn replace_date_time(\n self,\n date_time: PrimitiveDateTime,\n) -> OffsetDateTime

      Replace the date and time, which are assumed to be in the stored offset. The offset\ncomponent remains unchanged.

      \n\n
      assert_eq!(\n    datetime!(2020-01-01 12:00 UTC).replace_date_time(datetime!(2020-01-30 16:00)),\n    datetime!(2020-01-30 16:00 UTC)\n);\nassert_eq!(\n    datetime!(2020-01-01 12:00 +1).replace_date_time(datetime!(2020-01-30 0:00)),\n    datetime!(2020-01-30 0:00 +1)\n);
      \n

      pub const fn replace_offset(self, offset: UtcOffset) -> OffsetDateTime

      Replace the offset. The date and time components remain unchanged.

      \n\n
      assert_eq!(\n    datetime!(2020-01-01 0:00 UTC).replace_offset(offset!(-5)),\n    datetime!(2020-01-01 0:00 -5)\n);
      \n

      pub const fn replace_year(\n self,\n year: i32,\n) -> Result<OffsetDateTime, ComponentRange>

      Replace the year. The month and day will be unchanged.

      \n\n
      assert_eq!(\n    datetime!(2022 - 02 - 18 12:00 +01).replace_year(2019),\n    Ok(datetime!(2019 - 02 - 18 12:00 +01))\n);\nassert!(datetime!(2022 - 02 - 18 12:00 +01).replace_year(-1_000_000_000).is_err()); // -1_000_000_000 isn't a valid year\nassert!(datetime!(2022 - 02 - 18 12:00 +01).replace_year(1_000_000_000).is_err()); // 1_000_000_000 isn't a valid year
      \n

      pub const fn replace_month(\n self,\n month: Month,\n) -> Result<OffsetDateTime, ComponentRange>

      Replace the month of the year.

      \n\n
      assert_eq!(\n    datetime!(2022 - 02 - 18 12:00 +01).replace_month(Month::January),\n    Ok(datetime!(2022 - 01 - 18 12:00 +01))\n);\nassert!(datetime!(2022 - 01 - 30 12:00 +01).replace_month(Month::February).is_err()); // 30 isn't a valid day in February
      \n

      pub const fn replace_day(\n self,\n day: u8,\n) -> Result<OffsetDateTime, ComponentRange>

      Replace the day of the month.

      \n\n
      assert_eq!(\n    datetime!(2022 - 02 - 18 12:00 +01).replace_day(1),\n    Ok(datetime!(2022 - 02 - 01 12:00 +01))\n);\nassert!(datetime!(2022 - 02 - 18 12:00 +01).replace_day(0).is_err()); // 00 isn't a valid day\nassert!(datetime!(2022 - 02 - 18 12:00 +01).replace_day(30).is_err()); // 30 isn't a valid day in February
      \n

      pub const fn replace_ordinal(\n self,\n ordinal: u16,\n) -> Result<OffsetDateTime, ComponentRange>

      Replace the day of the year.

      \n\n
      assert_eq!(datetime!(2022-049 12:00 +01).replace_ordinal(1), Ok(datetime!(2022-001 12:00 +01)));\nassert!(datetime!(2022-049 12:00 +01).replace_ordinal(0).is_err()); // 0 isn't a valid ordinal\nassert!(datetime!(2022-049 12:00 +01).replace_ordinal(366).is_err()); // 2022 isn't a leap year
      \n

      pub const fn replace_hour(\n self,\n hour: u8,\n) -> Result<OffsetDateTime, ComponentRange>

      Replace the clock hour.

      \n\n
      assert_eq!(\n    datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_hour(7),\n    Ok(datetime!(2022 - 02 - 18 07:02:03.004_005_006 +01))\n);\nassert!(datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_hour(24).is_err()); // 24 isn't a valid hour
      \n

      pub const fn replace_minute(\n self,\n minute: u8,\n) -> Result<OffsetDateTime, ComponentRange>

      Replace the minutes within the hour.

      \n\n
      assert_eq!(\n    datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_minute(7),\n    Ok(datetime!(2022 - 02 - 18 01:07:03.004_005_006 +01))\n);\nassert!(datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_minute(60).is_err()); // 60 isn't a valid minute
      \n

      pub const fn replace_second(\n self,\n second: u8,\n) -> Result<OffsetDateTime, ComponentRange>

      Replace the seconds within the minute.

      \n\n
      assert_eq!(\n    datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_second(7),\n    Ok(datetime!(2022 - 02 - 18 01:02:07.004_005_006 +01))\n);\nassert!(datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_second(60).is_err()); // 60 isn't a valid second
      \n

      pub const fn replace_millisecond(\n self,\n millisecond: u16,\n) -> Result<OffsetDateTime, ComponentRange>

      Replace the milliseconds within the second.

      \n\n
      assert_eq!(\n    datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_millisecond(7),\n    Ok(datetime!(2022 - 02 - 18 01:02:03.007 +01))\n);\nassert!(datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_millisecond(1_000).is_err()); // 1_000 isn't a valid millisecond
      \n

      pub const fn replace_microsecond(\n self,\n microsecond: u32,\n) -> Result<OffsetDateTime, ComponentRange>

      Replace the microseconds within the second.

      \n\n
      assert_eq!(\n    datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_microsecond(7_008),\n    Ok(datetime!(2022 - 02 - 18 01:02:03.007_008 +01))\n);\nassert!(datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_microsecond(1_000_000).is_err()); // 1_000_000 isn't a valid microsecond
      \n

      pub const fn replace_nanosecond(\n self,\n nanosecond: u32,\n) -> Result<OffsetDateTime, ComponentRange>

      Replace the nanoseconds within the second.

      \n\n
      assert_eq!(\n    datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_nanosecond(7_008_009),\n    Ok(datetime!(2022 - 02 - 18 01:02:03.007_008_009 +01))\n);\nassert!(datetime!(2022 - 02 - 18 01:02:03.004_005_006 +01).replace_nanosecond(1_000_000_000).is_err()); // 1_000_000_000 isn't a valid nanosecond
      \n
      ",0,"hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl OffsetDateTime

      pub fn format_into(\n self,\n output: &mut impl Write,\n format: &(impl Formattable + ?Sized),\n) -> Result<usize, Format>

      Format the OffsetDateTime using the provided format\ndescription.

      \n

      pub fn format(\n self,\n format: &(impl Formattable + ?Sized),\n) -> Result<String, Format>

      Format the OffsetDateTime using the provided format\ndescription.

      \n\n
      let format = format_description::parse(\n    \"[year]-[month]-[day] [hour]:[minute]:[second] [offset_hour \\\n         sign:mandatory]:[offset_minute]:[offset_second]\",\n)?;\nassert_eq!(\n    datetime!(2020-01-02 03:04:05 +06:07:08).format(&format)?,\n    \"2020-01-02 03:04:05 +06:07:08\"\n);
      \n
      ",0,"hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl OffsetDateTime

      pub fn parse(\n input: &str,\n description: &(impl Parsable + ?Sized),\n) -> Result<OffsetDateTime, Parse>

      Parse an OffsetDateTime from the input using the provided format\ndescription.

      \n\n
      let format = format_description!(\n    \"[year]-[month]-[day] [hour]:[minute]:[second] [offset_hour \\\n         sign:mandatory]:[offset_minute]:[offset_second]\"\n);\nassert_eq!(\n    OffsetDateTime::parse(\"2020-01-02 03:04:05 +06:07:08\", &format)?,\n    datetime!(2020-01-02 03:04:05 +06:07:08)\n);
      \n
      ",0,"hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl OffsetDateTime

      pub const UNIX_EPOCH: OffsetDateTime = _

      Midnight, 1 January, 1970 (UTC).

      \n\n
      assert_eq!(OffsetDateTime::UNIX_EPOCH, datetime!(1970-01-01 0:00 UTC),);
      \n

      pub fn now_utc() -> OffsetDateTime

      Create a new OffsetDateTime with the current date and time in UTC.

      \n\n
      assert!(OffsetDateTime::now_utc().year() >= 2019);\nassert_eq!(OffsetDateTime::now_utc().offset(), offset!(UTC));
      \n

      pub const fn new_in_offset(\n date: Date,\n time: Time,\n offset: UtcOffset,\n) -> OffsetDateTime

      Create a new OffsetDateTime with the given [Date], [Time], and [UtcOffset].

      \n\n
      let dt = OffsetDateTime::new_in_offset(\n    Date::from_calendar_date(2024, Month::January, 1)?,\n    Time::from_hms_nano(12, 59, 59, 500_000_000)?,\n    UtcOffset::from_hms(-5, 0, 0)?,\n);\nassert_eq!(dt, datetime!(2024-01-01 12:59:59.5 -5));
      \n

      pub const fn new_utc(date: Date, time: Time) -> OffsetDateTime

      Create a new OffsetDateTime with the given [Date] and [Time] in the UTC timezone.

      \n\n
      let dt = OffsetDateTime::new_utc(\n    Date::from_calendar_date(2024, Month::January, 1)?,\n    Time::from_hms_nano(12, 59, 59, 500_000_000)?,\n);\nassert_eq!(dt, datetime!(2024-01-01 12:59:59.5 UTC));
      \n

      pub const fn to_offset(self, offset: UtcOffset) -> OffsetDateTime

      Convert the OffsetDateTime from the current [UtcOffset] to the provided [UtcOffset].

      \n\n
      assert_eq!(\n    datetime!(2000-01-01 0:00 UTC)\n        .to_offset(offset!(-1))\n        .year(),\n    1999,\n);\n\n// Let's see what time Sydney's new year's celebration is in New York and Los Angeles.\n\n// Construct midnight on new year's in Sydney.\nlet sydney = datetime!(2000-01-01 0:00 +11);\nlet new_york = sydney.to_offset(offset!(-5));\nlet los_angeles = sydney.to_offset(offset!(-8));\nassert_eq!(sydney.hour(), 0);\nassert_eq!(new_york.hour(), 8);\nassert_eq!(los_angeles.hour(), 5);
      \n
      §Panics
      \n

      This method panics if the local date-time in the new offset is outside the supported range.

      \n

      pub const fn checked_to_offset(\n self,\n offset: UtcOffset,\n) -> Option<OffsetDateTime>

      Convert the OffsetDateTime from the current [UtcOffset] to the provided [UtcOffset],\nreturning None if the date-time in the resulting offset is invalid.

      \n\n
      assert_eq!(\n    datetime!(2000-01-01 0:00 UTC)\n        .checked_to_offset(offset!(-1))\n        .unwrap()\n        .year(),\n    1999,\n);\nassert_eq!(\n    PrimitiveDateTime::MAX\n        .assume_utc()\n        .checked_to_offset(offset!(+1)),\n    None,\n);
      \n

      pub const fn from_unix_timestamp(\n timestamp: i64,\n) -> Result<OffsetDateTime, ComponentRange>

      Create an OffsetDateTime from the provided Unix timestamp. Calling .offset() on the\nresulting value is guaranteed to return UTC.

      \n\n
      assert_eq!(\n    OffsetDateTime::from_unix_timestamp(0),\n    Ok(OffsetDateTime::UNIX_EPOCH),\n);\nassert_eq!(\n    OffsetDateTime::from_unix_timestamp(1_546_300_800),\n    Ok(datetime!(2019-01-01 0:00 UTC)),\n);
      \n

      If you have a timestamp-nanosecond pair, you can use something along the lines of the\nfollowing:

      \n\n
      let (timestamp, nanos) = (1, 500_000_000);\nassert_eq!(\n    OffsetDateTime::from_unix_timestamp(timestamp)? + Duration::nanoseconds(nanos),\n    OffsetDateTime::UNIX_EPOCH + 1.5.seconds()\n);
      \n

      pub const fn from_unix_timestamp_nanos(\n timestamp: i128,\n) -> Result<OffsetDateTime, ComponentRange>

      Construct an OffsetDateTime from the provided Unix timestamp (in nanoseconds). Calling\n.offset() on the resulting value is guaranteed to return UTC.

      \n\n
      assert_eq!(\n    OffsetDateTime::from_unix_timestamp_nanos(0),\n    Ok(OffsetDateTime::UNIX_EPOCH),\n);\nassert_eq!(\n    OffsetDateTime::from_unix_timestamp_nanos(1_546_300_800_000_000_000),\n    Ok(datetime!(2019-01-01 0:00 UTC)),\n);
      \n

      pub const fn offset(self) -> UtcOffset

      Get the [UtcOffset].

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).offset(), offset!(UTC));\nassert_eq!(datetime!(2019-01-01 0:00 +1).offset(), offset!(+1));
      \n

      pub const fn unix_timestamp(self) -> i64

      Get the Unix timestamp.

      \n\n
      assert_eq!(datetime!(1970-01-01 0:00 UTC).unix_timestamp(), 0);\nassert_eq!(datetime!(1970-01-01 0:00 -1).unix_timestamp(), 3_600);
      \n

      pub const fn unix_timestamp_nanos(self) -> i128

      Get the Unix timestamp in nanoseconds.

      \n\n
      use time_macros::datetime;\nassert_eq!(datetime!(1970-01-01 0:00 UTC).unix_timestamp_nanos(), 0);\nassert_eq!(\n    datetime!(1970-01-01 0:00 -1).unix_timestamp_nanos(),\n    3_600_000_000_000,\n);
      \n

      pub const fn date(self) -> Date

      Get the [Date] in the stored offset.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).date(), date!(2019-01-01));\nassert_eq!(\n    datetime!(2019-01-01 0:00 UTC)\n        .to_offset(offset!(-1))\n        .date(),\n    date!(2018-12-31),\n);
      \n

      pub const fn time(self) -> Time

      Get the [Time] in the stored offset.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).time(), time!(0:00));\nassert_eq!(\n    datetime!(2019-01-01 0:00 UTC)\n        .to_offset(offset!(-1))\n        .time(),\n    time!(23:00)\n);
      \n

      pub const fn year(self) -> i32

      Get the year of the date in the stored offset.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).year(), 2019);\nassert_eq!(\n    datetime!(2019-12-31 23:00 UTC)\n        .to_offset(offset!(+1))\n        .year(),\n    2020,\n);\nassert_eq!(datetime!(2020-01-01 0:00 UTC).year(), 2020);
      \n

      pub const fn month(self) -> Month

      Get the month of the date in the stored offset.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).month(), Month::January);\nassert_eq!(\n    datetime!(2019-12-31 23:00 UTC)\n        .to_offset(offset!(+1))\n        .month(),\n    Month::January,\n);
      \n

      pub const fn day(self) -> u8

      Get the day of the date in the stored offset.

      \n

      The returned value will always be in the range 1..=31.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).day(), 1);\nassert_eq!(\n    datetime!(2019-12-31 23:00 UTC)\n        .to_offset(offset!(+1))\n        .day(),\n    1,\n);
      \n

      pub const fn ordinal(self) -> u16

      Get the day of the year of the date in the stored offset.

      \n

      The returned value will always be in the range 1..=366.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).ordinal(), 1);\nassert_eq!(\n    datetime!(2019-12-31 23:00 UTC)\n        .to_offset(offset!(+1))\n        .ordinal(),\n    1,\n);
      \n

      pub const fn iso_week(self) -> u8

      Get the ISO week number of the date in the stored offset.

      \n

      The returned value will always be in the range 1..=53.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).iso_week(), 1);\nassert_eq!(datetime!(2020-01-01 0:00 UTC).iso_week(), 1);\nassert_eq!(datetime!(2020-12-31 0:00 UTC).iso_week(), 53);\nassert_eq!(datetime!(2021-01-01 0:00 UTC).iso_week(), 53);
      \n

      pub const fn sunday_based_week(self) -> u8

      Get the week number where week 1 begins on the first Sunday.

      \n

      The returned value will always be in the range 0..=53.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).sunday_based_week(), 0);\nassert_eq!(datetime!(2020-01-01 0:00 UTC).sunday_based_week(), 0);\nassert_eq!(datetime!(2020-12-31 0:00 UTC).sunday_based_week(), 52);\nassert_eq!(datetime!(2021-01-01 0:00 UTC).sunday_based_week(), 0);
      \n

      pub const fn monday_based_week(self) -> u8

      Get the week number where week 1 begins on the first Monday.

      \n

      The returned value will always be in the range 0..=53.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).monday_based_week(), 0);\nassert_eq!(datetime!(2020-01-01 0:00 UTC).monday_based_week(), 0);\nassert_eq!(datetime!(2020-12-31 0:00 UTC).monday_based_week(), 52);\nassert_eq!(datetime!(2021-01-01 0:00 UTC).monday_based_week(), 0);
      \n

      pub const fn to_calendar_date(self) -> (i32, Month, u8)

      Get the year, month, and day.

      \n\n
      assert_eq!(\n    datetime!(2019-01-01 0:00 UTC).to_calendar_date(),\n    (2019, Month::January, 1)\n);
      \n

      pub const fn to_ordinal_date(self) -> (i32, u16)

      Get the year and ordinal day number.

      \n\n
      assert_eq!(\n    datetime!(2019-01-01 0:00 UTC).to_ordinal_date(),\n    (2019, 1)\n);
      \n

      pub const fn to_iso_week_date(self) -> (i32, u8, Weekday)

      Get the ISO 8601 year, week number, and weekday.

      \n\n
      assert_eq!(\n    datetime!(2019-01-01 0:00 UTC).to_iso_week_date(),\n    (2019, 1, Tuesday)\n);\nassert_eq!(\n    datetime!(2019-10-04 0:00 UTC).to_iso_week_date(),\n    (2019, 40, Friday)\n);\nassert_eq!(\n    datetime!(2020-01-01 0:00 UTC).to_iso_week_date(),\n    (2020, 1, Wednesday)\n);\nassert_eq!(\n    datetime!(2020-12-31 0:00 UTC).to_iso_week_date(),\n    (2020, 53, Thursday)\n);\nassert_eq!(\n    datetime!(2021-01-01 0:00 UTC).to_iso_week_date(),\n    (2020, 53, Friday)\n);
      \n

      pub const fn weekday(self) -> Weekday

      Get the weekday of the date in the stored offset.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).weekday(), Tuesday);\nassert_eq!(datetime!(2019-02-01 0:00 UTC).weekday(), Friday);\nassert_eq!(datetime!(2019-03-01 0:00 UTC).weekday(), Friday);
      \n

      pub const fn to_julian_day(self) -> i32

      Get the Julian day for the date. The time is not taken into account for this calculation.

      \n

      The algorithm to perform this conversion is derived from one provided by Peter Baum; it is\nfreely available here.

      \n\n
      assert_eq!(datetime!(-4713-11-24 0:00 UTC).to_julian_day(), 0);\nassert_eq!(datetime!(2000-01-01 0:00 UTC).to_julian_day(), 2_451_545);\nassert_eq!(datetime!(2019-01-01 0:00 UTC).to_julian_day(), 2_458_485);\nassert_eq!(datetime!(2019-12-31 0:00 UTC).to_julian_day(), 2_458_849);
      \n

      pub const fn to_hms(self) -> (u8, u8, u8)

      Get the clock hour, minute, and second.

      \n\n
      assert_eq!(datetime!(2020-01-01 0:00:00 UTC).to_hms(), (0, 0, 0));\nassert_eq!(datetime!(2020-01-01 23:59:59 UTC).to_hms(), (23, 59, 59));
      \n

      pub const fn to_hms_milli(self) -> (u8, u8, u8, u16)

      Get the clock hour, minute, second, and millisecond.

      \n\n
      assert_eq!(\n    datetime!(2020-01-01 0:00:00 UTC).to_hms_milli(),\n    (0, 0, 0, 0)\n);\nassert_eq!(\n    datetime!(2020-01-01 23:59:59.999 UTC).to_hms_milli(),\n    (23, 59, 59, 999)\n);
      \n

      pub const fn to_hms_micro(self) -> (u8, u8, u8, u32)

      Get the clock hour, minute, second, and microsecond.

      \n\n
      assert_eq!(\n    datetime!(2020-01-01 0:00:00 UTC).to_hms_micro(),\n    (0, 0, 0, 0)\n);\nassert_eq!(\n    datetime!(2020-01-01 23:59:59.999_999 UTC).to_hms_micro(),\n    (23, 59, 59, 999_999)\n);
      \n

      pub const fn to_hms_nano(self) -> (u8, u8, u8, u32)

      Get the clock hour, minute, second, and nanosecond.

      \n\n
      assert_eq!(\n    datetime!(2020-01-01 0:00:00 UTC).to_hms_nano(),\n    (0, 0, 0, 0)\n);\nassert_eq!(\n    datetime!(2020-01-01 23:59:59.999_999_999 UTC).to_hms_nano(),\n    (23, 59, 59, 999_999_999)\n);
      \n

      pub const fn hour(self) -> u8

      Get the clock hour in the stored offset.

      \n

      The returned value will always be in the range 0..24.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).hour(), 0);\nassert_eq!(\n    datetime!(2019-01-01 23:59:59 UTC)\n        .to_offset(offset!(-2))\n        .hour(),\n    21,\n);
      \n

      pub const fn minute(self) -> u8

      Get the minute within the hour in the stored offset.

      \n

      The returned value will always be in the range 0..60.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).minute(), 0);\nassert_eq!(\n    datetime!(2019-01-01 23:59:59 UTC)\n        .to_offset(offset!(+0:30))\n        .minute(),\n    29,\n);
      \n

      pub const fn second(self) -> u8

      Get the second within the minute in the stored offset.

      \n

      The returned value will always be in the range 0..60.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).second(), 0);\nassert_eq!(\n    datetime!(2019-01-01 23:59:59 UTC)\n        .to_offset(offset!(+0:00:30))\n        .second(),\n    29,\n);
      \n

      pub const fn millisecond(self) -> u16

      Get the milliseconds within the second in the stored offset.

      \n

      The returned value will always be in the range 0..1_000.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).millisecond(), 0);\nassert_eq!(datetime!(2019-01-01 23:59:59.999 UTC).millisecond(), 999);
      \n

      pub const fn microsecond(self) -> u32

      Get the microseconds within the second in the stored offset.

      \n

      The returned value will always be in the range 0..1_000_000.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).microsecond(), 0);\nassert_eq!(\n    datetime!(2019-01-01 23:59:59.999_999 UTC).microsecond(),\n    999_999,\n);
      \n

      pub const fn nanosecond(self) -> u32

      Get the nanoseconds within the second in the stored offset.

      \n

      The returned value will always be in the range 0..1_000_000_000.

      \n\n
      assert_eq!(datetime!(2019-01-01 0:00 UTC).nanosecond(), 0);\nassert_eq!(\n    datetime!(2019-01-01 23:59:59.999_999_999 UTC).nanosecond(),\n    999_999_999,\n);
      \n

      pub const fn checked_add(self, duration: Duration) -> Option<OffsetDateTime>

      Computes self + duration, returning None if an overflow occurred.

      \n\n
      let datetime = Date::MIN.midnight().assume_offset(offset!(+10));\nassert_eq!(datetime.checked_add((-2).days()), None);\n\nlet datetime = Date::MAX.midnight().assume_offset(offset!(+10));\nassert_eq!(datetime.checked_add(2.days()), None);\n\nassert_eq!(\n    datetime!(2019 - 11 - 25 15:30 +10).checked_add(27.hours()),\n    Some(datetime!(2019 - 11 - 26 18:30 +10))\n);
      \n

      pub const fn checked_sub(self, duration: Duration) -> Option<OffsetDateTime>

      Computes self - duration, returning None if an overflow occurred.

      \n\n
      let datetime = Date::MIN.midnight().assume_offset(offset!(+10));\nassert_eq!(datetime.checked_sub(2.days()), None);\n\nlet datetime = Date::MAX.midnight().assume_offset(offset!(+10));\nassert_eq!(datetime.checked_sub((-2).days()), None);\n\nassert_eq!(\n    datetime!(2019 - 11 - 25 15:30 +10).checked_sub(27.hours()),\n    Some(datetime!(2019 - 11 - 24 12:30 +10))\n);
      \n

      pub const fn saturating_add(self, duration: Duration) -> OffsetDateTime

      Computes self + duration, saturating value on overflow.

      \n\n
      assert_eq!(\n    datetime!(-9999-01-01 0:00 +10).saturating_add((-2).days()),\n    datetime!(-9999-01-01 0:00 +10)\n);\n\nassert_eq!(\n    datetime!(+9999-12-31 23:59:59.999_999_999 +10).saturating_add(2.days()),\n    datetime!(+9999-12-31 23:59:59.999_999_999 +10)\n);\n\nassert_eq!(\n    datetime!(2019 - 11 - 25 15:30 +10).saturating_add(27.hours()),\n    datetime!(2019 - 11 - 26 18:30 +10)\n);
      \n

      pub const fn saturating_sub(self, duration: Duration) -> OffsetDateTime

      Computes self - duration, saturating value on overflow.

      \n\n
      assert_eq!(\n    datetime!(-9999-01-01 0:00 +10).saturating_sub(2.days()),\n    datetime!(-9999-01-01 0:00 +10)\n);\n\nassert_eq!(\n    datetime!(+9999-12-31 23:59:59.999_999_999 +10).saturating_sub((-2).days()),\n    datetime!(+9999-12-31 23:59:59.999_999_999 +10)\n);\n\nassert_eq!(\n    datetime!(2019 - 11 - 25 15:30 +10).saturating_sub(27.hours()),\n    datetime!(2019 - 11 - 24 12:30 +10)\n);
      \n
      ",0,"hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Ord for OffsetDateTime

      §

      fn cmp(&self, other: &OffsetDateTime) -> Ordering

      This method returns an Ordering between self and other. Read more
      1.21.0 · source§

      fn max(self, other: Self) -> Self
      where\n Self: Sized,

      Compares and returns the maximum of two values. Read more
      1.21.0 · source§

      fn min(self, other: Self) -> Self
      where\n Self: Sized,

      Compares and returns the minimum of two values. Read more
      1.50.0 · source§

      fn clamp(self, min: Self, max: Self) -> Self
      where\n Self: Sized + PartialOrd,

      Restrict a value to a certain interval. Read more
      ","Ord","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl PartialEq<SystemTime> for OffsetDateTime

      §

      fn eq(&self, rhs: &SystemTime) -> 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::Timestamp"],["
      §

      impl PartialEq for OffsetDateTime

      §

      fn eq(&self, other: &OffsetDateTime) -> 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::Timestamp"],["
      §

      impl PartialOrd<SystemTime> for OffsetDateTime

      §

      fn partial_cmp(&self, other: &SystemTime) -> 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::Timestamp"],["
      §

      impl PartialOrd for OffsetDateTime

      §

      fn partial_cmp(&self, other: &OffsetDateTime) -> 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::Timestamp"],["
      §

      impl SmartDisplay for OffsetDateTime

      §

      type Metadata = ()

      User-provided metadata type.
      §

      fn metadata(&self, _: FormatterOptions) -> Metadata<'_, OffsetDateTime>

      Compute any information needed to format the value. This must, at a minimum, determine the\nwidth of the value before any padding is added by the formatter. Read more
      §

      fn fmt_with_metadata(\n &self,\n f: &mut Formatter<'_>,\n metadata: Metadata<'_, OffsetDateTime>,\n) -> Result<(), Error>

      Format the value using the given formatter and metadata. The formatted output should have\nthe width indicated by the metadata. This is before any padding is added by the\nformatter. Read more
      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Format the value using the given formatter. This is the same as Display::fmt. Read more
      ","SmartDisplay","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Sub<Duration> for OffsetDateTime

      §

      fn sub(self, duration: Duration) -> <OffsetDateTime as Sub<Duration>>::Output

      §Panics
      \n

      This may panic if an overflow occurs.

      \n
      §

      type Output = OffsetDateTime

      The resulting type after applying the - operator.
      ","Sub","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Sub<Duration> for OffsetDateTime

      §

      fn sub(self, rhs: Duration) -> <OffsetDateTime as Sub<Duration>>::Output

      §Panics
      \n

      This may panic if an overflow occurs.

      \n
      §

      type Output = OffsetDateTime

      The resulting type after applying the - operator.
      ","Sub","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Sub<SystemTime> for OffsetDateTime

      §

      fn sub(self, rhs: SystemTime) -> <OffsetDateTime as Sub<SystemTime>>::Output

      §Panics
      \n

      This may panic if an overflow occurs.

      \n
      §

      type Output = Duration

      The resulting type after applying the - operator.
      ","Sub","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Sub for OffsetDateTime

      §

      fn sub(self, rhs: OffsetDateTime) -> <OffsetDateTime as Sub>::Output

      §Panics
      \n

      This may panic if an overflow occurs.

      \n
      §

      type Output = Duration

      The resulting type after applying the - operator.
      ","Sub","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl SubAssign<Duration> for OffsetDateTime

      §

      fn sub_assign(&mut self, rhs: Duration)

      §Panics
      \n

      This may panic if an overflow occurs.

      \n
      ","SubAssign","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl SubAssign<Duration> for OffsetDateTime

      §

      fn sub_assign(&mut self, rhs: Duration)

      §Panics
      \n

      This may panic if an overflow occurs.

      \n
      ","SubAssign","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl ToSql for OffsetDateTime

      §

      fn to_sql(\n &self,\n type_: &Type,\n w: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

      Converts the value of self into the binary format of the specified\nPostgres Type, appending it to out. Read more
      §

      fn accepts(ty: &Type) -> bool

      Determines if a value of this type can be converted to the specified\nPostgres Type.
      §

      fn to_sql_checked(\n &self,\n ty: &Type,\n out: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

      An adaptor method used internally by Rust-Postgres. Read more
      §

      fn encode_format(&self, _ty: &Type) -> Format

      Specify the encode format
      ","ToSql","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl TryFrom<Parsed> for OffsetDateTime

      §

      type Error = TryFromParsed

      The type returned in the event of a conversion error.
      §

      fn try_from(\n parsed: Parsed,\n) -> Result<OffsetDateTime, <OffsetDateTime as TryFrom<Parsed>>::Error>

      Performs the conversion.
      ","TryFrom","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Type<Sqlite> for OffsetDateTime

      §

      fn type_info() -> SqliteTypeInfo

      Returns the canonical SQL type for this Rust type. Read more
      §

      fn compatible(ty: &SqliteTypeInfo) -> bool

      Determines if this Rust type is compatible with the given SQL type. Read more
      ","Type","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Copy for OffsetDateTime

      ","Copy","hotshot_query_service::availability::query_data::Timestamp"],["
      §

      impl Eq for OffsetDateTime

      ","Eq","hotshot_query_service::availability::query_data::Timestamp"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file