diff --git a/doc/adder_collator/constant.DEFAULT_PARA_ID.html b/doc/adder_collator/constant.DEFAULT_PARA_ID.html index c1e1acbcfae4..44b270139ceb 100644 --- a/doc/adder_collator/constant.DEFAULT_PARA_ID.html +++ b/doc/adder_collator/constant.DEFAULT_PARA_ID.html @@ -1,2 +1,2 @@ -DEFAULT_PARA_ID in adder_collator - Rust
pub(crate) const DEFAULT_PARA_ID: ParaId;
Expand description

The parachain ID to collate for in case it wasn’t set explicitly through CLI.

+DEFAULT_PARA_ID in adder_collator - Rust
pub(crate) const DEFAULT_PARA_ID: ParaId;
Expand description

The parachain ID to collate for in case it wasn’t set explicitly through CLI.

\ No newline at end of file diff --git a/doc/adder_collator/fn.main.html b/doc/adder_collator/fn.main.html index 2127c6651afb..5809f0b79299 100644 --- a/doc/adder_collator/fn.main.html +++ b/doc/adder_collator/fn.main.html @@ -1 +1 @@ -main in adder_collator - Rust

Function adder_collator::main

source ·
pub(crate) fn main() -> Result<()>
\ No newline at end of file +main in adder_collator - Rust

Function adder_collator::main

source ·
pub(crate) fn main() -> Result<()>
\ No newline at end of file diff --git a/doc/adder_collator/index.html b/doc/adder_collator/index.html index cfb6d6205612..3fa5d09c03a0 100644 --- a/doc/adder_collator/index.html +++ b/doc/adder_collator/index.html @@ -1,2 +1,2 @@ -adder_collator - Rust

Crate adder_collator

source ·
Expand description

Collator for the adder test parachain.

+adder_collator - Rust

Crate adder_collator

source ·
Expand description

Collator for the adder test parachain.

Modules

  • cli 🔒
    Polkadot CLI library.

Constants

  • The parachain ID to collate for in case it wasn’t set explicitly through CLI.

Functions

\ No newline at end of file diff --git a/doc/help.html b/doc/help.html index cffb344e03a9..9f9f43172358 100644 --- a/doc/help.html +++ b/doc/help.html @@ -1 +1 @@ -Rustdoc help

Rustdoc help

Back
\ No newline at end of file +Rustdoc help

Rustdoc help

Back
\ No newline at end of file diff --git a/doc/implementors/core/convert/trait.From.js b/doc/implementors/core/convert/trait.From.js index 1bcb9d7697b1..83178ef84458 100644 --- a/doc/implementors/core/convert/trait.From.js +++ b/doc/implementors/core/convert/trait.From.js @@ -7,9 +7,9 @@ "polkadot_node_core_parachains_inherent":[["impl From<SubsystemError> for Error"],["impl From<Error> for Error"]], "polkadot_node_core_pvf":[["impl From<PrepareError> for ValidationError"],["impl From<InternalValidationError> for ValidationError"]], "polkadot_node_jaeger":[["impl From<Option<Span>> for Span"],["impl From<Span> for Span"]], -"polkadot_node_network_protocol":[["impl From<ValidationProtocol> for VersionedValidationProtocol"],["impl From<Error> for RequestError"],["impl From<BitfieldDistributionMessage> for ValidationProtocol"],["impl From<Versioned<ApprovalDistributionMessage>> for VersionedValidationProtocol"],["impl From<CollatorProtocolMessage> for CollationProtocol"],["impl From<FatalError> for Error"],["impl From<Option<ChunkResponse>> for ChunkFetchingResponse"],["impl From<Versioned<BitfieldDistributionMessage>> for VersionedValidationProtocol"],["impl From<UnifiedReputationChange> for ReputationChange"],["impl From<ValidationVersion> for ProtocolVersion"],["impl From<Versioned<StatementDistributionMessage>> for VersionedValidationProtocol"],["impl From<Versioned<CollatorProtocolMessage>> for VersionedCollationProtocol"],["impl From<Canceled> for RequestError"],["impl From<ApprovalDistributionMessage> for ValidationProtocol"],["impl From<RequestFailure> for RequestError"],["impl From<CollationVersion> for ProtocolVersion"],["impl From<ErasureChunk> for ChunkResponse"],["impl From<ProtocolVersion> for u32"],["impl From<JfyiError> for Error"],["impl From<StatementDistributionMessage> for ValidationProtocol"],["impl From<DisputeMessage> for DisputeRequest"],["impl From<ObservedRole> for ObservedRole"],["impl From<Option<AvailableData>> for AvailableDataFetchingResponse"],["impl From<CollationProtocol> for VersionedCollationProtocol"]], -"polkadot_node_primitives":[["impl From<SessionWindowSize> for NonZeroUsize"],["impl From<&Statement> for CompactStatement"],["impl From<ValidCandidateVotes> for BTreeMap<ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature)>"],["impl From<DisputeMessage> for UncheckedDisputeMessage"]], -"polkadot_node_subsystem_types":[["impl From<NetworkBridgeEvent<Versioned<CollatorProtocolMessage>>> for CollatorProtocolMessage"],["impl From<&str> for ChainApiError"],["impl From<Error> for SubsystemError"],["impl From<JaegerError> for SubsystemError"],["impl From<NetworkBridgeEvent<Versioned<StatementDistributionMessage>>> for StatementDistributionMessage"],["impl From<SendError> for SubsystemError"],["impl From<(CandidateReceipt<H256>, u32, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>)> for AvailabilityRecoveryMessage"],["impl From<OrchestraError> for SubsystemError"],["impl From<Infallible> for SubsystemError"],["impl From<NetworkBridgeEvent<Versioned<BitfieldDistributionMessage>>> for BitfieldDistributionMessage"],["impl From<Error> for SubsystemError"],["impl From<NetworkBridgeEvent<Versioned<ApprovalDistributionMessage>>> for ApprovalDistributionMessage"],["impl From<NetworkBridgeEvent<Versioned<GossipSupportNetworkMessage>>> for GossipSupportMessage"],["impl From<Canceled> for SubsystemError"],["impl From<String> for ChainApiError"]], +"polkadot_node_network_protocol":[["impl From<ValidationProtocol> for VersionedValidationProtocol"],["impl From<Error> for RequestError"],["impl From<BitfieldDistributionMessage> for ValidationProtocol"],["impl From<Versioned<ApprovalDistributionMessage>> for VersionedValidationProtocol"],["impl From<CollatorProtocolMessage> for CollationProtocol"],["impl From<FatalError> for Error"],["impl From<Option<ChunkResponse>> for ChunkFetchingResponse"],["impl From<Versioned<BitfieldDistributionMessage>> for VersionedValidationProtocol"],["impl From<UnifiedReputationChange> for ReputationChange"],["impl From<ValidationVersion> for ProtocolVersion"],["impl From<Versioned<StatementDistributionMessage>> for VersionedValidationProtocol"],["impl From<Versioned<CollatorProtocolMessage>> for VersionedCollationProtocol"],["impl From<Canceled> for RequestError"],["impl From<ApprovalDistributionMessage> for ValidationProtocol"],["impl From<RequestFailure> for RequestError"],["impl From<CollationVersion> for ProtocolVersion"],["impl From<ErasureChunk> for ChunkResponse"],["impl From<ProtocolVersion> for u32"],["impl From<JfyiError> for Error"],["impl From<StatementDistributionMessage> for ValidationProtocol"],["impl From<DisputeMessage> for DisputeRequest"],["impl From<ObservedRole> for ObservedRole"],["impl From<Option<AvailableData>> for AvailableDataFetchingResponse"],["impl From<CollationProtocol> for VersionedCollationProtocol"]], +"polkadot_node_primitives":[["impl From<SessionWindowSize> for NonZeroUsize"],["impl From<&Statement> for CompactStatement"],["impl From<ValidCandidateVotes> for BTreeMap<ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature)>"],["impl From<DisputeMessage> for UncheckedDisputeMessage"]], +"polkadot_node_subsystem_types":[["impl From<NetworkBridgeEvent<Versioned<CollatorProtocolMessage>>> for CollatorProtocolMessage"],["impl From<&str> for ChainApiError"],["impl From<Error> for SubsystemError"],["impl From<JaegerError> for SubsystemError"],["impl From<NetworkBridgeEvent<Versioned<StatementDistributionMessage>>> for StatementDistributionMessage"],["impl From<SendError> for SubsystemError"],["impl From<(CandidateReceipt<H256>, u32, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>)> for AvailabilityRecoveryMessage"],["impl From<OrchestraError> for SubsystemError"],["impl From<Infallible> for SubsystemError"],["impl From<NetworkBridgeEvent<Versioned<BitfieldDistributionMessage>>> for BitfieldDistributionMessage"],["impl From<Error> for SubsystemError"],["impl From<NetworkBridgeEvent<Versioned<ApprovalDistributionMessage>>> for ApprovalDistributionMessage"],["impl From<NetworkBridgeEvent<Versioned<GossipSupportNetworkMessage>>> for GossipSupportMessage"],["impl From<Canceled> for SubsystemError"],["impl From<String> for ChainApiError"]], "polkadot_node_subsystem_util":[["impl From<RuntimeApiError> for Error"],["impl From<OrchestraError> for Error"],["impl From<Infallible> for Error"],["impl From<Canceled> for Error"],["impl From<SubsystemError> for Error"],["impl From<SendError> for Error"],["impl From<FatalError> for Error"],["impl From<JfyiError> for Error"]], "polkadot_overseer":[["impl From<CandidateValidationOutgoingMessages> for AllMessages"],["impl From<()> for CandidateValidationOutgoingMessages"],["impl From<()> for AvailabilityDistributionOutgoingMessages"],["impl From<CollatorProtocolOutgoingMessages> for AllMessages"],["impl From<()> for ChainApiOutgoingMessages"],["impl From<ProvisionerMessage> for CandidateBackingOutgoingMessages"],["impl From<()> for PvfCheckerOutgoingMessages"],["impl From<()> for StatementDistributionOutgoingMessages"],["impl From<ProvisionerMessage> for BitfieldDistributionOutgoingMessages"],["impl From<CollatorProtocolMessage> for CandidateBackingOutgoingMessages"],["impl From<()> for CandidateBackingOutgoingMessages"],["impl From<FinalityNotification<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>> for BlockInfo"],["impl From<NetworkBridgeTxMessage> for AvailabilityRecoveryOutgoingMessages"],["impl From<StatementDistributionMessage> for CandidateBackingOutgoingMessages"],["impl From<()> for BitfieldDistributionOutgoingMessages"],["impl From<DisputeCoordinatorMessage> for DisputeDistributionOutgoingMessages"],["impl From<()> for AllMessages"],["impl From<AvailabilityStoreMessage> for BitfieldSigningOutgoingMessages"],["impl From<AvailabilityStoreMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<RuntimeApiMessage> for CollatorProtocolOutgoingMessages"],["impl From<CollationGenerationMessage> for AllMessages"],["impl From<ApprovalVotingMessage> for AllMessages"],["impl From<ApprovalVotingMessage> for ApprovalDistributionOutgoingMessages"],["impl From<NetworkBridgeRxMessage> for AllMessages"],["impl From<()> for CollatorProtocolOutgoingMessages"],["impl From<()> for BitfieldSigningOutgoingMessages"],["impl From<DisputeCoordinatorMessage> for ProvisionerOutgoingMessages"],["impl From<RuntimeApiMessage> for AllMessages"],["impl From<ProvisionerMessage> for AllMessages"],["impl From<()> for ApprovalVotingOutgoingMessages"],["impl From<DisputeDistributionMessage> for AllMessages"],["impl From<()> for CollationGenerationOutgoingMessages"],["impl From<ChainSelectionOutgoingMessages> for AllMessages"],["impl From<RuntimeApiMessage> for AvailabilityDistributionOutgoingMessages"],["impl From<BitfieldDistributionOutgoingMessages> for AllMessages"],["impl From<AvailabilityRecoveryMessage> for ApprovalVotingOutgoingMessages"],["impl From<GossipSupportOutgoingMessages> for AllMessages"],["impl From<RuntimeApiMessage> for BitfieldDistributionOutgoingMessages"],["impl From<DisputeCoordinatorMessage> for ApprovalVotingOutgoingMessages"],["impl From<NetworkBridgeTxMessage> for GossipSupportOutgoingMessages"],["impl From<NetworkBridgeTxMessage> for CollatorProtocolOutgoingMessages"],["impl From<NetworkBridgeTxMessage> for StatementDistributionOutgoingMessages"],["impl From<StatementDistributionOutgoingMessages> for AllMessages"],["impl From<CollationGenerationOutgoingMessages> for AllMessages"],["impl From<DisputeDistributionOutgoingMessages> for AllMessages"],["impl From<CandidateBackingOutgoingMessages> for AllMessages"],["impl From<RuntimeApiMessage> for DisputeDistributionOutgoingMessages"],["impl From<()> for AvailabilityStoreOutgoingMessages"],["impl From<()> for ApprovalDistributionOutgoingMessages"],["impl From<DisputeCoordinatorMessage> for AllMessages"],["impl From<NetworkBridgeTxMessage> for DisputeDistributionOutgoingMessages"],["impl From<DisputeCoordinatorOutgoingMessages> for AllMessages"],["impl From<NetworkBridgeTxMessage> for ApprovalDistributionOutgoingMessages"],["impl From<NetworkBridgeTxMessage> for AllMessages"],["impl From<ChainApiMessage> for ProvisionerOutgoingMessages"],["impl From<AvailabilityRecoveryMessage> for AllMessages"],["impl From<RuntimeApiMessage> for AvailabilityRecoveryOutgoingMessages"],["impl From<AvailabilityStoreMessage> for CandidateBackingOutgoingMessages"],["impl From<AvailabilityRecoveryMessage> for AvailabilityDistributionOutgoingMessages"],["impl From<ChainSelectionMessage> for ApprovalVotingOutgoingMessages"],["impl From<NetworkBridgeTxOutgoingMessages> for AllMessages"],["impl From<()> for DisputeDistributionOutgoingMessages"],["impl From<DisputeDistributionMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<ChainApiMessage> for AvailabilityStoreOutgoingMessages"],["impl From<CandidateValidationMessage> for AllMessages"],["impl From<GossipSupportMessage> for NetworkBridgeRxOutgoingMessages"],["impl From<PvfCheckerMessage> for AllMessages"],["impl From<CandidateBackingMessage> for ProvisionerOutgoingMessages"],["impl From<ApprovalVotingOutgoingMessages> for AllMessages"],["impl From<ChainApiMessage> for AvailabilityDistributionOutgoingMessages"],["impl From<PvfCheckerOutgoingMessages> for AllMessages"],["impl From<ApprovalDistributionOutgoingMessages> for AllMessages"],["impl From<RuntimeApiMessage> for ApprovalVotingOutgoingMessages"],["impl From<CandidateValidationMessage> for ApprovalVotingOutgoingMessages"],["impl From<ChainApiMessage> for AllMessages"],["impl From<CandidateBackingMessage> for StatementDistributionOutgoingMessages"],["impl From<ChainApiMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<CandidateValidationMessage> for CandidateBackingOutgoingMessages"],["impl From<RuntimeApiMessage> for AvailabilityStoreOutgoingMessages"],["impl From<CollatorProtocolMessage> for NetworkBridgeRxOutgoingMessages"],["impl From<CollatorProtocolMessage> for CollationGenerationOutgoingMessages"],["impl From<()> for AvailabilityRecoveryOutgoingMessages"],["impl From<NetworkBridgeRxMessage> for GossipSupportOutgoingMessages"],["impl From<AvailabilityDistributionOutgoingMessages> for AllMessages"],["impl From<BlockImportNotification<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>> for BlockInfo"],["impl From<AvailabilityRecoveryOutgoingMessages> for AllMessages"],["impl From<BitfieldSigningMessage> for AllMessages"],["impl From<()> for GossipSupportOutgoingMessages"],["impl From<()> for RuntimeApiOutgoingMessages"],["impl From<CollationGenerationMessage> for NetworkBridgeRxOutgoingMessages"],["impl From<StatementDistributionMessage> for NetworkBridgeRxOutgoingMessages"],["impl From<AvailabilityStoreMessage> for AvailabilityRecoveryOutgoingMessages"],["impl From<RuntimeApiMessage> for GossipSupportOutgoingMessages"],["impl From<ApprovalDistributionMessage> for NetworkBridgeRxOutgoingMessages"],["impl From<()> for DisputeCoordinatorOutgoingMessages"],["impl From<RuntimeApiMessage> for CandidateValidationOutgoingMessages"],["impl From<AvailabilityStoreMessage> for AllMessages"],["impl From<BitfieldDistributionMessage> for BitfieldSigningOutgoingMessages"],["impl From<NetworkBridgeTxMessage> for AvailabilityDistributionOutgoingMessages"],["impl From<BitfieldDistributionMessage> for NetworkBridgeRxOutgoingMessages"],["impl From<ChainApiMessage> for ApprovalVotingOutgoingMessages"],["impl From<ChainSelectionMessage> for GossipSupportOutgoingMessages"],["impl From<CandidateBackingMessage> for AllMessages"],["impl From<()> for ChainSelectionOutgoingMessages"],["impl From<ChainSelectionMessage> for AllMessages"],["impl From<ApprovalDistributionMessage> for ApprovalVotingOutgoingMessages"],["impl From<()> for NetworkBridgeRxOutgoingMessages"],["impl From<RuntimeApiMessage> for PvfCheckerOutgoingMessages"],["impl From<ChainApiOutgoingMessages> for AllMessages"],["impl From<BitfieldDistributionMessage> for AllMessages"],["impl From<CandidateValidationMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<GossipSupportMessage> for AllMessages"],["impl From<CandidateBackingMessage> for CollatorProtocolOutgoingMessages"],["impl From<ApprovalDistributionMessage> for AllMessages"],["impl From<RuntimeApiMessage> for BitfieldSigningOutgoingMessages"],["impl From<()> for NetworkBridgeTxOutgoingMessages"],["impl From<BitfieldSigningOutgoingMessages> for AllMessages"],["impl From<AvailabilityDistributionMessage> for AllMessages"],["impl From<ApprovalVotingMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<NetworkBridgeRxOutgoingMessages> for AllMessages"],["impl From<DisputeDistributionMessage> for NetworkBridgeRxOutgoingMessages"],["impl From<AvailabilityRecoveryMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<ChainApiMessage> for ChainSelectionOutgoingMessages"],["impl From<ChainSelectionMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<RuntimeApiMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<CandidateValidationMessage> for PvfCheckerOutgoingMessages"],["impl From<RuntimeApiMessage> for CandidateBackingOutgoingMessages"],["impl From<NetworkBridgeTxMessage> for BitfieldDistributionOutgoingMessages"],["impl From<RuntimeApiOutgoingMessages> for AllMessages"],["impl From<CollatorProtocolMessage> for AllMessages"],["impl From<RuntimeApiMessage> for StatementDistributionOutgoingMessages"],["impl From<AvailabilityDistributionMessage> for CandidateBackingOutgoingMessages"],["impl From<AvailabilityStoreMessage> for AvailabilityDistributionOutgoingMessages"],["impl From<StatementDistributionMessage> for AllMessages"],["impl From<AvailabilityStoreOutgoingMessages> for AllMessages"],["impl From<RuntimeApiMessage> for CollationGenerationOutgoingMessages"],["impl From<()> for ProvisionerOutgoingMessages"],["impl From<RuntimeApiMessage> for ProvisionerOutgoingMessages"],["impl From<ProvisionerOutgoingMessages> for AllMessages"]], "polkadot_parachain":[["impl From<Vec<u8, Global>> for BlockData"],["impl From<[u8; 32]> for ValidationCodeHash"],["impl From<Sibling> for u32"],["impl From<Id> for Sibling"],["impl From<Vec<u8, Global>> for HeadData"],["impl From<Compact<Id>> for Id"],["impl From<u32> for Sibling"],["impl From<H256> for ValidationCodeHash"],["impl From<u32> for Id"],["impl From<i32> for Id"],["impl From<Id> for u32"],["impl From<Sibling> for Id"],["impl From<Vec<u8, Global>> for ValidationCode"],["impl From<usize> for Id"]], @@ -20,7 +20,7 @@ "polkadot_runtime_parachains":[["impl<T: Config> From<Event<T>> for ()"],["impl<T: Config> From<Error<T>> for &'static str"],["impl From<Event> for ()"],["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Error<T>> for DispatchError"],["impl<T: Config> From<Error<T>> for &'static str"],["impl From<u32> for Origin"],["impl<T: Config> From<Error<T>> for DispatchError"],["impl<T: Config> From<Event<T>> for ()"],["impl<T: Config> From<Error<T>> for DispatchError"],["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Event<T>> for ()"],["impl<T: Config> From<Error<T>> for DispatchError"],["impl<T: Config> From<Error<T>> for DispatchError"],["impl<T: Config> From<Error<T>> for DispatchError"],["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Error<T>> for DispatchError"],["impl From<QueueDownwardMessageError> for SendError"]], "polkadot_service":[["impl From<Error> for Error"],["impl From<SubsystemError> for Error"],["impl From<AddrParseError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<JaegerError> for Error"],["impl From<Error> for Error"]], "polkadot_statement_distribution":[["impl From<Error> for Error"],["impl From<Error> for FatalError"],["impl From<FatalError> for Error"],["impl From<JfyiError> for Error"],["impl From<Error> for JfyiError"]], -"polkadot_statement_table":[["impl<'a, Ctx: Context> From<Drain<'a, <Ctx as Context>::AuthorityId, Vec<Misbehavior<<Ctx as Context>::Candidate, <Ctx as Context>::Digest, <Ctx as Context>::AuthorityId, <Ctx as Context>::Signature>, Global>>> for DrainMisbehaviors<'a, Ctx>"],["impl<'a> From<&'a Statement<CommittedCandidateReceipt<H256>, CandidateHash>> for PrimitiveStatement"]], +"polkadot_statement_table":[["impl<'a, Ctx: Context> From<Drain<'a, <Ctx as Context>::AuthorityId, Vec<Misbehavior<<Ctx as Context>::Candidate, <Ctx as Context>::Digest, <Ctx as Context>::AuthorityId, <Ctx as Context>::Signature>, Global>>> for DrainMisbehaviors<'a, Ctx>"],["impl<'a> From<&'a Statement<CommittedCandidateReceipt<H256>, CandidateHash>> for PrimitiveStatement"]], "polkadot_test_runtime":[["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime, ()>> for RuntimeError"],["impl From<Option<<Runtime as Config>::AccountId>> for RuntimeOrigin"],["impl From<Event> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<RuntimeOrigin> for Result<Origin, RuntimeOrigin>"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime, ()>> for RuntimeEvent"],["impl<T: Config> From<Error<T>> for DispatchError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Origin> for OriginCaller"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<OriginCaller> for RuntimeOrigin"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Origin> for RuntimeOrigin"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<RuntimeOrigin> for Result<Origin<Runtime>, RuntimeOrigin>"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl<T: Config> From<Event<T>> for ()"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<RawOrigin<<Runtime as Config>::AccountId>> for OriginCaller"],["impl From<Origin> for OriginCaller"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<RawOrigin<<Runtime as Config>::AccountId>> for RuntimeOrigin"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<RuntimeOrigin> for Result<Origin, RuntimeOrigin>"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl<T: Config> From<Error<T>> for &'static str"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime, ()> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Origin> for RuntimeOrigin"],["impl From<Error<Runtime>> for RuntimeError"]], "rococo_runtime":[["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime, ()>> for RuntimeEvent"],["impl From<Event<Runtime, ()>> for RuntimeEvent"],["impl From<Error<Runtime, ()>> for RuntimeError"],["impl From<RuntimeOrigin> for Result<Origin, RuntimeOrigin>"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime, Instance2> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Option<<Runtime as Config>::AccountId>> for RuntimeOrigin"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime, Instance2> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Error<Runtime, Instance1>> for RuntimeError"],["impl From<Event> for RuntimeEvent"],["impl From<<Pallet<Runtime, ()> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event> for RuntimeEvent"],["impl From<RuntimeOrigin> for Result<Origin<Runtime, Instance1>, RuntimeOrigin>"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime, ()> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<RawOrigin<<Runtime as Config>::AccountId, Instance1>> for RuntimeOrigin"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime, ()>> for RuntimeEvent"],["impl From<Error<Runtime, ()>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime, ()>> for RuntimeEvent"],["impl From<RuntimeOrigin> for Result<Origin, RuntimeOrigin>"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<RawOrigin<<Runtime as Config>::AccountId>> for RuntimeOrigin"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime, Instance1> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime, ()>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime, Instance1>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime, ()>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime, ()> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime, Instance1> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime, ()> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<RuntimeOrigin> for Result<Origin<Runtime>, RuntimeOrigin>"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime, Instance1>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime, ()>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<RawOrigin<<Runtime as Config>::AccountId, Instance1>> for OriginCaller"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<HoldReason> for RuntimeHoldReason"],["impl From<<Pallet<Runtime, ()> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime, Instance1>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Origin> for RuntimeOrigin"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<OriginCaller> for RuntimeOrigin"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime, ()>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<RawOrigin<<Runtime as Config>::AccountId>> for OriginCaller"],["impl From<Origin> for OriginCaller"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Origin> for RuntimeOrigin"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Origin> for OriginCaller"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"]], "staking_miner":[["impl<T: Config> From<MinerError> for Error<T>"],["impl<T: Config> From<Error> for Error<T>"],["impl From<Error> for RpcHelperError"],["impl<T: Config> From<SecretStringError> for Error<T>"],["impl<'a> From<&'a RuntimeVersion> for RuntimeWrapper<'a>"],["impl<T: Config> From<Error> for Error<T>"],["impl<T: Config> From<FeasibilityError> for Error<T>"],["impl<T: Config> From<ElectionError<T>> for Error<T>"],["impl<T: Config> From<RpcHelperError> for Error<T>"],["impl<T: Config> From<Error> for Error<T>"],["impl From<Error> for RpcHelperError"]], diff --git a/doc/implementors/core/convert/trait.Into.js b/doc/implementors/core/convert/trait.Into.js index 0d0f8daba9e8..06b5cca15129 100644 --- a/doc/implementors/core/convert/trait.Into.js +++ b/doc/implementors/core/convert/trait.Into.js @@ -1,5 +1,5 @@ (function() {var implementors = { "malus":[["impl Into<InvalidCandidate> for FakeCandidateValidationError"]], "polkadot_node_network_protocol":[["impl Into<ObservedRole> for ObservedRole"]], -"polkadot_statement_table":[["impl Into<ValidityAttestation> for ValidityAttestation<ValidatorSignature>"]] +"polkadot_statement_table":[["impl Into<ValidityAttestation> for ValidityAttestation<ValidatorSignature>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/core/iter/traits/collect/trait.FromIterator.js b/doc/implementors/core/iter/traits/collect/trait.FromIterator.js index 0abe47caf317..697809383e69 100644 --- a/doc/implementors/core/iter/traits/collect/trait.FromIterator.js +++ b/doc/implementors/core/iter/traits/collect/trait.FromIterator.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"polkadot_node_primitives":[["impl FromIterator<(ValidatorIndex, (ValidDisputeStatementKind, Signature))> for ValidCandidateVotes"]], +"polkadot_node_primitives":[["impl FromIterator<(ValidatorIndex, (ValidDisputeStatementKind, Signature))> for ValidCandidateVotes"]], "polkadot_primitives":[["impl<K, V> FromIterator<V> for IndexedVec<K, V>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/frame_support/traits/tokens/pay/trait.Pay.js b/doc/implementors/frame_support/traits/tokens/pay/trait.Pay.js index e4b96ec09c46..20c4e6f080b8 100644 --- a/doc/implementors/frame_support/traits/tokens/pay/trait.Pay.js +++ b/doc/implementors/frame_support/traits/tokens/pay/trait.Pay.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"xcm_builder":[["impl<Interior: Get<InteriorMultiLocation>, Router: SendXcm, Querier: QueryHandler, Timeout: Get<Querier::BlockNumber>, Beneficiary: Clone, AssetKind, AssetKindToLocatableAsset: Convert<AssetKind, LocatableAssetId>, BeneficiaryRefToLocation: for<'a> Convert<&'a Beneficiary, MultiLocation>> Pay for PayOverXcm<Interior, Router, Querier, Timeout, Beneficiary, AssetKind, AssetKindToLocatableAsset, BeneficiaryRefToLocation>"]] +"xcm_builder":[["impl<Interior: Get<InteriorMultiLocation>, Router: SendXcm, Querier: QueryHandler, Timeout: Get<Querier::BlockNumber>, Beneficiary: Clone, AssetKind, AssetKindToLocatableAsset: Convert<AssetKind, LocatableAssetId>, BeneficiaryRefToLocation: for<'a> Convert<&'a Beneficiary, MultiLocation>> Pay for PayOverXcm<Interior, Router, Querier, Timeout, Beneficiary, AssetKind, AssetKindToLocatableAsset, BeneficiaryRefToLocation>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/polkadot_primitives/v5/signed/trait.EncodeAs.js b/doc/implementors/polkadot_primitives/v5/signed/trait.EncodeAs.js index e00c94fc69c4..201be8afab50 100644 --- a/doc/implementors/polkadot_primitives/v5/signed/trait.EncodeAs.js +++ b/doc/implementors/polkadot_primitives/v5/signed/trait.EncodeAs.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"polkadot_node_primitives":[["impl EncodeAs<CompactStatement> for Statement"]], +"polkadot_node_primitives":[["impl EncodeAs<CompactStatement> for Statement"]], "polkadot_primitives":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/xcm/v3/traits/trait.SendXcm.js b/doc/implementors/xcm/v3/traits/trait.SendXcm.js index 2f3eddec4c1c..af3874e05c0e 100644 --- a/doc/implementors/xcm/v3/traits/trait.SendXcm.js +++ b/doc/implementors/xcm/v3/traits/trait.SendXcm.js @@ -2,7 +2,7 @@ "polkadot_runtime_common":[["impl<T: Config + Config, W: WrapVersion, P: PriceForParachainDelivery> SendXcm for ChildParachainRouter<T, W, P>"]], "polkadot_test_runtime":[["impl SendXcm for DoNothingRouter"]], "xcm":[], -"xcm_builder":[["impl<Inner: SendXcm, TopicSource: SourceTopic> SendXcm for WithTopicSource<Inner, TopicSource>"],["impl<Exporter: ExportXcm, UniversalLocation: Get<InteriorMultiLocation>> SendXcm for UnpaidLocalExporter<Exporter, UniversalLocation>"],["impl<Inner: SendXcm> SendXcm for WithUniqueTopic<Inner>"],["impl<Bridges: ExporterFor, Router: SendXcm, UniversalLocation: Get<InteriorMultiLocation>> SendXcm for SovereignPaidRemoteExporter<Bridges, Router, UniversalLocation>"],["impl<Bridges: ExporterFor, Router: SendXcm, UniversalLocation: Get<InteriorMultiLocation>> SendXcm for UnpaidRemoteExporter<Bridges, Router, UniversalLocation>"]], +"xcm_builder":[["impl<Inner: SendXcm, TopicSource: SourceTopic> SendXcm for WithTopicSource<Inner, TopicSource>"],["impl<Exporter: ExportXcm, UniversalLocation: Get<InteriorMultiLocation>> SendXcm for UnpaidLocalExporter<Exporter, UniversalLocation>"],["impl<Inner: SendXcm> SendXcm for WithUniqueTopic<Inner>"],["impl<Bridges: ExporterFor, Router: SendXcm, UniversalLocation: Get<InteriorMultiLocation>> SendXcm for SovereignPaidRemoteExporter<Bridges, Router, UniversalLocation>"],["impl<Bridges: ExporterFor, Router: SendXcm, UniversalLocation: Get<InteriorMultiLocation>> SendXcm for UnpaidRemoteExporter<Bridges, Router, UniversalLocation>"]], "xcm_fuzzer":[["impl<T: Get<ParaId>> SendXcm for ParachainXcmRouter<T>"],["impl SendXcm for RelayChainXcmRouter"]], "xcm_simulator":[], "xcm_simulator_example":[["impl<T: Get<ParaId>> SendXcm for ParachainXcmRouter<T>"],["impl SendXcm for RelayChainXcmRouter"]] diff --git a/doc/implementors/xcm_executor/traits/asset_lock/trait.AssetLock.js b/doc/implementors/xcm_executor/traits/asset_lock/trait.AssetLock.js index 12b800eebe2d..7d4983865869 100644 --- a/doc/implementors/xcm_executor/traits/asset_lock/trait.AssetLock.js +++ b/doc/implementors/xcm_executor/traits/asset_lock/trait.AssetLock.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"pallet_xcm":[["impl<T: Config> AssetLock for Pallet<T>"]], +"pallet_xcm":[["impl<T: Config> AssetLock for Pallet<T>"]], "xcm_builder":[["impl AssetLock for TestAssetLocker"]], "xcm_executor":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/xcm_executor/traits/asset_lock/trait.Enact.js b/doc/implementors/xcm_executor/traits/asset_lock/trait.Enact.js index 549ce006fef3..22826342d4e3 100644 --- a/doc/implementors/xcm_executor/traits/asset_lock/trait.Enact.js +++ b/doc/implementors/xcm_executor/traits/asset_lock/trait.Enact.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"pallet_xcm":[["impl<T: Config> Enact for LockTicket<T>"],["impl<T: Config> Enact for ReduceTicket<T>"],["impl<T: Config> Enact for UnlockTicket<T>"]], +"pallet_xcm":[["impl<T: Config> Enact for LockTicket<T>"],["impl<T: Config> Enact for ReduceTicket<T>"],["impl<T: Config> Enact for UnlockTicket<T>"]], "xcm_builder":[["impl Enact for TestUnlockTicket"],["impl Enact for TestReduceTicket"],["impl Enact for TestLockTicket"]], "xcm_executor":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/xcm_executor/traits/conversion/trait.ConvertLocation.js b/doc/implementors/xcm_executor/traits/conversion/trait.ConvertLocation.js index f6697cc03098..4559cee12f93 100644 --- a/doc/implementors/xcm_executor/traits/conversion/trait.ConvertLocation.js +++ b/doc/implementors/xcm_executor/traits/conversion/trait.ConvertLocation.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"xcm_builder":[["impl<ParaId: From<u32> + Into<u32> + AccountIdConversion<AccountId>, AccountId: Clone> ConvertLocation<AccountId> for ChildParachainConvertsVia<ParaId, AccountId>"],["impl<UniversalLocation: Get<InteriorMultiLocation>, AccountId: From<[u8; 32]> + Clone> ConvertLocation<AccountId> for GlobalConsensusParachainConvertsFor<UniversalLocation, AccountId>"],["impl<Network: Get<Option<NetworkId>>, AccountId: From<[u8; 20]> + Into<[u8; 20]> + Clone> ConvertLocation<AccountId> for AccountKey20Aliases<Network, AccountId>"],["impl<UniversalLocation: Get<InteriorMultiLocation>, AccountId: From<[u8; 32]> + Clone> ConvertLocation<AccountId> for GlobalConsensusConvertsFor<UniversalLocation, AccountId>"],["impl<AccountId: Decode + Eq + Clone> ConvertLocation<AccountId> for ParentIsPreset<AccountId>"],["impl<ParaId: From<u32> + Into<u32> + AccountIdConversion<AccountId>, AccountId: Clone> ConvertLocation<AccountId> for SiblingParachainConvertsVia<ParaId, AccountId>"],["impl<AccountId: From<[u8; 32]> + Clone, Describe: DescribeLocation> ConvertLocation<AccountId> for HashedDescription<AccountId, Describe>"],["impl<Network: Get<Option<NetworkId>>, AccountId: From<[u8; 32]> + Into<[u8; 32]> + Clone> ConvertLocation<AccountId> for Account32Hash<Network, AccountId>"],["impl<Network: Get<Option<NetworkId>>, AccountId: From<[u8; 32]> + Into<[u8; 32]> + Clone> ConvertLocation<AccountId> for AccountId32Aliases<Network, AccountId>"]], +"xcm_builder":[["impl<ParaId: From<u32> + Into<u32> + AccountIdConversion<AccountId>, AccountId: Clone> ConvertLocation<AccountId> for ChildParachainConvertsVia<ParaId, AccountId>"],["impl<UniversalLocation: Get<InteriorMultiLocation>, AccountId: From<[u8; 32]> + Clone> ConvertLocation<AccountId> for GlobalConsensusParachainConvertsFor<UniversalLocation, AccountId>"],["impl<Network: Get<Option<NetworkId>>, AccountId: From<[u8; 20]> + Into<[u8; 20]> + Clone> ConvertLocation<AccountId> for AccountKey20Aliases<Network, AccountId>"],["impl<UniversalLocation: Get<InteriorMultiLocation>, AccountId: From<[u8; 32]> + Clone> ConvertLocation<AccountId> for GlobalConsensusConvertsFor<UniversalLocation, AccountId>"],["impl<AccountId: Decode + Eq + Clone> ConvertLocation<AccountId> for ParentIsPreset<AccountId>"],["impl<ParaId: From<u32> + Into<u32> + AccountIdConversion<AccountId>, AccountId: Clone> ConvertLocation<AccountId> for SiblingParachainConvertsVia<ParaId, AccountId>"],["impl<AccountId: From<[u8; 32]> + Clone, Describe: DescribeLocation> ConvertLocation<AccountId> for HashedDescription<AccountId, Describe>"],["impl<Network: Get<Option<NetworkId>>, AccountId: From<[u8; 32]> + Into<[u8; 32]> + Clone> ConvertLocation<AccountId> for Account32Hash<Network, AccountId>"],["impl<Network: Get<Option<NetworkId>>, AccountId: From<[u8; 32]> + Into<[u8; 32]> + Clone> ConvertLocation<AccountId> for AccountId32Aliases<Network, AccountId>"]], "xcm_executor":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/xcm_executor/traits/conversion/trait.ConvertOrigin.js b/doc/implementors/xcm_executor/traits/conversion/trait.ConvertOrigin.js index 01fc88fa8f83..4c4a2d2acb7f 100644 --- a/doc/implementors/xcm_executor/traits/conversion/trait.ConvertOrigin.js +++ b/doc/implementors/xcm_executor/traits/conversion/trait.ConvertOrigin.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"pallet_xcm":[["impl<RuntimeOrigin: From<Origin>> ConvertOrigin<RuntimeOrigin> for XcmPassthrough<RuntimeOrigin>"]], -"xcm_builder":[["impl<RuntimeOrigin: OriginTrait> ConvertOrigin<RuntimeOrigin> for ParentAsSuperuser<RuntimeOrigin>"],["impl<Network: Get<Option<NetworkId>>, RuntimeOrigin: OriginTrait> ConvertOrigin<RuntimeOrigin> for SignedAccountKey20AsNative<Network, RuntimeOrigin>where\n RuntimeOrigin::AccountId: From<[u8; 20]>,"],["impl<Network: Get<Option<NetworkId>>, RuntimeOrigin: OriginTrait> ConvertOrigin<RuntimeOrigin> for SignedAccountId32AsNative<Network, RuntimeOrigin>where\n RuntimeOrigin::AccountId: From<[u8; 32]>,"],["impl<LocationConverter: ConvertLocation<RuntimeOrigin::AccountId>, RuntimeOrigin: OriginTrait> ConvertOrigin<RuntimeOrigin> for SovereignSignedViaLocation<LocationConverter, RuntimeOrigin>where\n RuntimeOrigin::AccountId: Clone,"],["impl<ParachainOrigin: From<u32>, RuntimeOrigin: From<ParachainOrigin>> ConvertOrigin<RuntimeOrigin> for ChildParachainAsNative<ParachainOrigin, RuntimeOrigin>"],["impl<ParaId: IsSystem + From<u32>, RuntimeOrigin: OriginTrait> ConvertOrigin<RuntimeOrigin> for SiblingSystemParachainAsSuperuser<ParaId, RuntimeOrigin>"],["impl<ParachainOrigin: From<u32>, RuntimeOrigin: From<ParachainOrigin>> ConvertOrigin<RuntimeOrigin> for SiblingParachainAsNative<ParachainOrigin, RuntimeOrigin>"],["impl<ParaId: IsSystem + From<u32>, RuntimeOrigin: OriginTrait> ConvertOrigin<RuntimeOrigin> for ChildSystemParachainAsSuperuser<ParaId, RuntimeOrigin>"],["impl<RelayOrigin: Get<RuntimeOrigin>, RuntimeOrigin> ConvertOrigin<RuntimeOrigin> for RelayChainAsNative<RelayOrigin, RuntimeOrigin>"]], +"pallet_xcm":[["impl<RuntimeOrigin: From<Origin>> ConvertOrigin<RuntimeOrigin> for XcmPassthrough<RuntimeOrigin>"]], +"xcm_builder":[["impl<RuntimeOrigin: OriginTrait> ConvertOrigin<RuntimeOrigin> for ParentAsSuperuser<RuntimeOrigin>"],["impl<Network: Get<Option<NetworkId>>, RuntimeOrigin: OriginTrait> ConvertOrigin<RuntimeOrigin> for SignedAccountKey20AsNative<Network, RuntimeOrigin>where\n RuntimeOrigin::AccountId: From<[u8; 20]>,"],["impl<Network: Get<Option<NetworkId>>, RuntimeOrigin: OriginTrait> ConvertOrigin<RuntimeOrigin> for SignedAccountId32AsNative<Network, RuntimeOrigin>where\n RuntimeOrigin::AccountId: From<[u8; 32]>,"],["impl<LocationConverter: ConvertLocation<RuntimeOrigin::AccountId>, RuntimeOrigin: OriginTrait> ConvertOrigin<RuntimeOrigin> for SovereignSignedViaLocation<LocationConverter, RuntimeOrigin>where\n RuntimeOrigin::AccountId: Clone,"],["impl<ParachainOrigin: From<u32>, RuntimeOrigin: From<ParachainOrigin>> ConvertOrigin<RuntimeOrigin> for ChildParachainAsNative<ParachainOrigin, RuntimeOrigin>"],["impl<ParaId: IsSystem + From<u32>, RuntimeOrigin: OriginTrait> ConvertOrigin<RuntimeOrigin> for SiblingSystemParachainAsSuperuser<ParaId, RuntimeOrigin>"],["impl<ParachainOrigin: From<u32>, RuntimeOrigin: From<ParachainOrigin>> ConvertOrigin<RuntimeOrigin> for SiblingParachainAsNative<ParachainOrigin, RuntimeOrigin>"],["impl<ParaId: IsSystem + From<u32>, RuntimeOrigin: OriginTrait> ConvertOrigin<RuntimeOrigin> for ChildSystemParachainAsSuperuser<ParaId, RuntimeOrigin>"],["impl<RelayOrigin: Get<RuntimeOrigin>, RuntimeOrigin> ConvertOrigin<RuntimeOrigin> for RelayChainAsNative<RelayOrigin, RuntimeOrigin>"]], "xcm_executor":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/xcm_executor/traits/drop_assets/trait.ClaimAssets.js b/doc/implementors/xcm_executor/traits/drop_assets/trait.ClaimAssets.js index 3ab91f862f95..d198ea6e8d15 100644 --- a/doc/implementors/xcm_executor/traits/drop_assets/trait.ClaimAssets.js +++ b/doc/implementors/xcm_executor/traits/drop_assets/trait.ClaimAssets.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"pallet_xcm":[["impl<T: Config> ClaimAssets for Pallet<T>"]], -"xcm_builder":[["impl ClaimAssets for TestAssetTrap"]], +"pallet_xcm":[["impl<T: Config> ClaimAssets for Pallet<T>"]], +"xcm_builder":[["impl ClaimAssets for TestAssetTrap"]], "xcm_executor":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/xcm_executor/traits/drop_assets/trait.DropAssets.js b/doc/implementors/xcm_executor/traits/drop_assets/trait.DropAssets.js index 4c1bb1727825..2bbba8958d4c 100644 --- a/doc/implementors/xcm_executor/traits/drop_assets/trait.DropAssets.js +++ b/doc/implementors/xcm_executor/traits/drop_assets/trait.DropAssets.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"pallet_xcm":[["impl<T: Config> DropAssets for Pallet<T>"]], -"xcm_builder":[["impl DropAssets for TestAssetTrap"]], +"pallet_xcm":[["impl<T: Config> DropAssets for Pallet<T>"]], +"xcm_builder":[["impl DropAssets for TestAssetTrap"]], "xcm_executor":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/xcm_executor/traits/export/trait.ExportXcm.js b/doc/implementors/xcm_executor/traits/export/trait.ExportXcm.js index d863fb0e63c9..7dbe3451bae9 100644 --- a/doc/implementors/xcm_executor/traits/export/trait.ExportXcm.js +++ b/doc/implementors/xcm_executor/traits/export/trait.ExportXcm.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"xcm_builder":[["impl<Bridge: HaulBlob, BridgedNetwork: Get<NetworkId>, Price: Get<MultiAssets>> ExportXcm for HaulBlobExporter<Bridge, BridgedNetwork, Price>"]], +"xcm_builder":[["impl<Bridge: HaulBlob, BridgedNetwork: Get<NetworkId>, Price: Get<MultiAssets>> ExportXcm for HaulBlobExporter<Bridge, BridgedNetwork, Price>"]], "xcm_executor":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/xcm_executor/traits/on_response/trait.OnResponse.js b/doc/implementors/xcm_executor/traits/on_response/trait.OnResponse.js index 3c6201304e9a..cdbefc11d1d7 100644 --- a/doc/implementors/xcm_executor/traits/on_response/trait.OnResponse.js +++ b/doc/implementors/xcm_executor/traits/on_response/trait.OnResponse.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"pallet_xcm":[["impl<T: Config> OnResponse for Pallet<T>"]], +"pallet_xcm":[["impl<T: Config> OnResponse for Pallet<T>"]], "xcm_builder":[], "xcm_executor":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/xcm_executor/traits/on_response/trait.QueryHandler.js b/doc/implementors/xcm_executor/traits/on_response/trait.QueryHandler.js index 9a124c402160..4706a57f4bd8 100644 --- a/doc/implementors/xcm_executor/traits/on_response/trait.QueryHandler.js +++ b/doc/implementors/xcm_executor/traits/on_response/trait.QueryHandler.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"pallet_xcm":[["impl<T: Config> QueryHandler for Pallet<T>"]] +"pallet_xcm":[["impl<T: Config> QueryHandler for Pallet<T>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/xcm_executor/traits/on_response/trait.VersionChangeNotifier.js b/doc/implementors/xcm_executor/traits/on_response/trait.VersionChangeNotifier.js index 86e883ad43c2..ea52bd5fcf35 100644 --- a/doc/implementors/xcm_executor/traits/on_response/trait.VersionChangeNotifier.js +++ b/doc/implementors/xcm_executor/traits/on_response/trait.VersionChangeNotifier.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"pallet_xcm":[["impl<T: Config> VersionChangeNotifier for Pallet<T>"]], -"xcm_builder":[["impl VersionChangeNotifier for TestSubscriptionService"]], +"pallet_xcm":[["impl<T: Config> VersionChangeNotifier for Pallet<T>"]], +"xcm_builder":[["impl VersionChangeNotifier for TestSubscriptionService"]], "xcm_executor":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/xcm_executor/traits/should_execute/trait.CheckSuspension.js b/doc/implementors/xcm_executor/traits/should_execute/trait.CheckSuspension.js index a7bae538c70c..c72c394dc143 100644 --- a/doc/implementors/xcm_executor/traits/should_execute/trait.CheckSuspension.js +++ b/doc/implementors/xcm_executor/traits/should_execute/trait.CheckSuspension.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"pallet_xcm":[["impl<T: Config> CheckSuspension for Pallet<T>"]], +"pallet_xcm":[["impl<T: Config> CheckSuspension for Pallet<T>"]], "xcm_executor":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/xcm_executor/traits/should_execute/trait.ShouldExecute.js b/doc/implementors/xcm_executor/traits/should_execute/trait.ShouldExecute.js index a3f14f7efa6f..0cb4dfdbcc6e 100644 --- a/doc/implementors/xcm_executor/traits/should_execute/trait.ShouldExecute.js +++ b/doc/implementors/xcm_executor/traits/should_execute/trait.ShouldExecute.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"xcm_builder":[["impl<T: Contains<MultiLocation>> ShouldExecute for AllowSubscriptionsFrom<T>"],["impl<Deny, Allow> ShouldExecute for DenyThenTry<Deny, Allow>where\n Deny: ShouldExecute,\n Allow: ShouldExecute,"],["impl<T: Contains<MultiLocation>> ShouldExecute for AllowUnpaidExecutionFrom<T>"],["impl ShouldExecute for DenyReserveTransferToRelayChain"],["impl<ResponseHandler: OnResponse> ShouldExecute for AllowKnownQueryResponses<ResponseHandler>"],["impl<T: Contains<MultiLocation>> ShouldExecute for AllowExplicitUnpaidExecutionFrom<T>"],["impl ShouldExecute for TakeWeightCredit"],["impl<T: Contains<MultiLocation>> ShouldExecute for AllowTopLevelPaidExecutionFrom<T>"],["impl<Inner, SuspensionChecker> ShouldExecute for RespectSuspension<Inner, SuspensionChecker>where\n Inner: ShouldExecute,\n SuspensionChecker: CheckSuspension,"],["impl<InnerBarrier: ShouldExecute, LocalUniversal: Get<InteriorMultiLocation>, MaxPrefixes: Get<u32>> ShouldExecute for WithComputedOrigin<InnerBarrier, LocalUniversal, MaxPrefixes>"],["impl<InnerBarrier: ShouldExecute> ShouldExecute for TrailingSetTopicAsId<InnerBarrier>"]], +"xcm_builder":[["impl<T: Contains<MultiLocation>> ShouldExecute for AllowSubscriptionsFrom<T>"],["impl<Deny, Allow> ShouldExecute for DenyThenTry<Deny, Allow>where\n Deny: ShouldExecute,\n Allow: ShouldExecute,"],["impl<T: Contains<MultiLocation>> ShouldExecute for AllowUnpaidExecutionFrom<T>"],["impl ShouldExecute for DenyReserveTransferToRelayChain"],["impl<ResponseHandler: OnResponse> ShouldExecute for AllowKnownQueryResponses<ResponseHandler>"],["impl<T: Contains<MultiLocation>> ShouldExecute for AllowExplicitUnpaidExecutionFrom<T>"],["impl ShouldExecute for TakeWeightCredit"],["impl<T: Contains<MultiLocation>> ShouldExecute for AllowTopLevelPaidExecutionFrom<T>"],["impl<Inner, SuspensionChecker> ShouldExecute for RespectSuspension<Inner, SuspensionChecker>where\n Inner: ShouldExecute,\n SuspensionChecker: CheckSuspension,"],["impl<InnerBarrier: ShouldExecute, LocalUniversal: Get<InteriorMultiLocation>, MaxPrefixes: Get<u32>> ShouldExecute for WithComputedOrigin<InnerBarrier, LocalUniversal, MaxPrefixes>"],["impl<InnerBarrier: ShouldExecute> ShouldExecute for TrailingSetTopicAsId<InnerBarrier>"]], "xcm_executor":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/xcm_executor/traits/token_matching/trait.MatchesFungible.js b/doc/implementors/xcm_executor/traits/token_matching/trait.MatchesFungible.js index 1b383725867a..e60bf1c56c70 100644 --- a/doc/implementors/xcm_executor/traits/token_matching/trait.MatchesFungible.js +++ b/doc/implementors/xcm_executor/traits/token_matching/trait.MatchesFungible.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"xcm_builder":[["impl<T: Get<[u8; 32]>, B: TryFrom<u128>> MatchesFungible<B> for IsAbstract<T>"],["impl<T: Get<MultiLocation>, B: TryFrom<u128>> MatchesFungible<B> for IsConcrete<T>"]], +"xcm_builder":[["impl<T: Get<[u8; 32]>, B: TryFrom<u128>> MatchesFungible<B> for IsAbstract<T>"],["impl<T: Get<MultiLocation>, B: TryFrom<u128>> MatchesFungible<B> for IsConcrete<T>"]], "xcm_executor":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/xcm_executor/traits/token_matching/trait.MatchesFungibles.js b/doc/implementors/xcm_executor/traits/token_matching/trait.MatchesFungibles.js index 8072bca1599c..95da69ca4632 100644 --- a/doc/implementors/xcm_executor/traits/token_matching/trait.MatchesFungibles.js +++ b/doc/implementors/xcm_executor/traits/token_matching/trait.MatchesFungibles.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"xcm_builder":[["impl<AssetId: Clone, Balance: Clone, ConvertAssetId: MaybeEquivalence<[u8; 32], AssetId>, ConvertBalance: MaybeEquivalence<u128, Balance>> MatchesFungibles<AssetId, Balance> for ConvertedAbstractId<AssetId, Balance, ConvertAssetId, ConvertBalance>"],["impl<AssetId: Clone, Balance: Clone, ConvertAssetId: MaybeEquivalence<MultiLocation, AssetId>, ConvertBalance: MaybeEquivalence<u128, Balance>> MatchesFungibles<AssetId, Balance> for ConvertedConcreteId<AssetId, Balance, ConvertAssetId, ConvertBalance>"],["impl<AssetId: Clone, Balance: Clone, MatchAssetId: Contains<MultiLocation>, ConvertAssetId: MaybeEquivalence<MultiLocation, AssetId>, ConvertBalance: MaybeEquivalence<u128, Balance>> MatchesFungibles<AssetId, Balance> for MatchedConvertedConcreteId<AssetId, Balance, MatchAssetId, ConvertAssetId, ConvertBalance>"]], +"xcm_builder":[["impl<AssetId: Clone, Balance: Clone, ConvertAssetId: MaybeEquivalence<[u8; 32], AssetId>, ConvertBalance: MaybeEquivalence<u128, Balance>> MatchesFungibles<AssetId, Balance> for ConvertedAbstractId<AssetId, Balance, ConvertAssetId, ConvertBalance>"],["impl<AssetId: Clone, Balance: Clone, ConvertAssetId: MaybeEquivalence<MultiLocation, AssetId>, ConvertBalance: MaybeEquivalence<u128, Balance>> MatchesFungibles<AssetId, Balance> for ConvertedConcreteId<AssetId, Balance, ConvertAssetId, ConvertBalance>"],["impl<AssetId: Clone, Balance: Clone, MatchAssetId: Contains<MultiLocation>, ConvertAssetId: MaybeEquivalence<MultiLocation, AssetId>, ConvertBalance: MaybeEquivalence<u128, Balance>> MatchesFungibles<AssetId, Balance> for MatchedConvertedConcreteId<AssetId, Balance, MatchAssetId, ConvertAssetId, ConvertBalance>"]], "xcm_executor":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/xcm_executor/traits/token_matching/trait.MatchesNonFungible.js b/doc/implementors/xcm_executor/traits/token_matching/trait.MatchesNonFungible.js index 3ac9cc19e8b8..5cd2348a394e 100644 --- a/doc/implementors/xcm_executor/traits/token_matching/trait.MatchesNonFungible.js +++ b/doc/implementors/xcm_executor/traits/token_matching/trait.MatchesNonFungible.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"xcm_builder":[["impl<T: Get<[u8; 32]>, B: TryFrom<AssetInstance>> MatchesNonFungible<B> for IsAbstract<T>"],["impl<T: Get<MultiLocation>, I: TryFrom<AssetInstance>> MatchesNonFungible<I> for IsConcrete<T>"]], +"xcm_builder":[["impl<T: Get<[u8; 32]>, B: TryFrom<AssetInstance>> MatchesNonFungible<B> for IsAbstract<T>"],["impl<T: Get<MultiLocation>, I: TryFrom<AssetInstance>> MatchesNonFungible<I> for IsConcrete<T>"]], "xcm_executor":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/xcm_executor/traits/token_matching/trait.MatchesNonFungibles.js b/doc/implementors/xcm_executor/traits/token_matching/trait.MatchesNonFungibles.js index 467026ebf04f..b928e55b721f 100644 --- a/doc/implementors/xcm_executor/traits/token_matching/trait.MatchesNonFungibles.js +++ b/doc/implementors/xcm_executor/traits/token_matching/trait.MatchesNonFungibles.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"xcm_builder":[["impl<ClassId: Clone, InstanceId: Clone, ConvertClassId: MaybeEquivalence<MultiLocation, ClassId>, ConvertInstanceId: MaybeEquivalence<AssetInstance, InstanceId>> MatchesNonFungibles<ClassId, InstanceId> for ConvertedConcreteId<ClassId, InstanceId, ConvertClassId, ConvertInstanceId>"],["impl<ClassId: Clone, InstanceId: Clone, MatchClassId: Contains<MultiLocation>, ConvertClassId: MaybeEquivalence<MultiLocation, ClassId>, ConvertInstanceId: MaybeEquivalence<AssetInstance, InstanceId>> MatchesNonFungibles<ClassId, InstanceId> for MatchedConvertedConcreteId<ClassId, InstanceId, MatchClassId, ConvertClassId, ConvertInstanceId>"],["impl<ClassId: Clone, InstanceId: Clone, ConvertClassId: MaybeEquivalence<[u8; 32], ClassId>, ConvertInstanceId: MaybeEquivalence<AssetInstance, InstanceId>> MatchesNonFungibles<ClassId, InstanceId> for ConvertedAbstractId<ClassId, InstanceId, ConvertClassId, ConvertInstanceId>"]], +"xcm_builder":[["impl<ClassId: Clone, InstanceId: Clone, ConvertClassId: MaybeEquivalence<MultiLocation, ClassId>, ConvertInstanceId: MaybeEquivalence<AssetInstance, InstanceId>> MatchesNonFungibles<ClassId, InstanceId> for ConvertedConcreteId<ClassId, InstanceId, ConvertClassId, ConvertInstanceId>"],["impl<ClassId: Clone, InstanceId: Clone, MatchClassId: Contains<MultiLocation>, ConvertClassId: MaybeEquivalence<MultiLocation, ClassId>, ConvertInstanceId: MaybeEquivalence<AssetInstance, InstanceId>> MatchesNonFungibles<ClassId, InstanceId> for MatchedConvertedConcreteId<ClassId, InstanceId, MatchClassId, ConvertClassId, ConvertInstanceId>"],["impl<ClassId: Clone, InstanceId: Clone, ConvertClassId: MaybeEquivalence<[u8; 32], ClassId>, ConvertInstanceId: MaybeEquivalence<AssetInstance, InstanceId>> MatchesNonFungibles<ClassId, InstanceId> for ConvertedAbstractId<ClassId, InstanceId, ConvertClassId, ConvertInstanceId>"]], "xcm_executor":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/xcm_executor/traits/transact_asset/trait.TransactAsset.js b/doc/implementors/xcm_executor/traits/transact_asset/trait.TransactAsset.js index 5331607f818a..887ffa435db2 100644 --- a/doc/implementors/xcm_executor/traits/transact_asset/trait.TransactAsset.js +++ b/doc/implementors/xcm_executor/traits/transact_asset/trait.TransactAsset.js @@ -1,5 +1,5 @@ (function() {var implementors = { "polkadot_test_runtime":[["impl TransactAsset for DummyAssetTransactor"]], -"xcm_builder":[["impl<Assets: Mutate<AccountId>, Matcher: MatchesNonFungibles<Assets::CollectionId, Assets::ItemId>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone + Eq, CheckAsset: AssetChecking<Assets::CollectionId>, CheckingAccount: Get<Option<AccountId>>> TransactAsset for NonFungiblesMutateAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>"],["impl<Assets: Transfer<AccountId>, Matcher: MatchesNonFungibles<Assets::CollectionId, Assets::ItemId>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone> TransactAsset for NonFungiblesTransferAdapter<Assets, Matcher, AccountIdConverter, AccountId>"],["impl<Assets: Mutate<AccountId> + Transfer<AccountId>, Matcher: MatchesNonFungibles<Assets::CollectionId, Assets::ItemId>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone + Eq, CheckAsset: AssetChecking<Assets::CollectionId>, CheckingAccount: Get<Option<AccountId>>> TransactAsset for NonFungiblesAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>"],["impl<Assets: Mutate<AccountId>, Matcher: MatchesFungibles<Assets::AssetId, Assets::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone, CheckAsset: AssetChecking<Assets::AssetId>, CheckingAccount: Get<AccountId>> TransactAsset for FungiblesAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>"],["impl<Assets: Mutate<AccountId>, Matcher: MatchesFungibles<Assets::AssetId, Assets::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone, CheckAsset: AssetChecking<Assets::AssetId>, CheckingAccount: Get<AccountId>> TransactAsset for FungiblesMutateAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>"],["impl<Currency: Currency<AccountId>, Matcher: MatchesFungible<Currency::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone, CheckedAccount: Get<Option<(AccountId, MintLocation)>>> TransactAsset for CurrencyAdapter<Currency, Matcher, AccountIdConverter, AccountId, CheckedAccount>"],["impl<Assets: Mutate<AccountId>, Matcher: MatchesFungibles<Assets::AssetId, Assets::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone> TransactAsset for FungiblesTransferAdapter<Assets, Matcher, AccountIdConverter, AccountId>"]], +"xcm_builder":[["impl<Assets: Mutate<AccountId>, Matcher: MatchesNonFungibles<Assets::CollectionId, Assets::ItemId>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone + Eq, CheckAsset: AssetChecking<Assets::CollectionId>, CheckingAccount: Get<Option<AccountId>>> TransactAsset for NonFungiblesMutateAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>"],["impl<Assets: Transfer<AccountId>, Matcher: MatchesNonFungibles<Assets::CollectionId, Assets::ItemId>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone> TransactAsset for NonFungiblesTransferAdapter<Assets, Matcher, AccountIdConverter, AccountId>"],["impl<Assets: Mutate<AccountId> + Transfer<AccountId>, Matcher: MatchesNonFungibles<Assets::CollectionId, Assets::ItemId>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone + Eq, CheckAsset: AssetChecking<Assets::CollectionId>, CheckingAccount: Get<Option<AccountId>>> TransactAsset for NonFungiblesAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>"],["impl<Assets: Mutate<AccountId>, Matcher: MatchesFungibles<Assets::AssetId, Assets::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone, CheckAsset: AssetChecking<Assets::AssetId>, CheckingAccount: Get<AccountId>> TransactAsset for FungiblesAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>"],["impl<Assets: Mutate<AccountId>, Matcher: MatchesFungibles<Assets::AssetId, Assets::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone, CheckAsset: AssetChecking<Assets::AssetId>, CheckingAccount: Get<AccountId>> TransactAsset for FungiblesMutateAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>"],["impl<Currency: Currency<AccountId>, Matcher: MatchesFungible<Currency::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone, CheckedAccount: Get<Option<(AccountId, MintLocation)>>> TransactAsset for CurrencyAdapter<Currency, Matcher, AccountIdConverter, AccountId, CheckedAccount>"],["impl<Assets: Mutate<AccountId>, Matcher: MatchesFungibles<Assets::AssetId, Assets::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone> TransactAsset for FungiblesTransferAdapter<Assets, Matcher, AccountIdConverter, AccountId>"]], "xcm_executor":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/xcm_executor/traits/weight/trait.WeightBounds.js b/doc/implementors/xcm_executor/traits/weight/trait.WeightBounds.js index b7b12032273f..300828c957a5 100644 --- a/doc/implementors/xcm_executor/traits/weight/trait.WeightBounds.js +++ b/doc/implementors/xcm_executor/traits/weight/trait.WeightBounds.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"xcm_builder":[["impl<T: Get<Weight>, C: Decode + GetDispatchInfo, M: Get<u32>> WeightBounds<C> for FixedWeightBounds<T, C, M>"],["impl<W, C, M> WeightBounds<C> for WeightInfoBounds<W, C, M>where\n W: XcmWeightInfo<C>,\n C: Decode + GetDispatchInfo,\n M: Get<u32>,\n Instruction<C>: GetWeight<W>,"]] +"xcm_builder":[["impl<T: Get<Weight>, C: Decode + GetDispatchInfo, M: Get<u32>> WeightBounds<C> for FixedWeightBounds<T, C, M>"],["impl<W, C, M> WeightBounds<C> for WeightInfoBounds<W, C, M>where\n W: XcmWeightInfo<C>,\n C: Decode + GetDispatchInfo,\n M: Get<u32>,\n Instruction<C>: GetWeight<W>,"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/xcm_executor/traits/weight/trait.WeightTrader.js b/doc/implementors/xcm_executor/traits/weight/trait.WeightTrader.js index 4fed9c6b86a9..6c18afc9588d 100644 --- a/doc/implementors/xcm_executor/traits/weight/trait.WeightTrader.js +++ b/doc/implementors/xcm_executor/traits/weight/trait.WeightTrader.js @@ -1,5 +1,5 @@ (function() {var implementors = { "polkadot_test_runtime":[["impl WeightTrader for DummyWeightTrader"]], -"xcm_builder":[["impl<WeightToFee: WeightToFeeT<Balance = Currency::Balance>, AssetId: Get<MultiLocation>, AccountId, Currency: CurrencyT<AccountId>, OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>> WeightTrader for UsingComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>"],["impl<T: Get<(AssetId, u128, u128)>, R: TakeRevenue> WeightTrader for FixedRateOfFungible<T, R>"]], +"xcm_builder":[["impl<WeightToFee: WeightToFeeT<Balance = Currency::Balance>, AssetId: Get<MultiLocation>, AccountId, Currency: CurrencyT<AccountId>, OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>> WeightTrader for UsingComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>"],["impl<T: Get<(AssetId, u128, u128)>, R: TakeRevenue> WeightTrader for FixedRateOfFungible<T, R>"]], "xcm_executor":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/xcm_simulator/trait.TestExt.js b/doc/implementors/xcm_simulator/trait.TestExt.js index 099f047a040e..546fdcc8b2f5 100644 --- a/doc/implementors/xcm_simulator/trait.TestExt.js +++ b/doc/implementors/xcm_simulator/trait.TestExt.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"xcm_fuzzer":[["impl TestExt for ParaA"],["impl TestExt for Relay"],["impl TestExt for ParaB"],["impl TestExt for ParaC"]], -"xcm_simulator_example":[["impl TestExt for Relay"],["impl TestExt for ParaB"],["impl TestExt for ParaA"]] +"xcm_fuzzer":[["impl TestExt for ParaA"],["impl TestExt for Relay"],["impl TestExt for ParaB"],["impl TestExt for ParaC"]], +"xcm_simulator_example":[["impl TestExt for Relay"],["impl TestExt for ParaB"],["impl TestExt for ParaA"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/pallet_xcm/pallet/struct.Pallet.html b/doc/pallet_xcm/pallet/struct.Pallet.html index bd34e689f1e1..9337c0bd5a9b 100644 --- a/doc/pallet_xcm/pallet/struct.Pallet.html +++ b/doc/pallet_xcm/pallet/struct.Pallet.html @@ -199,51 +199,51 @@ match_querier: impl Into<MultiLocation> ) -> u64

Attempt to create a new query ID and register it as a query that is yet to respond, and which will call a dispatchable when a response happens.

-

Trait Implementations§

source§

impl<T: Config> AssetLock for Pallet<T>

§

type LockTicket = LockTicket<T>

Enact implementer for prepare_lock. This type may be dropped safely to avoid doing the -lock.
§

type UnlockTicket = UnlockTicket<T>

Enact implementer for prepare_unlock. This type may be dropped safely to avoid doing the -unlock.
§

type ReduceTicket = ReduceTicket<T>

Enact implementer for prepare_reduce_unlockable. This type may be dropped safely to -avoid doing the unlock.
source§

fn prepare_lock( +

Trait Implementations§

source§

impl<T: Config> AssetLock for Pallet<T>

§

type LockTicket = LockTicket<T>

Enact implementer for prepare_lock. This type may be dropped safely to avoid doing the +lock.
§

type UnlockTicket = UnlockTicket<T>

Enact implementer for prepare_unlock. This type may be dropped safely to avoid doing the +unlock.
§

type ReduceTicket = ReduceTicket<T>

Enact implementer for prepare_reduce_unlockable. This type may be dropped safely to +avoid doing the unlock.
source§

fn prepare_lock( unlocker: MultiLocation, asset: MultiAsset, owner: MultiLocation -) -> Result<LockTicket<T>, LockError>

Prepare to lock an asset. On success, a Self::LockTicket it returned, which can be used -to actually enact the lock. Read more
source§

fn prepare_unlock( +) -> Result<LockTicket<T>, LockError>

Prepare to lock an asset. On success, a Self::LockTicket it returned, which can be used +to actually enact the lock. Read more
source§

fn prepare_unlock( unlocker: MultiLocation, asset: MultiAsset, owner: MultiLocation -) -> Result<UnlockTicket<T>, LockError>

Prepare to unlock an asset. On success, a Self::UnlockTicket it returned, which can be -used to actually enact the lock. Read more
source§

fn note_unlockable( +) -> Result<UnlockTicket<T>, LockError>

Prepare to unlock an asset. On success, a Self::UnlockTicket it returned, which can be +used to actually enact the lock. Read more
source§

fn note_unlockable( locker: MultiLocation, asset: MultiAsset, owner: MultiLocation -) -> Result<(), LockError>

Handler for when a location reports to us that an asset has been locked for us to unlock -at a later stage. Read more
source§

fn prepare_reduce_unlockable( +) -> Result<(), LockError>

Handler for when a location reports to us that an asset has been locked for us to unlock +at a later stage. Read more
source§

fn prepare_reduce_unlockable( locker: MultiLocation, asset: MultiAsset, owner: MultiLocation -) -> Result<Self::ReduceTicket, LockError>

Handler for when an owner wishes to unlock an asset on a remote chain. Read more
source§

impl<T: Config> Callable<T> for Pallet<T>

source§

impl<T: Config> CheckSuspension for Pallet<T>

source§

fn is_suspended<Call>( +) -> Result<Self::ReduceTicket, LockError>

Handler for when an owner wishes to unlock an asset on a remote chain. Read more
source§

impl<T: Config> Callable<T> for Pallet<T>

source§

impl<T: Config> CheckSuspension for Pallet<T>

source§

fn is_suspended<Call>( _origin: &MultiLocation, _instructions: &mut [Instruction<Call>], _max_weight: Weight, - _properties: &mut Properties -) -> bool

source§

impl<T: Config> ClaimAssets for Pallet<T>

source§

fn claim_assets( + _properties: &mut Properties +) -> bool

source§

impl<T: Config> ClaimAssets for Pallet<T>

source§

fn claim_assets( origin: &MultiLocation, ticket: &MultiLocation, assets: &MultiAssets, _context: &XcmContext ) -> bool

Claim any assets available to origin and return them in a single Assets value, together -with the weight used by this operation.
source§

impl<T> Clone for Pallet<T>

source§

fn clone(&self) -> Self

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

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

Performs copy-assignment from source. Read more
source§

impl<T> Debug for Pallet<T>

source§

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

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

impl<T: Config> DropAssets for Pallet<T>

source§

fn drop_assets( +with the weight used by this operation.

source§

impl<T> Clone for Pallet<T>

source§

fn clone(&self) -> Self

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

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

Performs copy-assignment from source. Read more
source§

impl<T> Debug for Pallet<T>

source§

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

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

impl<T: Config> DropAssets for Pallet<T>

source§

fn drop_assets( origin: &MultiLocation, - assets: Assets, + assets: Assets, _context: &XcmContext ) -> Weight

Handler for receiving dropped assets. Returns the weight consumed by this operation.
source§

impl<T: Config> GetStorageVersion for Pallet<T>

§

type CurrentStorageVersion = StorageVersion

This will be filled out by the pallet macro. Read more
source§

fn current_storage_version() -> Self::CurrentStorageVersion

Returns the current storage version as supported by the pallet.
source§

fn on_chain_storage_version() -> StorageVersion

Returns the on-chain storage version of the pallet as stored in the storage.
source§

impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_initialize(_n: BlockNumberFor<T>) -> Weight

Block initialization hook. This is called at the very beginning of block execution. Read more
§

fn on_finalize(_n: BlockNumber)

Block finalization hook. This is called at the very end of block execution. Read more
§

fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight

Hook to consume a block’s idle time. This will run when the block is being finalized (before [Hooks::on_finalize]). Read more
§

fn on_runtime_upgrade() -> Weight

Hook executed when a code change (aka. a “runtime upgrade”) is detected by FRAME. Read more
§

fn offchain_worker(_n: BlockNumber)

Implementing this function on a pallet allows you to perform long-running tasks that are -dispatched as separate threads, and entirely independent of the main wasm runtime. Read more
§

fn integrity_test()

Check the integrity of this pallet’s configuration. Read more
source§

impl<T: Config> IntegrityTest for Pallet<T>

source§

fn integrity_test()

See [Hooks::integrity_test].
source§

impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn offchain_worker(n: BlockNumberFor<T>)

This function is being called after every block import (when fully synced). Read more
source§

impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_finalize(n: BlockNumberFor<T>)

See [Hooks::on_finalize].
source§

impl<T: Config> OnGenesis for Pallet<T>

source§

fn on_genesis()

Something that should happen at genesis.
source§

impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_idle(n: BlockNumberFor<T>, remaining_weight: Weight) -> Weight

See [Hooks::on_idle].
source§

impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_initialize(n: BlockNumberFor<T>) -> Weight

See [Hooks::on_initialize].
source§

impl<T: Config> OnResponse for Pallet<T>

source§

fn expecting_response( +dispatched as separate threads, and entirely independent of the main wasm runtime. Read more

§

fn integrity_test()

Check the integrity of this pallet’s configuration. Read more
source§

impl<T: Config> IntegrityTest for Pallet<T>

source§

fn integrity_test()

See [Hooks::integrity_test].
source§

impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn offchain_worker(n: BlockNumberFor<T>)

This function is being called after every block import (when fully synced). Read more
source§

impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_finalize(n: BlockNumberFor<T>)

See [Hooks::on_finalize].
source§

impl<T: Config> OnGenesis for Pallet<T>

source§

fn on_genesis()

Something that should happen at genesis.
source§

impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_idle(n: BlockNumberFor<T>, remaining_weight: Weight) -> Weight

See [Hooks::on_idle].
source§

impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_initialize(n: BlockNumberFor<T>) -> Weight

See [Hooks::on_initialize].
source§

impl<T: Config> OnResponse for Pallet<T>

source§

fn expecting_response( origin: &MultiLocation, query_id: QueryId, querier: Option<&MultiLocation> ) -> bool

Returns true if we are expecting a response from origin for query query_id that was -queried by querier.
source§

fn on_response( +queried by querier.

source§

fn on_response( origin: &MultiLocation, query_id: QueryId, querier: Option<&MultiLocation>, @@ -253,21 +253,21 @@ ) -> Weight

Handler for receiving a response from origin relating to query_id initiated by querier.
source§

impl<T: Config> OnRuntimeUpgrade for Pallet<T>

source§

fn on_runtime_upgrade() -> Weight

See [Hooks::on_runtime_upgrade].
source§

impl<T: Config> PalletInfoAccess for Pallet<T>

source§

fn index() -> usize

Index of the pallet as configured in the runtime.
source§

fn name() -> &'static str

Name of the pallet as configured in the runtime.
source§

fn module_name() -> &'static str

Name of the Rust module containing the pallet.
source§

fn crate_version() -> CrateVersion

Version of the crate containing the pallet.
source§

impl<T: Config> PalletsInfoAccess for Pallet<T>

source§

fn count() -> usize

The number of pallets’ information that this type represents. Read more
source§

fn infos() -> Vec<PalletInfoData>

All of the pallets’ information that this type represents.
source§

impl<T> PartialEq<Pallet<T>> for Pallet<T>

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: Config> QueryHandler for Pallet<T>

source§

fn new_query( +sufficient, and should not be overridden without very good reason.

source§

impl<T: Config> QueryHandler for Pallet<T>

source§

fn new_query( responder: impl Into<MultiLocation>, timeout: BlockNumberFor<T>, match_querier: impl Into<MultiLocation> -) -> Self::QueryId

Attempt to create a new query ID and register it as a query that is yet to respond.

-
source§

fn report_outcome( +) -> Self::QueryId

Attempt to create a new query ID and register it as a query that is yet to respond.

+
source§

fn report_outcome( message: &mut Xcm<()>, responder: impl Into<MultiLocation>, - timeout: Self::BlockNumber -) -> Result<Self::QueryId, Self::Error>

To check the status of the query, use fn query() passing the resultant QueryId + timeout: Self::BlockNumber +) -> Result<Self::QueryId, Self::Error>

To check the status of the query, use fn query() passing the resultant QueryId value.

-
source§

fn take_response( - query_id: Self::QueryId -) -> QueryResponseStatus<Self::BlockNumber>

Removes response when ready and emits Event::ResponseTaken event.

-
§

type QueryId = u64

§

type BlockNumber = <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number

§

type Error = Error

§

type UniversalLocation = <T as Config>::UniversalLocation

source§

impl<T: Config> StorageInfoTrait for Pallet<T>

source§

fn storage_info() -> Vec<StorageInfo>

source§

impl<T: Config> VersionChangeNotifier for Pallet<T>

source§

fn take_response( + query_id: Self::QueryId +) -> QueryResponseStatus<Self::BlockNumber>

Removes response when ready and emits Event::ResponseTaken event.

+
§

type QueryId = u64

§

type BlockNumber = <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number

§

type Error = Error

§

type UniversalLocation = <T as Config>::UniversalLocation

source§

impl<T: Config> StorageInfoTrait for Pallet<T>

source§

fn storage_info() -> Vec<StorageInfo>

source§

impl<T: Config> VersionChangeNotifier for Pallet<T>

source§

fn start( dest: &MultiLocation, query_id: QueryId, max_weight: Weight, @@ -278,9 +278,9 @@ until/unless stop is called with the correct query_id.

If the location has an ongoing notification and when this function is called, then an error should be returned.

-

source§

fn stop(dest: &MultiLocation, _context: &XcmContext) -> XcmResult

Stop notifying location should the XCM change. This is a no-op if there was never a +

source§

fn stop(dest: &MultiLocation, _context: &XcmContext) -> XcmResult

Stop notifying location should the XCM change. This is a no-op if there was never a subscription.

-
source§

fn is_subscribed(dest: &MultiLocation) -> bool

Return true if a location is subscribed to XCM version changes.

+
source§

fn is_subscribed(dest: &MultiLocation) -> bool

Return true if a location is subscribed to XCM version changes.

source§

impl<T: Config> WhitelistedStorageKeys for Pallet<T>

source§

fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>

Returns a Vec<TrackedStorageKey> indicating the storage keys that should be whitelisted during benchmarking. This means that those keys will be excluded from the benchmarking performance calculation.
source§

impl<T: Config> WrapVersion for Pallet<T>

source§

fn wrap_version<RuntimeCall>( diff --git a/doc/pallet_xcm/pallet/trait.Config.html b/doc/pallet_xcm/pallet/trait.Config.html index e76fd0c7d57b..45ff65e86503 100644 --- a/doc/pallet_xcm/pallet/trait.Config.html +++ b/doc/pallet_xcm/pallet/trait.Config.html @@ -1,7 +1,7 @@ Config in pallet_xcm::pallet - Rust

Trait pallet_xcm::pallet::Config

source ·
pub trait Config: Config {
 
Show 23 associated items type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>; type Currency: LockableCurrency<Self::AccountId, Moment = BlockNumberFor<Self>>; - type CurrencyMatcher: MatchesFungible<BalanceOf<Self>>; + type CurrencyMatcher: MatchesFungible<BalanceOf<Self>>; type SendXcmOrigin: EnsureOrigin<<Self as SysConfig>::RuntimeOrigin, Success = MultiLocation>; type XcmRouter: SendXcm; type ExecuteXcmOrigin: EnsureOrigin<<Self as SysConfig>::RuntimeOrigin, Success = MultiLocation>; @@ -9,14 +9,14 @@ type XcmExecutor: ExecuteXcm<<Self as SysConfig>::RuntimeCall>; type XcmTeleportFilter: Contains<(MultiLocation, Vec<MultiAsset>)>; type XcmReserveTransferFilter: Contains<(MultiLocation, Vec<MultiAsset>)>; - type Weigher: WeightBounds<<Self as SysConfig>::RuntimeCall>; + type Weigher: WeightBounds<<Self as SysConfig>::RuntimeCall>; type UniversalLocation: Get<InteriorMultiLocation>; type RuntimeOrigin: From<Origin> + From<<Self as SysConfig>::RuntimeOrigin>; type RuntimeCall: Parameter + GetDispatchInfo + IsType<<Self as Config>::RuntimeCall> + Dispatchable<RuntimeOrigin = <Self as Config>::RuntimeOrigin, PostInfo = PostDispatchInfo>; type AdvertisedXcmVersion: Get<XcmVersion>; type AdminOrigin: EnsureOrigin<<Self as SysConfig>::RuntimeOrigin>; type TrustedLockers: ContainsPair<MultiLocation, MultiAsset>; - type SovereignAccountOf: ConvertLocation<Self::AccountId>; + type SovereignAccountOf: ConvertLocation<Self::AccountId>; type MaxLockers: Get<u32>; type MaxRemoteLockConsumers: Get<u32>; type RemoteLockConsumerIdentifier: Parameter + Member + MaxEncodedLen + Ord + Copy; @@ -31,7 +31,7 @@ The module configuration trait.

Required Associated Types§

source

type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>

The overarching event type.

source

type Currency: LockableCurrency<Self::AccountId, Moment = BlockNumberFor<Self>>

A lockable currency.

-
source

type CurrencyMatcher: MatchesFungible<BalanceOf<Self>>

The MultiAsset matcher for Currency.

+
source

type CurrencyMatcher: MatchesFungible<BalanceOf<Self>>

The MultiAsset matcher for Currency.

source

type SendXcmOrigin: EnsureOrigin<<Self as SysConfig>::RuntimeOrigin, Success = MultiLocation>

Required origin for sending XCM messages. If successful, it resolves to MultiLocation which exists as an interior location within this chain’s XCM context.

source

type XcmRouter: SendXcm

The type used to actually dispatch an XCM to its destination.

@@ -43,7 +43,7 @@
source

type XcmTeleportFilter: Contains<(MultiLocation, Vec<MultiAsset>)>

Our XCM filter which messages to be teleported using the dedicated extrinsic must pass.

source

type XcmReserveTransferFilter: Contains<(MultiLocation, Vec<MultiAsset>)>

Our XCM filter which messages to be reserve-transferred using the dedicated extrinsic must pass.

-
source

type Weigher: WeightBounds<<Self as SysConfig>::RuntimeCall>

Means of measuring the weight consumed by an XCM message locally.

+
source

type Weigher: WeightBounds<<Self as SysConfig>::RuntimeCall>

Means of measuring the weight consumed by an XCM message locally.

source

type UniversalLocation: Get<InteriorMultiLocation>

This chain’s Universal Location.

source

type RuntimeOrigin: From<Origin> + From<<Self as SysConfig>::RuntimeOrigin>

The runtime Origin type.

source

type RuntimeCall: Parameter + GetDispatchInfo + IsType<<Self as Config>::RuntimeCall> + Dispatchable<RuntimeOrigin = <Self as Config>::RuntimeOrigin, PostInfo = PostDispatchInfo>

The runtime Call type.

@@ -52,7 +52,7 @@
source

type AdminOrigin: EnsureOrigin<<Self as SysConfig>::RuntimeOrigin>

The origin that is allowed to call privileged operations on the XCM pallet

source

type TrustedLockers: ContainsPair<MultiLocation, MultiAsset>

The assets which we consider a given origin is trusted if they claim to have placed a lock.

-
source

type SovereignAccountOf: ConvertLocation<Self::AccountId>

How to get an AccountId value from a MultiLocation, useful for handling asset locks.

+
source

type SovereignAccountOf: ConvertLocation<Self::AccountId>

How to get an AccountId value from a MultiLocation, useful for handling asset locks.

source

type MaxLockers: Get<u32>

The maximum number of local XCM locks that a single account may have.

source

type MaxRemoteLockConsumers: Get<u32>

The maximum number of consumers a single remote lock may have.

source

type RemoteLockConsumerIdentifier: Parameter + Member + MaxEncodedLen + Ord + Copy

The ID type for local consumers of remote locks.

diff --git a/doc/pallet_xcm/struct.LockTicket.html b/doc/pallet_xcm/struct.LockTicket.html index e4d5299aefb2..036c4d252fca 100644 --- a/doc/pallet_xcm/struct.LockTicket.html +++ b/doc/pallet_xcm/struct.LockTicket.html @@ -1,4 +1,4 @@ -LockTicket in pallet_xcm - Rust

Struct pallet_xcm::LockTicket

source ·
pub struct LockTicket<T: Config> { /* private fields */ }

Trait Implementations§

source§

impl<T: Config> Enact for LockTicket<T>

source§

fn enact(self) -> Result<(), LockError>

Enact a lock. This should generally be infallible if called immediately after being +LockTicket in pallet_xcm - Rust

Struct pallet_xcm::LockTicket

source ·
pub struct LockTicket<T: Config> { /* private fields */ }

Trait Implementations§

source§

impl<T: Config> Enact for LockTicket<T>

source§

fn enact(self) -> Result<(), LockError>

Enact a lock. This should generally be infallible if called immediately after being received.

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for LockTicket<T>where <T as Config>::AccountId: RefUnwindSafe, <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: RefUnwindSafe,

§

impl<T> Send for LockTicket<T>where diff --git a/doc/pallet_xcm/struct.ReduceTicket.html b/doc/pallet_xcm/struct.ReduceTicket.html index bb6460365194..b449d9f947a7 100644 --- a/doc/pallet_xcm/struct.ReduceTicket.html +++ b/doc/pallet_xcm/struct.ReduceTicket.html @@ -1,4 +1,4 @@ -ReduceTicket in pallet_xcm - Rust
pub struct ReduceTicket<T: Config> { /* private fields */ }

Trait Implementations§

source§

impl<T: Config> Enact for ReduceTicket<T>

source§

fn enact(self) -> Result<(), LockError>

Enact a lock. This should generally be infallible if called immediately after being +ReduceTicket in pallet_xcm - Rust
pub struct ReduceTicket<T: Config> { /* private fields */ }

Trait Implementations§

source§

impl<T: Config> Enact for ReduceTicket<T>

source§

fn enact(self) -> Result<(), LockError>

Enact a lock. This should generally be infallible if called immediately after being received.

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for ReduceTicket<T>where <T as Config>::AccountId: RefUnwindSafe,

§

impl<T> Send for ReduceTicket<T>

§

impl<T> Sync for ReduceTicket<T>

§

impl<T> Unpin for ReduceTicket<T>where <T as Config>::AccountId: Unpin,

§

impl<T> UnwindSafe for ReduceTicket<T>where diff --git a/doc/pallet_xcm/struct.UnlockTicket.html b/doc/pallet_xcm/struct.UnlockTicket.html index d10da8fbe107..59e4336025aa 100644 --- a/doc/pallet_xcm/struct.UnlockTicket.html +++ b/doc/pallet_xcm/struct.UnlockTicket.html @@ -1,4 +1,4 @@ -UnlockTicket in pallet_xcm - Rust
pub struct UnlockTicket<T: Config> { /* private fields */ }

Trait Implementations§

source§

impl<T: Config> Enact for UnlockTicket<T>

source§

fn enact(self) -> Result<(), LockError>

Enact a lock. This should generally be infallible if called immediately after being +UnlockTicket in pallet_xcm - Rust
pub struct UnlockTicket<T: Config> { /* private fields */ }

Trait Implementations§

source§

impl<T: Config> Enact for UnlockTicket<T>

source§

fn enact(self) -> Result<(), LockError>

Enact a lock. This should generally be infallible if called immediately after being received.

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for UnlockTicket<T>where <T as Config>::AccountId: RefUnwindSafe, <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: RefUnwindSafe,

§

impl<T> Send for UnlockTicket<T>where diff --git a/doc/pallet_xcm/struct.XcmPassthrough.html b/doc/pallet_xcm/struct.XcmPassthrough.html index 809b2bf59899..ddc713f5b114 100644 --- a/doc/pallet_xcm/struct.XcmPassthrough.html +++ b/doc/pallet_xcm/struct.XcmPassthrough.html @@ -1,6 +1,6 @@ XcmPassthrough in pallet_xcm - Rust
pub struct XcmPassthrough<RuntimeOrigin>(_);
Expand description

A simple passthrough where we reuse the MultiLocation-typed XCM origin as the inner value of this crate’s Origin::Xcm value.

-

Trait Implementations§

source§

impl<RuntimeOrigin: From<Origin>> ConvertOrigin<RuntimeOrigin> for XcmPassthrough<RuntimeOrigin>

Trait Implementations§

source§

impl<RuntimeOrigin: From<Origin>> ConvertOrigin<RuntimeOrigin> for XcmPassthrough<RuntimeOrigin>

source§

fn convert_origin( origin: impl Into<MultiLocation>, kind: OriginKind ) -> Result<RuntimeOrigin, MultiLocation>

Attempt to convert origin to the generic Origin whilst consuming it.

Auto Trait Implementations§

§

impl<RuntimeOrigin> RefUnwindSafe for XcmPassthrough<RuntimeOrigin>where diff --git a/doc/pallet_xcm_benchmarks/fungible/pallet/trait.Config.html b/doc/pallet_xcm_benchmarks/fungible/pallet/trait.Config.html index cd293e7ccb2f..055571c5c614 100644 --- a/doc/pallet_xcm_benchmarks/fungible/pallet/trait.Config.html +++ b/doc/pallet_xcm_benchmarks/fungible/pallet/trait.Config.html @@ -1,6 +1,6 @@ Config in pallet_xcm_benchmarks::fungible::pallet - Rust
pub trait Config<I: 'static = ()>: Config + Config {
     type TransactAsset: Mutate<Self::AccountId>;
-    type CheckedAccount: Get<Option<(Self::AccountId, MintLocation)>>;
+    type CheckedAccount: Get<Option<(Self::AccountId, MintLocation)>>;
     type TrustedTeleporter: Get<Option<(MultiLocation, MultiAsset)>>;
     type TrustedReserve: Get<Option<(MultiLocation, MultiAsset)>>;
 
@@ -13,7 +13,7 @@
 

Consequently, a runtime that wants to include this pallet must implement this trait.

Required Associated Types§

source

type TransactAsset: Mutate<Self::AccountId>

The type of fungible that is being used under the hood.

This is useful for testing and checking.

-
source

type CheckedAccount: Get<Option<(Self::AccountId, MintLocation)>>

The account used to check assets being teleported.

+
source

type CheckedAccount: Get<Option<(Self::AccountId, MintLocation)>>

The account used to check assets being teleported.

source

type TrustedTeleporter: Get<Option<(MultiLocation, MultiAsset)>>

A trusted location which we allow teleports from, and the asset we allow to teleport.

source

type TrustedReserve: Get<Option<(MultiLocation, MultiAsset)>>

A trusted location where reserve assets are stored, and the asset we allow to be reserves.

diff --git a/doc/pallet_xcm_benchmarks/trait.Config.html b/doc/pallet_xcm_benchmarks/trait.Config.html index f72f1736966a..b4177124e304 100644 --- a/doc/pallet_xcm_benchmarks/trait.Config.html +++ b/doc/pallet_xcm_benchmarks/trait.Config.html @@ -1,15 +1,15 @@ Config in pallet_xcm_benchmarks - Rust
pub trait Config: Config {
-    type XcmConfig: XcmConfig;
-    type AccountIdConverter: ConvertLocation<Self::AccountId>;
+    type XcmConfig: XcmConfig;
+    type AccountIdConverter: ConvertLocation<Self::AccountId>;
 
     // Required methods
     fn valid_destination() -> Result<MultiLocation, BenchmarkError>;
     fn worst_case_holding(depositable_count: u32) -> MultiAssets;
 }
Expand description

A base trait for all individual pallets

-

Required Associated Types§

source

type XcmConfig: XcmConfig

The XCM configurations.

+

Required Associated Types§

source

type XcmConfig: XcmConfig

The XCM configurations.

These might affect the execution of XCM messages, such as defining how the TransactAsset is implemented.

-
source

type AccountIdConverter: ConvertLocation<Self::AccountId>

A converter between a multi-location to a sovereign account.

+
source

type AccountIdConverter: ConvertLocation<Self::AccountId>

A converter between a multi-location to a sovereign account.

Required Methods§

source

fn valid_destination() -> Result<MultiLocation, BenchmarkError>

Does any necessary setup to create a valid destination for XCM messages. Returns that destination’s multi-location to be used in benchmarks.

source

fn worst_case_holding(depositable_count: u32) -> MultiAssets

Worst case scenario for a holding account in this runtime.

diff --git a/doc/pallet_xcm_benchmarks/type.AssetTransactorOf.html b/doc/pallet_xcm_benchmarks/type.AssetTransactorOf.html index ae31d165cc6e..aae290645d2c 100644 --- a/doc/pallet_xcm_benchmarks/type.AssetTransactorOf.html +++ b/doc/pallet_xcm_benchmarks/type.AssetTransactorOf.html @@ -1,2 +1,2 @@ -AssetTransactorOf in pallet_xcm_benchmarks - Rust
pub type AssetTransactorOf<T> = <<T as Config>::XcmConfig as XcmConfig>::AssetTransactor;
Expand description

The asset transactor of our executor

+AssetTransactorOf in pallet_xcm_benchmarks - Rust
pub type AssetTransactorOf<T> = <<T as Config>::XcmConfig as XcmConfig>::AssetTransactor;
Expand description

The asset transactor of our executor

\ No newline at end of file diff --git a/doc/pallet_xcm_benchmarks/type.ExecutorOf.html b/doc/pallet_xcm_benchmarks/type.ExecutorOf.html index 4cedda4851c5..d85bb900f92f 100644 --- a/doc/pallet_xcm_benchmarks/type.ExecutorOf.html +++ b/doc/pallet_xcm_benchmarks/type.ExecutorOf.html @@ -1,2 +1,2 @@ -ExecutorOf in pallet_xcm_benchmarks - Rust

Type Definition pallet_xcm_benchmarks::ExecutorOf

source ·
pub type ExecutorOf<T> = XcmExecutor<<T as Config>::XcmConfig>;
Expand description

The XCM executor to use for doing stuff.

+ExecutorOf in pallet_xcm_benchmarks - Rust

Type Definition pallet_xcm_benchmarks::ExecutorOf

source ·
pub type ExecutorOf<T> = XcmExecutor<<T as Config>::XcmConfig>;
Expand description

The XCM executor to use for doing stuff.

\ No newline at end of file diff --git a/doc/pallet_xcm_benchmarks/type.XcmCallOf.html b/doc/pallet_xcm_benchmarks/type.XcmCallOf.html index 7faee5b424e7..61370bea1749 100644 --- a/doc/pallet_xcm_benchmarks/type.XcmCallOf.html +++ b/doc/pallet_xcm_benchmarks/type.XcmCallOf.html @@ -1,2 +1,2 @@ -XcmCallOf in pallet_xcm_benchmarks - Rust

Type Definition pallet_xcm_benchmarks::XcmCallOf

source ·
pub type XcmCallOf<T> = <<T as Config>::XcmConfig as XcmConfig>::RuntimeCall;
Expand description

The call type of executor’s config. Should eventually resolve to the same overarching call type.

+XcmCallOf in pallet_xcm_benchmarks - Rust

Type Definition pallet_xcm_benchmarks::XcmCallOf

source ·
pub type XcmCallOf<T> = <<T as Config>::XcmConfig as XcmConfig>::RuntimeCall;
Expand description

The call type of executor’s config. Should eventually resolve to the same overarching call type.

\ No newline at end of file diff --git a/doc/polkadot_node_core_pvf_common/error/enum.InternalValidationError.html b/doc/polkadot_node_core_pvf_common/error/enum.InternalValidationError.html index 04574499153d..4d1e9f685c9e 100644 --- a/doc/polkadot_node_core_pvf_common/error/enum.InternalValidationError.html +++ b/doc/polkadot_node_core_pvf_common/error/enum.InternalValidationError.html @@ -38,8 +38,8 @@ ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
source§

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

source§

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

§

impl<T> EncodeAs<T> for Twhere - T: Encode,

§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

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

source§

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

source§

impl<T> EncodeAs<T> for Twhere + T: Encode,

source§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

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 diff --git a/doc/polkadot_node_core_pvf_common/error/enum.PrepareError.html b/doc/polkadot_node_core_pvf_common/error/enum.PrepareError.html index 93533123cda5..4d7fedf84c95 100644 --- a/doc/polkadot_node_core_pvf_common/error/enum.PrepareError.html +++ b/doc/polkadot_node_core_pvf_common/error/enum.PrepareError.html @@ -52,8 +52,8 @@ ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
source§

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

source§

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

§

impl<T> EncodeAs<T> for Twhere - T: Encode,

§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

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

source§

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

source§

impl<T> EncodeAs<T> for Twhere + T: Encode,

source§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

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 diff --git a/doc/polkadot_node_core_pvf_common/execute/enum.Response.html b/doc/polkadot_node_core_pvf_common/execute/enum.Response.html index dbf60e2da0a9..f2491e2c2a69 100644 --- a/doc/polkadot_node_core_pvf_common/execute/enum.Response.html +++ b/doc/polkadot_node_core_pvf_common/execute/enum.Response.html @@ -1,6 +1,6 @@ Response in polkadot_node_core_pvf_common::execute - Rust
pub enum Response {
     Ok {
-        result_descriptor: ValidationResult,
+        result_descriptor: ValidationResult,
         duration: Duration,
     },
     InvalidCandidate(String),
@@ -8,7 +8,7 @@
     Panic(String),
     InternalError(InternalValidationError),
 }
Expand description

The response from an execution job on the worker.

-

Variants§

§

Ok

Fields

§result_descriptor: ValidationResult

The result of parachain validation.

+

Variants§

§

Ok

Fields

§result_descriptor: ValidationResult

The result of parachain validation.

§duration: Duration

The amount of CPU time taken by the job.

The job completed successfully.

§

InvalidCandidate(String)

The candidate is invalid.

@@ -42,8 +42,8 @@ input: &mut &[u8] ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of -bytes consumed. Read more
§

impl<T> EncodeAs<T> for Twhere - T: Encode,

§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where +bytes consumed. Read more

source§

impl<T> EncodeAs<T> for Twhere + T: Encode,

source§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

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 diff --git a/doc/polkadot_node_core_pvf_common/execute/struct.Handshake.html b/doc/polkadot_node_core_pvf_common/execute/struct.Handshake.html index 9fa5e9815612..5d19d2d32100 100644 --- a/doc/polkadot_node_core_pvf_common/execute/struct.Handshake.html +++ b/doc/polkadot_node_core_pvf_common/execute/struct.Handshake.html @@ -1,8 +1,8 @@ Handshake in polkadot_node_core_pvf_common::execute - Rust
pub struct Handshake {
-    pub executor_params: ExecutorParams,
+    pub executor_params: ExecutorParams,
 }
Expand description

The payload of the one-time handshake that is done when a worker process is created. Carries data from the host to the worker.

-

Fields§

§executor_params: ExecutorParams

The executor parameters.

+

Fields§

§executor_params: ExecutorParams

The executor parameters.

Trait Implementations§

source§

impl Decode for Handshake

source§

fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

Attempt to deserialise the value from input.
§

fn decode_into<I>( @@ -28,8 +28,8 @@ input: &mut &[u8] ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of -bytes consumed. Read more
§

impl<T> EncodeAs<T> for Twhere - T: Encode,

§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where +bytes consumed. Read more

source§

impl<T> EncodeAs<T> for Twhere + T: Encode,

source§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

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 diff --git a/doc/polkadot_node_core_pvf_common/executor_intf/fn.params_to_wasmtime_semantics.html b/doc/polkadot_node_core_pvf_common/executor_intf/fn.params_to_wasmtime_semantics.html index 1be4b6c87e7b..bc91bceef829 100644 --- a/doc/polkadot_node_core_pvf_common/executor_intf/fn.params_to_wasmtime_semantics.html +++ b/doc/polkadot_node_core_pvf_common/executor_intf/fn.params_to_wasmtime_semantics.html @@ -1,3 +1,3 @@ params_to_wasmtime_semantics in polkadot_node_core_pvf_common::executor_intf - Rust
pub fn params_to_wasmtime_semantics(
-    par: &ExecutorParams
+    par: &ExecutorParams
 ) -> Result<Semantics, String>
\ No newline at end of file diff --git a/doc/polkadot_node_core_pvf_common/executor_intf/struct.Executor.html b/doc/polkadot_node_core_pvf_common/executor_intf/struct.Executor.html index 81769eb280c2..b6db9e78097e 100644 --- a/doc/polkadot_node_core_pvf_common/executor_intf/struct.Executor.html +++ b/doc/polkadot_node_core_pvf_common/executor_intf/struct.Executor.html @@ -1,6 +1,6 @@ Executor in polkadot_node_core_pvf_common::executor_intf - Rust
pub struct Executor { /* private fields */ }
Expand description

A WASM executor with a given configuration. It is instantiated once per execute worker and is specific to that worker.

-

Implementations§

source§

impl Executor

source

pub fn new(params: ExecutorParams) -> Result<Self, String>

source

pub unsafe fn execute( +

Implementations§

source§

impl Executor

source

pub fn new(params: ExecutorParams) -> Result<Self, String>

source

pub unsafe fn execute( &self, compiled_artifact_blob: &[u8], params: &[u8] diff --git a/doc/polkadot_node_core_pvf_common/prepare/enum.PrepareJobKind.html b/doc/polkadot_node_core_pvf_common/prepare/enum.PrepareJobKind.html index c4fd368a3d93..3674fa553105 100644 --- a/doc/polkadot_node_core_pvf_common/prepare/enum.PrepareJobKind.html +++ b/doc/polkadot_node_core_pvf_common/prepare/enum.PrepareJobKind.html @@ -31,8 +31,8 @@ ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
source§

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

source§

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

§

impl<T> EncodeAs<T> for Twhere - T: Encode,

§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

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

source§

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

source§

impl<T> EncodeAs<T> for Twhere + T: Encode,

source§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

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 diff --git a/doc/polkadot_node_core_pvf_common/prepare/struct.MemoryAllocationStats.html b/doc/polkadot_node_core_pvf_common/prepare/struct.MemoryAllocationStats.html index 65e540c4f665..4344eb33b93b 100644 --- a/doc/polkadot_node_core_pvf_common/prepare/struct.MemoryAllocationStats.html +++ b/doc/polkadot_node_core_pvf_common/prepare/struct.MemoryAllocationStats.html @@ -31,8 +31,8 @@ ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
source§

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

source§

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

§

impl<T> EncodeAs<T> for Twhere - T: Encode,

§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

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

source§

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

source§

impl<T> EncodeAs<T> for Twhere + T: Encode,

source§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

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 diff --git a/doc/polkadot_node_core_pvf_common/prepare/struct.MemoryStats.html b/doc/polkadot_node_core_pvf_common/prepare/struct.MemoryStats.html index e0c2ca3f3148..a56d6fa4f518 100644 --- a/doc/polkadot_node_core_pvf_common/prepare/struct.MemoryStats.html +++ b/doc/polkadot_node_core_pvf_common/prepare/struct.MemoryStats.html @@ -32,8 +32,8 @@ ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
source§

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

source§

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

§

impl<T> EncodeAs<T> for Twhere - T: Encode,

§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

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

source§

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

source§

impl<T> EncodeAs<T> for Twhere + T: Encode,

source§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

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 diff --git a/doc/polkadot_node_core_pvf_common/prepare/struct.PrepareStats.html b/doc/polkadot_node_core_pvf_common/prepare/struct.PrepareStats.html index 8d2e8b0a6787..b46db2940630 100644 --- a/doc/polkadot_node_core_pvf_common/prepare/struct.PrepareStats.html +++ b/doc/polkadot_node_core_pvf_common/prepare/struct.PrepareStats.html @@ -31,8 +31,8 @@ ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
source§

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

source§

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

§

impl<T> EncodeAs<T> for Twhere - T: Encode,

§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

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

source§

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

source§

impl<T> EncodeAs<T> for Twhere + T: Encode,

source§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

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 diff --git a/doc/polkadot_node_core_pvf_common/pvf/struct.PvfPrepData.html b/doc/polkadot_node_core_pvf_common/pvf/struct.PvfPrepData.html index 01acf08667a1..b34d04342137 100644 --- a/doc/polkadot_node_core_pvf_common/pvf/struct.PvfPrepData.html +++ b/doc/polkadot_node_core_pvf_common/pvf/struct.PvfPrepData.html @@ -3,13 +3,13 @@

Should be cheap to clone.

Implementations§

source§

impl PvfPrepData

source

pub fn from_code( code: Vec<u8>, - executor_params: ExecutorParams, + executor_params: ExecutorParams, prep_timeout: Duration, prep_kind: PrepareJobKind ) -> Self

Returns an instance of the PVF out of the given PVF code and executor params.

-
source

pub fn code_hash(&self) -> ValidationCodeHash

Returns validation code hash for the PVF

+
source

pub fn code_hash(&self) -> ValidationCodeHash

Returns validation code hash for the PVF

source

pub fn code(&self) -> Arc<Vec<u8>>

Returns PVF code

-
source

pub fn executor_params(&self) -> Arc<ExecutorParams>

Returns executor params

+
source

pub fn executor_params(&self) -> Arc<ExecutorParams>

Returns executor params

source

pub fn prep_timeout(&self) -> Duration

Returns preparation timeout.

source

pub fn prep_kind(&self) -> PrepareJobKind

Returns preparation kind.

source

pub fn from_discriminator_and_timeout(num: u32, timeout: Duration) -> Self

Creates a structure for tests.

@@ -44,8 +44,8 @@ ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
source§

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

source§

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

§

impl<T> EncodeAs<T> for Twhere - T: Encode,

§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

source§

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

source§

impl<T> EncodeAs<T> for Twhere + T: Encode,

source§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
source§

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

source§

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

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

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_core_pvf_execute_worker/struct.Executor.html b/doc/polkadot_node_core_pvf_execute_worker/struct.Executor.html index 86042ef247ac..c44d3bd10593 100644 --- a/doc/polkadot_node_core_pvf_execute_worker/struct.Executor.html +++ b/doc/polkadot_node_core_pvf_execute_worker/struct.Executor.html @@ -1,6 +1,6 @@ -Executor in polkadot_node_core_pvf_execute_worker - Rust
pub struct Executor { /* private fields */ }
Expand description

A WASM executor with a given configuration. It is instantiated once per execute worker and is +Executor in polkadot_node_core_pvf_execute_worker - Rust

pub struct Executor { /* private fields */ }
Expand description

A WASM executor with a given configuration. It is instantiated once per execute worker and is specific to that worker.

-

Implementations§

§

impl Executor

pub fn new(params: ExecutorParams) -> Result<Executor, String>

pub unsafe fn execute( +

Implementations§

source§

impl Executor

source

pub fn new(params: ExecutorParams) -> Result<Executor, String>

source

pub unsafe fn execute( &self, compiled_artifact_blob: &[u8], params: &[u8] @@ -13,7 +13,7 @@

Safety
  • was not modified,
  • Failure to adhere to these requirements might lead to crashes and arbitrary code execution.

    -

    pub unsafe fn create_runtime_from_bytes( +

    source

    pub unsafe fn create_runtime_from_bytes( &self, compiled_artifact_blob: &[u8] ) -> Result<WasmtimeRuntime, WasmError>

    Constructs the runtime for the given PVF, given the artifact bytes.

    @@ -24,7 +24,7 @@
    Safety
  • was not modified,
  • Failure to adhere to these requirements might lead to crashes and arbitrary code execution.

    -

    Trait Implementations§

    §

    impl Clone for Executor

    §

    fn clone(&self) -> Executor

    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

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Executor

    §

    impl Send for Executor

    §

    impl Sync for Executor

    §

    impl Unpin for Executor

    §

    impl UnwindSafe for Executor

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    Trait Implementations§

    source§

    impl Clone for Executor

    source§

    fn clone(&self) -> Executor

    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

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Executor

    §

    impl Send for Executor

    §

    impl Sync for Executor

    §

    impl Unpin for Executor

    §

    impl UnwindSafe for Executor

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> Any for Twhere T: Any,

    §

    fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

    §

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

    §

    fn type_name(&self) -> &'static str

    §

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

    §

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

    source§

    impl<T> Borrow<T> for Twhere diff --git a/doc/polkadot_node_core_pvf_prepare_worker/fn.prepare.html b/doc/polkadot_node_core_pvf_prepare_worker/fn.prepare.html index 88f20cac103a..c003bd000e99 100644 --- a/doc/polkadot_node_core_pvf_prepare_worker/fn.prepare.html +++ b/doc/polkadot_node_core_pvf_prepare_worker/fn.prepare.html @@ -1,6 +1,6 @@ prepare in polkadot_node_core_pvf_prepare_worker - Rust
    pub fn prepare(
         blob: RuntimeBlob,
    -    executor_params: &ExecutorParams
    +    executor_params: &ExecutorParams
     ) -> Result<Vec<u8>, WasmError>
    Expand description

    Runs preparation on the given runtime blob. If successful, it returns a serialized compiled artifact which can then be used to pass into Executor::execute after writing it to the disk.

    \ No newline at end of file diff --git a/doc/polkadot_node_jaeger/enum.Span.html b/doc/polkadot_node_jaeger/enum.Span.html index 0757fddd8463..f060aae886b1 100644 --- a/doc/polkadot_node_jaeger/enum.Span.html +++ b/doc/polkadot_node_jaeger/enum.Span.html @@ -19,9 +19,9 @@

    source

    pub fn with_para_id(self, para_id: ParaId) -> Self

    Attach a para-id to the span.

    source

    pub fn with_stage(self, stage: Stage) -> Self

    Attach a candidate stage. Should always come with a CandidateHash.

    -
    source

    pub fn with_validator_index(self, validator: ValidatorIndex) -> Self

    source

    pub fn with_chunk_index(self, chunk_index: u32) -> Self

    source

    pub fn with_relay_parent(self, relay_parent: Hash) -> Self

    source

    pub fn with_claimed_validator_index( +
    source

    pub fn with_validator_index(self, validator: ValidatorIndex) -> Self

    source

    pub fn with_chunk_index(self, chunk_index: u32) -> Self

    source

    pub fn with_relay_parent(self, relay_parent: Hash) -> Self

    source

    pub fn with_claimed_validator_index( self, - claimed_validator_index: ValidatorIndex + claimed_validator_index: ValidatorIndex ) -> Self

    source

    pub fn with_pov(self, pov: &PoV) -> Self

    source

    pub fn with_int_tag(self, tag: &'static str, i: i64) -> Self

    Add an additional int tag to the span without consuming.

    Should be used sparingly, introduction of new types is preferred.

    source

    pub fn with_uint_tag(self, tag: &'static str, u: u64) -> Self

    source

    pub fn with_string_fmt_debug_tag<V: Debug>( diff --git a/doc/polkadot_node_network_protocol/grid_topology/struct.GridNeighbors.html b/doc/polkadot_node_network_protocol/grid_topology/struct.GridNeighbors.html index 516e17374d29..b07cfa7d033b 100644 --- a/doc/polkadot_node_network_protocol/grid_topology/struct.GridNeighbors.html +++ b/doc/polkadot_node_network_protocol/grid_topology/struct.GridNeighbors.html @@ -1,18 +1,18 @@ GridNeighbors in polkadot_node_network_protocol::grid_topology - Rust
    pub struct GridNeighbors {
         pub peers_x: HashSet<PeerId>,
    -    pub validator_indices_x: HashSet<ValidatorIndex>,
    +    pub validator_indices_x: HashSet<ValidatorIndex>,
         pub peers_y: HashSet<PeerId>,
    -    pub validator_indices_y: HashSet<ValidatorIndex>,
    +    pub validator_indices_y: HashSet<ValidatorIndex>,
     }
    Expand description

    Information about the grid neighbors for a particular node in the topology.

    Fields§

    §peers_x: HashSet<PeerId>

    Represent peers in the X axis

    -
    §validator_indices_x: HashSet<ValidatorIndex>

    Represent validators in the X axis

    +
    §validator_indices_x: HashSet<ValidatorIndex>

    Represent validators in the X axis

    §peers_y: HashSet<PeerId>

    Represent peers in the Y axis

    -
    §validator_indices_y: HashSet<ValidatorIndex>

    Represent validators in the Y axis

    +
    §validator_indices_y: HashSet<ValidatorIndex>

    Represent validators in the Y axis

    Implementations§

    source§

    impl GridNeighbors

    source

    pub fn empty() -> Self

    Utility function for creating an empty set of grid neighbors. Useful for testing.

    source

    pub fn required_routing_by_index( &self, - originator: ValidatorIndex, + originator: ValidatorIndex, local: bool ) -> RequiredRouting

    Given the originator of a message as a validator index, indicates the part of the topology we’re meant to send the message to.

    diff --git a/doc/polkadot_node_network_protocol/grid_topology/struct.SessionBoundGridTopologyStorage.html b/doc/polkadot_node_network_protocol/grid_topology/struct.SessionBoundGridTopologyStorage.html index dc3569f2deb9..a68817532bd9 100644 --- a/doc/polkadot_node_network_protocol/grid_topology/struct.SessionBoundGridTopologyStorage.html +++ b/doc/polkadot_node_network_protocol/grid_topology/struct.SessionBoundGridTopologyStorage.html @@ -14,7 +14,7 @@ &mut self, session_index: SessionIndex, topology: SessionGridTopology, - local_index: Option<ValidatorIndex> + local_index: Option<ValidatorIndex> )

    Update the current topology preserving the previous one

    source

    pub fn get_current_topology(&self) -> &SessionGridTopologyEntry

    Returns a current grid topology

    source

    pub fn get_current_topology_mut(&mut self) -> &mut SessionGridTopologyEntry

    Access the current grid topology mutably. Dangerous and intended diff --git a/doc/polkadot_node_network_protocol/grid_topology/struct.SessionGridTopologies.html b/doc/polkadot_node_network_protocol/grid_topology/struct.SessionGridTopologies.html index 9efea08db984..40116bbec26e 100644 --- a/doc/polkadot_node_network_protocol/grid_topology/struct.SessionGridTopologies.html +++ b/doc/polkadot_node_network_protocol/grid_topology/struct.SessionGridTopologies.html @@ -9,7 +9,7 @@ &mut self, session: SessionIndex, topology: SessionGridTopology, - local_index: Option<ValidatorIndex> + local_index: Option<ValidatorIndex> )

    Insert a new topology, no-op if already present.

    Trait Implementations§

    source§

    impl Default for SessionGridTopologies

    source§

    fn default() -> SessionGridTopologies

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

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for SessionGridTopologies

    §

    impl Send for SessionGridTopologies

    §

    impl Sync for SessionGridTopologies

    §

    impl Unpin for SessionGridTopologies

    §

    impl UnwindSafe for SessionGridTopologies

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> Any for Twhere diff --git a/doc/polkadot_node_network_protocol/grid_topology/struct.SessionGridTopology.html b/doc/polkadot_node_network_protocol/grid_topology/struct.SessionGridTopology.html index 731086881dd3..2638700bc176 100644 --- a/doc/polkadot_node_network_protocol/grid_topology/struct.SessionGridTopology.html +++ b/doc/polkadot_node_network_protocol/grid_topology/struct.SessionGridTopology.html @@ -5,7 +5,7 @@ ) -> Self

    Create a new session grid topology.

    source

    pub fn compute_grid_neighbors_for( &self, - v: ValidatorIndex + v: ValidatorIndex ) -> Option<GridNeighbors>

    Produces the outgoing routing logic for a particular peer.

    Returns None if the validator index is out of bounds.

    Trait Implementations§

    source§

    impl Clone for SessionGridTopology

    source§

    fn clone(&self) -> SessionGridTopology

    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 SessionGridTopology

    source§

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

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

    impl Default for SessionGridTopology

    source§

    fn default() -> SessionGridTopology

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

    impl PartialEq<SessionGridTopology> for SessionGridTopology

    source§

    fn eq(&self, other: &SessionGridTopology) -> bool

    This method tests for self and other values to be equal, and is used diff --git a/doc/polkadot_node_network_protocol/grid_topology/struct.TopologyPeerInfo.html b/doc/polkadot_node_network_protocol/grid_topology/struct.TopologyPeerInfo.html index 895cd36e1b6f..88b5b7b9f211 100644 --- a/doc/polkadot_node_network_protocol/grid_topology/struct.TopologyPeerInfo.html +++ b/doc/polkadot_node_network_protocol/grid_topology/struct.TopologyPeerInfo.html @@ -1,10 +1,10 @@ TopologyPeerInfo in polkadot_node_network_protocol::grid_topology - Rust
    pub struct TopologyPeerInfo {
         pub peer_ids: Vec<PeerId>,
    -    pub validator_index: ValidatorIndex,
    +    pub validator_index: ValidatorIndex,
         pub discovery_id: AuthorityDiscoveryId,
     }
    Expand description

    Information about a peer in the gossip topology for a session.

    Fields§

    §peer_ids: Vec<PeerId>

    The validator’s known peer IDs.

    -
    §validator_index: ValidatorIndex

    The index of the validator in the discovery keys of the corresponding +

    §validator_index: ValidatorIndex

    The index of the validator in the discovery keys of the corresponding SessionInfo. This can extend beyond the set of active parachain validators.

    §discovery_id: AuthorityDiscoveryId

    The authority discovery public key of the validator in the corresponding SessionInfo.

    diff --git a/doc/polkadot_node_network_protocol/index.html b/doc/polkadot_node_network_protocol/index.html index 1e119a40bd23..9912f88ec2cc 100644 --- a/doc/polkadot_node_network_protocol/index.html +++ b/doc/polkadot_node_network_protocol/index.html @@ -5,5 +5,5 @@ The basic operation of the 2D grid topology is that:
  • Peer-sets and protocols used for parachains. All peersets and protocols used for parachains.
  • Request/response protocols used in Polkadot. Overview over request/responses as used in Polkadot.
  • v1 notification protocol types.
  • Macros

    • Construct a new OurView with the given chain heads, finalized number 0 and disabled -[jaeger::Span]’s.
    • Construct a new view with the given chain heads and finalized number 0.

    Structs

    • Specialized wrapper around View.
    • Identifier of a peer of the network.
    • Description of a reputation adjustment for a node.
    • A succinct representation of a peer’s view. This consists of a bounded amount of chain heads +jaeger::Span’s.
    • Construct a new view with the given chain heads and finalized number 0.

    Structs

    • Specialized wrapper around View.
    • Identifier of a peer of the network.
    • Description of a reputation adjustment for a node.
    • A succinct representation of a peer’s view. This consists of a bounded amount of chain heads and the highest known finalized block number.
    • An error indicating that this the over-arching message type had the wrong variant

    Enums

    Constants

    Type Definitions

    \ No newline at end of file diff --git a/doc/polkadot_node_network_protocol/macro.our_view.html b/doc/polkadot_node_network_protocol/macro.our_view.html index badf342ff4c4..681ccb1a0133 100644 --- a/doc/polkadot_node_network_protocol/macro.our_view.html +++ b/doc/polkadot_node_network_protocol/macro.our_view.html @@ -1,7 +1,7 @@ our_view in polkadot_node_network_protocol - Rust
    macro_rules! our_view {
         ( $( $hash:expr ),* $(,)? ) => { ... };
     }
    Expand description

    Construct a new OurView with the given chain heads, finalized number 0 and disabled -[jaeger::Span]’s.

    +jaeger::Span’s.

    NOTE: Use for tests only.

    Example

    let our_view = our_view![Hash::repeat_byte(1), Hash::repeat_byte(2)];
    diff --git a/doc/polkadot_node_network_protocol/request_response/network/struct.Roles.html b/doc/polkadot_node_network_protocol/request_response/network/struct.Roles.html index 44fdef89165f..21cb286c6631 100644 --- a/doc/polkadot_node_network_protocol/request_response/network/struct.Roles.html +++ b/doc/polkadot_node_network_protocol/request_response/network/struct.Roles.html @@ -114,8 +114,8 @@
    Safety
    bytes consumed. Read more
    §

    impl<T> DefensiveMax<T> for Twhere T: PartialOrd<T>,

    §

    fn defensive_max(self, other: T) -> T

    Returns the maximum and defensively asserts that other is not larger than self. Read more
    §

    fn defensive_strict_max(self, other: T) -> T

    Returns the maximum and defensively asserts that other is smaller than self. Read more
    §

    impl<T> DefensiveMin<T> for Twhere T: PartialOrd<T>,

    §

    fn defensive_min(self, other: T) -> T

    Returns the minimum and defensively checks that self is not larger than other. Read more
    §

    fn defensive_strict_min(self, other: T) -> T

    Returns the minimum and defensively checks that self is smaller than other. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_network_protocol/request_response/v1/enum.AvailableDataFetchingResponse.html b/doc/polkadot_node_network_protocol/request_response/v1/enum.AvailableDataFetchingResponse.html index 1ea0279b4282..8fba4f9c8d19 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/enum.AvailableDataFetchingResponse.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/enum.AvailableDataFetchingResponse.html @@ -1,8 +1,8 @@ AvailableDataFetchingResponse in polkadot_node_network_protocol::request_response::v1 - Rust
    pub enum AvailableDataFetchingResponse {
    -    AvailableData(AvailableData),
    +    AvailableData(AvailableData),
         NoSuchData,
     }
    Expand description

    Receive a requested available data.

    -

    Variants§

    §

    AvailableData(AvailableData)

    The requested data.

    +

    Variants§

    §

    AvailableData(AvailableData)

    The requested data.

    §

    NoSuchData

    Node was not in possession of the requested data.

    Trait Implementations§

    source§

    impl Clone for AvailableDataFetchingResponse

    source§

    fn clone(&self) -> AvailableDataFetchingResponse

    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 AvailableDataFetchingResponse

    source§

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

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

    impl Decode for AvailableDataFetchingResponse

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy @@ -15,7 +15,7 @@ &self, __codec_dest_edqy: &mut __CodecOutputEdqy )

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<Option<AvailableData>> for AvailableDataFetchingResponse

    source§

    fn from(x: Option<AvailableData>) -> Self

    Converts to this type from the input type.
    source§

    impl EncodeLike<AvailableDataFetchingResponse> for AvailableDataFetchingResponse

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<Option<AvailableData>> for AvailableDataFetchingResponse

    source§

    fn from(x: Option<AvailableData>) -> Self

    Converts to this type from the input type.
    source§

    impl EncodeLike<AvailableDataFetchingResponse> for AvailableDataFetchingResponse

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for AvailableDataFetchingResponse

    §

    impl Send for AvailableDataFetchingResponse

    §

    impl Sync for AvailableDataFetchingResponse

    §

    impl Unpin for AvailableDataFetchingResponse

    §

    impl UnwindSafe for AvailableDataFetchingResponse

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> Any for Twhere T: Any,

    §

    fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

    §

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

    §

    fn type_name(&self) -> &'static str

    §

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

    §

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

    source§

    impl<T> Borrow<T> for Twhere @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

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

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    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 diff --git a/doc/polkadot_node_network_protocol/request_response/v1/enum.ChunkFetchingResponse.html b/doc/polkadot_node_network_protocol/request_response/v1/enum.ChunkFetchingResponse.html index 042ed93c16cb..934f3e44b005 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/enum.ChunkFetchingResponse.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/enum.ChunkFetchingResponse.html @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

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

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    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 diff --git a/doc/polkadot_node_network_protocol/request_response/v1/enum.CollationFetchingResponse.html b/doc/polkadot_node_network_protocol/request_response/v1/enum.CollationFetchingResponse.html index 562d6b4acd39..c93279f67da1 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/enum.CollationFetchingResponse.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/enum.CollationFetchingResponse.html @@ -1,7 +1,7 @@ CollationFetchingResponse in polkadot_node_network_protocol::request_response::v1 - Rust
    pub enum CollationFetchingResponse {
    -    Collation(CandidateReceipt, PoV),
    +    Collation(CandidateReceipt, PoV),
     }
    Expand description

    Responses as sent by collators.

    -

    Variants§

    §

    Collation(CandidateReceipt, PoV)

    Deliver requested collation.

    +

    Variants§

    §

    Collation(CandidateReceipt, PoV)

    Deliver requested collation.

    Trait Implementations§

    source§

    impl Clone for CollationFetchingResponse

    source§

    fn clone(&self) -> CollationFetchingResponse

    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 CollationFetchingResponse

    source§

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

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

    impl Decode for CollationFetchingResponse

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -29,8 +29,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

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

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    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 diff --git a/doc/polkadot_node_network_protocol/request_response/v1/enum.DisputeResponse.html b/doc/polkadot_node_network_protocol/request_response/v1/enum.DisputeResponse.html index 234c66d6fcec..8d5c7e2d69bd 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/enum.DisputeResponse.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/enum.DisputeResponse.html @@ -30,8 +30,8 @@ input: &mut &[u8] ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of -bytes consumed. Read more
    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere +bytes consumed. Read more

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_network_protocol/request_response/v1/enum.PoVFetchingResponse.html b/doc/polkadot_node_network_protocol/request_response/v1/enum.PoVFetchingResponse.html index 63d1045f78ac..11b653b6c2a9 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/enum.PoVFetchingResponse.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/enum.PoVFetchingResponse.html @@ -1,8 +1,8 @@ PoVFetchingResponse in polkadot_node_network_protocol::request_response::v1 - Rust
    pub enum PoVFetchingResponse {
    -    PoV(PoV),
    +    PoV(PoV),
         NoSuchPoV,
     }
    Expand description

    Responses to PoVFetchingRequest.

    -

    Variants§

    §

    PoV(PoV)

    Deliver requested PoV.

    +

    Variants§

    §

    PoV(PoV)

    Deliver requested PoV.

    §

    NoSuchPoV

    PoV was not found in store.

    Trait Implementations§

    source§

    impl Clone for PoVFetchingResponse

    source§

    fn clone(&self) -> PoVFetchingResponse

    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 PoVFetchingResponse

    source§

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

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

    impl Decode for PoVFetchingResponse

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

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

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    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 diff --git a/doc/polkadot_node_network_protocol/request_response/v1/enum.StatementFetchingResponse.html b/doc/polkadot_node_network_protocol/request_response/v1/enum.StatementFetchingResponse.html index 16cb01151d48..b8b0a9017b93 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/enum.StatementFetchingResponse.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/enum.StatementFetchingResponse.html @@ -1,10 +1,10 @@ StatementFetchingResponse in polkadot_node_network_protocol::request_response::v1 - Rust
    pub enum StatementFetchingResponse {
    -    Statement(CommittedCandidateReceipt),
    +    Statement(CommittedCandidateReceipt),
     }
    Expand description

    Respond with found full statement.

    In this protocol the requester will only request data it was previously notified about, therefore not having the data is not really an option and would just result in a RequestFailure.

    -

    Variants§

    §

    Statement(CommittedCandidateReceipt)

    Data missing to reconstruct the full signed statement.

    +

    Variants§

    §

    Statement(CommittedCandidateReceipt)

    Data missing to reconstruct the full signed statement.

    Trait Implementations§

    source§

    impl Clone for StatementFetchingResponse

    source§

    fn clone(&self) -> StatementFetchingResponse

    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 StatementFetchingResponse

    source§

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

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

    impl Decode for StatementFetchingResponse

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -32,8 +32,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

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

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    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 diff --git a/doc/polkadot_node_network_protocol/request_response/v1/struct.AvailableDataFetchingRequest.html b/doc/polkadot_node_network_protocol/request_response/v1/struct.AvailableDataFetchingRequest.html index fe36ca56249c..5201f160a39c 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/struct.AvailableDataFetchingRequest.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/struct.AvailableDataFetchingRequest.html @@ -28,8 +28,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

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

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    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 diff --git a/doc/polkadot_node_network_protocol/request_response/v1/struct.ChunkFetchingRequest.html b/doc/polkadot_node_network_protocol/request_response/v1/struct.ChunkFetchingRequest.html index 969e45498f1b..b50e41b0cc7d 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/struct.ChunkFetchingRequest.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/struct.ChunkFetchingRequest.html @@ -1,9 +1,9 @@ ChunkFetchingRequest in polkadot_node_network_protocol::request_response::v1 - Rust
    pub struct ChunkFetchingRequest {
         pub candidate_hash: CandidateHash,
    -    pub index: ValidatorIndex,
    +    pub index: ValidatorIndex,
     }
    Expand description

    Request an availability chunk.

    Fields§

    §candidate_hash: CandidateHash

    Hash of candidate we want a chunk for.

    -
    §index: ValidatorIndex

    The index of the chunk to fetch.

    +
    §index: ValidatorIndex

    The index of the chunk to fetch.

    Trait Implementations§

    source§

    impl Clone for ChunkFetchingRequest

    source§

    fn clone(&self) -> ChunkFetchingRequest

    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 ChunkFetchingRequest

    source§

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

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

    impl Decode for ChunkFetchingRequest

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

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

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    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 diff --git a/doc/polkadot_node_network_protocol/request_response/v1/struct.ChunkResponse.html b/doc/polkadot_node_network_protocol/request_response/v1/struct.ChunkResponse.html index 411d7608746c..967b8e4d5e87 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/struct.ChunkResponse.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/struct.ChunkResponse.html @@ -1,14 +1,14 @@ ChunkResponse in polkadot_node_network_protocol::request_response::v1 - Rust
    pub struct ChunkResponse {
         pub chunk: Vec<u8>,
    -    pub proof: Proof,
    +    pub proof: Proof,
     }
    Expand description

    Skimmed down variant of ErasureChunk.

    Instead of transmitting a full ErasureChunk we transmit ChunkResponse in ChunkFetchingResponse, which omits the chunk’s index. The index is already known by the requester and by not transmitting it, we ensure the requester is going to use his index value for validating the response, thus making sure he got what he requested.

    Fields§

    §chunk: Vec<u8>

    The erasure-encoded chunk of data belonging to the candidate block.

    -
    §proof: Proof

    Proof for this chunk’s branch in the Merkle tree.

    -

    Implementations§

    source§

    impl ChunkResponse

    source

    pub fn recombine_into_chunk(self, req: &ChunkFetchingRequest) -> ErasureChunk

    Re-build an ErasureChunk from response and request.

    +
    §proof: Proof

    Proof for this chunk’s branch in the Merkle tree.

    +

    Implementations§

    source§

    impl ChunkResponse

    source

    pub fn recombine_into_chunk(self, req: &ChunkFetchingRequest) -> ErasureChunk

    Re-build an ErasureChunk from response and request.

    Trait Implementations§

    source§

    impl Clone for ChunkResponse

    source§

    fn clone(&self) -> ChunkResponse

    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 ChunkResponse

    source§

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

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

    impl Decode for ChunkResponse

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -20,7 +20,7 @@ &self, __codec_dest_edqy: &mut __CodecOutputEdqy )

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<ErasureChunk> for ChunkResponse

    source§

    fn from(_: ErasureChunk) -> Self

    Converts to this type from the input type.
    source§

    impl EncodeLike<ChunkResponse> for ChunkResponse

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<ErasureChunk> for ChunkResponse

    source§

    fn from(_: ErasureChunk) -> Self

    Converts to this type from the input type.
    source§

    impl EncodeLike<ChunkResponse> for ChunkResponse

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> Any for Twhere T: Any,

    §

    fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

    §

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

    §

    fn type_name(&self) -> &'static str

    §

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

    §

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

    source§

    impl<T> Borrow<T> for Twhere @@ -36,8 +36,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

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

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    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 diff --git a/doc/polkadot_node_network_protocol/request_response/v1/struct.CollationFetchingRequest.html b/doc/polkadot_node_network_protocol/request_response/v1/struct.CollationFetchingRequest.html index a005cd3f2433..76224ba34a28 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/struct.CollationFetchingRequest.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/struct.CollationFetchingRequest.html @@ -1,9 +1,9 @@ CollationFetchingRequest in polkadot_node_network_protocol::request_response::v1 - Rust
    pub struct CollationFetchingRequest {
         pub relay_parent: Hash,
    -    pub para_id: ParaId,
    +    pub para_id: ParaId,
     }
    Expand description

    Request the advertised collation at that relay-parent.

    Fields§

    §relay_parent: Hash

    Relay parent we want a collation for.

    -
    §para_id: ParaId

    The ParaId of the collation.

    +
    §para_id: ParaId

    The ParaId of the collation.

    Trait Implementations§

    source§

    impl Clone for CollationFetchingRequest

    source§

    fn clone(&self) -> CollationFetchingRequest

    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 CollationFetchingRequest

    source§

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

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

    impl Decode for CollationFetchingRequest

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

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

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    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 diff --git a/doc/polkadot_node_network_protocol/request_response/v1/struct.DisputeRequest.html b/doc/polkadot_node_network_protocol/request_response/v1/struct.DisputeRequest.html index d0da053526f2..dbbf152e3911 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/struct.DisputeRequest.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/struct.DisputeRequest.html @@ -1,6 +1,6 @@ -DisputeRequest in polkadot_node_network_protocol::request_response::v1 - Rust
    pub struct DisputeRequest(pub UncheckedDisputeMessage);
    Expand description

    A dispute request.

    +DisputeRequest in polkadot_node_network_protocol::request_response::v1 - Rust
    pub struct DisputeRequest(pub UncheckedDisputeMessage);
    Expand description

    A dispute request.

    Contains an invalid vote a valid one for a particular candidate in a given session.

    -

    Tuple Fields§

    §0: UncheckedDisputeMessage

    Trait Implementations§

    source§

    impl Clone for DisputeRequest

    source§

    fn clone(&self) -> DisputeRequest

    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 DisputeRequest

    source§

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

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

    impl Decode for DisputeRequest

    source§

    fn decode<__CodecInputEdqy: Input>( +

    Tuple Fields§

    §0: UncheckedDisputeMessage

    Trait Implementations§

    source§

    impl Clone for DisputeRequest

    source§

    fn clone(&self) -> DisputeRequest

    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 DisputeRequest

    source§

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

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

    impl Decode for DisputeRequest

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( input: &mut I, @@ -10,7 +10,7 @@ I: Input,

    Attempt to skip the encoded value from input. Read more
    §

    fn encoded_fixed_size() -> Option<usize>

    Returns the fixed encoded size of the type. Read more
    source§

    impl Encode for DisputeRequest

    source§

    fn size_hint(&self) -> usize

    If possible give a hint of expected size of the encoding. Read more
    source§

    fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy -)

    Convert self to a slice and append it to the destination.
    source§

    fn encode(&self) -> Vec<u8>

    Convert self to an owned vector.
    source§

    fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<DisputeMessage> for DisputeRequest

    source§

    fn from(msg: DisputeMessage) -> Self

    Converts to this type from the input type.
    source§

    impl IsRequest for DisputeRequest

    §

    type Response = DisputeResponse

    Each request has a corresponding Response.
    source§

    const PROTOCOL: Protocol = Protocol::DisputeSendingV1

    What protocol this Request implements.
    source§

    impl EncodeLike<DisputeRequest> for DisputeRequest

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +)

    Convert self to a slice and append it to the destination.
    source§

    fn encode(&self) -> Vec<u8>

    Convert self to an owned vector.
    source§

    fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<DisputeMessage> for DisputeRequest

    source§

    fn from(msg: DisputeMessage) -> Self

    Converts to this type from the input type.
    source§

    impl IsRequest for DisputeRequest

    §

    type Response = DisputeResponse

    Each request has a corresponding Response.
    source§

    const PROTOCOL: Protocol = Protocol::DisputeSendingV1

    What protocol this Request implements.
    source§

    impl EncodeLike<DisputeRequest> for DisputeRequest

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> Any for Twhere T: Any,

    §

    fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

    §

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

    §

    fn type_name(&self) -> &'static str

    §

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

    §

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

    source§

    impl<T> Borrow<T> for Twhere @@ -26,8 +26,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more

    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

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

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    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 diff --git a/doc/polkadot_node_network_protocol/request_response/v1/struct.PoVFetchingRequest.html b/doc/polkadot_node_network_protocol/request_response/v1/struct.PoVFetchingRequest.html index 40959e6bf079..74878e35943e 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/struct.PoVFetchingRequest.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/struct.PoVFetchingRequest.html @@ -28,8 +28,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

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

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    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 diff --git a/doc/polkadot_node_network_protocol/request_response/v1/struct.StatementFetchingRequest.html b/doc/polkadot_node_network_protocol/request_response/v1/struct.StatementFetchingRequest.html index bd034f2191ee..9b16653d8f9c 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/struct.StatementFetchingRequest.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/struct.StatementFetchingRequest.html @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

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

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    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 diff --git a/doc/polkadot_node_network_protocol/struct.OurView.html b/doc/polkadot_node_network_protocol/struct.OurView.html index da8de8f34164..1c4e02eb0711 100644 --- a/doc/polkadot_node_network_protocol/struct.OurView.html +++ b/doc/polkadot_node_network_protocol/struct.OurView.html @@ -1,11 +1,11 @@ OurView in polkadot_node_network_protocol - Rust
    pub struct OurView { /* private fields */ }
    Expand description

    Specialized wrapper around View.

    -

    Besides the access to the view itself, it also gives access to the [jaeger::Span] per +

    Besides the access to the view itself, it also gives access to the jaeger::Span per leave/head.

    Implementations§

    source§

    impl OurView

    source

    pub fn new( - heads: impl IntoIterator<Item = (Hash, Arc<Span>)>, + heads: impl IntoIterator<Item = (Hash, Arc<Span>)>, finalized_number: BlockNumber ) -> Self

    Creates a new instance.

    -
    source

    pub fn span_per_head(&self) -> &HashMap<Hash, Arc<Span>>

    Returns the span per head map.

    +
    source

    pub fn span_per_head(&self) -> &HashMap<Hash, Arc<Span>>

    Returns the span per head map.

    For each head there exists one span in this map.

    Methods from Deref<Target = View>§

    source

    pub fn len(&self) -> usize

    Obtain the number of heads that are in view.

    source

    pub fn is_empty(&self) -> bool

    Check if the number of heads contained, is null.

    diff --git a/doc/polkadot_node_network_protocol/struct.View.html b/doc/polkadot_node_network_protocol/struct.View.html index 6f93bd92a35a..b87ee4c0f248 100644 --- a/doc/polkadot_node_network_protocol/struct.View.html +++ b/doc/polkadot_node_network_protocol/struct.View.html @@ -58,8 +58,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_network_protocol/v1/enum.ApprovalDistributionMessage.html b/doc/polkadot_node_network_protocol/v1/enum.ApprovalDistributionMessage.html index aa55838dc40c..2ee4abcd25d9 100644 --- a/doc/polkadot_node_network_protocol/v1/enum.ApprovalDistributionMessage.html +++ b/doc/polkadot_node_network_protocol/v1/enum.ApprovalDistributionMessage.html @@ -1,10 +1,10 @@ ApprovalDistributionMessage in polkadot_node_network_protocol::v1 - Rust
    pub enum ApprovalDistributionMessage {
    -    Assignments(Vec<(IndirectAssignmentCert, CandidateIndex)>),
    -    Approvals(Vec<IndirectSignedApprovalVote>),
    +    Assignments(Vec<(IndirectAssignmentCert, CandidateIndex)>),
    +    Approvals(Vec<IndirectSignedApprovalVote>),
     }
    Expand description

    Network messages used by the approval distribution subsystem.

    -

    Variants§

    §

    Assignments(Vec<(IndirectAssignmentCert, CandidateIndex)>)

    Assignments for candidates in recent, unfinalized blocks.

    +

    Variants§

    §

    Assignments(Vec<(IndirectAssignmentCert, CandidateIndex)>)

    Assignments for candidates in recent, unfinalized blocks.

    Actually checking the assignment may yield a different result.

    -
    §

    Approvals(Vec<IndirectSignedApprovalVote>)

    Approvals for candidates in some recent, unfinalized block.

    +
    §

    Approvals(Vec<IndirectSignedApprovalVote>)

    Approvals for candidates in some recent, unfinalized block.

    Trait Implementations§

    source§

    impl Clone for ApprovalDistributionMessage

    source§

    fn clone(&self) -> ApprovalDistributionMessage

    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 ApprovalDistributionMessage

    source§

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

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

    impl Decode for ApprovalDistributionMessage

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -34,8 +34,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_network_protocol/v1/enum.BitfieldDistributionMessage.html b/doc/polkadot_node_network_protocol/v1/enum.BitfieldDistributionMessage.html index fb643c53a44a..7b20eaf5b6a9 100644 --- a/doc/polkadot_node_network_protocol/v1/enum.BitfieldDistributionMessage.html +++ b/doc/polkadot_node_network_protocol/v1/enum.BitfieldDistributionMessage.html @@ -1,7 +1,7 @@ BitfieldDistributionMessage in polkadot_node_network_protocol::v1 - Rust
    pub enum BitfieldDistributionMessage {
    -    Bitfield(Hash, UncheckedSignedAvailabilityBitfield),
    +    Bitfield(Hash, UncheckedSignedAvailabilityBitfield),
     }
    Expand description

    Network messages used by the bitfield distribution subsystem.

    -

    Variants§

    §

    Bitfield(Hash, UncheckedSignedAvailabilityBitfield)

    A signed availability bitfield for a given relay-parent hash.

    +

    Variants§

    §

    Bitfield(Hash, UncheckedSignedAvailabilityBitfield)

    A signed availability bitfield for a given relay-parent hash.

    Trait Implementations§

    source§

    impl Clone for BitfieldDistributionMessage

    source§

    fn clone(&self) -> BitfieldDistributionMessage

    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 BitfieldDistributionMessage

    source§

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

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

    impl Decode for BitfieldDistributionMessage

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_network_protocol/v1/enum.CollationProtocol.html b/doc/polkadot_node_network_protocol/v1/enum.CollationProtocol.html index 7040f07440c6..e553b63fd7ce 100644 --- a/doc/polkadot_node_network_protocol/v1/enum.CollationProtocol.html +++ b/doc/polkadot_node_network_protocol/v1/enum.CollationProtocol.html @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_network_protocol/v1/enum.CollatorProtocolMessage.html b/doc/polkadot_node_network_protocol/v1/enum.CollatorProtocolMessage.html index 6854da3ebbb1..148ef8ae3446 100644 --- a/doc/polkadot_node_network_protocol/v1/enum.CollatorProtocolMessage.html +++ b/doc/polkadot_node_network_protocol/v1/enum.CollatorProtocolMessage.html @@ -1,13 +1,13 @@ CollatorProtocolMessage in polkadot_node_network_protocol::v1 - Rust
    pub enum CollatorProtocolMessage {
    -    Declare(CollatorId, ParaId, CollatorSignature),
    +    Declare(CollatorId, ParaId, CollatorSignature),
         AdvertiseCollation(Hash),
    -    CollationSeconded(Hash, UncheckedSignedFullStatement),
    +    CollationSeconded(Hash, UncheckedSignedFullStatement),
     }
    Expand description

    Network messages used by the collator protocol subsystem

    -

    Variants§

    §

    Declare(CollatorId, ParaId, CollatorSignature)

    Declare the intent to advertise collations under a collator ID, attaching a +

    Variants§

    §

    Declare(CollatorId, ParaId, CollatorSignature)

    Declare the intent to advertise collations under a collator ID, attaching a signature of the PeerId of the node using the given collator ID key.

    §

    AdvertiseCollation(Hash)

    Advertise a collation to a validator. Can only be sent once the peer has declared that they are a collator with given ID.

    -
    §

    CollationSeconded(Hash, UncheckedSignedFullStatement)

    A collation sent to a validator was seconded.

    +
    §

    CollationSeconded(Hash, UncheckedSignedFullStatement)

    A collation sent to a validator was seconded.

    Trait Implementations§

    source§

    impl Clone for CollatorProtocolMessage

    source§

    fn clone(&self) -> CollatorProtocolMessage

    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 CollatorProtocolMessage

    source§

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

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

    impl Decode for CollatorProtocolMessage

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -37,8 +37,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_network_protocol/v1/enum.StatementDistributionMessage.html b/doc/polkadot_node_network_protocol/v1/enum.StatementDistributionMessage.html index be3b6b9d8230..393d1a247f0a 100644 --- a/doc/polkadot_node_network_protocol/v1/enum.StatementDistributionMessage.html +++ b/doc/polkadot_node_network_protocol/v1/enum.StatementDistributionMessage.html @@ -1,13 +1,13 @@ StatementDistributionMessage in polkadot_node_network_protocol::v1 - Rust
    pub enum StatementDistributionMessage {
    -    Statement(Hash, UncheckedSignedFullStatement),
    +    Statement(Hash, UncheckedSignedFullStatement),
         LargeStatement(StatementMetadata),
     }
    Expand description

    Network messages used by the statement distribution subsystem.

    -

    Variants§

    §

    Statement(Hash, UncheckedSignedFullStatement)

    A signed full statement under a given relay-parent.

    +

    Variants§

    §

    Statement(Hash, UncheckedSignedFullStatement)

    A signed full statement under a given relay-parent.

    §

    LargeStatement(StatementMetadata)

    Seconded statement with large payload (e.g. containing a runtime upgrade).

    We only gossip the hash in that case, actual payloads can be fetched from sending node via request/response.

    -

    Implementations§

    source§

    impl StatementDistributionMessage

    source

    pub fn get_fingerprint(&self) -> (CompactStatement, ValidatorIndex)

    Get fingerprint describing the contained statement uniquely.

    -
    source

    pub fn get_signature(&self) -> ValidatorSignature

    Get the signature from the statement.

    +

    Implementations§

    source§

    impl StatementDistributionMessage

    source

    pub fn get_fingerprint(&self) -> (CompactStatement, ValidatorIndex)

    Get fingerprint describing the contained statement uniquely.

    +
    source

    pub fn get_signature(&self) -> ValidatorSignature

    Get the signature from the statement.

    source

    pub fn get_relay_parent(&self) -> Hash

    Get contained relay parent.

    source

    pub fn is_large_statement(&self) -> bool

    Whether this message contains a large statement.

    Trait Implementations§

    source§

    impl Clone for StatementDistributionMessage

    source§

    fn clone(&self) -> StatementDistributionMessage

    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 StatementDistributionMessage

    source§

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

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

    impl Decode for StatementDistributionMessage

    source§

    fn decode<__CodecInputEdqy: Input>( @@ -39,8 +39,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_network_protocol/v1/enum.ValidationProtocol.html b/doc/polkadot_node_network_protocol/v1/enum.ValidationProtocol.html index 28067e4c8e54..eddf6c0a4a44 100644 --- a/doc/polkadot_node_network_protocol/v1/enum.ValidationProtocol.html +++ b/doc/polkadot_node_network_protocol/v1/enum.ValidationProtocol.html @@ -35,8 +35,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_network_protocol/v1/struct.StatementMetadata.html b/doc/polkadot_node_network_protocol/v1/struct.StatementMetadata.html index 67f784525f55..f530c652bdca 100644 --- a/doc/polkadot_node_network_protocol/v1/struct.StatementMetadata.html +++ b/doc/polkadot_node_network_protocol/v1/struct.StatementMetadata.html @@ -1,13 +1,13 @@ StatementMetadata in polkadot_node_network_protocol::v1 - Rust
    pub struct StatementMetadata {
         pub relay_parent: Hash,
         pub candidate_hash: CandidateHash,
    -    pub signed_by: ValidatorIndex,
    -    pub signature: ValidatorSignature,
    +    pub signed_by: ValidatorIndex,
    +    pub signature: ValidatorSignature,
     }
    Expand description

    Data that makes a statement unique.

    Fields§

    §relay_parent: Hash

    Relay parent this statement is relevant under.

    §candidate_hash: CandidateHash

    Hash of the candidate that got validated.

    -
    §signed_by: ValidatorIndex

    Validator that attested the validity.

    -
    §signature: ValidatorSignature

    Signature of seconding validator.

    +
    §signed_by: ValidatorIndex

    Validator that attested the validity.

    +
    §signature: ValidatorSignature

    Signature of seconding validator.

    Trait Implementations§

    source§

    impl Clone for StatementMetadata

    source§

    fn clone(&self) -> StatementMetadata

    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 StatementMetadata

    source§

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

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

    impl Decode for StatementMetadata

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -42,8 +42,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/approval/enum.AssignmentCertKind.html b/doc/polkadot_node_primitives/approval/enum.AssignmentCertKind.html index ea489aa2477e..8784845be214 100644 --- a/doc/polkadot_node_primitives/approval/enum.AssignmentCertKind.html +++ b/doc/polkadot_node_primitives/approval/enum.AssignmentCertKind.html @@ -3,7 +3,7 @@ sample: u32, }, RelayVRFDelay { - core_index: CoreIndex, + core_index: CoreIndex, }, }
    Expand description

    Different kinds of input data or criteria that can prove a validator’s assignment to check a particular parachain.

    @@ -11,7 +11,7 @@

    An assignment story based on the VRF that authorized the relay-chain block where the candidate was included combined with a sample number.

    The context used to produce bytes is RELAY_VRF_MODULO_CONTEXT

    -
    §

    RelayVRFDelay

    Fields

    §core_index: CoreIndex

    The core index chosen in this cert.

    +
    §

    RelayVRFDelay

    Fields

    §core_index: CoreIndex

    The core index chosen in this cert.

    An assignment story based on the VRF that authorized the relay-chain block where the candidate was included combined with the index of a particular core.

    The context is RELAY_VRF_DELAY_CONTEXT

    @@ -42,8 +42,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/approval/struct.AssignmentCert.html b/doc/polkadot_node_primitives/approval/struct.AssignmentCert.html index 14017b5303fb..1305990994fb 100644 --- a/doc/polkadot_node_primitives/approval/struct.AssignmentCert.html +++ b/doc/polkadot_node_primitives/approval/struct.AssignmentCert.html @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/approval/struct.IndirectAssignmentCert.html b/doc/polkadot_node_primitives/approval/struct.IndirectAssignmentCert.html index 162e329d1a48..84cf253d8e12 100644 --- a/doc/polkadot_node_primitives/approval/struct.IndirectAssignmentCert.html +++ b/doc/polkadot_node_primitives/approval/struct.IndirectAssignmentCert.html @@ -1,11 +1,11 @@ IndirectAssignmentCert in polkadot_node_primitives::approval - Rust
    pub struct IndirectAssignmentCert {
         pub block_hash: Hash,
    -    pub validator: ValidatorIndex,
    +    pub validator: ValidatorIndex,
         pub cert: AssignmentCert,
     }
    Expand description

    An assignment criterion which refers to the candidate under which the assignment is relevant by block hash.

    Fields§

    §block_hash: Hash

    A block hash where the candidate appears.

    -
    §validator: ValidatorIndex

    The validator index.

    +
    §validator: ValidatorIndex

    The validator index.

    §cert: AssignmentCert

    The cert itself.

    Trait Implementations§

    source§

    impl Clone for IndirectAssignmentCert

    source§

    fn clone(&self) -> IndirectAssignmentCert

    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 IndirectAssignmentCert

    source§

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

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

    impl Decode for IndirectAssignmentCert

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy @@ -34,8 +34,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/approval/struct.IndirectSignedApprovalVote.html b/doc/polkadot_node_primitives/approval/struct.IndirectSignedApprovalVote.html index accd347dda21..5ff97dbddcce 100644 --- a/doc/polkadot_node_primitives/approval/struct.IndirectSignedApprovalVote.html +++ b/doc/polkadot_node_primitives/approval/struct.IndirectSignedApprovalVote.html @@ -1,15 +1,15 @@ IndirectSignedApprovalVote in polkadot_node_primitives::approval - Rust
    pub struct IndirectSignedApprovalVote {
         pub block_hash: Hash,
    -    pub candidate_index: CandidateIndex,
    -    pub validator: ValidatorIndex,
    -    pub signature: ValidatorSignature,
    +    pub candidate_index: CandidateIndex,
    +    pub validator: ValidatorIndex,
    +    pub signature: ValidatorSignature,
     }
    Expand description

    A signed approval vote which references the candidate indirectly via the block.

    In practice, we have a look-up from block hash and candidate index to candidate hash, so this can be transformed into a SignedApprovalVote.

    Fields§

    §block_hash: Hash

    A block hash where the candidate appears.

    -
    §candidate_index: CandidateIndex

    The index of the candidate in the list of candidates fully included as-of the block.

    -
    §validator: ValidatorIndex

    The validator index.

    -
    §signature: ValidatorSignature

    The signature by the validator.

    +
    §candidate_index: CandidateIndex

    The index of the candidate in the list of candidates fully included as-of the block.

    +
    §validator: ValidatorIndex

    The validator index.

    +
    §signature: ValidatorSignature

    The signature by the validator.

    Trait Implementations§

    source§

    impl Clone for IndirectSignedApprovalVote

    source§

    fn clone(&self) -> IndirectSignedApprovalVote

    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 IndirectSignedApprovalVote

    source§

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

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

    impl Decode for IndirectSignedApprovalVote

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -37,8 +37,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/approval/struct.RelayVRFStory.html b/doc/polkadot_node_primitives/approval/struct.RelayVRFStory.html index f226972dcabf..4d14c4a6fa66 100644 --- a/doc/polkadot_node_primitives/approval/struct.RelayVRFStory.html +++ b/doc/polkadot_node_primitives/approval/struct.RelayVRFStory.html @@ -26,8 +26,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more

    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

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

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    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 diff --git a/doc/polkadot_node_primitives/approval/struct.Slot.html b/doc/polkadot_node_primitives/approval/struct.Slot.html index 2d3f1f6b9b64..988b6629f441 100644 --- a/doc/polkadot_node_primitives/approval/struct.Slot.html +++ b/doc/polkadot_node_primitives/approval/struct.Slot.html @@ -53,8 +53,8 @@ bytes consumed. Read more

    §

    impl<T> DefensiveMax<T> for Twhere T: PartialOrd<T>,

    §

    fn defensive_max(self, other: T) -> T

    Returns the maximum and defensively asserts that other is not larger than self. Read more
    §

    fn defensive_strict_max(self, other: T) -> T

    Returns the maximum and defensively asserts that other is smaller than self. Read more
    §

    impl<T> DefensiveMin<T> for Twhere T: PartialOrd<T>,

    §

    fn defensive_min(self, other: T) -> T

    Returns the minimum and defensively checks that self is not larger than other. Read more
    §

    fn defensive_strict_min(self, other: T) -> T

    Returns the minimum and defensively checks that self is smaller than other. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/approval/struct.VrfOutput.html b/doc/polkadot_node_primitives/approval/struct.VrfOutput.html index d73601a04301..a10d3b354a8a 100644 --- a/doc/polkadot_node_primitives/approval/struct.VrfOutput.html +++ b/doc/polkadot_node_primitives/approval/struct.VrfOutput.html @@ -30,8 +30,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more

    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/approval/struct.VrfProof.html b/doc/polkadot_node_primitives/approval/struct.VrfProof.html index 04ff7fc1592a..73928fe9810c 100644 --- a/doc/polkadot_node_primitives/approval/struct.VrfProof.html +++ b/doc/polkadot_node_primitives/approval/struct.VrfProof.html @@ -23,8 +23,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/approval/struct.VrfSignature.html b/doc/polkadot_node_primitives/approval/struct.VrfSignature.html index c6532daec53e..c36e8a41473b 100644 --- a/doc/polkadot_node_primitives/approval/struct.VrfSignature.html +++ b/doc/polkadot_node_primitives/approval/struct.VrfSignature.html @@ -33,8 +33,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/disputes/enum.DisputeStatus.html b/doc/polkadot_node_primitives/disputes/enum.DisputeStatus.html index 68eb881228e2..7d032c7394a7 100644 --- a/doc/polkadot_node_primitives/disputes/enum.DisputeStatus.html +++ b/doc/polkadot_node_primitives/disputes/enum.DisputeStatus.html @@ -55,8 +55,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more

    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

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

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    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 diff --git a/doc/polkadot_node_primitives/disputes/struct.CandidateVotes.html b/doc/polkadot_node_primitives/disputes/struct.CandidateVotes.html index 7714db274171..911f732963bc 100644 --- a/doc/polkadot_node_primitives/disputes/struct.CandidateVotes.html +++ b/doc/polkadot_node_primitives/disputes/struct.CandidateVotes.html @@ -1,12 +1,12 @@ CandidateVotes in polkadot_node_primitives::disputes - Rust
    pub struct CandidateVotes {
    -    pub candidate_receipt: CandidateReceipt,
    +    pub candidate_receipt: CandidateReceipt,
         pub valid: ValidCandidateVotes,
    -    pub invalid: BTreeMap<ValidatorIndex, (InvalidDisputeStatementKind, ValidatorSignature)>,
    +    pub invalid: BTreeMap<ValidatorIndex, (InvalidDisputeStatementKind, ValidatorSignature)>,
     }
    Expand description

    Tracked votes on candidates, for the purposes of dispute resolution.

    -

    Fields§

    §candidate_receipt: CandidateReceipt

    The receipt of the candidate itself.

    +

    Fields§

    §candidate_receipt: CandidateReceipt

    The receipt of the candidate itself.

    §valid: ValidCandidateVotes

    Votes of validity, sorted by validator index.

    -
    §invalid: BTreeMap<ValidatorIndex, (InvalidDisputeStatementKind, ValidatorSignature)>

    Votes of invalidity, sorted by validator index.

    -

    Implementations§

    source§

    impl CandidateVotes

    source

    pub fn voted_indices(&self) -> BTreeSet<ValidatorIndex>

    Get the set of all validators who have votes in the set, ascending.

    +
    §invalid: BTreeMap<ValidatorIndex, (InvalidDisputeStatementKind, ValidatorSignature)>

    Votes of invalidity, sorted by validator index.

    +

    Implementations§

    source§

    impl CandidateVotes

    source

    pub fn voted_indices(&self) -> BTreeSet<ValidatorIndex>

    Get the set of all validators who have votes in the set, ascending.

    Trait Implementations§

    source§

    impl Clone for CandidateVotes

    source§

    fn clone(&self) -> CandidateVotes

    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 CandidateVotes

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    const: unstable · source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/polkadot_node_primitives/disputes/struct.DisputeMessage.html b/doc/polkadot_node_primitives/disputes/struct.DisputeMessage.html index 2d34b68030d3..9a83c0910142 100644 --- a/doc/polkadot_node_primitives/disputes/struct.DisputeMessage.html +++ b/doc/polkadot_node_primitives/disputes/struct.DisputeMessage.html @@ -6,11 +6,11 @@ versioned.

    Implementations§

    source§

    impl DisputeMessage

    source

    pub fn from_signed_statements( valid_statement: SignedDisputeStatement, - valid_index: ValidatorIndex, + valid_index: ValidatorIndex, invalid_statement: SignedDisputeStatement, - invalid_index: ValidatorIndex, - candidate_receipt: CandidateReceipt, - session_info: &SessionInfo + invalid_index: ValidatorIndex, + candidate_receipt: CandidateReceipt, + session_info: &SessionInfo ) -> Result<Self, Error>

    Build a SignedDisputeMessage and check what can be checked.

    This function checks that:

      @@ -30,7 +30,7 @@ their given index would very likely not match the ValidatorIds in the statements.

      So in summary, this smart constructor should be smart enough to prevent from almost all programming errors that one could realistically make here.

      -
    source

    pub fn candidate_receipt(&self) -> &CandidateReceipt

    Read only access to the candidate receipt.

    +
    source

    pub fn candidate_receipt(&self) -> &CandidateReceipt

    Read only access to the candidate receipt.

    source

    pub fn session_index(&self) -> SessionIndex

    Read only access to the SessionIndex.

    source

    pub fn invalid_vote(&self) -> &InvalidDisputeVote

    Read only access to the invalid vote.

    source

    pub fn valid_vote(&self) -> &ValidDisputeVote

    Read only access to the valid vote.

    diff --git a/doc/polkadot_node_primitives/disputes/struct.InvalidDisputeVote.html b/doc/polkadot_node_primitives/disputes/struct.InvalidDisputeVote.html index 1494bcb88f28..6539bddc193d 100644 --- a/doc/polkadot_node_primitives/disputes/struct.InvalidDisputeVote.html +++ b/doc/polkadot_node_primitives/disputes/struct.InvalidDisputeVote.html @@ -1,12 +1,12 @@ InvalidDisputeVote in polkadot_node_primitives::disputes - Rust
    pub struct InvalidDisputeVote {
    -    pub validator_index: ValidatorIndex,
    -    pub signature: ValidatorSignature,
    -    pub kind: InvalidDisputeStatementKind,
    +    pub validator_index: ValidatorIndex,
    +    pub signature: ValidatorSignature,
    +    pub kind: InvalidDisputeStatementKind,
     }
    Expand description

    Any invalid vote (currently only explicit).

    -

    Fields§

    §validator_index: ValidatorIndex

    The voting validator index.

    -
    §signature: ValidatorSignature

    The validator signature, that can be verified when constructing a +

    Fields§

    §validator_index: ValidatorIndex

    The voting validator index.

    +
    §signature: ValidatorSignature

    The validator signature, that can be verified when constructing a SignedDisputeStatement.

    -
    §kind: InvalidDisputeStatementKind

    Kind of dispute statement.

    +
    §kind: InvalidDisputeStatementKind

    Kind of dispute statement.

    Trait Implementations§

    source§

    impl Clone for InvalidDisputeVote

    source§

    fn clone(&self) -> InvalidDisputeVote

    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 InvalidDisputeVote

    source§

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

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

    impl Decode for InvalidDisputeVote

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -32,8 +32,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

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

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    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 diff --git a/doc/polkadot_node_primitives/disputes/struct.SignedDisputeStatement.html b/doc/polkadot_node_primitives/disputes/struct.SignedDisputeStatement.html index 17df42aea19e..f752c84d6094 100644 --- a/doc/polkadot_node_primitives/disputes/struct.SignedDisputeStatement.html +++ b/doc/polkadot_node_primitives/disputes/struct.SignedDisputeStatement.html @@ -1,38 +1,38 @@ SignedDisputeStatement in polkadot_node_primitives::disputes - Rust
    pub struct SignedDisputeStatement { /* private fields */ }
    Expand description

    A checked dispute statement from an associated validator.

    Implementations§

    source§

    impl SignedDisputeStatement

    source

    pub fn new_unchecked_from_trusted_source( - dispute_statement: DisputeStatement, + dispute_statement: DisputeStatement, candidate_hash: CandidateHash, session_index: SessionIndex, - validator_public: ValidatorId, - validator_signature: ValidatorSignature + validator_public: ValidatorId, + validator_signature: ValidatorSignature ) -> Self

    Create a new SignedDisputeStatement from information that is available on-chain, and hence already can be trusted.

    Attention: Not to be used other than with guaranteed fetches.

    source

    pub fn new_checked( - dispute_statement: DisputeStatement, + dispute_statement: DisputeStatement, candidate_hash: CandidateHash, session_index: SessionIndex, - validator_public: ValidatorId, - validator_signature: ValidatorSignature + validator_public: ValidatorId, + validator_signature: ValidatorSignature ) -> Result<Self, ()>

    Create a new SignedDisputeStatement, which is only possible by checking the signature.

    source

    pub fn sign_explicit( keystore: &KeystorePtr, valid: bool, candidate_hash: CandidateHash, session_index: SessionIndex, - validator_public: ValidatorId + validator_public: ValidatorId ) -> Result<Option<Self>, KeystoreError>

    Sign this statement with the given keystore and key. Pass valid = true to indicate validity of the candidate, and valid = false to indicate invalidity.

    -
    source

    pub fn statement(&self) -> &DisputeStatement

    Access the underlying dispute statement

    +
    source

    pub fn statement(&self) -> &DisputeStatement

    Access the underlying dispute statement

    source

    pub fn candidate_hash(&self) -> &CandidateHash

    Access the underlying candidate hash.

    -
    source

    pub fn validator_public(&self) -> &ValidatorId

    Access the underlying validator public key.

    -
    source

    pub fn validator_signature(&self) -> &ValidatorSignature

    Access the underlying validator signature.

    -
    source

    pub fn into_validator_signature(self) -> ValidatorSignature

    Consume self to return the signature.

    +
    source

    pub fn validator_public(&self) -> &ValidatorId

    Access the underlying validator public key.

    +
    source

    pub fn validator_signature(&self) -> &ValidatorSignature

    Access the underlying validator signature.

    +
    source

    pub fn into_validator_signature(self) -> ValidatorSignature

    Consume self to return the signature.

    source

    pub fn session_index(&self) -> SessionIndex

    Access the underlying session index.

    source

    pub fn from_backing_statement( backing_statement: &UncheckedSignedFullStatement, - signing_context: SigningContext, - validator_public: ValidatorId + signing_context: SigningContext, + validator_public: ValidatorId ) -> Result<Self, ()>

    Convert a [SignedFullStatement] to a SignedDisputeStatement

    As [SignedFullStatement] contains only the validator index and not the validator public key, the public key must be passed as well, diff --git a/doc/polkadot_node_primitives/disputes/struct.UncheckedDisputeMessage.html b/doc/polkadot_node_primitives/disputes/struct.UncheckedDisputeMessage.html index 5e990ebed0a3..2bdfc10cb8cb 100644 --- a/doc/polkadot_node_primitives/disputes/struct.UncheckedDisputeMessage.html +++ b/doc/polkadot_node_primitives/disputes/struct.UncheckedDisputeMessage.html @@ -1,17 +1,17 @@ UncheckedDisputeMessage in polkadot_node_primitives::disputes - Rust

    pub struct UncheckedDisputeMessage {
    -    pub candidate_receipt: CandidateReceipt,
    +    pub candidate_receipt: CandidateReceipt,
         pub session_index: SessionIndex,
         pub invalid_vote: InvalidDisputeVote,
         pub valid_vote: ValidDisputeVote,
     }
    Expand description

    A DisputeMessage where signatures of statements have not yet been checked.

    -

    Fields§

    §candidate_receipt: CandidateReceipt

    The candidate being disputed.

    +

    Fields§

    §candidate_receipt: CandidateReceipt

    The candidate being disputed.

    §session_index: SessionIndex

    The session the candidate appears in.

    §invalid_vote: InvalidDisputeVote

    The invalid vote data that makes up this dispute.

    §valid_vote: ValidDisputeVote

    The valid vote that makes this dispute request valid.

    Implementations§

    source§

    impl UncheckedDisputeMessage

    source

    pub fn try_into_signed_votes( self, - session_info: &SessionInfo -) -> Result<(CandidateReceipt, (SignedDisputeStatement, ValidatorIndex), (SignedDisputeStatement, ValidatorIndex)), ()>

    Try to recover the two signed dispute votes from an UncheckedDisputeMessage.

    + session_info: &SessionInfo +) -> Result<(CandidateReceipt, (SignedDisputeStatement, ValidatorIndex), (SignedDisputeStatement, ValidatorIndex)), ()>

    Try to recover the two signed dispute votes from an UncheckedDisputeMessage.

    Trait Implementations§

    source§

    impl Clone for UncheckedDisputeMessage

    source§

    fn clone(&self) -> UncheckedDisputeMessage

    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 UncheckedDisputeMessage

    source§

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

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

    impl Decode for UncheckedDisputeMessage

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -37,8 +37,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

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

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    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 diff --git a/doc/polkadot_node_primitives/disputes/struct.ValidCandidateVotes.html b/doc/polkadot_node_primitives/disputes/struct.ValidCandidateVotes.html index bea981abb0c7..5be744175927 100644 --- a/doc/polkadot_node_primitives/disputes/struct.ValidCandidateVotes.html +++ b/doc/polkadot_node_primitives/disputes/struct.ValidCandidateVotes.html @@ -3,24 +3,24 @@

    Implementations§

    source§

    impl ValidCandidateVotes

    source

    pub fn new() -> Self

    Create new empty ValidCandidateVotes

    source

    pub fn insert_vote( &mut self, - validator_index: ValidatorIndex, - kind: ValidDisputeStatementKind, - sig: ValidatorSignature + validator_index: ValidatorIndex, + kind: ValidDisputeStatementKind, + sig: ValidatorSignature ) -> bool

    Insert a vote, replacing any already existing vote.

    Except, for backing votes: Backing votes are always kept, and will never get overridden. Import of other king of valid votes, will be ignored if a backing vote is already present. Any already existing valid vote, will be overridden by any given backing vote.

    Returns: true, if the insert had any effect.

    source

    pub fn retain<F>(&mut self, f: F)where - F: FnMut(&ValidatorIndex, &mut (ValidDisputeStatementKind, ValidatorSignature)) -> bool,

    Retain any votes that match the given criteria.

    + F: FnMut(&ValidatorIndex, &mut (ValidDisputeStatementKind, ValidatorSignature)) -> bool,

    Retain any votes that match the given criteria.

    source

    pub fn keys( &self -) -> Bkeys<'_, ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature)>

    Get all the validator indeces we have votes for.

    +) -> Bkeys<'_, ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature)>

    Get all the validator indeces we have votes for.

    source

    pub fn raw( &self -) -> &BTreeMap<ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature)>

    Get read only direct access to underlying map.

    -

    Trait Implementations§

    source§

    impl Clone for ValidCandidateVotes

    source§

    fn clone(&self) -> ValidCandidateVotes

    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 ValidCandidateVotes

    source§

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

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

    impl From<ValidCandidateVotes> for BTreeMap<ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature)>

    source§

    fn from(wrapped: ValidCandidateVotes) -> Self

    Converts to this type from the input type.
    source§

    impl FromIterator<(ValidatorIndex, (ValidDisputeStatementKind, Signature))> for ValidCandidateVotes

    source§

    fn from_iter<T>(iter: T) -> Selfwhere - T: IntoIterator<Item = (ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature))>,

    Creates a value from an iterator. Read more
    source§

    impl IntoIterator for ValidCandidateVotes

    §

    type Item = (ValidatorIndex, (ValidDisputeStatementKind, Signature))

    The type of the elements being iterated over.
    §

    type IntoIter = <BTreeMap<ValidatorIndex, (ValidDisputeStatementKind, Signature), Global> as IntoIterator>::IntoIter

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

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +) -> &BTreeMap<ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature)>

    Get read only direct access to underlying map.

    +

    Trait Implementations§

    source§

    impl Clone for ValidCandidateVotes

    source§

    fn clone(&self) -> ValidCandidateVotes

    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 ValidCandidateVotes

    source§

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

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

    impl From<ValidCandidateVotes> for BTreeMap<ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature)>

    source§

    fn from(wrapped: ValidCandidateVotes) -> Self

    Converts to this type from the input type.
    source§

    impl FromIterator<(ValidatorIndex, (ValidDisputeStatementKind, Signature))> for ValidCandidateVotes

    source§

    fn from_iter<T>(iter: T) -> Selfwhere + T: IntoIterator<Item = (ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature))>,

    Creates a value from an iterator. Read more
    source§

    impl IntoIterator for ValidCandidateVotes

    §

    type Item = (ValidatorIndex, (ValidDisputeStatementKind, Signature))

    The type of the elements being iterated over.
    §

    type IntoIter = <BTreeMap<ValidatorIndex, (ValidDisputeStatementKind, Signature), Global> as IntoIterator>::IntoIter

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

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<I> BidiIterator for Iwhere I: IntoIterator, <I as IntoIterator>::IntoIter: DoubleEndedIterator,

    §

    fn bidi(self, cond: bool) -> Bidi<Self::IntoIter>

    Conditionally reverses the direction of iteration. Read more
    source§

    impl<T> Borrow<T> for Twhere diff --git a/doc/polkadot_node_primitives/disputes/struct.ValidDisputeVote.html b/doc/polkadot_node_primitives/disputes/struct.ValidDisputeVote.html index 05f94136d5cc..489c06c22b68 100644 --- a/doc/polkadot_node_primitives/disputes/struct.ValidDisputeVote.html +++ b/doc/polkadot_node_primitives/disputes/struct.ValidDisputeVote.html @@ -1,12 +1,12 @@ ValidDisputeVote in polkadot_node_primitives::disputes - Rust
    pub struct ValidDisputeVote {
    -    pub validator_index: ValidatorIndex,
    -    pub signature: ValidatorSignature,
    -    pub kind: ValidDisputeStatementKind,
    +    pub validator_index: ValidatorIndex,
    +    pub signature: ValidatorSignature,
    +    pub kind: ValidDisputeStatementKind,
     }
    Expand description

    Any valid vote (backing, approval, explicit).

    -

    Fields§

    §validator_index: ValidatorIndex

    The voting validator index.

    -
    §signature: ValidatorSignature

    The validator signature, that can be verified when constructing a +

    Fields§

    §validator_index: ValidatorIndex

    The voting validator index.

    +
    §signature: ValidatorSignature

    The validator signature, that can be verified when constructing a SignedDisputeStatement.

    -
    §kind: ValidDisputeStatementKind

    Kind of dispute statement.

    +
    §kind: ValidDisputeStatementKind

    Kind of dispute statement.

    Trait Implementations§

    source§

    impl Clone for ValidDisputeVote

    source§

    fn clone(&self) -> ValidDisputeVote

    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 ValidDisputeVote

    source§

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

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

    impl Decode for ValidDisputeVote

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -32,8 +32,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

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

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    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 diff --git a/doc/polkadot_node_primitives/disputes/type.InvalidVoteData.html b/doc/polkadot_node_primitives/disputes/type.InvalidVoteData.html index 136807d72d79..8ab6ec08234a 100644 --- a/doc/polkadot_node_primitives/disputes/type.InvalidVoteData.html +++ b/doc/polkadot_node_primitives/disputes/type.InvalidVoteData.html @@ -1,2 +1,2 @@ -InvalidVoteData in polkadot_node_primitives::disputes - Rust
    pub type InvalidVoteData = (ValidatorIndex, (InvalidDisputeStatementKind, ValidatorSignature));
    Expand description

    Type alias for retrieving invalid votes from CandidateVotes

    +InvalidVoteData in polkadot_node_primitives::disputes - Rust
    pub type InvalidVoteData = (ValidatorIndex, (InvalidDisputeStatementKind, ValidatorSignature));
    Expand description

    Type alias for retrieving invalid votes from CandidateVotes

    \ No newline at end of file diff --git a/doc/polkadot_node_primitives/disputes/type.ValidVoteData.html b/doc/polkadot_node_primitives/disputes/type.ValidVoteData.html index 76181eabbfb3..c5c8a2bce10a 100644 --- a/doc/polkadot_node_primitives/disputes/type.ValidVoteData.html +++ b/doc/polkadot_node_primitives/disputes/type.ValidVoteData.html @@ -1,2 +1,2 @@ -ValidVoteData in polkadot_node_primitives::disputes - Rust
    pub type ValidVoteData = (ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature));
    Expand description

    Type alias for retrieving valid votes from CandidateVotes

    +ValidVoteData in polkadot_node_primitives::disputes - Rust
    pub type ValidVoteData = (ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature));
    Expand description

    Type alias for retrieving valid votes from CandidateVotes

    \ No newline at end of file diff --git a/doc/polkadot_node_primitives/enum.BabeAllowedSlots.html b/doc/polkadot_node_primitives/enum.BabeAllowedSlots.html index edd038314894..a4b0d01a34cd 100644 --- a/doc/polkadot_node_primitives/enum.BabeAllowedSlots.html +++ b/doc/polkadot_node_primitives/enum.BabeAllowedSlots.html @@ -44,8 +44,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/enum.MaybeCompressedPoV.html b/doc/polkadot_node_primitives/enum.MaybeCompressedPoV.html index f238e41060e6..5232db80a975 100644 --- a/doc/polkadot_node_primitives/enum.MaybeCompressedPoV.html +++ b/doc/polkadot_node_primitives/enum.MaybeCompressedPoV.html @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

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

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    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 diff --git a/doc/polkadot_node_primitives/enum.Statement.html b/doc/polkadot_node_primitives/enum.Statement.html index e81db8f37a08..f054dce6c3d5 100644 --- a/doc/polkadot_node_primitives/enum.Statement.html +++ b/doc/polkadot_node_primitives/enum.Statement.html @@ -1,17 +1,17 @@ Statement in polkadot_node_primitives - Rust
    pub enum Statement {
    -    Seconded(CommittedCandidateReceipt),
    +    Seconded(CommittedCandidateReceipt),
         Valid(CandidateHash),
     }
    Expand description

    A statement, where the candidate receipt is included in the Seconded variant.

    This is the committed candidate receipt instead of the bare candidate receipt. As such, it gives access to the commitments to validators who have not executed the candidate. This is necessary to allow a block-producing validator to include candidates from outside the para it is assigned to.

    -

    Variants§

    §

    Seconded(CommittedCandidateReceipt)

    A statement that a validator seconds a candidate.

    +

    Variants§

    §

    Seconded(CommittedCandidateReceipt)

    A statement that a validator seconds a candidate.

    §

    Valid(CandidateHash)

    A statement that a validator has deemed a candidate valid.

    Implementations§

    source§

    impl Statement

    source

    pub fn candidate_hash(&self) -> CandidateHash

    Get the candidate hash referenced by this statement.

    If this is a Statement::Seconded, this does hash the candidate receipt, which may be expensive for large candidates.

    -
    source

    pub fn to_compact(&self) -> CompactStatement

    Transform this statement into its compact version, which references only the hash +

    source

    pub fn to_compact(&self) -> CompactStatement

    Transform this statement into its compact version, which references only the hash of the candidate.

    Trait Implementations§

    source§

    impl Clone for Statement

    source§

    fn clone(&self) -> Statement

    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 Statement

    source§

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

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

    impl Decode for Statement

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy @@ -24,7 +24,7 @@ &self, __codec_dest_edqy: &mut __CodecOutputEdqy )

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl EncodeAs<CompactStatement> for Statement

    source§

    fn encode_as(&self) -> Vec<u8>

    Convert Self into T, then encode T. Read more
    source§

    impl From<&Statement> for CompactStatement

    source§

    fn from(stmt: &Statement) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Statement> for Statement

    source§

    fn eq(&self, other: &Statement) -> bool

    This method tests for self and other values to be equal, and is used + F: FnOnce(&[u8]) -> R,
    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl EncodeAs<CompactStatement> for Statement

    source§

    fn encode_as(&self) -> Vec<u8>

    Convert Self into T, then encode T. Read more
    source§

    impl From<&Statement> for CompactStatement

    source§

    fn from(stmt: &Statement) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Statement> for Statement

    source§

    fn eq(&self, other: &Statement) -> 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 EncodeLike<Statement> for Statement

    source§

    impl Eq for Statement

    source§

    impl StructuralEq for Statement

    source§

    impl StructuralPartialEq for Statement

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere @@ -40,8 +40,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/enum.ValidationResult.html b/doc/polkadot_node_primitives/enum.ValidationResult.html index ea7cc67f288d..3b283c6c7757 100644 --- a/doc/polkadot_node_primitives/enum.ValidationResult.html +++ b/doc/polkadot_node_primitives/enum.ValidationResult.html @@ -1,8 +1,8 @@ ValidationResult in polkadot_node_primitives - Rust
    pub enum ValidationResult {
    -    Valid(CandidateCommitments, PersistedValidationData),
    +    Valid(CandidateCommitments, PersistedValidationData),
         Invalid(InvalidCandidate),
     }
    Expand description

    Result of the validation of the candidate.

    -

    Variants§

    §

    Valid(CandidateCommitments, PersistedValidationData)

    Candidate is valid. The validation process yields these outputs and the persisted +

    Variants§

    §

    Valid(CandidateCommitments, PersistedValidationData)

    Candidate is valid. The validation process yields these outputs and the persisted validation data used to form inputs.

    §

    Invalid(InvalidCandidate)

    Candidate is invalid.

    Trait Implementations§

    source§

    impl Debug for ValidationResult

    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 Twhere diff --git a/doc/polkadot_node_primitives/struct.AvailableData.html b/doc/polkadot_node_primitives/struct.AvailableData.html index 70befcb9ca96..c0402bf400c1 100644 --- a/doc/polkadot_node_primitives/struct.AvailableData.html +++ b/doc/polkadot_node_primitives/struct.AvailableData.html @@ -1,9 +1,9 @@ AvailableData in polkadot_node_primitives - Rust
    pub struct AvailableData {
         pub pov: Arc<PoV>,
    -    pub validation_data: PersistedValidationData,
    +    pub validation_data: PersistedValidationData,
     }
    Expand description

    This is the data we keep available for each candidate included in the relay chain.

    Fields§

    §pov: Arc<PoV>

    The Proof-of-Validation of the candidate.

    -
    §validation_data: PersistedValidationData

    The persisted validation data needed for approval checks.

    +
    §validation_data: PersistedValidationData

    The persisted validation data needed for approval checks.

    Trait Implementations§

    source§

    impl Clone for AvailableData

    source§

    fn clone(&self) -> AvailableData

    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 AvailableData

    source§

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

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

    impl Decode for AvailableData

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/struct.BabeEpoch.html b/doc/polkadot_node_primitives/struct.BabeEpoch.html index 7bf777d6d2e4..aa8b39fe8914 100644 --- a/doc/polkadot_node_primitives/struct.BabeEpoch.html +++ b/doc/polkadot_node_primitives/struct.BabeEpoch.html @@ -41,8 +41,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more

    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/struct.BabeEpochConfiguration.html b/doc/polkadot_node_primitives/struct.BabeEpochConfiguration.html index acb992a493e7..7407aa028110 100644 --- a/doc/polkadot_node_primitives/struct.BabeEpochConfiguration.html +++ b/doc/polkadot_node_primitives/struct.BabeEpochConfiguration.html @@ -46,8 +46,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/struct.BlockData.html b/doc/polkadot_node_primitives/struct.BlockData.html index c7c23660d4a9..01849225ccc1 100644 --- a/doc/polkadot_node_primitives/struct.BlockData.html +++ b/doc/polkadot_node_primitives/struct.BlockData.html @@ -36,8 +36,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/struct.Collation.html b/doc/polkadot_node_primitives/struct.Collation.html index e1ed09375101..4a7e4158cee2 100644 --- a/doc/polkadot_node_primitives/struct.Collation.html +++ b/doc/polkadot_node_primitives/struct.Collation.html @@ -53,8 +53,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

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

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    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 diff --git a/doc/polkadot_node_primitives/struct.CollationGenerationConfig.html b/doc/polkadot_node_primitives/struct.CollationGenerationConfig.html index b23268fc2ca1..3ccd078fa7d0 100644 --- a/doc/polkadot_node_primitives/struct.CollationGenerationConfig.html +++ b/doc/polkadot_node_primitives/struct.CollationGenerationConfig.html @@ -1,9 +1,9 @@ CollationGenerationConfig in polkadot_node_primitives - Rust
    pub struct CollationGenerationConfig {
    -    pub key: CollatorPair,
    +    pub key: CollatorPair,
         pub collator: CollatorFn,
         pub para_id: ParaId,
     }
    Expand description

    Configuration for the collation generator

    -

    Fields§

    §key: CollatorPair

    Collator’s authentication key, so it can sign things.

    +

    Fields§

    §key: CollatorPair

    Collator’s authentication key, so it can sign things.

    §collator: CollatorFn

    Collation function. See CollatorFn for more details.

    §para_id: ParaId

    The parachain that this collator collates for

    Trait Implementations§

    source§

    impl Debug for CollationGenerationConfig

    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 Twhere diff --git a/doc/polkadot_node_primitives/struct.ErasureChunk.html b/doc/polkadot_node_primitives/struct.ErasureChunk.html index 1daedf7822ea..59649a5c55f2 100644 --- a/doc/polkadot_node_primitives/struct.ErasureChunk.html +++ b/doc/polkadot_node_primitives/struct.ErasureChunk.html @@ -1,10 +1,10 @@ ErasureChunk in polkadot_node_primitives - Rust
    pub struct ErasureChunk {
         pub chunk: Vec<u8>,
    -    pub index: ValidatorIndex,
    +    pub index: ValidatorIndex,
         pub proof: Proof,
     }
    Expand description

    A chunk of erasure-encoded block data.

    Fields§

    §chunk: Vec<u8>

    The erasure-encoded chunk of data belonging to the candidate block.

    -
    §index: ValidatorIndex

    The index of this erasure-encoded chunk of data.

    +
    §index: ValidatorIndex

    The index of this erasure-encoded chunk of data.

    §proof: Proof

    Proof for this chunk’s branch in the Merkle tree.

    Implementations§

    source§

    impl ErasureChunk

    source

    pub fn proof(&self) -> &Proof

    Convert bounded Vec Proof to regular Vec<Vec>

    Trait Implementations§

    source§

    impl Clone for ErasureChunk

    source§

    fn clone(&self) -> ErasureChunk

    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 ErasureChunk

    source§

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

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

    impl Decode for ErasureChunk

    source§

    fn decode<__CodecInputEdqy: Input>( @@ -41,8 +41,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/struct.PoV.html b/doc/polkadot_node_primitives/struct.PoV.html index 9c01c4c4ebad..5b2b8aeb7a8f 100644 --- a/doc/polkadot_node_primitives/struct.PoV.html +++ b/doc/polkadot_node_primitives/struct.PoV.html @@ -29,8 +29,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more

    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/struct.Proof.html b/doc/polkadot_node_primitives/struct.Proof.html index 98cacfa73ce3..f52efc0bc4ed 100644 --- a/doc/polkadot_node_primitives/struct.Proof.html +++ b/doc/polkadot_node_primitives/struct.Proof.html @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/type.CollatorFn.html b/doc/polkadot_node_primitives/type.CollatorFn.html index 79ed3d3b4ba9..bc10ccaba5c5 100644 --- a/doc/polkadot_node_primitives/type.CollatorFn.html +++ b/doc/polkadot_node_primitives/type.CollatorFn.html @@ -1,4 +1,4 @@ -CollatorFn in polkadot_node_primitives - Rust

    Type Definition polkadot_node_primitives::CollatorFn

    source ·
    pub type CollatorFn = Box<dyn Fn(Hash, &PersistedValidationData) -> Pin<Box<dyn Future<Output = Option<CollationResult>> + Send>> + Send + Sync>;
    Expand description

    Collation function.

    +CollatorFn in polkadot_node_primitives - Rust

    Type Definition polkadot_node_primitives::CollatorFn

    source ·
    pub type CollatorFn = Box<dyn Fn(Hash, &PersistedValidationData) -> Pin<Box<dyn Future<Output = Option<CollationResult>> + Send>> + Send + Sync>;
    Expand description

    Collation function.

    Will be called with the hash of the relay chain block the parachain block should be build on and the [ValidationData] that provides information about the state of the parachain on the relay chain.

    diff --git a/doc/polkadot_node_primitives/type.SignedFullStatement.html b/doc/polkadot_node_primitives/type.SignedFullStatement.html index b8d935d6ac13..08ac609a3cf4 100644 --- a/doc/polkadot_node_primitives/type.SignedFullStatement.html +++ b/doc/polkadot_node_primitives/type.SignedFullStatement.html @@ -1,4 +1,4 @@ -SignedFullStatement in polkadot_node_primitives - Rust
    pub type SignedFullStatement = Signed<Statement, CompactStatement>;
    Expand description

    A statement, the corresponding signature, and the index of the sender.

    +SignedFullStatement in polkadot_node_primitives - Rust
    pub type SignedFullStatement = Signed<Statement, CompactStatement>;
    Expand description

    A statement, the corresponding signature, and the index of the sender.

    Signing context and validator set should be apparent from context.

    This statement is “full” in the sense that the Seconded variant includes the candidate receipt. Only the compact SignedStatement is suitable for submission to the chain.

    diff --git a/doc/polkadot_node_primitives/type.UncheckedSignedFullStatement.html b/doc/polkadot_node_primitives/type.UncheckedSignedFullStatement.html index f51469213b43..b596849f5d0b 100644 --- a/doc/polkadot_node_primitives/type.UncheckedSignedFullStatement.html +++ b/doc/polkadot_node_primitives/type.UncheckedSignedFullStatement.html @@ -1,2 +1,2 @@ -UncheckedSignedFullStatement in polkadot_node_primitives - Rust
    pub type UncheckedSignedFullStatement = UncheckedSigned<Statement, CompactStatement>;
    Expand description

    Variant of SignedFullStatement where the signature has not yet been verified.

    +UncheckedSignedFullStatement in polkadot_node_primitives - Rust
    pub type UncheckedSignedFullStatement = UncheckedSigned<Statement, CompactStatement>;
    Expand description

    Variant of SignedFullStatement where the signature has not yet been verified.

    \ No newline at end of file diff --git a/doc/polkadot_node_subsystem_types/enum.Span.html b/doc/polkadot_node_subsystem_types/enum.Span.html index 3b807514ba10..93fdb6dad201 100644 --- a/doc/polkadot_node_subsystem_types/enum.Span.html +++ b/doc/polkadot_node_subsystem_types/enum.Span.html @@ -19,18 +19,18 @@ V: ToString,

    pub fn with_peer_id(self, peer: &PeerId) -> Span

    Attach a peer-id tag to the span.

    pub fn with_optional_peer_id(self, peer: Option<&PeerId>) -> Span

    Attach a peer-id tag to the span when peer is present.

    pub fn with_candidate(self, candidate_hash: CandidateHash) -> Span

    Attach a candidate hash to the span.

    -

    pub fn with_para_id(self, para_id: Id) -> Span

    Attach a para-id to the span.

    +

    pub fn with_para_id(self, para_id: Id) -> Span

    Attach a para-id to the span.

    pub fn with_stage(self, stage: Stage) -> Span

    Attach a candidate stage. Should always come with a CandidateHash.

    -

    pub fn with_validator_index(self, validator: ValidatorIndex) -> Span

    pub fn with_chunk_index(self, chunk_index: u32) -> Span

    pub fn with_relay_parent(self, relay_parent: H256) -> Span

    pub fn with_claimed_validator_index( +

    pub fn with_validator_index(self, validator: ValidatorIndex) -> Span

    pub fn with_chunk_index(self, chunk_index: u32) -> Span

    pub fn with_relay_parent(self, relay_parent: H256) -> Span

    pub fn with_claimed_validator_index( self, - claimed_validator_index: ValidatorIndex + claimed_validator_index: ValidatorIndex ) -> Span

    pub fn with_pov(self, pov: &PoV) -> Span

    pub fn with_int_tag(self, tag: &'static str, i: i64) -> Span

    Add an additional int tag to the span without consuming.

    Should be used sparingly, introduction of new types is preferred.

    pub fn with_uint_tag(self, tag: &'static str, u: u64) -> Span

    pub fn with_string_fmt_debug_tag<V>(self, tag: &'static str, val: V) -> Spanwhere V: Debug,

    pub fn add_follows_from(&mut self, other: &Span)

    Adds the FollowsFrom relationship to this span with respect to the given one.

    pub fn add_pov(&mut self, pov: &PoV)

    Add a PoV hash meta tag with lazy hash evaluation, without consuming the span.

    -

    pub fn add_para_id(&mut self, para_id: Id)

    pub fn add_string_tag<V>(&mut self, tag: &'static str, val: V)where +

    pub fn add_para_id(&mut self, para_id: Id)

    pub fn add_string_tag<V>(&mut self, tag: &'static str, val: V)where V: ToString,

    Add a string tag, without consuming the span.

    pub fn add_string_fmt_debug_tag<V>(&mut self, tag: &'static str, val: V)where V: Debug,

    Add a string tag, without consuming the span.

    diff --git a/doc/polkadot_node_subsystem_types/messages/enum.ApprovalCheckError.html b/doc/polkadot_node_subsystem_types/messages/enum.ApprovalCheckError.html index 046c3f7042ab..0659c1bec1de 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.ApprovalCheckError.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.ApprovalCheckError.html @@ -1,14 +1,14 @@ ApprovalCheckError in polkadot_node_subsystem_types::messages - Rust
    pub enum ApprovalCheckError {
         UnknownBlock(Hash),
         UnknownSessionIndex(SessionIndex),
    -    InvalidCandidateIndex(CandidateIndex),
    -    InvalidValidatorIndex(ValidatorIndex),
    -    InvalidCandidate(CandidateIndex, CandidateHash),
    -    InvalidSignature(ValidatorIndex),
    -    NoAssignment(ValidatorIndex),
    +    InvalidCandidateIndex(CandidateIndex),
    +    InvalidValidatorIndex(ValidatorIndex),
    +    InvalidCandidate(CandidateIndex, CandidateHash),
    +    InvalidSignature(ValidatorIndex),
    +    NoAssignment(ValidatorIndex),
         Internal(Hash, CandidateHash),
     }
    Expand description

    The error result type of ApprovalVotingMessage::CheckAndImportApproval request.

    -

    Variants§

    §

    UnknownBlock(Hash)

    §

    UnknownSessionIndex(SessionIndex)

    §

    InvalidCandidateIndex(CandidateIndex)

    §

    InvalidValidatorIndex(ValidatorIndex)

    §

    InvalidCandidate(CandidateIndex, CandidateHash)

    §

    InvalidSignature(ValidatorIndex)

    §

    NoAssignment(ValidatorIndex)

    §

    Internal(Hash, CandidateHash)

    Trait Implementations§

    source§

    impl Clone for ApprovalCheckError

    source§

    fn clone(&self) -> ApprovalCheckError

    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 ApprovalCheckError

    source§

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

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

    impl Display for ApprovalCheckError

    source§

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

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

    impl Error for ApprovalCheckError

    1.30.0 · 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, demand: &mut Demand<'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 PartialEq<ApprovalCheckError> for ApprovalCheckError

    source§

    fn eq(&self, other: &ApprovalCheckError) -> bool

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

    Variants§

    §

    UnknownBlock(Hash)

    §

    UnknownSessionIndex(SessionIndex)

    §

    InvalidCandidateIndex(CandidateIndex)

    §

    InvalidValidatorIndex(ValidatorIndex)

    §

    InvalidCandidate(CandidateIndex, CandidateHash)

    §

    InvalidSignature(ValidatorIndex)

    §

    NoAssignment(ValidatorIndex)

    §

    Internal(Hash, CandidateHash)

    Trait Implementations§

    source§

    impl Clone for ApprovalCheckError

    source§

    fn clone(&self) -> ApprovalCheckError

    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 ApprovalCheckError

    source§

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

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

    impl Display for ApprovalCheckError

    source§

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

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

    impl Error for ApprovalCheckError

    1.30.0 · 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, demand: &mut Demand<'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 PartialEq<ApprovalCheckError> for ApprovalCheckError

    source§

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

    source§

    impl StructuralEq for ApprovalCheckError

    source§

    impl StructuralPartialEq for ApprovalCheckError

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> Any for Twhere diff --git a/doc/polkadot_node_subsystem_types/messages/enum.ApprovalDistributionMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.ApprovalDistributionMessage.html index b88369072cc3..23d26611087e 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.ApprovalDistributionMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.ApprovalDistributionMessage.html @@ -1,20 +1,20 @@ ApprovalDistributionMessage in polkadot_node_subsystem_types::messages - Rust
    pub enum ApprovalDistributionMessage {
         NewBlocks(Vec<BlockApprovalMeta>),
    -    DistributeAssignment(IndirectAssignmentCert, CandidateIndex),
    +    DistributeAssignment(IndirectAssignmentCert, CandidateIndex),
         DistributeApproval(IndirectSignedApprovalVote),
         NetworkBridgeUpdate(NetworkBridgeEvent<ApprovalDistributionMessage>),
    -    GetApprovalSignatures(HashSet<(Hash, CandidateIndex)>, Sender<HashMap<ValidatorIndex, ValidatorSignature>>),
    +    GetApprovalSignatures(HashSet<(Hash, CandidateIndex)>, Sender<HashMap<ValidatorIndex, ValidatorSignature>>),
         ApprovalCheckingLagUpdate(BlockNumber),
     }
    Expand description

    Message to the Approval Distribution subsystem.

    Variants§

    §

    NewBlocks(Vec<BlockApprovalMeta>)

    Notify the ApprovalDistribution subsystem about new blocks and the candidates contained within them.

    -
    §

    DistributeAssignment(IndirectAssignmentCert, CandidateIndex)

    Distribute an assignment cert from the local validator. The cert is assumed +

    §

    DistributeAssignment(IndirectAssignmentCert, CandidateIndex)

    Distribute an assignment cert from the local validator. The cert is assumed to be valid, relevant, and for the given relay-parent and validator index.

    §

    DistributeApproval(IndirectSignedApprovalVote)

    Distribute an approval vote for the local validator. The approval vote is assumed to be valid, relevant, and the corresponding approval already issued. If not, the subsystem is free to drop the message.

    §

    NetworkBridgeUpdate(NetworkBridgeEvent<ApprovalDistributionMessage>)

    An update from the network bridge.

    -
    §

    GetApprovalSignatures(HashSet<(Hash, CandidateIndex)>, Sender<HashMap<ValidatorIndex, ValidatorSignature>>)

    Get all approval signatures for all chains a candidate appeared in.

    +
    §

    GetApprovalSignatures(HashSet<(Hash, CandidateIndex)>, Sender<HashMap<ValidatorIndex, ValidatorSignature>>)

    Get all approval signatures for all chains a candidate appeared in.

    §

    ApprovalCheckingLagUpdate(BlockNumber)

    Approval checking lag update measured in blocks.

    Trait Implementations§

    source§

    impl Debug for ApprovalDistributionMessage

    source§

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

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

    impl From<NetworkBridgeEvent<Versioned<ApprovalDistributionMessage>>> for ApprovalDistributionMessage

    source§

    fn from( original: NetworkBridgeEvent<ApprovalDistributionMessage> diff --git a/doc/polkadot_node_subsystem_types/messages/enum.ApprovalVotingMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.ApprovalVotingMessage.html index 19123a1dd016..d02f70d72ec9 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.ApprovalVotingMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.ApprovalVotingMessage.html @@ -1,10 +1,10 @@ ApprovalVotingMessage in polkadot_node_subsystem_types::messages - Rust
    pub enum ApprovalVotingMessage {
    -    CheckAndImportAssignment(IndirectAssignmentCert, CandidateIndex, Sender<AssignmentCheckResult>),
    +    CheckAndImportAssignment(IndirectAssignmentCert, CandidateIndex, Sender<AssignmentCheckResult>),
         CheckAndImportApproval(IndirectSignedApprovalVote, Sender<ApprovalCheckResult>),
         ApprovedAncestor(Hash, BlockNumber, Sender<Option<HighestApprovedAncestorBlock>>),
    -    GetApprovalSignaturesForCandidate(CandidateHash, Sender<HashMap<ValidatorIndex, ValidatorSignature>>),
    +    GetApprovalSignaturesForCandidate(CandidateHash, Sender<HashMap<ValidatorIndex, ValidatorSignature>>),
     }
    Expand description

    Message to the Approval Voting subsystem.

    -

    Variants§

    §

    CheckAndImportAssignment(IndirectAssignmentCert, CandidateIndex, Sender<AssignmentCheckResult>)

    Check if the assignment is valid and can be accepted by our view of the protocol. +

    Variants§

    §

    CheckAndImportAssignment(IndirectAssignmentCert, CandidateIndex, Sender<AssignmentCheckResult>)

    Check if the assignment is valid and can be accepted by our view of the protocol. Should not be sent unless the block hash is known.

    §

    CheckAndImportApproval(IndirectSignedApprovalVote, Sender<ApprovalCheckResult>)

    Check if the approval vote is valid and can be accepted by our view of the protocol.

    @@ -15,7 +15,7 @@ earliest possible vote.

    It can also return the same block hash, if that is acceptable to vote upon. Return None if the input hash is unrecognized.

    -
    §

    GetApprovalSignaturesForCandidate(CandidateHash, Sender<HashMap<ValidatorIndex, ValidatorSignature>>)

    Retrieve all available approval signatures for a candidate from approval-voting.

    +
    §

    GetApprovalSignaturesForCandidate(CandidateHash, Sender<HashMap<ValidatorIndex, ValidatorSignature>>)

    Retrieve all available approval signatures for a candidate from approval-voting.

    This message involves a linear search for candidates on each relay chain fork and also requires calling into approval-distribution: Calls should be infrequent and bounded.

    Trait Implementations§

    source§

    impl Debug for ApprovalVotingMessage

    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 Twhere diff --git a/doc/polkadot_node_subsystem_types/messages/enum.AssignmentCheckError.html b/doc/polkadot_node_subsystem_types/messages/enum.AssignmentCheckError.html index b2a2eaeab355..a4322843267c 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.AssignmentCheckError.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.AssignmentCheckError.html @@ -1,12 +1,12 @@ AssignmentCheckError in polkadot_node_subsystem_types::messages - Rust
    pub enum AssignmentCheckError {
         UnknownBlock(Hash),
         UnknownSessionIndex(SessionIndex),
    -    InvalidCandidateIndex(CandidateIndex),
    -    InvalidCandidate(CandidateIndex, CandidateHash),
    -    InvalidCert(ValidatorIndex, String),
    +    InvalidCandidateIndex(CandidateIndex),
    +    InvalidCandidate(CandidateIndex, CandidateHash),
    +    InvalidCert(ValidatorIndex, String),
         Internal(Hash, CandidateHash),
     }
    Expand description

    The error result type of ApprovalVotingMessage::CheckAndImportAssignment request.

    -

    Variants§

    §

    UnknownBlock(Hash)

    §

    UnknownSessionIndex(SessionIndex)

    §

    InvalidCandidateIndex(CandidateIndex)

    §

    InvalidCandidate(CandidateIndex, CandidateHash)

    §

    InvalidCert(ValidatorIndex, String)

    §

    Internal(Hash, CandidateHash)

    Trait Implementations§

    source§

    impl Clone for AssignmentCheckError

    source§

    fn clone(&self) -> AssignmentCheckError

    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 AssignmentCheckError

    source§

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

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

    impl Display for AssignmentCheckError

    source§

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

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

    impl Error for AssignmentCheckError

    1.30.0 · 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, demand: &mut Demand<'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 PartialEq<AssignmentCheckError> for AssignmentCheckError

    source§

    fn eq(&self, other: &AssignmentCheckError) -> bool

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

    Variants§

    §

    UnknownBlock(Hash)

    §

    UnknownSessionIndex(SessionIndex)

    §

    InvalidCandidateIndex(CandidateIndex)

    §

    InvalidCandidate(CandidateIndex, CandidateHash)

    §

    InvalidCert(ValidatorIndex, String)

    §

    Internal(Hash, CandidateHash)

    Trait Implementations§

    source§

    impl Clone for AssignmentCheckError

    source§

    fn clone(&self) -> AssignmentCheckError

    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 AssignmentCheckError

    source§

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

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

    impl Display for AssignmentCheckError

    source§

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

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

    impl Error for AssignmentCheckError

    1.30.0 · 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, demand: &mut Demand<'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 PartialEq<AssignmentCheckError> for AssignmentCheckError

    source§

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

    source§

    impl StructuralEq for AssignmentCheckError

    source§

    impl StructuralPartialEq for AssignmentCheckError

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> Any for Twhere diff --git a/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityDistributionMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityDistributionMessage.html index 805809bae22d..9b40bbc91e5a 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityDistributionMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityDistributionMessage.html @@ -1,16 +1,16 @@ AvailabilityDistributionMessage in polkadot_node_subsystem_types::messages - Rust
    pub enum AvailabilityDistributionMessage {
         FetchPoV {
             relay_parent: Hash,
    -        from_validator: ValidatorIndex,
    -        para_id: ParaId,
    +        from_validator: ValidatorIndex,
    +        para_id: ParaId,
             candidate_hash: CandidateHash,
             pov_hash: Hash,
             tx: Sender<PoV>,
         },
     }
    Expand description

    Availability Distribution Message.

    Variants§

    §

    FetchPoV

    Fields

    §relay_parent: Hash

    The relay parent giving the necessary context.

    -
    §from_validator: ValidatorIndex

    Validator to fetch the PoV from.

    -
    §para_id: ParaId

    The id of the parachain that produced this PoV. +

    §from_validator: ValidatorIndex

    Validator to fetch the PoV from.

    +
    §para_id: ParaId

    The id of the parachain that produced this PoV. This field is only used to provide more context when logging errors from the AvailabilityDistribution subsystem.

    §candidate_hash: CandidateHash

    Candidate hash to fetch the PoV for.

    diff --git a/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityRecoveryMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityRecoveryMessage.html index a4b1cd9ae571..bd1b585df8a6 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityRecoveryMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityRecoveryMessage.html @@ -1,9 +1,9 @@ AvailabilityRecoveryMessage in polkadot_node_subsystem_types::messages - Rust
    pub enum AvailabilityRecoveryMessage {
    -    RecoverAvailableData(CandidateReceipt, SessionIndex, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>),
    +    RecoverAvailableData(CandidateReceipt, SessionIndex, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>),
     }
    Expand description

    Availability Recovery Message.

    -

    Variants§

    §

    RecoverAvailableData(CandidateReceipt, SessionIndex, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>)

    Recover available data from validators on the network.

    -

    Trait Implementations§

    source§

    impl Debug for AvailabilityRecoveryMessage

    source§

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

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

    impl From<(CandidateReceipt<H256>, u32, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>)> for AvailabilityRecoveryMessage

    source§

    fn from( - original: (CandidateReceipt, SessionIndex, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>) +

    Variants§

    §

    RecoverAvailableData(CandidateReceipt, SessionIndex, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>)

    Recover available data from validators on the network.

    +

    Trait Implementations§

    source§

    impl Debug for AvailabilityRecoveryMessage

    source§

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

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

    impl From<(CandidateReceipt<H256>, u32, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>)> for AvailabilityRecoveryMessage

    source§

    fn from( + original: (CandidateReceipt, SessionIndex, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>) ) -> AvailabilityRecoveryMessage

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> Any for Twhere T: Any,

    §

    fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

    §

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

    §

    fn type_name(&self) -> &'static str

    §

    impl<T> AnySync for Twhere diff --git a/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityStoreMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityStoreMessage.html index c4c443392426..8caac731041e 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityStoreMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityStoreMessage.html @@ -1,10 +1,10 @@ AvailabilityStoreMessage in polkadot_node_subsystem_types::messages - Rust
    pub enum AvailabilityStoreMessage {
         QueryAvailableData(CandidateHash, Sender<Option<AvailableData>>),
         QueryDataAvailability(CandidateHash, Sender<bool>),
    -    QueryChunk(CandidateHash, ValidatorIndex, Sender<Option<ErasureChunk>>),
    +    QueryChunk(CandidateHash, ValidatorIndex, Sender<Option<ErasureChunk>>),
         QueryChunkSize(CandidateHash, Sender<Option<usize>>),
         QueryAllChunks(CandidateHash, Sender<Vec<ErasureChunk>>),
    -    QueryChunkAvailability(CandidateHash, ValidatorIndex, Sender<bool>),
    +    QueryChunkAvailability(CandidateHash, ValidatorIndex, Sender<bool>),
         StoreChunk {
             candidate_hash: CandidateHash,
             chunk: ErasureChunk,
    @@ -23,10 +23,10 @@
     

    This is useful in cases when existence matters, but we don’t want to necessarily pass around multiple megabytes of data to get a single bit of information.

    -
    §

    QueryChunk(CandidateHash, ValidatorIndex, Sender<Option<ErasureChunk>>)

    Query an ErasureChunk from the AV store by the candidate hash and validator index.

    +
    §

    QueryChunk(CandidateHash, ValidatorIndex, Sender<Option<ErasureChunk>>)

    Query an ErasureChunk from the AV store by the candidate hash and validator index.

    §

    QueryChunkSize(CandidateHash, Sender<Option<usize>>)

    Get the size of an ErasureChunk from the AV store by the candidate hash.

    §

    QueryAllChunks(CandidateHash, Sender<Vec<ErasureChunk>>)

    Query all chunks that we have for the given candidate hash.

    -
    §

    QueryChunkAvailability(CandidateHash, ValidatorIndex, Sender<bool>)

    Query whether an ErasureChunk exists within the AV Store.

    +
    §

    QueryChunkAvailability(CandidateHash, ValidatorIndex, Sender<bool>)

    Query whether an ErasureChunk exists within the AV Store.

    This is useful in cases like bitfield signing, when existence matters, but we don’t want to necessarily pass around large quantities of data to get a single bit of information.

    diff --git a/doc/polkadot_node_subsystem_types/messages/enum.BitfieldDistributionMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.BitfieldDistributionMessage.html index e0e0ca75ca8b..fe5e8aac3087 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.BitfieldDistributionMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.BitfieldDistributionMessage.html @@ -1,8 +1,8 @@ BitfieldDistributionMessage in polkadot_node_subsystem_types::messages - Rust
    pub enum BitfieldDistributionMessage {
    -    DistributeBitfield(Hash, SignedAvailabilityBitfield),
    +    DistributeBitfield(Hash, SignedAvailabilityBitfield),
         NetworkBridgeUpdate(NetworkBridgeEvent<BitfieldDistributionMessage>),
     }
    Expand description

    Bitfield distribution message.

    -

    Variants§

    §

    DistributeBitfield(Hash, SignedAvailabilityBitfield)

    Distribute a bitfield via gossip to other validators.

    +

    Variants§

    §

    DistributeBitfield(Hash, SignedAvailabilityBitfield)

    Distribute a bitfield via gossip to other validators.

    §

    NetworkBridgeUpdate(NetworkBridgeEvent<BitfieldDistributionMessage>)

    Event from the network bridge.

    Trait Implementations§

    source§

    impl Debug for BitfieldDistributionMessage

    source§

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

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

    impl From<NetworkBridgeEvent<Versioned<BitfieldDistributionMessage>>> for BitfieldDistributionMessage

    source§

    fn from( original: NetworkBridgeEvent<BitfieldDistributionMessage> diff --git a/doc/polkadot_node_subsystem_types/messages/enum.CandidateBackingMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.CandidateBackingMessage.html index 18b30dcc4995..479cdec0050d 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.CandidateBackingMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.CandidateBackingMessage.html @@ -1,11 +1,11 @@ CandidateBackingMessage in polkadot_node_subsystem_types::messages - Rust
    pub enum CandidateBackingMessage {
    -    GetBackedCandidates(Hash, Vec<CandidateHash>, Sender<Vec<BackedCandidate>>),
    -    Second(Hash, CandidateReceipt, PoV),
    +    GetBackedCandidates(Hash, Vec<CandidateHash>, Sender<Vec<BackedCandidate>>),
    +    Second(Hash, CandidateReceipt, PoV),
         Statement(Hash, SignedFullStatement),
     }
    Expand description

    Messages received by the Candidate Backing subsystem.

    -

    Variants§

    §

    GetBackedCandidates(Hash, Vec<CandidateHash>, Sender<Vec<BackedCandidate>>)

    Requests a set of backable candidates that could be backed in a child of the given +

    Variants§

    §

    GetBackedCandidates(Hash, Vec<CandidateHash>, Sender<Vec<BackedCandidate>>)

    Requests a set of backable candidates that could be backed in a child of the given relay-parent, referenced by its hash.

    -
    §

    Second(Hash, CandidateReceipt, PoV)

    Note that the Candidate Backing subsystem should second the given candidate in the context +

    §

    Second(Hash, CandidateReceipt, PoV)

    Note that the Candidate Backing subsystem should second the given candidate in the context of the given relay-parent (ref. by hash). This candidate must be validated.

    §

    Statement(Hash, SignedFullStatement)

    Note a validator’s statement about a particular candidate. Disagreements about validity must be escalated to a broader check by the Disputes Subsystem, though that escalation is diff --git a/doc/polkadot_node_subsystem_types/messages/enum.CandidateValidationMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.CandidateValidationMessage.html index 18a5fb30495b..7850fba340cb 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.CandidateValidationMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.CandidateValidationMessage.html @@ -1,13 +1,13 @@ CandidateValidationMessage in polkadot_node_subsystem_types::messages - Rust

    pub enum CandidateValidationMessage {
    -    ValidateFromChainState(CandidateReceipt, Arc<PoV>, PvfExecTimeoutKind, Sender<Result<ValidationResult, ValidationFailed>>),
    -    ValidateFromExhaustive(PersistedValidationData, ValidationCode, CandidateReceipt, Arc<PoV>, PvfExecTimeoutKind, Sender<Result<ValidationResult, ValidationFailed>>),
    -    PreCheck(Hash, ValidationCodeHash, Sender<PreCheckOutcome>),
    +    ValidateFromChainState(CandidateReceipt, Arc<PoV>, PvfExecTimeoutKind, Sender<Result<ValidationResult, ValidationFailed>>),
    +    ValidateFromExhaustive(PersistedValidationData, ValidationCode, CandidateReceipt, Arc<PoV>, PvfExecTimeoutKind, Sender<Result<ValidationResult, ValidationFailed>>),
    +    PreCheck(Hash, ValidationCodeHash, Sender<PreCheckOutcome>),
     }
    Expand description

    Messages received by the Validation subsystem.

    Validation Requests

    Validation requests made to the subsystem should return an error only on internal error. Otherwise, they should return either Ok(ValidationResult::Valid(_)) or Ok(ValidationResult::Invalid).

    -

    Variants§

    §

    ValidateFromChainState(CandidateReceipt, Arc<PoV>, PvfExecTimeoutKind, Sender<Result<ValidationResult, ValidationFailed>>)

    Tuple Fields

    §0: CandidateReceipt
    §1: Arc<PoV>
    §2: PvfExecTimeoutKind

    Execution timeout

    +

    Variants§

    §

    ValidateFromChainState(CandidateReceipt, Arc<PoV>, PvfExecTimeoutKind, Sender<Result<ValidationResult, ValidationFailed>>)

    Tuple Fields

    §1: Arc<PoV>
    §2: PvfExecTimeoutKind

    Execution timeout

    §3: Sender<Result<ValidationResult, ValidationFailed>>

    Validate a candidate with provided parameters using relay-chain state.

    This will implicitly attempt to gather the PersistedValidationData and ValidationCode from the runtime API of the chain, based on the relay_parent @@ -15,7 +15,7 @@

    Validation Requests<

    This will also perform checking of validation outputs against the acceptance criteria.

    If there is no state available which can provide this data or the core for the para is not free at the relay-parent, an error is returned.

    -

    §

    ValidateFromExhaustive(PersistedValidationData, ValidationCode, CandidateReceipt, Arc<PoV>, PvfExecTimeoutKind, Sender<Result<ValidationResult, ValidationFailed>>)

    Tuple Fields

    §0: PersistedValidationData
    §1: ValidationCode
    §2: CandidateReceipt
    §3: Arc<PoV>
    §4: PvfExecTimeoutKind

    Execution timeout

    +
    §

    ValidateFromExhaustive(PersistedValidationData, ValidationCode, CandidateReceipt, Arc<PoV>, PvfExecTimeoutKind, Sender<Result<ValidationResult, ValidationFailed>>)

    Tuple Fields

    §3: Arc<PoV>
    §4: PvfExecTimeoutKind

    Execution timeout

    §5: Sender<Result<ValidationResult, ValidationFailed>>

    Validate a candidate with provided, exhaustive parameters for validation.

    Explicitly provide the PersistedValidationData and ValidationCode so this can do full validation without needing to access the state of the relay-chain.

    @@ -23,7 +23,7 @@

    Validation Requests< cases where the validity of the candidate is established. This is the case for the typical use-case: secondary checkers would use this request relying on the full prior checks performed by the relay-chain.

    -

    §

    PreCheck(Hash, ValidationCodeHash, Sender<PreCheckOutcome>)

    Try to compile the given validation code and send back +

    §

    PreCheck(Hash, ValidationCodeHash, Sender<PreCheckOutcome>)

    Try to compile the given validation code and send back the outcome.

    The validation code is specified by the hash and will be queried from the runtime API at the given relay-parent.

    diff --git a/doc/polkadot_node_subsystem_types/messages/enum.CollatorProtocolMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.CollatorProtocolMessage.html index 22894cb876a8..33239c263c30 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.CollatorProtocolMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.CollatorProtocolMessage.html @@ -1,23 +1,23 @@ CollatorProtocolMessage in polkadot_node_subsystem_types::messages - Rust
    pub enum CollatorProtocolMessage {
    -    CollateOn(ParaId),
    -    DistributeCollation(CandidateReceipt, PoV, Option<Sender<CollationSecondedSignal>>),
    -    ReportCollator(CollatorId),
    +    CollateOn(ParaId),
    +    DistributeCollation(CandidateReceipt, PoV, Option<Sender<CollationSecondedSignal>>),
    +    ReportCollator(CollatorId),
         NetworkBridgeUpdate(NetworkBridgeEvent<CollatorProtocolMessage>),
    -    Invalid(Hash, CandidateReceipt),
    +    Invalid(Hash, CandidateReceipt),
         Seconded(Hash, SignedFullStatement),
     }
    Expand description

    Messages received by the Collator Protocol subsystem.

    -

    Variants§

    §

    CollateOn(ParaId)

    Signal to the collator protocol that it should connect to validators with the expectation +

    Variants§

    §

    CollateOn(ParaId)

    Signal to the collator protocol that it should connect to validators with the expectation of collating on the given para. This is only expected to be called once, early on, if at all, and only by the Collation Generation subsystem. As such, it will overwrite the value of the previous signal.

    This should be sent before any DistributeCollation message.

    -
    §

    DistributeCollation(CandidateReceipt, PoV, Option<Sender<CollationSecondedSignal>>)

    Provide a collation to distribute to validators with an optional result sender.

    +
    §

    DistributeCollation(CandidateReceipt, PoV, Option<Sender<CollationSecondedSignal>>)

    Provide a collation to distribute to validators with an optional result sender.

    The result sender should be informed when at least one parachain validator seconded the collation. It is also completely okay to just drop the sender.

    -
    §

    ReportCollator(CollatorId)

    Report a collator as having provided an invalid collation. This should lead to disconnect +

    §

    ReportCollator(CollatorId)

    Report a collator as having provided an invalid collation. This should lead to disconnect and blacklist of the collator.

    §

    NetworkBridgeUpdate(NetworkBridgeEvent<CollatorProtocolMessage>)

    Get a network bridge update.

    -
    §

    Invalid(Hash, CandidateReceipt)

    We recommended a particular candidate to be seconded, but it was invalid; penalize the +

    §

    Invalid(Hash, CandidateReceipt)

    We recommended a particular candidate to be seconded, but it was invalid; penalize the collator.

    The hash is the relay parent.

    §

    Seconded(Hash, SignedFullStatement)

    The candidate we recommended to be seconded was validated successfully.

    diff --git a/doc/polkadot_node_subsystem_types/messages/enum.DisputeCoordinatorMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.DisputeCoordinatorMessage.html index 7bd5c4719b9a..47f97ddd09a7 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.DisputeCoordinatorMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.DisputeCoordinatorMessage.html @@ -1,14 +1,14 @@ DisputeCoordinatorMessage in polkadot_node_subsystem_types::messages - Rust
    pub enum DisputeCoordinatorMessage {
         ImportStatements {
    -        candidate_receipt: CandidateReceipt,
    +        candidate_receipt: CandidateReceipt,
             session: SessionIndex,
    -        statements: Vec<(SignedDisputeStatement, ValidatorIndex)>,
    +        statements: Vec<(SignedDisputeStatement, ValidatorIndex)>,
             pending_confirmation: Option<Sender<ImportStatementsResult>>,
         },
         RecentDisputes(Sender<Vec<(SessionIndex, CandidateHash, DisputeStatus)>>),
         ActiveDisputes(Sender<Vec<(SessionIndex, CandidateHash, DisputeStatus)>>),
         QueryCandidateVotes(Vec<(SessionIndex, CandidateHash)>, Sender<Vec<(SessionIndex, CandidateHash, CandidateVotes)>>),
    -    IssueLocalStatement(SessionIndex, CandidateHash, CandidateReceipt, bool),
    +    IssueLocalStatement(SessionIndex, CandidateHash, CandidateReceipt, bool),
         DetermineUndisputedChain {
             base: (BlockNumber, Hash),
             block_descriptions: Vec<BlockDescription>,
    @@ -17,9 +17,9 @@
     }
    Expand description

    Messages received by the dispute coordinator subsystem.

    NOTE: Any response oneshots might get cancelled if the DisputeCoordinator was not yet properly initialized for some reason.

    -

    Variants§

    §

    ImportStatements

    Fields

    §candidate_receipt: CandidateReceipt

    The candidate receipt itself.

    +

    Variants§

    §

    ImportStatements

    Fields

    §candidate_receipt: CandidateReceipt

    The candidate receipt itself.

    §session: SessionIndex

    The session the candidate appears in.

    -
    §statements: Vec<(SignedDisputeStatement, ValidatorIndex)>

    Statements, with signatures checked, by validators participating in disputes.

    +
    §statements: Vec<(SignedDisputeStatement, ValidatorIndex)>

    Statements, with signatures checked, by validators participating in disputes.

    The validator index passed alongside each statement should correspond to the index of the validator in the set.

    §pending_confirmation: Option<Sender<ImportStatementsResult>>

    Inform the requester once we finished importing (if a sender was provided).

    @@ -54,7 +54,7 @@
    §

    ActiveDisputes(Sender<Vec<(SessionIndex, CandidateHash, DisputeStatus)>>)

    Fetch a list of all active disputes that the coordinator is aware of. These disputes are either not yet concluded or recently concluded.

    §

    QueryCandidateVotes(Vec<(SessionIndex, CandidateHash)>, Sender<Vec<(SessionIndex, CandidateHash, CandidateVotes)>>)

    Get candidate votes for a candidate.

    -
    §

    IssueLocalStatement(SessionIndex, CandidateHash, CandidateReceipt, bool)

    Sign and issue local dispute votes. A value of true indicates validity, and false +

    §

    IssueLocalStatement(SessionIndex, CandidateHash, CandidateReceipt, bool)

    Sign and issue local dispute votes. A value of true indicates validity, and false invalidity.

    §

    DetermineUndisputedChain

    Fields

    §base: (BlockNumber, Hash)

    The lowest possible block to vote on.

    §block_descriptions: Vec<BlockDescription>

    Descriptions of all the blocks counting upwards from the block after the base number

    diff --git a/doc/polkadot_node_subsystem_types/messages/enum.NetworkBridgeRxMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.NetworkBridgeRxMessage.html index 04bd2158b5b9..16501a11762a 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.NetworkBridgeRxMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.NetworkBridgeRxMessage.html @@ -1,8 +1,8 @@ NetworkBridgeRxMessage in polkadot_node_subsystem_types::messages - Rust
    pub enum NetworkBridgeRxMessage {
         NewGossipTopology {
             session: SessionIndex,
    -        local_index: Option<ValidatorIndex>,
    -        canonical_shuffling: Vec<(AuthorityDiscoveryId, ValidatorIndex)>,
    +        local_index: Option<ValidatorIndex>,
    +        canonical_shuffling: Vec<(AuthorityDiscoveryId, ValidatorIndex)>,
             shuffled_indices: Vec<usize>,
         },
         UpdatedAuthorityIds {
    @@ -11,8 +11,8 @@
         },
     }
    Expand description

    Messages received from other subsystems.

    Variants§

    §

    NewGossipTopology

    Fields

    §session: SessionIndex

    The session info this gossip topology is concerned with.

    -
    §local_index: Option<ValidatorIndex>

    Our validator index in the session, if any.

    -
    §canonical_shuffling: Vec<(AuthorityDiscoveryId, ValidatorIndex)>

    The canonical shuffling of validators for the session.

    +
    §local_index: Option<ValidatorIndex>

    Our validator index in the session, if any.

    +
    §canonical_shuffling: Vec<(AuthorityDiscoveryId, ValidatorIndex)>

    The canonical shuffling of validators for the session.

    §shuffled_indices: Vec<usize>

    The reverse mapping of canonical_shuffling: from validator index to the index in canonical_shuffling

    Inform the distribution subsystems about the new diff --git a/doc/polkadot_node_subsystem_types/messages/enum.ProvisionableData.html b/doc/polkadot_node_subsystem_types/messages/enum.ProvisionableData.html index 56893f80e23e..431c647e3362 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.ProvisionableData.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.ProvisionableData.html @@ -1,15 +1,15 @@ ProvisionableData in polkadot_node_subsystem_types::messages - Rust

    pub enum ProvisionableData {
    -    Bitfield(Hash, SignedAvailabilityBitfield),
    -    BackedCandidate(CandidateReceipt),
    -    MisbehaviorReport(Hash, ValidatorIndex, Misbehavior),
    -    Dispute(Hash, ValidatorSignature),
    +    Bitfield(Hash, SignedAvailabilityBitfield),
    +    BackedCandidate(CandidateReceipt),
    +    MisbehaviorReport(Hash, ValidatorIndex, Misbehavior),
    +    Dispute(Hash, ValidatorSignature),
     }
    Expand description

    This data becomes intrinsics or extrinsics which should be included in a future relay chain block.

    -

    Variants§

    §

    Bitfield(Hash, SignedAvailabilityBitfield)

    This bitfield indicates the availability of various candidate blocks.

    -
    §

    BackedCandidate(CandidateReceipt)

    The Candidate Backing subsystem believes that this candidate is valid, pending +

    Variants§

    §

    Bitfield(Hash, SignedAvailabilityBitfield)

    This bitfield indicates the availability of various candidate blocks.

    +
    §

    BackedCandidate(CandidateReceipt)

    The Candidate Backing subsystem believes that this candidate is valid, pending availability.

    -
    §

    MisbehaviorReport(Hash, ValidatorIndex, Misbehavior)

    Misbehavior reports are self-contained proofs of validator misbehavior.

    -
    §

    Dispute(Hash, ValidatorSignature)

    Disputes trigger a broad dispute resolution process.

    +
    §

    MisbehaviorReport(Hash, ValidatorIndex, Misbehavior)

    Misbehavior reports are self-contained proofs of validator misbehavior.

    +
    §

    Dispute(Hash, ValidatorSignature)

    Disputes trigger a broad dispute resolution process.

    Trait Implementations§

    source§

    impl Clone for ProvisionableData

    source§

    fn clone(&self) -> ProvisionableData

    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 ProvisionableData

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> Any for Twhere T: Any,

    §

    fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

    §

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

    §

    fn type_name(&self) -> &'static str

    §

    impl<T> AnySync for Twhere diff --git a/doc/polkadot_node_subsystem_types/messages/enum.RuntimeApiRequest.html b/doc/polkadot_node_subsystem_types/messages/enum.RuntimeApiRequest.html index 4fdacda1d120..af61e02dbe75 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.RuntimeApiRequest.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.RuntimeApiRequest.html @@ -1,70 +1,70 @@ RuntimeApiRequest in polkadot_node_subsystem_types::messages - Rust
    pub enum RuntimeApiRequest {
     
    Show 26 variants Version(RuntimeApiSender<u32>), Authorities(RuntimeApiSender<Vec<AuthorityDiscoveryId>>), - Validators(RuntimeApiSender<Vec<ValidatorId>>), - ValidatorGroups(RuntimeApiSender<(Vec<Vec<ValidatorIndex>>, GroupRotationInfo)>), - AvailabilityCores(RuntimeApiSender<Vec<CoreState>>), - PersistedValidationData(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<PersistedValidationData>>), - AssumedValidationData(ParaId, Hash, RuntimeApiSender<Option<(PersistedValidationData, ValidationCodeHash)>>), - CheckValidationOutputs(ParaId, CandidateCommitments, RuntimeApiSender<bool>), + Validators(RuntimeApiSender<Vec<ValidatorId>>), + ValidatorGroups(RuntimeApiSender<(Vec<Vec<ValidatorIndex>>, GroupRotationInfo)>), + AvailabilityCores(RuntimeApiSender<Vec<CoreState>>), + PersistedValidationData(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<PersistedValidationData>>), + AssumedValidationData(ParaId, Hash, RuntimeApiSender<Option<(PersistedValidationData, ValidationCodeHash)>>), + CheckValidationOutputs(ParaId, CandidateCommitments, RuntimeApiSender<bool>), SessionIndexForChild(RuntimeApiSender<SessionIndex>), - ValidationCode(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<ValidationCode>>), - ValidationCodeByHash(ValidationCodeHash, RuntimeApiSender<Option<ValidationCode>>), - CandidatePendingAvailability(ParaId, RuntimeApiSender<Option<CommittedCandidateReceipt>>), - CandidateEvents(RuntimeApiSender<Vec<CandidateEvent>>), - SessionExecutorParams(SessionIndex, RuntimeApiSender<Option<ExecutorParams>>), - SessionInfo(SessionIndex, RuntimeApiSender<Option<SessionInfo>>), - DmqContents(ParaId, RuntimeApiSender<Vec<InboundDownwardMessage<BlockNumber>>>), - InboundHrmpChannelsContents(ParaId, RuntimeApiSender<BTreeMap<ParaId, Vec<InboundHrmpMessage<BlockNumber>>>>), + ValidationCode(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<ValidationCode>>), + ValidationCodeByHash(ValidationCodeHash, RuntimeApiSender<Option<ValidationCode>>), + CandidatePendingAvailability(ParaId, RuntimeApiSender<Option<CommittedCandidateReceipt>>), + CandidateEvents(RuntimeApiSender<Vec<CandidateEvent>>), + SessionExecutorParams(SessionIndex, RuntimeApiSender<Option<ExecutorParams>>), + SessionInfo(SessionIndex, RuntimeApiSender<Option<SessionInfo>>), + DmqContents(ParaId, RuntimeApiSender<Vec<InboundDownwardMessage<BlockNumber>>>), + InboundHrmpChannelsContents(ParaId, RuntimeApiSender<BTreeMap<ParaId, Vec<InboundHrmpMessage<BlockNumber>>>>), CurrentBabeEpoch(RuntimeApiSender<BabeEpoch>), - FetchOnChainVotes(RuntimeApiSender<Option<ScrapedOnChainVotes>>), - SubmitPvfCheckStatement(PvfCheckStatement, ValidatorSignature, RuntimeApiSender<()>), - PvfsRequirePrecheck(RuntimeApiSender<Vec<ValidationCodeHash>>), - ValidationCodeHash(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<ValidationCodeHash>>), - Disputes(RuntimeApiSender<Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>>), - UnappliedSlashes(RuntimeApiSender<Vec<(SessionIndex, CandidateHash, PendingSlashes)>>), - KeyOwnershipProof(ValidatorId, RuntimeApiSender<Option<OpaqueKeyOwnershipProof>>), - SubmitReportDisputeLost(DisputeProof, OpaqueKeyOwnershipProof, RuntimeApiSender<Option<()>>), + FetchOnChainVotes(RuntimeApiSender<Option<ScrapedOnChainVotes>>), + SubmitPvfCheckStatement(PvfCheckStatement, ValidatorSignature, RuntimeApiSender<()>), + PvfsRequirePrecheck(RuntimeApiSender<Vec<ValidationCodeHash>>), + ValidationCodeHash(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<ValidationCodeHash>>), + Disputes(RuntimeApiSender<Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>>), + UnappliedSlashes(RuntimeApiSender<Vec<(SessionIndex, CandidateHash, PendingSlashes)>>), + KeyOwnershipProof(ValidatorId, RuntimeApiSender<Option<OpaqueKeyOwnershipProof>>), + SubmitReportDisputeLost(DisputeProof, OpaqueKeyOwnershipProof, RuntimeApiSender<Option<()>>),
    }
    Expand description

    A request to the Runtime API subsystem.

    Variants§

    §

    Version(RuntimeApiSender<u32>)

    Get the version of the runtime API, if any.

    §

    Authorities(RuntimeApiSender<Vec<AuthorityDiscoveryId>>)

    Get the next, current and some previous authority discovery set deduplicated.

    -
    §

    Validators(RuntimeApiSender<Vec<ValidatorId>>)

    Get the current validator set.

    -
    §

    ValidatorGroups(RuntimeApiSender<(Vec<Vec<ValidatorIndex>>, GroupRotationInfo)>)

    Get the validator groups and group rotation info.

    -
    §

    AvailabilityCores(RuntimeApiSender<Vec<CoreState>>)

    Get information on all availability cores.

    -
    §

    PersistedValidationData(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<PersistedValidationData>>)

    Get the persisted validation data for a particular para, taking the given +

    §

    Validators(RuntimeApiSender<Vec<ValidatorId>>)

    Get the current validator set.

    +
    §

    ValidatorGroups(RuntimeApiSender<(Vec<Vec<ValidatorIndex>>, GroupRotationInfo)>)

    Get the validator groups and group rotation info.

    +
    §

    AvailabilityCores(RuntimeApiSender<Vec<CoreState>>)

    Get information on all availability cores.

    +
    §

    PersistedValidationData(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<PersistedValidationData>>)

    Get the persisted validation data for a particular para, taking the given OccupiedCoreAssumption, which will inform on how the validation data should be computed if the para currently occupies a core.

    -
    §

    AssumedValidationData(ParaId, Hash, RuntimeApiSender<Option<(PersistedValidationData, ValidationCodeHash)>>)

    Get the persisted validation data for a particular para along with the current validation +

    §

    AssumedValidationData(ParaId, Hash, RuntimeApiSender<Option<(PersistedValidationData, ValidationCodeHash)>>)

    Get the persisted validation data for a particular para along with the current validation code hash, matching the data hash against an expected one.

    -
    §

    CheckValidationOutputs(ParaId, CandidateCommitments, RuntimeApiSender<bool>)

    Sends back true if the validation outputs pass all acceptance criteria checks.

    +
    §

    CheckValidationOutputs(ParaId, CandidateCommitments, RuntimeApiSender<bool>)

    Sends back true if the validation outputs pass all acceptance criteria checks.

    §

    SessionIndexForChild(RuntimeApiSender<SessionIndex>)

    Get the session index that a child of the block will have.

    -
    §

    ValidationCode(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<ValidationCode>>)

    Get the validation code for a para, taking the given OccupiedCoreAssumption, which +

    §

    ValidationCode(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<ValidationCode>>)

    Get the validation code for a para, taking the given OccupiedCoreAssumption, which will inform on how the validation data should be computed if the para currently occupies a core.

    -
    §

    ValidationCodeByHash(ValidationCodeHash, RuntimeApiSender<Option<ValidationCode>>)

    Get validation code by its hash, either past, current or future code can be returned, as +

    §

    ValidationCodeByHash(ValidationCodeHash, RuntimeApiSender<Option<ValidationCode>>)

    Get validation code by its hash, either past, current or future code can be returned, as long as state is still available.

    -
    §

    CandidatePendingAvailability(ParaId, RuntimeApiSender<Option<CommittedCandidateReceipt>>)

    Get a the candidate pending availability for a particular parachain by parachain / core +

    §

    CandidatePendingAvailability(ParaId, RuntimeApiSender<Option<CommittedCandidateReceipt>>)

    Get a the candidate pending availability for a particular parachain by parachain / core index

    -
    §

    CandidateEvents(RuntimeApiSender<Vec<CandidateEvent>>)

    Get all events concerning candidates (backing, inclusion, time-out) in the parent of +

    §

    CandidateEvents(RuntimeApiSender<Vec<CandidateEvent>>)

    Get all events concerning candidates (backing, inclusion, time-out) in the parent of the block in whose state this request is executed.

    -
    §

    SessionExecutorParams(SessionIndex, RuntimeApiSender<Option<ExecutorParams>>)

    Get the execution environment parameter set by session index

    -
    §

    SessionInfo(SessionIndex, RuntimeApiSender<Option<SessionInfo>>)

    Get the session info for the given session, if stored.

    -
    §

    DmqContents(ParaId, RuntimeApiSender<Vec<InboundDownwardMessage<BlockNumber>>>)

    Get all the pending inbound messages in the downward message queue for a para.

    -
    §

    InboundHrmpChannelsContents(ParaId, RuntimeApiSender<BTreeMap<ParaId, Vec<InboundHrmpMessage<BlockNumber>>>>)

    Get the contents of all channels addressed to the given recipient. Channels that have no +

    §

    SessionExecutorParams(SessionIndex, RuntimeApiSender<Option<ExecutorParams>>)

    Get the execution environment parameter set by session index

    +
    §

    SessionInfo(SessionIndex, RuntimeApiSender<Option<SessionInfo>>)

    Get the session info for the given session, if stored.

    +
    §

    DmqContents(ParaId, RuntimeApiSender<Vec<InboundDownwardMessage<BlockNumber>>>)

    Get all the pending inbound messages in the downward message queue for a para.

    +
    §

    InboundHrmpChannelsContents(ParaId, RuntimeApiSender<BTreeMap<ParaId, Vec<InboundHrmpMessage<BlockNumber>>>>)

    Get the contents of all channels addressed to the given recipient. Channels that have no messages in them are also included.

    §

    CurrentBabeEpoch(RuntimeApiSender<BabeEpoch>)

    Get information about the BABE epoch the block was included in.

    -
    §

    FetchOnChainVotes(RuntimeApiSender<Option<ScrapedOnChainVotes>>)

    Get all disputes in relation to a relay parent.

    -
    §

    SubmitPvfCheckStatement(PvfCheckStatement, ValidatorSignature, RuntimeApiSender<()>)

    Submits a PVF pre-checking statement into the transaction pool.

    -
    §

    PvfsRequirePrecheck(RuntimeApiSender<Vec<ValidationCodeHash>>)

    Returns code hashes of PVFs that require pre-checking by validators in the active set.

    -
    §

    ValidationCodeHash(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<ValidationCodeHash>>)

    Get the validation code used by the specified para, taking the given +

    §

    FetchOnChainVotes(RuntimeApiSender<Option<ScrapedOnChainVotes>>)

    Get all disputes in relation to a relay parent.

    +
    §

    SubmitPvfCheckStatement(PvfCheckStatement, ValidatorSignature, RuntimeApiSender<()>)

    Submits a PVF pre-checking statement into the transaction pool.

    +
    §

    PvfsRequirePrecheck(RuntimeApiSender<Vec<ValidationCodeHash>>)

    Returns code hashes of PVFs that require pre-checking by validators in the active set.

    +
    §

    ValidationCodeHash(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<ValidationCodeHash>>)

    Get the validation code used by the specified para, taking the given OccupiedCoreAssumption, which will inform on how the validation data should be computed if the para currently occupies a core.

    -
    §

    Disputes(RuntimeApiSender<Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>>)

    Returns all on-chain disputes at given block number. Available in v3.

    -
    §

    UnappliedSlashes(RuntimeApiSender<Vec<(SessionIndex, CandidateHash, PendingSlashes)>>)

    Returns a list of validators that lost a past session dispute and need to be slashed. +

    §

    Disputes(RuntimeApiSender<Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>>)

    Returns all on-chain disputes at given block number. Available in v3.

    +
    §

    UnappliedSlashes(RuntimeApiSender<Vec<(SessionIndex, CandidateHash, PendingSlashes)>>)

    Returns a list of validators that lost a past session dispute and need to be slashed. V5

    -
    §

    KeyOwnershipProof(ValidatorId, RuntimeApiSender<Option<OpaqueKeyOwnershipProof>>)

    Returns a merkle proof of a validator session key. +

    §

    KeyOwnershipProof(ValidatorId, RuntimeApiSender<Option<OpaqueKeyOwnershipProof>>)

    Returns a merkle proof of a validator session key. V5

    -
    §

    SubmitReportDisputeLost(DisputeProof, OpaqueKeyOwnershipProof, RuntimeApiSender<Option<()>>)

    Submits an unsigned extrinsic to slash validator who lost a past session dispute. +

    §

    SubmitReportDisputeLost(DisputeProof, OpaqueKeyOwnershipProof, RuntimeApiSender<Option<()>>)

    Submits an unsigned extrinsic to slash validator who lost a past session dispute. V5

    Implementations§

    source§

    impl RuntimeApiRequest

    source

    pub const DISPUTES_RUNTIME_REQUIREMENT: u32 = 3u32

    Runtime version requirements for each message Disputes

    diff --git a/doc/polkadot_node_subsystem_types/messages/network_bridge_event/struct.NewGossipTopology.html b/doc/polkadot_node_subsystem_types/messages/network_bridge_event/struct.NewGossipTopology.html index 89f25f406390..180d512f22fd 100644 --- a/doc/polkadot_node_subsystem_types/messages/network_bridge_event/struct.NewGossipTopology.html +++ b/doc/polkadot_node_subsystem_types/messages/network_bridge_event/struct.NewGossipTopology.html @@ -1,11 +1,11 @@ NewGossipTopology in polkadot_node_subsystem_types::messages::network_bridge_event - Rust
    pub struct NewGossipTopology {
         pub session: SessionIndex,
         pub topology: SessionGridTopology,
    -    pub local_index: Option<ValidatorIndex>,
    +    pub local_index: Option<ValidatorIndex>,
     }
    Expand description

    A struct indicating new gossip topology.

    Fields§

    §session: SessionIndex

    The session index this topology corresponds to.

    §topology: SessionGridTopology

    The topology itself.

    -
    §local_index: Option<ValidatorIndex>

    The local validator index, if any.

    +
    §local_index: Option<ValidatorIndex>

    The local validator index, if any.

    Trait Implementations§

    source§

    impl Clone for NewGossipTopology

    source§

    fn clone(&self) -> NewGossipTopology

    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 NewGossipTopology

    source§

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

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

    impl PartialEq<NewGossipTopology> for NewGossipTopology

    source§

    fn eq(&self, other: &NewGossipTopology) -> 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 StructuralPartialEq for NewGossipTopology

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/polkadot_node_subsystem_types/messages/struct.ProvisionerInherentData.html b/doc/polkadot_node_subsystem_types/messages/struct.ProvisionerInherentData.html index ef7c9f0645ab..c68dc4c7b2ed 100644 --- a/doc/polkadot_node_subsystem_types/messages/struct.ProvisionerInherentData.html +++ b/doc/polkadot_node_subsystem_types/messages/struct.ProvisionerInherentData.html @@ -1,11 +1,11 @@ ProvisionerInherentData in polkadot_node_subsystem_types::messages - Rust
    pub struct ProvisionerInherentData {
    -    pub bitfields: SignedAvailabilityBitfields,
    -    pub backed_candidates: Vec<BackedCandidate>,
    -    pub disputes: MultiDisputeStatementSet,
    +    pub bitfields: SignedAvailabilityBitfields,
    +    pub backed_candidates: Vec<BackedCandidate>,
    +    pub disputes: MultiDisputeStatementSet,
     }
    Expand description

    Inherent data returned by the provisioner

    -

    Fields§

    §bitfields: SignedAvailabilityBitfields

    Signed bitfields.

    -
    §backed_candidates: Vec<BackedCandidate>

    Backed candidates.

    -
    §disputes: MultiDisputeStatementSet

    Dispute statement sets.

    +

    Fields§

    §bitfields: SignedAvailabilityBitfields

    Signed bitfields.

    +
    §backed_candidates: Vec<BackedCandidate>

    Backed candidates.

    +
    §disputes: MultiDisputeStatementSet

    Dispute statement sets.

    Trait Implementations§

    source§

    impl Clone for ProvisionerInherentData

    source§

    fn clone(&self) -> ProvisionerInherentData

    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 ProvisionerInherentData

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> Any for Twhere T: Any,

    §

    fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

    §

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

    §

    fn type_name(&self) -> &'static str

    §

    impl<T> AnySync for Twhere diff --git a/doc/polkadot_node_subsystem_types/struct.DefaultSubsystemClient.html b/doc/polkadot_node_subsystem_types/struct.DefaultSubsystemClient.html index 618e048030ad..844f7052d63a 100644 --- a/doc/polkadot_node_subsystem_types/struct.DefaultSubsystemClient.html +++ b/doc/polkadot_node_subsystem_types/struct.DefaultSubsystemClient.html @@ -5,46 +5,46 @@ ) -> Self

    Create new instance.

    Trait Implementations§

    source§

    impl<Client> RuntimeApiSubsystemClient for DefaultSubsystemClient<Client>where Client: ProvideRuntimeApi<Block> + Send + Sync, - Client::Api: ParachainHost<Block> + BabeApi<Block> + AuthorityDiscoveryApi<Block>,

    source§

    fn validators<'life0, 'async_trait>( + Client::Api: ParachainHost<Block> + BabeApi<Block> + AuthorityDiscoveryApi<Block>,

    source§

    fn validators<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<ValidatorId>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<ValidatorId>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the current validators.
    source§

    fn validator_groups<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<(Vec<Vec<ValidatorIndex>>, GroupRotationInfo<BlockNumber>), ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<(Vec<Vec<ValidatorIndex>>, GroupRotationInfo<BlockNumber>), ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns the validator groups and rotation info localized based on the hypothetical child of a block whose state this is invoked on. Note that now in the GroupRotationInfo should be the successor of the number of the block.
    source§

    fn availability_cores<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<CoreState<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<CoreState<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Yields information on all availability cores as relevant to the child block. Cores are either free or occupied. Free cores can have paras assigned to them.
    source§

    fn persisted_validation_data<'life0, 'async_trait>( &'life0 self, at: Hash, - para_id: Id, - assumption: OccupiedCoreAssumption -) -> Pin<Box<dyn Future<Output = Result<Option<PersistedValidationData<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>>where + para_id: Id, + assumption: OccupiedCoreAssumption +) -> Pin<Box<dyn Future<Output = Result<Option<PersistedValidationData<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Yields the persisted validation data for the given ParaId along with an assumption that should be used if the para currently occupies a core. Read more
    source§

    fn assumed_validation_data<'life0, 'async_trait>( &'life0 self, at: Hash, - para_id: Id, + para_id: Id, expected_persisted_validation_data_hash: Hash -) -> Pin<Box<dyn Future<Output = Result<Option<(PersistedValidationData<Hash, BlockNumber>, ValidationCodeHash)>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<(PersistedValidationData<Hash, BlockNumber>, ValidationCodeHash)>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns the persisted validation data for the given ParaId along with the corresponding validation code hash. Instead of accepting assumption about the para, matches the validation data hash against an expected one and yields None if they’re not equal.
    source§

    fn check_validation_outputs<'life0, 'async_trait>( &'life0 self, at: Hash, - para_id: Id, - outputs: CandidateCommitments + para_id: Id, + outputs: CandidateCommitments ) -> Pin<Box<dyn Future<Output = Result<bool, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Checks if the given validation outputs pass the acceptance criteria.
    source§

    fn session_index_for_child<'life0, 'async_trait>( @@ -55,76 +55,76 @@ 'life0: 'async_trait,

    Returns the session index expected at a child of the block. Read more
    source§

    fn validation_code<'life0, 'async_trait>( &'life0 self, at: Hash, - para_id: Id, - assumption: OccupiedCoreAssumption -) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCode>, ApiError>> + Send + 'async_trait>>where + para_id: Id, + assumption: OccupiedCoreAssumption +) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCode>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Fetch the validation code used by a para, making the given OccupiedCoreAssumption. Read more
    source§

    fn candidate_pending_availability<'life0, 'async_trait>( &'life0 self, at: Hash, - para_id: Id -) -> Pin<Box<dyn Future<Output = Result<Option<CommittedCandidateReceipt<Hash>>, ApiError>> + Send + 'async_trait>>where + para_id: Id +) -> Pin<Box<dyn Future<Output = Result<Option<CommittedCandidateReceipt<Hash>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the receipt of a candidate pending availability. This returns Some for any paras assigned to occupied cores in availability_cores and None otherwise.
    source§

    fn candidate_events<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<CandidateEvent<Hash>>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<CandidateEvent<Hash>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get a vector of events concerning candidates that occurred within a block.
    source§

    fn dmq_contents<'life0, 'async_trait>( &'life0 self, at: Hash, - recipient: Id + recipient: Id ) -> Pin<Box<dyn Future<Output = Result<Vec<InboundDownwardMessage<BlockNumber>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get all the pending inbound messages in the downward message queue for a para.
    source§

    fn inbound_hrmp_channels_contents<'life0, 'async_trait>( &'life0 self, at: Hash, - recipient: Id -) -> Pin<Box<dyn Future<Output = Result<BTreeMap<Id, Vec<InboundHrmpMessage<BlockNumber>>>, ApiError>> + Send + 'async_trait>>where + recipient: Id +) -> Pin<Box<dyn Future<Output = Result<BTreeMap<Id, Vec<InboundHrmpMessage<BlockNumber>>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the contents of all channels addressed to the given recipient. Channels that have no messages in them are also included.
    source§

    fn validation_code_by_hash<'life0, 'async_trait>( &'life0 self, at: Hash, - hash: ValidationCodeHash -) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCode>, ApiError>> + Send + 'async_trait>>where + hash: ValidationCodeHash +) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCode>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the validation code from its hash.
    source§

    fn on_chain_votes<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Option<ScrapedOnChainVotes<Hash>>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<ScrapedOnChainVotes<Hash>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Scrape dispute relevant from on-chain, backing votes and resolved disputes.
    source§

    fn session_executor_params<'life0, 'async_trait>( &'life0 self, at: Hash, session_index: SessionIndex -) -> Pin<Box<dyn Future<Output = Result<Option<ExecutorParams>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<ExecutorParams>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the execution environment parameter set by parent hash, if stored
    source§

    fn session_info<'life0, 'async_trait>( &'life0 self, at: Hash, index: SessionIndex -) -> Pin<Box<dyn Future<Output = Result<Option<SessionInfo>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<SessionInfo>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the session info for the given session, if stored. Read more
    source§

    fn submit_pvf_check_statement<'life0, 'async_trait>( &'life0 self, at: Hash, - stmt: PvfCheckStatement, - signature: ValidatorSignature + stmt: PvfCheckStatement, + signature: ValidatorSignature ) -> Pin<Box<dyn Future<Output = Result<(), ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Submits a PVF pre-checking statement into the transaction pool. Read more
    source§

    fn pvfs_require_precheck<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<ValidationCodeHash>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<ValidationCodeHash>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns code hashes of PVFs that require pre-checking by validators in the active set. Read more
    source§

    fn validation_code_hash<'life0, 'async_trait>( &'life0 self, at: Hash, - para_id: Id, - assumption: OccupiedCoreAssumption -) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCodeHash>, ApiError>> + Send + 'async_trait>>where + para_id: Id, + assumption: OccupiedCoreAssumption +) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCodeHash>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Fetch the hash of the validation code used by a para, making the given OccupiedCoreAssumption. Read more
    source§

    fn current_epoch<'life0, 'async_trait>( @@ -145,25 +145,25 @@ 'life0: 'async_trait,

    Parachain host API version
    source§

    fn disputes<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns all onchain disputes. This is a staging method! Do not use on production runtimes!
    source§

    fn unapplied_slashes<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, PendingSlashes)>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, PendingSlashes)>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns a list of validators that lost a past session dispute and need to be slashed. Read more
    source§

    fn key_ownership_proof<'life0, 'async_trait>( &'life0 self, at: Hash, - validator_id: ValidatorId -) -> Pin<Box<dyn Future<Output = Result<Option<OpaqueKeyOwnershipProof>, ApiError>> + Send + 'async_trait>>where + validator_id: ValidatorId +) -> Pin<Box<dyn Future<Output = Result<Option<OpaqueKeyOwnershipProof>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns a merkle proof of a validator session key in a past session. Read more
    source§

    fn submit_report_dispute_lost<'life0, 'async_trait>( &'life0 self, at: Hash, - dispute_proof: DisputeProof, - key_ownership_proof: OpaqueKeyOwnershipProof + dispute_proof: DisputeProof, + key_ownership_proof: OpaqueKeyOwnershipProof ) -> Pin<Box<dyn Future<Output = Result<Option<()>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Submits an unsigned extrinsic to slash validators who lost a dispute about diff --git a/doc/polkadot_node_subsystem_types/trait.RuntimeApiSubsystemClient.html b/doc/polkadot_node_subsystem_types/trait.RuntimeApiSubsystemClient.html index 1485a4537cff..9b7c0a0ea8da 100644 --- a/doc/polkadot_node_subsystem_types/trait.RuntimeApiSubsystemClient.html +++ b/doc/polkadot_node_subsystem_types/trait.RuntimeApiSubsystemClient.html @@ -9,42 +9,42 @@ fn validators<'life0, 'async_trait>( &'life0 self, at: Hash - ) -> Pin<Box<dyn Future<Output = Result<Vec<ValidatorId>, ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Vec<ValidatorId>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn validator_groups<'life0, 'async_trait>( &'life0 self, at: Hash - ) -> Pin<Box<dyn Future<Output = Result<(Vec<Vec<ValidatorIndex>>, GroupRotationInfo<BlockNumber>), ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<(Vec<Vec<ValidatorIndex>>, GroupRotationInfo<BlockNumber>), ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn availability_cores<'life0, 'async_trait>( &'life0 self, at: Hash - ) -> Pin<Box<dyn Future<Output = Result<Vec<CoreState<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Vec<CoreState<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn persisted_validation_data<'life0, 'async_trait>( &'life0 self, at: Hash, - para_id: Id, - assumption: OccupiedCoreAssumption - ) -> Pin<Box<dyn Future<Output = Result<Option<PersistedValidationData<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>> + para_id: Id, + assumption: OccupiedCoreAssumption + ) -> Pin<Box<dyn Future<Output = Result<Option<PersistedValidationData<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn assumed_validation_data<'life0, 'async_trait>( &'life0 self, at: Hash, - para_id: Id, + para_id: Id, expected_persisted_validation_data_hash: Hash - ) -> Pin<Box<dyn Future<Output = Result<Option<(PersistedValidationData<Hash, BlockNumber>, ValidationCodeHash)>, ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Option<(PersistedValidationData<Hash, BlockNumber>, ValidationCodeHash)>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn check_validation_outputs<'life0, 'async_trait>( &'life0 self, at: Hash, - para_id: Id, - outputs: CandidateCommitments + para_id: Id, + outputs: CandidateCommitments ) -> Pin<Box<dyn Future<Output = Result<bool, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; @@ -57,104 +57,104 @@ fn validation_code<'life0, 'async_trait>( &'life0 self, at: Hash, - para_id: Id, - assumption: OccupiedCoreAssumption - ) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCode>, ApiError>> + Send + 'async_trait>> + para_id: Id, + assumption: OccupiedCoreAssumption + ) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCode>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn candidate_pending_availability<'life0, 'async_trait>( &'life0 self, at: Hash, - para_id: Id - ) -> Pin<Box<dyn Future<Output = Result<Option<CommittedCandidateReceipt<Hash>>, ApiError>> + Send + 'async_trait>> + para_id: Id + ) -> Pin<Box<dyn Future<Output = Result<Option<CommittedCandidateReceipt<Hash>>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn candidate_events<'life0, 'async_trait>( &'life0 self, at: Hash - ) -> Pin<Box<dyn Future<Output = Result<Vec<CandidateEvent<Hash>>, ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Vec<CandidateEvent<Hash>>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn dmq_contents<'life0, 'async_trait>( &'life0 self, at: Hash, - recipient: Id + recipient: Id ) -> Pin<Box<dyn Future<Output = Result<Vec<InboundDownwardMessage<BlockNumber>>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn inbound_hrmp_channels_contents<'life0, 'async_trait>( &'life0 self, at: Hash, - recipient: Id - ) -> Pin<Box<dyn Future<Output = Result<BTreeMap<Id, Vec<InboundHrmpMessage<BlockNumber>>>, ApiError>> + Send + 'async_trait>> + recipient: Id + ) -> Pin<Box<dyn Future<Output = Result<BTreeMap<Id, Vec<InboundHrmpMessage<BlockNumber>>>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn validation_code_by_hash<'life0, 'async_trait>( &'life0 self, at: Hash, - hash: ValidationCodeHash - ) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCode>, ApiError>> + Send + 'async_trait>> + hash: ValidationCodeHash + ) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCode>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn on_chain_votes<'life0, 'async_trait>( &'life0 self, at: Hash - ) -> Pin<Box<dyn Future<Output = Result<Option<ScrapedOnChainVotes<Hash>>, ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Option<ScrapedOnChainVotes<Hash>>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn session_info<'life0, 'async_trait>( &'life0 self, at: Hash, index: SessionIndex - ) -> Pin<Box<dyn Future<Output = Result<Option<SessionInfo>, ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Option<SessionInfo>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn submit_pvf_check_statement<'life0, 'async_trait>( &'life0 self, at: Hash, - stmt: PvfCheckStatement, - signature: ValidatorSignature + stmt: PvfCheckStatement, + signature: ValidatorSignature ) -> Pin<Box<dyn Future<Output = Result<(), ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn pvfs_require_precheck<'life0, 'async_trait>( &'life0 self, at: Hash - ) -> Pin<Box<dyn Future<Output = Result<Vec<ValidationCodeHash>, ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Vec<ValidationCodeHash>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn validation_code_hash<'life0, 'async_trait>( &'life0 self, at: Hash, - para_id: Id, - assumption: OccupiedCoreAssumption - ) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCodeHash>, ApiError>> + Send + 'async_trait>> + para_id: Id, + assumption: OccupiedCoreAssumption + ) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCodeHash>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn disputes<'life0, 'async_trait>( &'life0 self, at: Hash - ) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>, ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn unapplied_slashes<'life0, 'async_trait>( &'life0 self, at: Hash - ) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, PendingSlashes)>, ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, PendingSlashes)>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn key_ownership_proof<'life0, 'async_trait>( &'life0 self, at: Hash, - validator_id: ValidatorId - ) -> Pin<Box<dyn Future<Output = Result<Option<OpaqueKeyOwnershipProof>, ApiError>> + Send + 'async_trait>> + validator_id: ValidatorId + ) -> Pin<Box<dyn Future<Output = Result<Option<OpaqueKeyOwnershipProof>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn submit_report_dispute_lost<'life0, 'async_trait>( &'life0 self, at: Hash, - dispute_proof: DisputeProof, - key_ownership_proof: OpaqueKeyOwnershipProof + dispute_proof: DisputeProof, + key_ownership_proof: OpaqueKeyOwnershipProof ) -> Pin<Box<dyn Future<Output = Result<Option<()>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; @@ -162,7 +162,7 @@ &'life0 self, at: Hash, session_index: SessionIndex - ) -> Pin<Box<dyn Future<Output = Result<Option<ExecutorParams>, ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Option<ExecutorParams>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn current_epoch<'life0, 'async_trait>( @@ -187,13 +187,13 @@
    source

    fn validators<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<ValidatorId>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<ValidatorId>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the current validators.

    source

    fn validator_groups<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<(Vec<Vec<ValidatorIndex>>, GroupRotationInfo<BlockNumber>), ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<(Vec<Vec<ValidatorIndex>>, GroupRotationInfo<BlockNumber>), ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns the validator groups and rotation info localized based on the hypothetical child of a block whose state this is invoked on. Note that now in the GroupRotationInfo @@ -201,16 +201,16 @@

    source

    fn availability_cores<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<CoreState<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<CoreState<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Yields information on all availability cores as relevant to the child block. Cores are either free or occupied. Free cores can have paras assigned to them.

    source

    fn persisted_validation_data<'life0, 'async_trait>( &'life0 self, at: Hash, - para_id: Id, - assumption: OccupiedCoreAssumption -) -> Pin<Box<dyn Future<Output = Result<Option<PersistedValidationData<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>>where + para_id: Id, + assumption: OccupiedCoreAssumption +) -> Pin<Box<dyn Future<Output = Result<Option<PersistedValidationData<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Yields the persisted validation data for the given ParaId along with an assumption that should be used if the para currently occupies a core.

    @@ -219,9 +219,9 @@
    source

    fn assumed_validation_data<'life0, 'async_trait>( &'life0 self, at: Hash, - para_id: Id, + para_id: Id, expected_persisted_validation_data_hash: Hash -) -> Pin<Box<dyn Future<Output = Result<Option<(PersistedValidationData<Hash, BlockNumber>, ValidationCodeHash)>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<(PersistedValidationData<Hash, BlockNumber>, ValidationCodeHash)>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns the persisted validation data for the given ParaId along with the corresponding validation code hash. Instead of accepting assumption about the para, matches the validation @@ -229,8 +229,8 @@

    source

    fn check_validation_outputs<'life0, 'async_trait>( &'life0 self, at: Hash, - para_id: Id, - outputs: CandidateCommitments + para_id: Id, + outputs: CandidateCommitments ) -> Pin<Box<dyn Future<Output = Result<bool, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Checks if the given validation outputs pass the acceptance criteria.

    @@ -244,9 +244,9 @@
    source

    fn validation_code<'life0, 'async_trait>( &'life0 self, at: Hash, - para_id: Id, - assumption: OccupiedCoreAssumption -) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCode>, ApiError>> + Send + 'async_trait>>where + para_id: Id, + assumption: OccupiedCoreAssumption +) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCode>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Fetch the validation code used by a para, making the given OccupiedCoreAssumption.

    Returns None if either the para is not registered or the assumption is Freed @@ -254,58 +254,58 @@

    source

    fn candidate_pending_availability<'life0, 'async_trait>( &'life0 self, at: Hash, - para_id: Id -) -> Pin<Box<dyn Future<Output = Result<Option<CommittedCandidateReceipt<Hash>>, ApiError>> + Send + 'async_trait>>where + para_id: Id +) -> Pin<Box<dyn Future<Output = Result<Option<CommittedCandidateReceipt<Hash>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the receipt of a candidate pending availability. This returns Some for any paras assigned to occupied cores in availability_cores and None otherwise.

    source

    fn candidate_events<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<CandidateEvent<Hash>>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<CandidateEvent<Hash>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get a vector of events concerning candidates that occurred within a block.

    source

    fn dmq_contents<'life0, 'async_trait>( &'life0 self, at: Hash, - recipient: Id + recipient: Id ) -> Pin<Box<dyn Future<Output = Result<Vec<InboundDownwardMessage<BlockNumber>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get all the pending inbound messages in the downward message queue for a para.

    source

    fn inbound_hrmp_channels_contents<'life0, 'async_trait>( &'life0 self, at: Hash, - recipient: Id -) -> Pin<Box<dyn Future<Output = Result<BTreeMap<Id, Vec<InboundHrmpMessage<BlockNumber>>>, ApiError>> + Send + 'async_trait>>where + recipient: Id +) -> Pin<Box<dyn Future<Output = Result<BTreeMap<Id, Vec<InboundHrmpMessage<BlockNumber>>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the contents of all channels addressed to the given recipient. Channels that have no messages in them are also included.

    source

    fn validation_code_by_hash<'life0, 'async_trait>( &'life0 self, at: Hash, - hash: ValidationCodeHash -) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCode>, ApiError>> + Send + 'async_trait>>where + hash: ValidationCodeHash +) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCode>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the validation code from its hash.

    source

    fn on_chain_votes<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Option<ScrapedOnChainVotes<Hash>>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<ScrapedOnChainVotes<Hash>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Scrape dispute relevant from on-chain, backing votes and resolved disputes.

    source

    fn session_info<'life0, 'async_trait>( &'life0 self, at: Hash, index: SessionIndex -) -> Pin<Box<dyn Future<Output = Result<Option<SessionInfo>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<SessionInfo>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the session info for the given session, if stored.

    NOTE: This function is only available since parachain host version 2.

    source

    fn submit_pvf_check_statement<'life0, 'async_trait>( &'life0 self, at: Hash, - stmt: PvfCheckStatement, - signature: ValidatorSignature + stmt: PvfCheckStatement, + signature: ValidatorSignature ) -> Pin<Box<dyn Future<Output = Result<(), ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Submits a PVF pre-checking statement into the transaction pool.

    @@ -313,16 +313,16 @@
    source

    fn pvfs_require_precheck<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<ValidationCodeHash>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<ValidationCodeHash>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns code hashes of PVFs that require pre-checking by validators in the active set.

    NOTE: This function is only available since parachain host version 2.

    source

    fn validation_code_hash<'life0, 'async_trait>( &'life0 self, at: Hash, - para_id: Id, - assumption: OccupiedCoreAssumption -) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCodeHash>, ApiError>> + Send + 'async_trait>>where + para_id: Id, + assumption: OccupiedCoreAssumption +) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCodeHash>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Fetch the hash of the validation code used by a para, making the given OccupiedCoreAssumption.

    @@ -330,30 +330,30 @@
    source

    fn disputes<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns all onchain disputes. This is a staging method! Do not use on production runtimes!

    source

    fn unapplied_slashes<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, PendingSlashes)>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, PendingSlashes)>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns a list of validators that lost a past session dispute and need to be slashed.

    WARNING: This is a staging method! Do not use on production runtimes!

    source

    fn key_ownership_proof<'life0, 'async_trait>( &'life0 self, at: Hash, - validator_id: ValidatorId -) -> Pin<Box<dyn Future<Output = Result<Option<OpaqueKeyOwnershipProof>, ApiError>> + Send + 'async_trait>>where + validator_id: ValidatorId +) -> Pin<Box<dyn Future<Output = Result<Option<OpaqueKeyOwnershipProof>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns a merkle proof of a validator session key in a past session.

    WARNING: This is a staging method! Do not use on production runtimes!

    source

    fn submit_report_dispute_lost<'life0, 'async_trait>( &'life0 self, at: Hash, - dispute_proof: DisputeProof, - key_ownership_proof: OpaqueKeyOwnershipProof + dispute_proof: DisputeProof, + key_ownership_proof: OpaqueKeyOwnershipProof ) -> Pin<Box<dyn Future<Output = Result<Option<()>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Submits an unsigned extrinsic to slash validators who lost a dispute about @@ -363,7 +363,7 @@ &'life0 self, at: Hash, session_index: SessionIndex -) -> Pin<Box<dyn Future<Output = Result<Option<ExecutorParams>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<ExecutorParams>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the execution environment parameter set by parent hash, if stored

    source

    fn current_epoch<'life0, 'async_trait>( @@ -380,4 +380,4 @@ 'life0: 'async_trait,

    Retrieve authority identifiers of the current and next authority set.

    Implementors§

    source§

    impl<Client> RuntimeApiSubsystemClient for DefaultSubsystemClient<Client>where Client: ProvideRuntimeApi<Block> + Send + Sync, - Client::Api: ParachainHost<Block> + BabeApi<Block> + AuthorityDiscoveryApi<Block>,

    \ No newline at end of file + Client::Api: ParachainHost<Block> + BabeApi<Block> + AuthorityDiscoveryApi<Block>,

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_commitments.html b/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_commitments.html index fbf67e47519d..99838e0d4e17 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_commitments.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_commitments.html @@ -1,4 +1,4 @@ dummy_candidate_commitments in polkadot_primitives_test_helpers - Rust
    pub fn dummy_candidate_commitments(
    -    head_data: impl Into<Option<HeadData>>
    -) -> CandidateCommitments
    Expand description

    Create candidate commitments with filler data.

    + head_data: impl Into<Option<HeadData>> +) -> CandidateCommitments
    Expand description

    Create candidate commitments with filler data.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_descriptor.html b/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_descriptor.html index d3a93912cfda..b7430620b028 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_descriptor.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_descriptor.html @@ -1,4 +1,4 @@ dummy_candidate_descriptor in polkadot_primitives_test_helpers - Rust
    pub fn dummy_candidate_descriptor<H: AsRef<[u8]>>(
         relay_parent: H
    -) -> CandidateDescriptor<H>
    Expand description

    Create a candidate descriptor with filler data.

    +) -> CandidateDescriptor<H>
    Expand description

    Create a candidate descriptor with filler data.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_descriptor_bad_sig.html b/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_descriptor_bad_sig.html index 73809db02147..ff8f14dcf505 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_descriptor_bad_sig.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_descriptor_bad_sig.html @@ -1,4 +1,4 @@ dummy_candidate_descriptor_bad_sig in polkadot_primitives_test_helpers - Rust
    pub fn dummy_candidate_descriptor_bad_sig(
         relay_parent: Hash
    -) -> CandidateDescriptor<Hash>
    Expand description

    Create a candidate descriptor with a bogus signature and filler data.

    +) -> CandidateDescriptor<Hash>
    Expand description

    Create a candidate descriptor with a bogus signature and filler data.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_receipt.html b/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_receipt.html index a3cc84908d16..58f50bc01999 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_receipt.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_receipt.html @@ -1,4 +1,4 @@ dummy_candidate_receipt in polkadot_primitives_test_helpers - Rust
    pub fn dummy_candidate_receipt<H: AsRef<[u8]>>(
         relay_parent: H
    -) -> CandidateReceipt<H>
    Expand description

    Creates a candidate receipt with filler data.

    +) -> CandidateReceipt<H>
    Expand description

    Creates a candidate receipt with filler data.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_receipt_bad_sig.html b/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_receipt_bad_sig.html index 516d077cd000..4249dd2029ea 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_receipt_bad_sig.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_receipt_bad_sig.html @@ -1,6 +1,6 @@ dummy_candidate_receipt_bad_sig in polkadot_primitives_test_helpers - Rust
    pub fn dummy_candidate_receipt_bad_sig(
         relay_parent: Hash,
         commitments: impl Into<Option<Hash>>
    -) -> CandidateReceipt<Hash>
    Expand description

    Create a candidate receipt with a bogus signature and filler data. Optionally set the commitment +) -> CandidateReceipt<Hash>

    Expand description

    Create a candidate receipt with a bogus signature and filler data. Optionally set the commitment hash with the commitments arg.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_collator.html b/doc/polkadot_primitives_test_helpers/fn.dummy_collator.html index fa07633f0c56..8601deb762c1 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_collator.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_collator.html @@ -1,2 +1,2 @@ -dummy_collator in polkadot_primitives_test_helpers - Rust
    pub fn dummy_collator() -> CollatorId
    Expand description

    Create a meaningless collator id.

    +dummy_collator in polkadot_primitives_test_helpers - Rust
    pub fn dummy_collator() -> CollatorId
    Expand description

    Create a meaningless collator id.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_collator_signature.html b/doc/polkadot_primitives_test_helpers/fn.dummy_collator_signature.html index c6b8f6d48478..3d896f9f6045 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_collator_signature.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_collator_signature.html @@ -1,2 +1,2 @@ -dummy_collator_signature in polkadot_primitives_test_helpers - Rust
    pub fn dummy_collator_signature() -> CollatorSignature
    Expand description

    Create a meaningless collator signature.

    +dummy_collator_signature in polkadot_primitives_test_helpers - Rust
    pub fn dummy_collator_signature() -> CollatorSignature
    Expand description

    Create a meaningless collator signature.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_committed_candidate_receipt.html b/doc/polkadot_primitives_test_helpers/fn.dummy_committed_candidate_receipt.html index 4b6e87ba71ef..958f37e821aa 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_committed_candidate_receipt.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_committed_candidate_receipt.html @@ -1,4 +1,4 @@ dummy_committed_candidate_receipt in polkadot_primitives_test_helpers - Rust
    pub fn dummy_committed_candidate_receipt<H: AsRef<[u8]>>(
         relay_parent: H
    -) -> CommittedCandidateReceipt<H>
    Expand description

    Creates a committed candidate receipt with filler data.

    +) -> CommittedCandidateReceipt<H>
    Expand description

    Creates a committed candidate receipt with filler data.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_head_data.html b/doc/polkadot_primitives_test_helpers/fn.dummy_head_data.html index 40fb3b860acf..5ae1480b10d1 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_head_data.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_head_data.html @@ -1,2 +1,2 @@ -dummy_head_data in polkadot_primitives_test_helpers - Rust
    pub fn dummy_head_data() -> HeadData
    Expand description

    Create meaningless head data.

    +dummy_head_data in polkadot_primitives_test_helpers - Rust
    pub fn dummy_head_data() -> HeadData
    Expand description

    Create meaningless head data.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_signature.html b/doc/polkadot_primitives_test_helpers/fn.dummy_signature.html index 93f67096aac4..f94618e0d61c 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_signature.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_signature.html @@ -1 +1 @@ -dummy_signature in polkadot_primitives_test_helpers - Rust
    pub fn dummy_signature() -> ValidatorSignature
    \ No newline at end of file +dummy_signature in polkadot_primitives_test_helpers - Rust
    pub fn dummy_signature() -> ValidatorSignature
    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_validation_code.html b/doc/polkadot_primitives_test_helpers/fn.dummy_validation_code.html index 8de528da0876..01212c21bf5b 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_validation_code.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_validation_code.html @@ -1,2 +1,2 @@ -dummy_validation_code in polkadot_primitives_test_helpers - Rust
    pub fn dummy_validation_code() -> ValidationCode
    Expand description

    Create meaningless validation code.

    +dummy_validation_code in polkadot_primitives_test_helpers - Rust
    pub fn dummy_validation_code() -> ValidationCode
    Expand description

    Create meaningless validation code.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_validator.html b/doc/polkadot_primitives_test_helpers/fn.dummy_validator.html index 4d2519c27221..5806f34196b1 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_validator.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_validator.html @@ -1,2 +1,2 @@ -dummy_validator in polkadot_primitives_test_helpers - Rust
    pub fn dummy_validator() -> ValidatorId
    Expand description

    Create a meaningless validator id.

    +dummy_validator in polkadot_primitives_test_helpers - Rust
    pub fn dummy_validator() -> ValidatorId
    Expand description

    Create a meaningless validator id.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.make_valid_candidate_descriptor.html b/doc/polkadot_primitives_test_helpers/fn.make_valid_candidate_descriptor.html index 243dc43c05cf..8099cca1f957 100644 --- a/doc/polkadot_primitives_test_helpers/fn.make_valid_candidate_descriptor.html +++ b/doc/polkadot_primitives_test_helpers/fn.make_valid_candidate_descriptor.html @@ -1,12 +1,12 @@ make_valid_candidate_descriptor in polkadot_primitives_test_helpers - Rust
    pub fn make_valid_candidate_descriptor<H: AsRef<[u8]>>(
    -    para_id: ParaId,
    +    para_id: ParaId,
         relay_parent: H,
         persisted_validation_data_hash: Hash,
         pov_hash: Hash,
    -    validation_code_hash: impl Into<ValidationCodeHash>,
    +    validation_code_hash: impl Into<ValidationCodeHash>,
         para_head: Hash,
         erasure_root: Hash,
         collator: Sr25519Keyring
    -) -> CandidateDescriptor<H>
    Expand description

    Create a new candidate descriptor, and apply a valid signature +) -> CandidateDescriptor<H>

    Expand description

    Create a new candidate descriptor, and apply a valid signature using the provided collator key.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.resign_candidate_descriptor_with_collator.html b/doc/polkadot_primitives_test_helpers/fn.resign_candidate_descriptor_with_collator.html index 2d1e5095bcae..d72ce91df6f8 100644 --- a/doc/polkadot_primitives_test_helpers/fn.resign_candidate_descriptor_with_collator.html +++ b/doc/polkadot_primitives_test_helpers/fn.resign_candidate_descriptor_with_collator.html @@ -1,5 +1,5 @@ resign_candidate_descriptor_with_collator in polkadot_primitives_test_helpers - Rust
    pub fn resign_candidate_descriptor_with_collator<H: AsRef<[u8]>>(
    -    descriptor: &mut CandidateDescriptor<H>,
    +    descriptor: &mut CandidateDescriptor<H>,
         collator: Sr25519Keyring
     )
    Expand description

    After manually modifying the candidate descriptor, resign with a defined collator key.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/struct.TestCandidateBuilder.html b/doc/polkadot_primitives_test_helpers/struct.TestCandidateBuilder.html index 0f277d2651cf..cb6065fd101c 100644 --- a/doc/polkadot_primitives_test_helpers/struct.TestCandidateBuilder.html +++ b/doc/polkadot_primitives_test_helpers/struct.TestCandidateBuilder.html @@ -1,10 +1,10 @@ TestCandidateBuilder in polkadot_primitives_test_helpers - Rust
    pub struct TestCandidateBuilder {
    -    pub para_id: ParaId,
    +    pub para_id: ParaId,
         pub pov_hash: Hash,
         pub relay_parent: Hash,
         pub commitments_hash: Hash,
     }
    Expand description

    Builder for CandidateReceipt.

    -

    Fields§

    §para_id: ParaId§pov_hash: Hash§relay_parent: Hash§commitments_hash: Hash

    Implementations§

    source§

    impl TestCandidateBuilder

    source

    pub fn build(self) -> CandidateReceipt

    Build a CandidateReceipt.

    +

    Fields§

    §para_id: ParaId§pov_hash: Hash§relay_parent: Hash§commitments_hash: Hash

    Implementations§

    source§

    impl TestCandidateBuilder

    source

    pub fn build(self) -> CandidateReceipt

    Build a CandidateReceipt.

    Trait Implementations§

    source§

    impl Default for TestCandidateBuilder

    source§

    fn default() -> Self

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

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    const: unstable · source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/polkadot_runtime_metrics/struct.Counter.html b/doc/polkadot_runtime_metrics/struct.Counter.html index 11c9f5379aca..18b418dc8200 100644 --- a/doc/polkadot_runtime_metrics/struct.Counter.html +++ b/doc/polkadot_runtime_metrics/struct.Counter.html @@ -1,6 +1,6 @@ Counter in polkadot_runtime_metrics - Rust
    pub struct Counter;
    Expand description

    A dummy Counter.

    Implementations§

    source§

    impl Counter

    Dummy implementation.

    -
    source

    pub const fn new(_definition: CounterDefinition) -> Self

    Constructor.

    +
    source

    pub const fn new(_definition: CounterDefinition) -> Self

    Constructor.

    source

    pub fn inc_by(&self, _: u64)

    Increment counter by value, implementation is a no op.

    source

    pub fn inc(&self)

    Increment counter, implementation is a no op.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/polkadot_runtime_metrics/struct.CounterVec.html b/doc/polkadot_runtime_metrics/struct.CounterVec.html index 9f8def2eeede..cefaa8a4495c 100644 --- a/doc/polkadot_runtime_metrics/struct.CounterVec.html +++ b/doc/polkadot_runtime_metrics/struct.CounterVec.html @@ -1,6 +1,6 @@ CounterVec in polkadot_runtime_metrics - Rust
    pub struct CounterVec;
    Expand description

    A dummy CounterVec.

    Implementations§

    source§

    impl CounterVec

    Dummy implementation.

    -
    source

    pub const fn new(_definition: CounterVecDefinition<'_>) -> Self

    Constructor.

    +
    source

    pub const fn new(_definition: CounterVecDefinition<'_>) -> Self

    Constructor.

    source

    pub fn with_label_values(&self, _label_values: &[&'static str]) -> &Self

    Sets label values, implementation is a no op.

    source

    pub fn inc_by(&self, _: u64)

    Increment counter by value, implementation is a no op.

    source

    pub fn inc(&self)

    Increment counter, implementation is a no op.

    diff --git a/doc/polkadot_runtime_metrics/struct.Histogram.html b/doc/polkadot_runtime_metrics/struct.Histogram.html index fe0674526aef..c862c9e9ae5a 100644 --- a/doc/polkadot_runtime_metrics/struct.Histogram.html +++ b/doc/polkadot_runtime_metrics/struct.Histogram.html @@ -1,6 +1,6 @@ Histogram in polkadot_runtime_metrics - Rust
    pub struct Histogram;
    Expand description

    A dummy Histogram

    Implementations§

    source§

    impl Histogram

    Dummy implementation

    -
    source

    pub const fn new(_definition: HistogramDefinition<'_>) -> Self

    Create a new histogram as specified by definition. This metric needs to be registered +

    source

    pub const fn new(_definition: HistogramDefinition<'_>) -> Self

    Create a new histogram as specified by definition. This metric needs to be registered in the client before it can be used.

    source

    pub fn observe(&self, _value: u128)

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere diff --git a/doc/polkadot_statement_table/generic/enum.Statement.html b/doc/polkadot_statement_table/generic/enum.Statement.html index ceba4e38a370..6787edd73762 100644 --- a/doc/polkadot_statement_table/generic/enum.Statement.html +++ b/doc/polkadot_statement_table/generic/enum.Statement.html @@ -20,7 +20,7 @@ &self, __codec_dest_edqy: &mut __CodecOutputEdqy )

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl<'a> From<&'a Statement<CommittedCandidateReceipt<H256>, CandidateHash>> for PrimitiveStatement

    source§

    fn from(s: &'a Statement) -> PrimitiveStatement

    Converts to this type from the input type.
    source§

    impl<Candidate: PartialEq, Digest: PartialEq> PartialEq<Statement<Candidate, Digest>> for Statement<Candidate, Digest>

    source§

    fn eq(&self, other: &Statement<Candidate, Digest>) -> bool

    This method tests for self and other values to be equal, and is used + F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl<'a> From<&'a Statement<CommittedCandidateReceipt<H256>, CandidateHash>> for PrimitiveStatement

    source§

    fn from(s: &'a Statement) -> PrimitiveStatement

    Converts to this type from the input type.
    source§

    impl<Candidate: PartialEq, Digest: PartialEq> PartialEq<Statement<Candidate, Digest>> for Statement<Candidate, Digest>

    source§

    fn eq(&self, other: &Statement<Candidate, Digest>) -> 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<Candidate, Digest> EncodeLike<Statement<Candidate, Digest>> for Statement<Candidate, Digest>where Candidate: Encode, @@ -48,8 +48,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_statement_table/generic/enum.ValidityAttestation.html b/doc/polkadot_statement_table/generic/enum.ValidityAttestation.html index 5798e214e0a6..d1a5843ca6c3 100644 --- a/doc/polkadot_statement_table/generic/enum.ValidityAttestation.html +++ b/doc/polkadot_statement_table/generic/enum.ValidityAttestation.html @@ -19,7 +19,7 @@ &self, __codec_dest_edqy: &mut __CodecOutputEdqy )

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl Into<ValidityAttestation> for ValidityAttestation<ValidatorSignature>

    source§

    fn into(self) -> PrimitiveValidityAttestation

    Converts this type into the (usually inferred) input type.
    source§

    impl<Signature: PartialEq> PartialEq<ValidityAttestation<Signature>> for ValidityAttestation<Signature>

    source§

    fn eq(&self, other: &ValidityAttestation<Signature>) -> bool

    This method tests for self and other values to be equal, and is used + F: FnOnce(&[u8]) -> R,
    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl Into<ValidityAttestation> for ValidityAttestation<ValidatorSignature>

    source§

    fn into(self) -> PrimitiveValidityAttestation

    Converts this type into the (usually inferred) input type.
    source§

    impl<Signature: PartialEq> PartialEq<ValidityAttestation<Signature>> for ValidityAttestation<Signature>

    source§

    fn eq(&self, other: &ValidityAttestation<Signature>) -> 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<Signature> EncodeLike<ValidityAttestation<Signature>> for ValidityAttestation<Signature>where Signature: Encode,

    source§

    impl<Signature> StructuralPartialEq for ValidityAttestation<Signature>

    Auto Trait Implementations§

    §

    impl<Signature> RefUnwindSafe for ValidityAttestation<Signature>where @@ -41,8 +41,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

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

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    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 diff --git a/doc/polkadot_statement_table/generic/struct.AttestedCandidate.html b/doc/polkadot_statement_table/generic/struct.AttestedCandidate.html index 28b264f67f08..5b536f1efc13 100644 --- a/doc/polkadot_statement_table/generic/struct.AttestedCandidate.html +++ b/doc/polkadot_statement_table/generic/struct.AttestedCandidate.html @@ -65,8 +65,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

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

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    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 diff --git a/doc/polkadot_statement_table/generic/struct.SignedStatement.html b/doc/polkadot_statement_table/generic/struct.SignedStatement.html index 6b805eb27f70..999ae522a4f8 100644 --- a/doc/polkadot_statement_table/generic/struct.SignedStatement.html +++ b/doc/polkadot_statement_table/generic/struct.SignedStatement.html @@ -65,8 +65,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

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

    source§

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

    §

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

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

    source§

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

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

    source§

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

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

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_statement_table/v2/type.Misbehavior.html b/doc/polkadot_statement_table/v2/type.Misbehavior.html index 4b92e66a02f8..8a8f4cdc329b 100644 --- a/doc/polkadot_statement_table/v2/type.Misbehavior.html +++ b/doc/polkadot_statement_table/v2/type.Misbehavior.html @@ -1,2 +1,2 @@ -Misbehavior in polkadot_statement_table::v2 - Rust

    Type Definition polkadot_statement_table::v2::Misbehavior

    source ·
    pub type Misbehavior = Misbehavior<CommittedCandidateReceipt, CandidateHash, ValidatorIndex, ValidatorSignature>;
    Expand description

    Kinds of misbehavior, along with proof.

    +Misbehavior in polkadot_statement_table::v2 - Rust

    Type Definition polkadot_statement_table::v2::Misbehavior

    source ·
    pub type Misbehavior = Misbehavior<CommittedCandidateReceipt, CandidateHash, ValidatorIndex, ValidatorSignature>;
    Expand description

    Kinds of misbehavior, along with proof.

    \ No newline at end of file diff --git a/doc/polkadot_statement_table/v2/type.SignedStatement.html b/doc/polkadot_statement_table/v2/type.SignedStatement.html index eca531ce6187..05bc55303adb 100644 --- a/doc/polkadot_statement_table/v2/type.SignedStatement.html +++ b/doc/polkadot_statement_table/v2/type.SignedStatement.html @@ -1,2 +1,2 @@ -SignedStatement in polkadot_statement_table::v2 - Rust
    pub type SignedStatement = SignedStatement<CommittedCandidateReceipt, CandidateHash, ValidatorIndex, ValidatorSignature>;
    Expand description

    Signed statements about candidates.

    +SignedStatement in polkadot_statement_table::v2 - Rust
    pub type SignedStatement = SignedStatement<CommittedCandidateReceipt, CandidateHash, ValidatorIndex, ValidatorSignature>;
    Expand description

    Signed statements about candidates.

    \ No newline at end of file diff --git a/doc/polkadot_statement_table/v2/type.Statement.html b/doc/polkadot_statement_table/v2/type.Statement.html index 5fddd2251f5d..0c7d88ba346f 100644 --- a/doc/polkadot_statement_table/v2/type.Statement.html +++ b/doc/polkadot_statement_table/v2/type.Statement.html @@ -1,2 +1,2 @@ -Statement in polkadot_statement_table::v2 - Rust

    Type Definition polkadot_statement_table::v2::Statement

    source ·
    pub type Statement = Statement<CommittedCandidateReceipt, CandidateHash>;
    Expand description

    Statements about candidates on the network.

    +Statement in polkadot_statement_table::v2 - Rust

    Type Definition polkadot_statement_table::v2::Statement

    source ·
    pub type Statement = Statement<CommittedCandidateReceipt, CandidateHash>;
    Expand description

    Statements about candidates on the network.

    \ No newline at end of file diff --git a/doc/polkadot_statement_table/v2/type.Summary.html b/doc/polkadot_statement_table/v2/type.Summary.html index 2e26d3d72aca..fa0362b58525 100644 --- a/doc/polkadot_statement_table/v2/type.Summary.html +++ b/doc/polkadot_statement_table/v2/type.Summary.html @@ -1,2 +1,2 @@ -Summary in polkadot_statement_table::v2 - Rust

    Type Definition polkadot_statement_table::v2::Summary

    source ·
    pub type Summary = Summary<CandidateHash, Id>;
    Expand description

    A summary of import of a statement.

    +Summary in polkadot_statement_table::v2 - Rust

    Type Definition polkadot_statement_table::v2::Summary

    source ·
    pub type Summary = Summary<CandidateHash, Id>;
    Expand description

    A summary of import of a statement.

    \ No newline at end of file diff --git a/doc/remote_ext_tests_bags_list/static.DEFAULT_VALUE.html b/doc/remote_ext_tests_bags_list/static.DEFAULT_VALUE.html index a9b6f0fd39a9..fd474fa50fec 100644 --- a/doc/remote_ext_tests_bags_list/static.DEFAULT_VALUE.html +++ b/doc/remote_ext_tests_bags_list/static.DEFAULT_VALUE.html @@ -1 +1 @@ -DEFAULT_VALUE in remote_ext_tests_bags_list - Rust
    pub(crate) static DEFAULT_VALUE: Lazy<String>
    \ No newline at end of file +DEFAULT_VALUE in remote_ext_tests_bags_list - Rust
    pub(crate) static DEFAULT_VALUE: Lazy<String>
    \ No newline at end of file diff --git a/doc/settings.html b/doc/settings.html index b2ac7c785cc9..88e4788721fb 100644 --- a/doc/settings.html +++ b/doc/settings.html @@ -1 +1 @@ -Rustdoc settings

    Rustdoc settings

    Back
    \ No newline at end of file +Rustdoc settings

    Rustdoc settings

    Back
    \ No newline at end of file diff --git a/doc/src/adder_collator/main.rs.html b/doc/src/adder_collator/main.rs.html index 1049f7fd4815..516caaf083ec 100644 --- a/doc/src/adder_collator/main.rs.html +++ b/doc/src/adder_collator/main.rs.html @@ -114,10 +114,6 @@ 114 115 116 -117 -118 -119 -120
    // Copyright (C) Parity Technologies (UK) Ltd.
     // This file is part of Polkadot.
     
    @@ -141,7 +137,6 @@
     use polkadot_node_subsystem::messages::{CollationGenerationMessage, CollatorProtocolMessage};
     use polkadot_primitives::Id as ParaId;
     use sc_cli::{Error as SubstrateCliError, SubstrateCli};
    -use sc_service::Role;
     use sp_core::hexdisplay::HexDisplay;
     use test_parachain_adder_collator::Collator;
     
    @@ -174,12 +169,9 @@
     				)
     			})?;
     
    -			runner.run_node_until_exit(|mut config| async move {
    +			runner.run_node_until_exit(|config| async move {
     				let collator = Collator::new();
     
    -				// Zombienet is spawning all collators currently with the same CLI, this means it
    -				// sets `--validator` and this is wrong here.
    -				config.role = Role::Full;
     				let full_node = polkadot_service::build_full(
     					config,
     					polkadot_service::NewFullParams {
    diff --git a/doc/src/undying_collator/main.rs.html b/doc/src/undying_collator/main.rs.html
    index 7b58cec5c7cd..acc3a5bc92dc 100644
    --- a/doc/src/undying_collator/main.rs.html
    +++ b/doc/src/undying_collator/main.rs.html
    @@ -114,10 +114,6 @@
     114
     115
     116
    -117
    -118
    -119
    -120
     
    // Copyright (C) Parity Technologies (UK) Ltd.
     // This file is part of Polkadot.
     
    @@ -141,7 +137,6 @@
     use polkadot_node_subsystem::messages::{CollationGenerationMessage, CollatorProtocolMessage};
     use polkadot_primitives::Id as ParaId;
     use sc_cli::{Error as SubstrateCliError, SubstrateCli};
    -use sc_service::Role;
     use sp_core::hexdisplay::HexDisplay;
     use test_parachain_undying_collator::Collator;
     
    @@ -174,12 +169,9 @@
     				)
     			})?;
     
    -			runner.run_node_until_exit(|mut config| async move {
    +			runner.run_node_until_exit(|config| async move {
     				let collator = Collator::new(cli.run.pov_size, cli.run.pvf_complexity);
     
    -				// Zombienet is spawning all collators currently with the same CLI, this means it
    -				// sets `--validator` and this is wrong here.
    -				config.role = Role::Full;
     				let full_node = polkadot_service::build_full(
     					config,
     					polkadot_service::NewFullParams {
    diff --git a/doc/staking_miner/opts/static.DEFAULT_VALUE.html b/doc/staking_miner/opts/static.DEFAULT_VALUE.html
    index 70fb595d30de..44f538378114 100644
    --- a/doc/staking_miner/opts/static.DEFAULT_VALUE.html
    +++ b/doc/staking_miner/opts/static.DEFAULT_VALUE.html
    @@ -1 +1 @@
    -DEFAULT_VALUE in staking_miner::opts - Rust
    static DEFAULT_VALUE: Lazy<String>
    \ No newline at end of file +DEFAULT_VALUE in staking_miner::opts - Rust
    static DEFAULT_VALUE: Lazy<String>
    \ No newline at end of file diff --git a/doc/undying_collator/cli/static.DEFAULT_VALUE.html b/doc/undying_collator/cli/static.DEFAULT_VALUE.html index bc9819d1449f..a575d8d5987c 100644 --- a/doc/undying_collator/cli/static.DEFAULT_VALUE.html +++ b/doc/undying_collator/cli/static.DEFAULT_VALUE.html @@ -1 +1 @@ -DEFAULT_VALUE in undying_collator::cli - Rust
    static DEFAULT_VALUE: Lazy<String>
    \ No newline at end of file +DEFAULT_VALUE in undying_collator::cli - Rust
    static DEFAULT_VALUE: Lazy<String>
    \ No newline at end of file diff --git a/doc/undying_collator/fn.main.html b/doc/undying_collator/fn.main.html index 3f90efb48da7..d4c3294257b4 100644 --- a/doc/undying_collator/fn.main.html +++ b/doc/undying_collator/fn.main.html @@ -1 +1 @@ -main in undying_collator - Rust

    Function undying_collator::main

    source ·
    pub(crate) fn main() -> Result<()>
    \ No newline at end of file +main in undying_collator - Rust

    Function undying_collator::main

    source ·
    pub(crate) fn main() -> Result<()>
    \ No newline at end of file diff --git a/doc/undying_collator/index.html b/doc/undying_collator/index.html index 33caafe35a0e..42459fc40548 100644 --- a/doc/undying_collator/index.html +++ b/doc/undying_collator/index.html @@ -1,2 +1,2 @@ -undying_collator - Rust

    Crate undying_collator

    source ·
    Expand description

    Collator for the Undying test parachain.

    +undying_collator - Rust

    Crate undying_collator

    source ·
    Expand description

    Collator for the Undying test parachain.

    Modules

    • cli 🔒
      Polkadot CLI library.

    Functions

    \ No newline at end of file diff --git a/doc/xcm_builder/struct.Account32Hash.html b/doc/xcm_builder/struct.Account32Hash.html index 80da30daca23..b6ba07d5393a 100644 --- a/doc/xcm_builder/struct.Account32Hash.html +++ b/doc/xcm_builder/struct.Account32Hash.html @@ -1,4 +1,4 @@ -Account32Hash in xcm_builder - Rust
    pub struct Account32Hash<Network, AccountId>(_);

    Trait Implementations§

    source§

    impl<Network: Get<Option<NetworkId>>, AccountId: From<[u8; 32]> + Into<[u8; 32]> + Clone> ConvertLocation<AccountId> for Account32Hash<Network, AccountId>

    source§

    fn convert_location(location: &MultiLocation) -> Option<AccountId>

    Convert the location into Some account ID, or None if not possible.

    Auto Trait Implementations§

    §

    impl<Network, AccountId> RefUnwindSafe for Account32Hash<Network, AccountId>where +Account32Hash in xcm_builder - Rust
    pub struct Account32Hash<Network, AccountId>(_);

    Trait Implementations§

    source§

    impl<Network: Get<Option<NetworkId>>, AccountId: From<[u8; 32]> + Into<[u8; 32]> + Clone> ConvertLocation<AccountId> for Account32Hash<Network, AccountId>

    source§

    fn convert_location(location: &MultiLocation) -> Option<AccountId>

    Convert the location into Some account ID, or None if not possible.

    Auto Trait Implementations§

    §

    impl<Network, AccountId> RefUnwindSafe for Account32Hash<Network, AccountId>where AccountId: RefUnwindSafe, Network: RefUnwindSafe,

    §

    impl<Network, AccountId> Send for Account32Hash<Network, AccountId>where AccountId: Send, diff --git a/doc/xcm_builder/struct.AccountId32Aliases.html b/doc/xcm_builder/struct.AccountId32Aliases.html index 58f8fddedb37..fe1aa0deac6a 100644 --- a/doc/xcm_builder/struct.AccountId32Aliases.html +++ b/doc/xcm_builder/struct.AccountId32Aliases.html @@ -1,5 +1,5 @@ AccountId32Aliases in xcm_builder - Rust
    pub struct AccountId32Aliases<Network, AccountId>(_);
    Expand description

    Extracts the AccountId32 from the passed location if the network matches.

    -

    Trait Implementations§

    source§

    impl<Network: Get<Option<NetworkId>>, AccountId: From<[u8; 32]> + Into<[u8; 32]> + Clone> ConvertLocation<AccountId> for AccountId32Aliases<Network, AccountId>

    source§

    fn convert_location(location: &MultiLocation) -> Option<AccountId>

    Convert the location into Some account ID, or None if not possible.

    Auto Trait Implementations§

    §

    impl<Network, AccountId> RefUnwindSafe for AccountId32Aliases<Network, AccountId>where +

    Trait Implementations§

    source§

    impl<Network: Get<Option<NetworkId>>, AccountId: From<[u8; 32]> + Into<[u8; 32]> + Clone> ConvertLocation<AccountId> for AccountId32Aliases<Network, AccountId>

    source§

    fn convert_location(location: &MultiLocation) -> Option<AccountId>

    Convert the location into Some account ID, or None if not possible.

    Auto Trait Implementations§

    §

    impl<Network, AccountId> RefUnwindSafe for AccountId32Aliases<Network, AccountId>where AccountId: RefUnwindSafe, Network: RefUnwindSafe,

    §

    impl<Network, AccountId> Send for AccountId32Aliases<Network, AccountId>where AccountId: Send, diff --git a/doc/xcm_builder/struct.AccountKey20Aliases.html b/doc/xcm_builder/struct.AccountKey20Aliases.html index 1f6464b0af97..2e2c4aa2064e 100644 --- a/doc/xcm_builder/struct.AccountKey20Aliases.html +++ b/doc/xcm_builder/struct.AccountKey20Aliases.html @@ -1,4 +1,4 @@ -AccountKey20Aliases in xcm_builder - Rust
    pub struct AccountKey20Aliases<Network, AccountId>(_);

    Trait Implementations§

    source§

    impl<Network: Get<Option<NetworkId>>, AccountId: From<[u8; 20]> + Into<[u8; 20]> + Clone> ConvertLocation<AccountId> for AccountKey20Aliases<Network, AccountId>

    source§

    fn convert_location(location: &MultiLocation) -> Option<AccountId>

    Convert the location into Some account ID, or None if not possible.

    Auto Trait Implementations§

    §

    impl<Network, AccountId> RefUnwindSafe for AccountKey20Aliases<Network, AccountId>where +AccountKey20Aliases in xcm_builder - Rust
    pub struct AccountKey20Aliases<Network, AccountId>(_);

    Trait Implementations§

    source§

    impl<Network: Get<Option<NetworkId>>, AccountId: From<[u8; 20]> + Into<[u8; 20]> + Clone> ConvertLocation<AccountId> for AccountKey20Aliases<Network, AccountId>

    source§

    fn convert_location(location: &MultiLocation) -> Option<AccountId>

    Convert the location into Some account ID, or None if not possible.

    Auto Trait Implementations§

    §

    impl<Network, AccountId> RefUnwindSafe for AccountKey20Aliases<Network, AccountId>where AccountId: RefUnwindSafe, Network: RefUnwindSafe,

    §

    impl<Network, AccountId> Send for AccountKey20Aliases<Network, AccountId>where AccountId: Send, diff --git a/doc/xcm_builder/struct.AllowExplicitUnpaidExecutionFrom.html b/doc/xcm_builder/struct.AllowExplicitUnpaidExecutionFrom.html index ed6f121641ec..fea9a484221f 100644 --- a/doc/xcm_builder/struct.AllowExplicitUnpaidExecutionFrom.html +++ b/doc/xcm_builder/struct.AllowExplicitUnpaidExecutionFrom.html @@ -1,12 +1,12 @@ AllowExplicitUnpaidExecutionFrom in xcm_builder - Rust
    pub struct AllowExplicitUnpaidExecutionFrom<T>(_);
    Expand description

    Allows execution from any origin that is contained in T (i.e. T::Contains(origin)) if the message begins with the instruction UnpaidExecution.

    Use only for executions from trusted origin groups.

    -

    Trait Implementations§

    source§

    impl<T: Contains<MultiLocation>> ShouldExecute for AllowExplicitUnpaidExecutionFrom<T>

    Trait Implementations§

    source§

    impl<T: Contains<MultiLocation>> ShouldExecute for AllowExplicitUnpaidExecutionFrom<T>

    source§

    fn should_execute<Call>( origin: &MultiLocation, instructions: &mut [Instruction<Call>], max_weight: Weight, - _properties: &mut Properties -) -> Result<(), ProcessMessageError>

    Returns true if the given message may be executed. Read more

    Auto Trait Implementations§

    §

    impl<T> RefUnwindSafe for AllowExplicitUnpaidExecutionFrom<T>where + _properties: &mut Properties +) -> Result<(), ProcessMessageError>

    Returns true if the given message may be executed. Read more

    Auto Trait Implementations§

    §

    impl<T> RefUnwindSafe for AllowExplicitUnpaidExecutionFrom<T>where T: RefUnwindSafe,

    §

    impl<T> Send for AllowExplicitUnpaidExecutionFrom<T>where T: Send,

    §

    impl<T> Sync for AllowExplicitUnpaidExecutionFrom<T>where T: Sync,

    §

    impl<T> Unpin for AllowExplicitUnpaidExecutionFrom<T>where diff --git a/doc/xcm_builder/struct.AllowKnownQueryResponses.html b/doc/xcm_builder/struct.AllowKnownQueryResponses.html index 5e5bdf302520..9f66153bbf38 100644 --- a/doc/xcm_builder/struct.AllowKnownQueryResponses.html +++ b/doc/xcm_builder/struct.AllowKnownQueryResponses.html @@ -1,10 +1,10 @@ AllowKnownQueryResponses in xcm_builder - Rust
    pub struct AllowKnownQueryResponses<ResponseHandler>(_);
    Expand description

    Allows only messages if the generic ResponseHandler expects them via expecting_response.

    -

    Trait Implementations§

    source§

    impl<ResponseHandler: OnResponse> ShouldExecute for AllowKnownQueryResponses<ResponseHandler>

    source§

    fn should_execute<RuntimeCall>( +

    Trait Implementations§

    source§

    impl<ResponseHandler: OnResponse> ShouldExecute for AllowKnownQueryResponses<ResponseHandler>

    source§

    fn should_execute<RuntimeCall>( origin: &MultiLocation, instructions: &mut [Instruction<RuntimeCall>], _max_weight: Weight, - _properties: &mut Properties -) -> Result<(), ProcessMessageError>

    Returns true if the given message may be executed. Read more

    Auto Trait Implementations§

    §

    impl<ResponseHandler> RefUnwindSafe for AllowKnownQueryResponses<ResponseHandler>where + _properties: &mut Properties +) -> Result<(), ProcessMessageError>

    Returns true if the given message may be executed. Read more

    Auto Trait Implementations§

    §

    impl<ResponseHandler> RefUnwindSafe for AllowKnownQueryResponses<ResponseHandler>where ResponseHandler: RefUnwindSafe,

    §

    impl<ResponseHandler> Send for AllowKnownQueryResponses<ResponseHandler>where ResponseHandler: Send,

    §

    impl<ResponseHandler> Sync for AllowKnownQueryResponses<ResponseHandler>where ResponseHandler: Sync,

    §

    impl<ResponseHandler> Unpin for AllowKnownQueryResponses<ResponseHandler>where diff --git a/doc/xcm_builder/struct.AllowSubscriptionsFrom.html b/doc/xcm_builder/struct.AllowSubscriptionsFrom.html index 4f1806e6de86..8dcd5ed73d0b 100644 --- a/doc/xcm_builder/struct.AllowSubscriptionsFrom.html +++ b/doc/xcm_builder/struct.AllowSubscriptionsFrom.html @@ -1,11 +1,11 @@ AllowSubscriptionsFrom in xcm_builder - Rust
    pub struct AllowSubscriptionsFrom<T>(_);
    Expand description

    Allows execution from origin if it is just a straight SubscribeVersion or UnsubscribeVersion instruction.

    -

    Trait Implementations§

    source§

    impl<T: Contains<MultiLocation>> ShouldExecute for AllowSubscriptionsFrom<T>

    source§

    fn should_execute<RuntimeCall>( +

    Trait Implementations§

    source§

    impl<T: Contains<MultiLocation>> ShouldExecute for AllowSubscriptionsFrom<T>

    source§

    fn should_execute<RuntimeCall>( origin: &MultiLocation, instructions: &mut [Instruction<RuntimeCall>], _max_weight: Weight, - _properties: &mut Properties -) -> Result<(), ProcessMessageError>

    Returns true if the given message may be executed. Read more

    Auto Trait Implementations§

    §

    impl<T> RefUnwindSafe for AllowSubscriptionsFrom<T>where + _properties: &mut Properties +) -> Result<(), ProcessMessageError>

    Returns true if the given message may be executed. Read more

    Auto Trait Implementations§

    §

    impl<T> RefUnwindSafe for AllowSubscriptionsFrom<T>where T: RefUnwindSafe,

    §

    impl<T> Send for AllowSubscriptionsFrom<T>where T: Send,

    §

    impl<T> Sync for AllowSubscriptionsFrom<T>where T: Sync,

    §

    impl<T> Unpin for AllowSubscriptionsFrom<T>where diff --git a/doc/xcm_builder/struct.AllowTopLevelPaidExecutionFrom.html b/doc/xcm_builder/struct.AllowTopLevelPaidExecutionFrom.html index 90098d48acfc..7179de71c400 100644 --- a/doc/xcm_builder/struct.AllowTopLevelPaidExecutionFrom.html +++ b/doc/xcm_builder/struct.AllowTopLevelPaidExecutionFrom.html @@ -2,12 +2,12 @@ payments into account.

    Only allows for TeleportAsset, WithdrawAsset, ClaimAsset and ReserveAssetDeposit XCMs because they are the only ones that place assets in the Holding Register to pay for execution.

    -

    Trait Implementations§

    source§

    impl<T: Contains<MultiLocation>> ShouldExecute for AllowTopLevelPaidExecutionFrom<T>

    source§

    fn should_execute<RuntimeCall>( +

    Trait Implementations§

    source§

    impl<T: Contains<MultiLocation>> ShouldExecute for AllowTopLevelPaidExecutionFrom<T>

    source§

    fn should_execute<RuntimeCall>( origin: &MultiLocation, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, - _properties: &mut Properties -) -> Result<(), ProcessMessageError>

    Returns true if the given message may be executed. Read more

    Auto Trait Implementations§

    §

    impl<T> RefUnwindSafe for AllowTopLevelPaidExecutionFrom<T>where + _properties: &mut Properties +) -> Result<(), ProcessMessageError>

    Returns true if the given message may be executed. Read more

    Auto Trait Implementations§

    §

    impl<T> RefUnwindSafe for AllowTopLevelPaidExecutionFrom<T>where T: RefUnwindSafe,

    §

    impl<T> Send for AllowTopLevelPaidExecutionFrom<T>where T: Send,

    §

    impl<T> Sync for AllowTopLevelPaidExecutionFrom<T>where T: Sync,

    §

    impl<T> Unpin for AllowTopLevelPaidExecutionFrom<T>where diff --git a/doc/xcm_builder/struct.AllowUnpaidExecutionFrom.html b/doc/xcm_builder/struct.AllowUnpaidExecutionFrom.html index 8d96b8f9e7ea..da0119a49527 100644 --- a/doc/xcm_builder/struct.AllowUnpaidExecutionFrom.html +++ b/doc/xcm_builder/struct.AllowUnpaidExecutionFrom.html @@ -1,12 +1,12 @@ AllowUnpaidExecutionFrom in xcm_builder - Rust
    pub struct AllowUnpaidExecutionFrom<T>(_);
    Expand description

    Allows execution from any origin that is contained in T (i.e. T::Contains(origin)).

    Use only for executions from completely trusted origins, from which no permissionless messages can be sent.

    -

    Trait Implementations§

    source§

    impl<T: Contains<MultiLocation>> ShouldExecute for AllowUnpaidExecutionFrom<T>

    source§

    fn should_execute<RuntimeCall>( +

    Trait Implementations§

    source§

    impl<T: Contains<MultiLocation>> ShouldExecute for AllowUnpaidExecutionFrom<T>

    source§

    fn should_execute<RuntimeCall>( origin: &MultiLocation, instructions: &mut [Instruction<RuntimeCall>], _max_weight: Weight, - _properties: &mut Properties -) -> Result<(), ProcessMessageError>

    Returns true if the given message may be executed. Read more

    Auto Trait Implementations§

    §

    impl<T> RefUnwindSafe for AllowUnpaidExecutionFrom<T>where + _properties: &mut Properties +) -> Result<(), ProcessMessageError>

    Returns true if the given message may be executed. Read more

    Auto Trait Implementations§

    §

    impl<T> RefUnwindSafe for AllowUnpaidExecutionFrom<T>where T: RefUnwindSafe,

    §

    impl<T> Send for AllowUnpaidExecutionFrom<T>where T: Send,

    §

    impl<T> Sync for AllowUnpaidExecutionFrom<T>where T: Sync,

    §

    impl<T> Unpin for AllowUnpaidExecutionFrom<T>where diff --git a/doc/xcm_builder/struct.Case.html b/doc/xcm_builder/struct.Case.html index fdcd86ac1c0d..2ecab341c58f 100644 --- a/doc/xcm_builder/struct.Case.html +++ b/doc/xcm_builder/struct.Case.html @@ -10,8 +10,8 @@ T: ?Sized,

    const: unstable · source§

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

    Mutably borrows from an owned value. Read more
    §

    impl<T> CheckedConversion for T

    §

    fn checked_from<T>(t: T) -> Option<Self>where Self: TryFrom<T>,

    Convert from a value of T into an equivalent instance of Option<Self>. Read more
    §

    fn checked_into<T>(self) -> Option<T>where Self: TryInto<T>,

    Consume self to return Some equivalent value of Option<T>. Read more
    §

    impl<T> Conv for T

    §

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

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

    impl<T> FilterAssetLocation for Twhere - T: ContainsPair<MultiAsset, MultiLocation>,

    §

    fn contains(asset: &MultiAsset, origin: &MultiLocation) -> bool

    👎Deprecated: Use frame_support::traits::ContainsPair<MultiAsset, MultiLocation> instead
    A filter to distinguish between asset/location pairs.
    §

    impl<T> FmtForward for T

    §

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

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

    impl<T> FilterAssetLocation for Twhere + T: ContainsPair<MultiAsset, MultiLocation>,

    source§

    fn contains(asset: &MultiAsset, origin: &MultiLocation) -> bool

    👎Deprecated: Use frame_support::traits::ContainsPair<MultiAsset, MultiLocation> instead
    A filter to distinguish between asset/location pairs.
    §

    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 diff --git a/doc/xcm_builder/struct.ChildParachainConvertsVia.html b/doc/xcm_builder/struct.ChildParachainConvertsVia.html index e02e3a248dab..c51a7e8a1fa5 100644 --- a/doc/xcm_builder/struct.ChildParachainConvertsVia.html +++ b/doc/xcm_builder/struct.ChildParachainConvertsVia.html @@ -1,4 +1,4 @@ -ChildParachainConvertsVia in xcm_builder - Rust
    pub struct ChildParachainConvertsVia<ParaId, AccountId>(_);

    Trait Implementations§

    source§

    impl<ParaId: From<u32> + Into<u32> + AccountIdConversion<AccountId>, AccountId: Clone> ConvertLocation<AccountId> for ChildParachainConvertsVia<ParaId, AccountId>

    source§

    fn convert_location(location: &MultiLocation) -> Option<AccountId>

    Convert the location into Some account ID, or None if not possible.

    Auto Trait Implementations§

    §

    impl<ParaId, AccountId> RefUnwindSafe for ChildParachainConvertsVia<ParaId, AccountId>where +ChildParachainConvertsVia in xcm_builder - Rust
    pub struct ChildParachainConvertsVia<ParaId, AccountId>(_);

    Trait Implementations§

    source§

    impl<ParaId: From<u32> + Into<u32> + AccountIdConversion<AccountId>, AccountId: Clone> ConvertLocation<AccountId> for ChildParachainConvertsVia<ParaId, AccountId>

    source§

    fn convert_location(location: &MultiLocation) -> Option<AccountId>

    Convert the location into Some account ID, or None if not possible.

    Auto Trait Implementations§

    §

    impl<ParaId, AccountId> RefUnwindSafe for ChildParachainConvertsVia<ParaId, AccountId>where AccountId: RefUnwindSafe, ParaId: RefUnwindSafe,

    §

    impl<ParaId, AccountId> Send for ChildParachainConvertsVia<ParaId, AccountId>where AccountId: Send, diff --git a/doc/xcm_builder/struct.ConvertedAbstractId.html b/doc/xcm_builder/struct.ConvertedAbstractId.html index 2fadf19229fa..49c01875d535 100644 --- a/doc/xcm_builder/struct.ConvertedAbstractId.html +++ b/doc/xcm_builder/struct.ConvertedAbstractId.html @@ -1,6 +1,6 @@ -ConvertedAbstractId in xcm_builder - Rust
    pub struct ConvertedAbstractId<AssetId, Balance, ConvertAssetId, ConvertOther>(_);

    Trait Implementations§

    source§

    impl<AssetId: Clone, Balance: Clone, ConvertAssetId: MaybeEquivalence<[u8; 32], AssetId>, ConvertBalance: MaybeEquivalence<u128, Balance>> MatchesFungibles<AssetId, Balance> for ConvertedAbstractId<AssetId, Balance, ConvertAssetId, ConvertBalance>

    source§

    impl<ClassId: Clone, InstanceId: Clone, ConvertClassId: MaybeEquivalence<[u8; 32], ClassId>, ConvertInstanceId: MaybeEquivalence<AssetInstance, InstanceId>> MatchesNonFungibles<ClassId, InstanceId> for ConvertedAbstractId<ClassId, InstanceId, ConvertClassId, ConvertInstanceId>

    source§

    fn matches_nonfungibles( +ConvertedAbstractId in xcm_builder - Rust
    pub struct ConvertedAbstractId<AssetId, Balance, ConvertAssetId, ConvertOther>(_);

    Trait Implementations§

    source§

    impl<AssetId: Clone, Balance: Clone, ConvertAssetId: MaybeEquivalence<[u8; 32], AssetId>, ConvertBalance: MaybeEquivalence<u128, Balance>> MatchesFungibles<AssetId, Balance> for ConvertedAbstractId<AssetId, Balance, ConvertAssetId, ConvertBalance>

    source§

    impl<ClassId: Clone, InstanceId: Clone, ConvertClassId: MaybeEquivalence<[u8; 32], ClassId>, ConvertInstanceId: MaybeEquivalence<AssetInstance, InstanceId>> MatchesNonFungibles<ClassId, InstanceId> for ConvertedAbstractId<ClassId, InstanceId, ConvertClassId, ConvertInstanceId>

    Auto Trait Implementations§

    §

    impl<AssetId, Balance, ConvertAssetId, ConvertOther> RefUnwindSafe for ConvertedAbstractId<AssetId, Balance, ConvertAssetId, ConvertOther>where +) -> Result<(ClassId, InstanceId), MatchError>

    Auto Trait Implementations§

    §

    impl<AssetId, Balance, ConvertAssetId, ConvertOther> RefUnwindSafe for ConvertedAbstractId<AssetId, Balance, ConvertAssetId, ConvertOther>where AssetId: RefUnwindSafe, Balance: RefUnwindSafe, ConvertAssetId: RefUnwindSafe, diff --git a/doc/xcm_builder/struct.ConvertedConcreteId.html b/doc/xcm_builder/struct.ConvertedConcreteId.html index 9b01a81c78d9..1abc465aa33f 100644 --- a/doc/xcm_builder/struct.ConvertedConcreteId.html +++ b/doc/xcm_builder/struct.ConvertedConcreteId.html @@ -1,6 +1,6 @@ -ConvertedConcreteId in xcm_builder - Rust
    pub struct ConvertedConcreteId<AssetId, Balance, ConvertAssetId, ConvertOther>(_);

    Trait Implementations§

    source§

    impl<AssetId: Clone, Balance: Clone, ConvertAssetId: MaybeEquivalence<MultiLocation, AssetId>, ConvertBalance: MaybeEquivalence<u128, Balance>> MatchesFungibles<AssetId, Balance> for ConvertedConcreteId<AssetId, Balance, ConvertAssetId, ConvertBalance>

    source§

    impl<ClassId: Clone, InstanceId: Clone, ConvertClassId: MaybeEquivalence<MultiLocation, ClassId>, ConvertInstanceId: MaybeEquivalence<AssetInstance, InstanceId>> MatchesNonFungibles<ClassId, InstanceId> for ConvertedConcreteId<ClassId, InstanceId, ConvertClassId, ConvertInstanceId>

    source§

    fn matches_nonfungibles( +ConvertedConcreteId in xcm_builder - Rust
    pub struct ConvertedConcreteId<AssetId, Balance, ConvertAssetId, ConvertOther>(_);

    Trait Implementations§

    source§

    impl<AssetId: Clone, Balance: Clone, ConvertAssetId: MaybeEquivalence<MultiLocation, AssetId>, ConvertBalance: MaybeEquivalence<u128, Balance>> MatchesFungibles<AssetId, Balance> for ConvertedConcreteId<AssetId, Balance, ConvertAssetId, ConvertBalance>

    source§

    impl<ClassId: Clone, InstanceId: Clone, ConvertClassId: MaybeEquivalence<MultiLocation, ClassId>, ConvertInstanceId: MaybeEquivalence<AssetInstance, InstanceId>> MatchesNonFungibles<ClassId, InstanceId> for ConvertedConcreteId<ClassId, InstanceId, ConvertClassId, ConvertInstanceId>

    Auto Trait Implementations§

    §

    impl<AssetId, Balance, ConvertAssetId, ConvertOther> RefUnwindSafe for ConvertedConcreteId<AssetId, Balance, ConvertAssetId, ConvertOther>where +) -> Result<(ClassId, InstanceId), MatchError>

    Auto Trait Implementations§

    §

    impl<AssetId, Balance, ConvertAssetId, ConvertOther> RefUnwindSafe for ConvertedConcreteId<AssetId, Balance, ConvertAssetId, ConvertOther>where AssetId: RefUnwindSafe, Balance: RefUnwindSafe, ConvertAssetId: RefUnwindSafe, diff --git a/doc/xcm_builder/struct.CurrencyAdapter.html b/doc/xcm_builder/struct.CurrencyAdapter.html index 9fe7c9c6e3ad..c261b4a1f1fe 100644 --- a/doc/xcm_builder/struct.CurrencyAdapter.html +++ b/doc/xcm_builder/struct.CurrencyAdapter.html @@ -35,7 +35,7 @@

    Example

    // The checking account. Can be any deterministic inaccessible account. CheckingAccount, >;

    -

    Trait Implementations§

    source§

    impl<Currency: Currency<AccountId>, Matcher: MatchesFungible<Currency::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone, CheckedAccount: Get<Option<(AccountId, MintLocation)>>> TransactAsset for CurrencyAdapter<Currency, Matcher, AccountIdConverter, AccountId, CheckedAccount>

    Trait Implementations§

    source§

    impl<Currency: Currency<AccountId>, Matcher: MatchesFungible<Currency::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone, CheckedAccount: Get<Option<(AccountId, MintLocation)>>> TransactAsset for CurrencyAdapter<Currency, Matcher, AccountIdConverter, AccountId, CheckedAccount>

    source§

    fn can_check_in( _origin: &MultiLocation, what: &MultiAsset, _context: &XcmContext @@ -59,7 +59,7 @@

    Example

    from: &MultiLocation, to: &MultiLocation, _context: &XcmContext -) -> Result<Assets, XcmError>

    Move an asset from one location in to another location. Read more
    §

    fn transfer_asset( +) -> Result<Assets, XcmError>

    Move an asset from one location in to another location. Read more
    source§

    fn transfer_asset( asset: &MultiAsset, from: &MultiLocation, to: &MultiLocation, diff --git a/doc/xcm_builder/struct.DenyReserveTransferToRelayChain.html b/doc/xcm_builder/struct.DenyReserveTransferToRelayChain.html index 6d70d941bc2f..8e82e63e7d50 100644 --- a/doc/xcm_builder/struct.DenyReserveTransferToRelayChain.html +++ b/doc/xcm_builder/struct.DenyReserveTransferToRelayChain.html @@ -1,9 +1,9 @@ -DenyReserveTransferToRelayChain in xcm_builder - Rust
    pub struct DenyReserveTransferToRelayChain;

    Trait Implementations§

    source§

    impl ShouldExecute for DenyReserveTransferToRelayChain

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    const: unstable · source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    const: unstable · source§

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

    Mutably borrows from an owned value. Read more
    §

    impl<T> CheckedConversion for T

    §

    fn checked_from<T>(t: T) -> Option<Self>where diff --git a/doc/xcm_builder/struct.DenyThenTry.html b/doc/xcm_builder/struct.DenyThenTry.html index 858cf1b43674..91430bf319d4 100644 --- a/doc/xcm_builder/struct.DenyThenTry.html +++ b/doc/xcm_builder/struct.DenyThenTry.html @@ -1,16 +1,16 @@ DenyThenTry in xcm_builder - Rust
    pub struct DenyThenTry<Deny, Allow>(_, _)
     where
    -         Deny: ShouldExecute,
    -         Allow: ShouldExecute;
    Expand description

    Deny executing the XCM if it matches any of the Deny filter regardless of anything else. + Deny: ShouldExecute, + Allow: ShouldExecute;

    Expand description

    Deny executing the XCM if it matches any of the Deny filter regardless of anything else. If it passes the Deny, and matches one of the Allow cases then it is let through.

    -

    Trait Implementations§

    source§

    impl<Deny, Allow> ShouldExecute for DenyThenTry<Deny, Allow>where - Deny: ShouldExecute, - Allow: ShouldExecute,

    source§

    fn should_execute<RuntimeCall>( +

    Trait Implementations§

    source§

    impl<Deny, Allow> ShouldExecute for DenyThenTry<Deny, Allow>where + Deny: ShouldExecute, + Allow: ShouldExecute,

    source§

    fn should_execute<RuntimeCall>( origin: &MultiLocation, message: &mut [Instruction<RuntimeCall>], max_weight: Weight, - properties: &mut Properties -) -> Result<(), ProcessMessageError>

    Returns true if the given message may be executed. Read more

    Auto Trait Implementations§

    §

    impl<Deny, Allow> RefUnwindSafe for DenyThenTry<Deny, Allow>where + properties: &mut Properties +) -> Result<(), ProcessMessageError>

    Returns true if the given message may be executed. Read more

    Auto Trait Implementations§

    §

    impl<Deny, Allow> RefUnwindSafe for DenyThenTry<Deny, Allow>where Allow: RefUnwindSafe, Deny: RefUnwindSafe,

    §

    impl<Deny, Allow> Send for DenyThenTry<Deny, Allow>where Allow: Send, diff --git a/doc/xcm_builder/struct.FixedRateOfFungible.html b/doc/xcm_builder/struct.FixedRateOfFungible.html index 22db4b9780c4..3e1e9be0a575 100644 --- a/doc/xcm_builder/struct.FixedRateOfFungible.html +++ b/doc/xcm_builder/struct.FixedRateOfFungible.html @@ -1,19 +1,19 @@ FixedRateOfFungible in xcm_builder - Rust
    pub struct FixedRateOfFungible<T: Get<(AssetId, u128, u128)>, R: TakeRevenue>(_, _, _);
    Expand description

    Simple fee calculator that requires payment in a single fungible at a fixed rate.

    The constant Get type parameter should be the fungible ID, the amount of it required for one second of weight and the amount required for 1 MB of proof.

    -

    Trait Implementations§

    source§

    impl<T: Get<(AssetId, u128, u128)>, R: TakeRevenue> Drop for FixedRateOfFungible<T, R>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<T: Get<(AssetId, u128, u128)>, R: TakeRevenue> WeightTrader for FixedRateOfFungible<T, R>

    source§

    fn new() -> Self

    Create a new trader instance.
    source§

    fn buy_weight( +

    Trait Implementations§

    source§

    impl<T: Get<(AssetId, u128, u128)>, R: TakeRevenue> Drop for FixedRateOfFungible<T, R>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<T: Get<(AssetId, u128, u128)>, R: TakeRevenue> WeightTrader for FixedRateOfFungible<T, R>

    source§

    fn new() -> Self

    Create a new trader instance.
    source§

    fn buy_weight( &mut self, weight: Weight, payment: Assets, context: &XcmContext ) -> Result<Assets, XcmError>

    Purchase execution weight credit in return for up to a given payment. If less of the payment is required then the surplus is returned. If the payment cannot be used to pay -for the weight, then an error is returned.
    source§

    fn refund_weight( +for the weight, then an error is returned.

    source§

    fn refund_weight( &mut self, weight: Weight, context: &XcmContext ) -> Option<MultiAsset>

    Attempt a refund of weight into some asset. The caller does not guarantee that the weight -was purchased using buy_weight. Read more

    Auto Trait Implementations§

    §

    impl<T, R> RefUnwindSafe for FixedRateOfFungible<T, R>where +was purchased using buy_weight. Read more

    Auto Trait Implementations§

    §

    impl<T, R> RefUnwindSafe for FixedRateOfFungible<T, R>where R: RefUnwindSafe, T: RefUnwindSafe,

    §

    impl<T, R> Send for FixedRateOfFungible<T, R>where R: Send, diff --git a/doc/xcm_builder/struct.FixedWeightBounds.html b/doc/xcm_builder/struct.FixedWeightBounds.html index b684f4973ea5..aab2511de4ec 100644 --- a/doc/xcm_builder/struct.FixedWeightBounds.html +++ b/doc/xcm_builder/struct.FixedWeightBounds.html @@ -1,5 +1,5 @@ -FixedWeightBounds in xcm_builder - Rust
    pub struct FixedWeightBounds<T, C, M>(_);

    Trait Implementations§

    source§

    impl<T: Get<Weight>, C: Decode + GetDispatchInfo, M: Get<u32>> WeightBounds<C> for FixedWeightBounds<T, C, M>

    source§

    fn weight(message: &mut Xcm<C>) -> Result<Weight, ()>

    Return the maximum amount of weight that an attempted execution of this message could -consume.
    source§

    fn instr_weight(instruction: &Instruction<C>) -> Result<Weight, ()>

    Return the maximum amount of weight that an attempted execution of this instruction could +FixedWeightBounds in xcm_builder - Rust
    pub struct FixedWeightBounds<T, C, M>(_);

    Trait Implementations§

    source§

    impl<T: Get<Weight>, C: Decode + GetDispatchInfo, M: Get<u32>> WeightBounds<C> for FixedWeightBounds<T, C, M>

    source§

    fn weight(message: &mut Xcm<C>) -> Result<Weight, ()>

    Return the maximum amount of weight that an attempted execution of this message could +consume.
    source§

    fn instr_weight(instruction: &Instruction<C>) -> Result<Weight, ()>

    Return the maximum amount of weight that an attempted execution of this instruction could consume.

    Auto Trait Implementations§

    §

    impl<T, C, M> RefUnwindSafe for FixedWeightBounds<T, C, M>where C: RefUnwindSafe, M: RefUnwindSafe, diff --git a/doc/xcm_builder/struct.FungiblesAdapter.html b/doc/xcm_builder/struct.FungiblesAdapter.html index d11651a9a2fd..7981d18333c1 100644 --- a/doc/xcm_builder/struct.FungiblesAdapter.html +++ b/doc/xcm_builder/struct.FungiblesAdapter.html @@ -1,4 +1,4 @@ -FungiblesAdapter in xcm_builder - Rust
    pub struct FungiblesAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>(_);

    Trait Implementations§

    source§

    impl<Assets: Mutate<AccountId>, Matcher: MatchesFungibles<Assets::AssetId, Assets::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone, CheckAsset: AssetChecking<Assets::AssetId>, CheckingAccount: Get<AccountId>> TransactAsset for FungiblesAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>

    source§

    fn can_check_in( +FungiblesAdapter in xcm_builder - Rust
    pub struct FungiblesAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>(_);

    Trait Implementations§

    source§

    impl<Assets: Mutate<AccountId>, Matcher: MatchesFungibles<Assets::AssetId, Assets::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone, CheckAsset: AssetChecking<Assets::AssetId>, CheckingAccount: Get<AccountId>> TransactAsset for FungiblesAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>

    source§

    fn can_check_in( origin: &MultiLocation, what: &MultiAsset, context: &XcmContext @@ -22,7 +22,7 @@ from: &MultiLocation, to: &MultiLocation, context: &XcmContext -) -> Result<Assets, XcmError>

    Move an asset from one location in to another location. Read more
    §

    fn transfer_asset( +) -> Result<Assets, XcmError>

    Move an asset from one location in to another location. Read more
    source§

    fn transfer_asset( asset: &MultiAsset, from: &MultiLocation, to: &MultiLocation, diff --git a/doc/xcm_builder/struct.FungiblesMutateAdapter.html b/doc/xcm_builder/struct.FungiblesMutateAdapter.html index fc03e30151ab..20be26d8b892 100644 --- a/doc/xcm_builder/struct.FungiblesMutateAdapter.html +++ b/doc/xcm_builder/struct.FungiblesMutateAdapter.html @@ -1,4 +1,4 @@ -FungiblesMutateAdapter in xcm_builder - Rust
    pub struct FungiblesMutateAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>(_);

    Trait Implementations§

    source§

    impl<Assets: Mutate<AccountId>, Matcher: MatchesFungibles<Assets::AssetId, Assets::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone, CheckAsset: AssetChecking<Assets::AssetId>, CheckingAccount: Get<AccountId>> TransactAsset for FungiblesMutateAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>

    source§

    fn can_check_in( +FungiblesMutateAdapter in xcm_builder - Rust
    pub struct FungiblesMutateAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>(_);

    Trait Implementations§

    source§

    impl<Assets: Mutate<AccountId>, Matcher: MatchesFungibles<Assets::AssetId, Assets::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone, CheckAsset: AssetChecking<Assets::AssetId>, CheckingAccount: Get<AccountId>> TransactAsset for FungiblesMutateAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>

    source§

    fn can_check_in( _origin: &MultiLocation, what: &MultiAsset, _context: &XcmContext @@ -17,12 +17,12 @@ who: &MultiLocation, _maybe_context: Option<&XcmContext> ) -> Result<Assets, XcmError>

    Withdraw the given asset from the consensus system. Return the actual asset(s) withdrawn, -which should always be equal to _what. Read more
    §

    fn internal_transfer_asset( +which should always be equal to _what. Read more

    source§

    fn internal_transfer_asset( _asset: &MultiAsset, _from: &MultiLocation, _to: &MultiLocation, _context: &XcmContext -) -> Result<Assets, Error>

    Move an asset from one location in to another location. Read more
    §

    fn transfer_asset( +) -> Result<Assets, Error>

    Move an asset from one location in to another location. Read more
    source§

    fn transfer_asset( asset: &MultiAsset, from: &MultiLocation, to: &MultiLocation, diff --git a/doc/xcm_builder/struct.FungiblesTransferAdapter.html b/doc/xcm_builder/struct.FungiblesTransferAdapter.html index f3a0fa623c08..52616f901c74 100644 --- a/doc/xcm_builder/struct.FungiblesTransferAdapter.html +++ b/doc/xcm_builder/struct.FungiblesTransferAdapter.html @@ -1,29 +1,29 @@ FungiblesTransferAdapter in xcm_builder - Rust
    pub struct FungiblesTransferAdapter<Assets, Matcher, AccountIdConverter, AccountId>(_);
    Expand description

    TransactAsset implementation to convert a fungibles implementation to become usable in XCM.

    -

    Trait Implementations§

    source§

    impl<Assets: Mutate<AccountId>, Matcher: MatchesFungibles<Assets::AssetId, Assets::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone> TransactAsset for FungiblesTransferAdapter<Assets, Matcher, AccountIdConverter, AccountId>

    Trait Implementations§

    source§

    impl<Assets: Mutate<AccountId>, Matcher: MatchesFungibles<Assets::AssetId, Assets::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone> TransactAsset for FungiblesTransferAdapter<Assets, Matcher, AccountIdConverter, AccountId>

    source§

    fn internal_transfer_asset( what: &MultiAsset, from: &MultiLocation, to: &MultiLocation, _context: &XcmContext -) -> Result<Assets, XcmError>

    Move an asset from one location in to another location. Read more
    §

    fn can_check_in( +) -> Result<Assets, XcmError>

    Move an asset from one location in to another location. Read more
    source§

    fn can_check_in( _origin: &MultiLocation, _what: &MultiAsset, _context: &XcmContext -) -> Result<(), Error>

    Ensure that check_in will do as expected. Read more
    §

    fn check_in(_origin: &MultiLocation, _what: &MultiAsset, _context: &XcmContext)

    An asset has been teleported in from the given origin. This should do whatever housekeeping -is needed. Read more
    §

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

    Ensure that check_in will do as expected. Read more
    source§

    fn check_in(_origin: &MultiLocation, _what: &MultiAsset, _context: &XcmContext)

    An asset has been teleported in from the given origin. This should do whatever housekeeping +is needed. Read more
    source§

    fn can_check_out( _dest: &MultiLocation, _what: &MultiAsset, _context: &XcmContext -) -> Result<(), Error>

    Ensure that check_out will do as expected. Read more
    §

    fn check_out(_dest: &MultiLocation, _what: &MultiAsset, _context: &XcmContext)

    An asset has been teleported out to the given destination. This should do whatever -housekeeping is needed. Read more
    §

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

    Ensure that check_out will do as expected. Read more
    source§

    fn check_out(_dest: &MultiLocation, _what: &MultiAsset, _context: &XcmContext)

    An asset has been teleported out to the given destination. This should do whatever +housekeeping is needed. Read more
    source§

    fn deposit_asset( _what: &MultiAsset, _who: &MultiLocation, _context: &XcmContext -) -> Result<(), Error>

    Deposit the what asset into the account of who. Read more
    §

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

    Deposit the what asset into the account of who. Read more
    source§

    fn withdraw_asset( _what: &MultiAsset, _who: &MultiLocation, _maybe_context: Option<&XcmContext> ) -> Result<Assets, Error>

    Withdraw the given asset from the consensus system. Return the actual asset(s) withdrawn, -which should always be equal to _what. Read more
    §

    fn transfer_asset( +which should always be equal to _what. Read more

    source§

    fn transfer_asset( asset: &MultiAsset, from: &MultiLocation, to: &MultiLocation, diff --git a/doc/xcm_builder/struct.GlobalConsensusConvertsFor.html b/doc/xcm_builder/struct.GlobalConsensusConvertsFor.html index 0a7889a99e0b..d295468b5006 100644 --- a/doc/xcm_builder/struct.GlobalConsensusConvertsFor.html +++ b/doc/xcm_builder/struct.GlobalConsensusConvertsFor.html @@ -5,7 +5,7 @@

    Note: No distinction is made between the cases when the given UniversalLocation lies within the same consensus system (i.e. is itself or a parent) and when it is a foreign consensus system.

    -

    Trait Implementations§

    source§

    impl<UniversalLocation: Get<InteriorMultiLocation>, AccountId: From<[u8; 32]> + Clone> ConvertLocation<AccountId> for GlobalConsensusConvertsFor<UniversalLocation, AccountId>

    source§

    fn convert_location(location: &MultiLocation) -> Option<AccountId>

    Convert the location into Some account ID, or None if not possible.

    Auto Trait Implementations§

    §

    impl<UniversalLocation, AccountId> RefUnwindSafe for GlobalConsensusConvertsFor<UniversalLocation, AccountId>where +

    Trait Implementations§

    source§

    impl<UniversalLocation: Get<InteriorMultiLocation>, AccountId: From<[u8; 32]> + Clone> ConvertLocation<AccountId> for GlobalConsensusConvertsFor<UniversalLocation, AccountId>

    source§

    fn convert_location(location: &MultiLocation) -> Option<AccountId>

    Convert the location into Some account ID, or None if not possible.

    Auto Trait Implementations§

    §

    impl<UniversalLocation, AccountId> RefUnwindSafe for GlobalConsensusConvertsFor<UniversalLocation, AccountId>where AccountId: RefUnwindSafe, UniversalLocation: RefUnwindSafe,

    §

    impl<UniversalLocation, AccountId> Send for GlobalConsensusConvertsFor<UniversalLocation, AccountId>where AccountId: Send, diff --git a/doc/xcm_builder/struct.GlobalConsensusParachainConvertsFor.html b/doc/xcm_builder/struct.GlobalConsensusParachainConvertsFor.html index 6360f4119f6a..fdb5b49de70b 100644 --- a/doc/xcm_builder/struct.GlobalConsensusParachainConvertsFor.html +++ b/doc/xcm_builder/struct.GlobalConsensusParachainConvertsFor.html @@ -10,7 +10,7 @@ location. This may not have any immediate security risks, however since it creates commonalities between chains with different security characteristics, it could possibly form part of a more sophisticated attack scenario.

    -

    Trait Implementations§

    source§

    impl<UniversalLocation: Get<InteriorMultiLocation>, AccountId: From<[u8; 32]> + Clone> ConvertLocation<AccountId> for GlobalConsensusParachainConvertsFor<UniversalLocation, AccountId>

    source§

    fn convert_location(location: &MultiLocation) -> Option<AccountId>

    Convert the location into Some account ID, or None if not possible.

    Auto Trait Implementations§

    §

    impl<UniversalLocation, AccountId> RefUnwindSafe for GlobalConsensusParachainConvertsFor<UniversalLocation, AccountId>where +

    Trait Implementations§

    source§

    impl<UniversalLocation: Get<InteriorMultiLocation>, AccountId: From<[u8; 32]> + Clone> ConvertLocation<AccountId> for GlobalConsensusParachainConvertsFor<UniversalLocation, AccountId>

    source§

    fn convert_location(location: &MultiLocation) -> Option<AccountId>

    Convert the location into Some account ID, or None if not possible.

    Auto Trait Implementations§

    §

    impl<UniversalLocation, AccountId> RefUnwindSafe for GlobalConsensusParachainConvertsFor<UniversalLocation, AccountId>where AccountId: RefUnwindSafe, UniversalLocation: RefUnwindSafe,

    §

    impl<UniversalLocation, AccountId> Send for GlobalConsensusParachainConvertsFor<UniversalLocation, AccountId>where AccountId: Send, diff --git a/doc/xcm_builder/struct.HashedDescription.html b/doc/xcm_builder/struct.HashedDescription.html index 51f055ab64c8..24ec450535ad 100644 --- a/doc/xcm_builder/struct.HashedDescription.html +++ b/doc/xcm_builder/struct.HashedDescription.html @@ -1,4 +1,4 @@ -HashedDescription in xcm_builder - Rust
    pub struct HashedDescription<AccountId, Describe>(_);

    Trait Implementations§

    source§

    impl<AccountId: From<[u8; 32]> + Clone, Describe: DescribeLocation> ConvertLocation<AccountId> for HashedDescription<AccountId, Describe>

    source§

    fn convert_location(value: &MultiLocation) -> Option<AccountId>

    Convert the location into Some account ID, or None if not possible.

    Auto Trait Implementations§

    §

    impl<AccountId, Describe> RefUnwindSafe for HashedDescription<AccountId, Describe>where +HashedDescription in xcm_builder - Rust
    pub struct HashedDescription<AccountId, Describe>(_);

    Trait Implementations§

    source§

    impl<AccountId: From<[u8; 32]> + Clone, Describe: DescribeLocation> ConvertLocation<AccountId> for HashedDescription<AccountId, Describe>

    source§

    fn convert_location(value: &MultiLocation) -> Option<AccountId>

    Convert the location into Some account ID, or None if not possible.

    Auto Trait Implementations§

    §

    impl<AccountId, Describe> RefUnwindSafe for HashedDescription<AccountId, Describe>where AccountId: RefUnwindSafe, Describe: RefUnwindSafe,

    §

    impl<AccountId, Describe> Send for HashedDescription<AccountId, Describe>where AccountId: Send, diff --git a/doc/xcm_builder/struct.HaulBlobExporter.html b/doc/xcm_builder/struct.HaulBlobExporter.html index 79bc7546c476..e8038083221e 100644 --- a/doc/xcm_builder/struct.HaulBlobExporter.html +++ b/doc/xcm_builder/struct.HaulBlobExporter.html @@ -1,4 +1,4 @@ -HaulBlobExporter in xcm_builder - Rust
    pub struct HaulBlobExporter<Bridge, BridgedNetwork, Price>(_);

    Trait Implementations§

    source§

    impl<Bridge: HaulBlob, BridgedNetwork: Get<NetworkId>, Price: Get<MultiAssets>> ExportXcm for HaulBlobExporter<Bridge, BridgedNetwork, Price>

    §

    type Ticket = (Vec<u8, Global>, [u8; 32])

    Intermediate value which connects the two phases of the export operation.
    source§

    fn validate( +HaulBlobExporter in xcm_builder - Rust
    pub struct HaulBlobExporter<Bridge, BridgedNetwork, Price>(_);

    Trait Implementations§

    source§

    impl<Bridge: HaulBlob, BridgedNetwork: Get<NetworkId>, Price: Get<MultiAssets>> ExportXcm for HaulBlobExporter<Bridge, BridgedNetwork, Price>

    §

    type Ticket = (Vec<u8, Global>, [u8; 32])

    Intermediate value which connects the two phases of the export operation.
    source§

    fn validate( network: NetworkId, _channel: u32, universal_source: &mut Option<InteriorMultiLocation>, @@ -6,7 +6,7 @@ message: &mut Option<Xcm<()>> ) -> Result<((Vec<u8>, XcmHash), MultiAssets), SendError>

    Check whether the given message is deliverable to the given destination on network, spoofing its source as universal_source and if so determine the cost which will be paid by -this chain to do so, returning a Ticket token which can be used to enact delivery. Read more
    source§

    fn deliver((blob, id): (Vec<u8>, XcmHash)) -> Result<XcmHash, SendError>

    Actually carry out the delivery operation for a previously validated message sending. Read more

    Auto Trait Implementations§

    §

    impl<Bridge, BridgedNetwork, Price> RefUnwindSafe for HaulBlobExporter<Bridge, BridgedNetwork, Price>where +this chain to do so, returning a Ticket token which can be used to enact delivery. Read more

    source§

    fn deliver((blob, id): (Vec<u8>, XcmHash)) -> Result<XcmHash, SendError>

    Actually carry out the delivery operation for a previously validated message sending. Read more

    Auto Trait Implementations§

    §

    impl<Bridge, BridgedNetwork, Price> RefUnwindSafe for HaulBlobExporter<Bridge, BridgedNetwork, Price>where Bridge: RefUnwindSafe, BridgedNetwork: RefUnwindSafe, Price: RefUnwindSafe,

    §

    impl<Bridge, BridgedNetwork, Price> Send for HaulBlobExporter<Bridge, BridgedNetwork, Price>where diff --git a/doc/xcm_builder/struct.IsAbstract.html b/doc/xcm_builder/struct.IsAbstract.html index a2577425d229..99457803c42f 100644 --- a/doc/xcm_builder/struct.IsAbstract.html +++ b/doc/xcm_builder/struct.IsAbstract.html @@ -16,7 +16,7 @@

    Example

    <IsAbstract<TargetLocation> as MatchesNonFungible<[u8; 4]>>::matches_nonfungible(&nft), Some([42u8; 4]) );

    -

    Trait Implementations§

    source§

    impl<T: Get<[u8; 32]>, B: TryFrom<u128>> MatchesFungible<B> for IsAbstract<T>

    source§

    impl<T: Get<[u8; 32]>, B: TryFrom<AssetInstance>> MatchesNonFungible<B> for IsAbstract<T>

    Auto Trait Implementations§

    §

    impl<T> RefUnwindSafe for IsAbstract<T>where +

    Trait Implementations§

    Auto Trait Implementations§

    §

    impl<T> RefUnwindSafe for IsAbstract<T>where T: RefUnwindSafe,

    §

    impl<T> Send for IsAbstract<T>where T: Send,

    §

    impl<T> Sync for IsAbstract<T>where T: Sync,

    §

    impl<T> Unpin for IsAbstract<T>where diff --git a/doc/xcm_builder/struct.IsConcrete.html b/doc/xcm_builder/struct.IsConcrete.html index c2bcb441b977..22cc47c1fed6 100644 --- a/doc/xcm_builder/struct.IsConcrete.html +++ b/doc/xcm_builder/struct.IsConcrete.html @@ -12,7 +12,7 @@

    Example

    let asset = (Parent, 999).into(); // match `asset` if it is a concrete asset in `TargetLocation`. assert_eq!(<IsConcrete<TargetLocation> as MatchesFungible<u128>>::matches_fungible(&asset), Some(999));

    -

    Trait Implementations§

    source§

    impl<T: Get<MultiLocation>, B: TryFrom<u128>> MatchesFungible<B> for IsConcrete<T>

    source§

    impl<T: Get<MultiLocation>, I: TryFrom<AssetInstance>> MatchesNonFungible<I> for IsConcrete<T>

    Auto Trait Implementations§

    §

    impl<T> RefUnwindSafe for IsConcrete<T>where +

    Trait Implementations§

    Auto Trait Implementations§

    §

    impl<T> RefUnwindSafe for IsConcrete<T>where T: RefUnwindSafe,

    §

    impl<T> Send for IsConcrete<T>where T: Send,

    §

    impl<T> Sync for IsConcrete<T>where T: Sync,

    §

    impl<T> Unpin for IsConcrete<T>where diff --git a/doc/xcm_builder/struct.MatchedConvertedConcreteId.html b/doc/xcm_builder/struct.MatchedConvertedConcreteId.html index d005cce6bf41..4ab6050f4bd6 100644 --- a/doc/xcm_builder/struct.MatchedConvertedConcreteId.html +++ b/doc/xcm_builder/struct.MatchedConvertedConcreteId.html @@ -1,6 +1,6 @@ -MatchedConvertedConcreteId in xcm_builder - Rust
    pub struct MatchedConvertedConcreteId<AssetId, Balance, MatchAssetId, ConvertAssetId, ConvertOther>(_);

    Trait Implementations§

    source§

    impl<AssetId: Clone, Balance: Clone, MatchAssetId: Contains<MultiLocation>, ConvertAssetId: MaybeEquivalence<MultiLocation, AssetId>, ConvertBalance: MaybeEquivalence<u128, Balance>> MatchesFungibles<AssetId, Balance> for MatchedConvertedConcreteId<AssetId, Balance, MatchAssetId, ConvertAssetId, ConvertBalance>

    source§

    impl<ClassId: Clone, InstanceId: Clone, MatchClassId: Contains<MultiLocation>, ConvertClassId: MaybeEquivalence<MultiLocation, ClassId>, ConvertInstanceId: MaybeEquivalence<AssetInstance, InstanceId>> MatchesNonFungibles<ClassId, InstanceId> for MatchedConvertedConcreteId<ClassId, InstanceId, MatchClassId, ConvertClassId, ConvertInstanceId>

    source§

    fn matches_nonfungibles( +MatchedConvertedConcreteId in xcm_builder - Rust
    pub struct MatchedConvertedConcreteId<AssetId, Balance, MatchAssetId, ConvertAssetId, ConvertOther>(_);

    Trait Implementations§

    source§

    impl<AssetId: Clone, Balance: Clone, MatchAssetId: Contains<MultiLocation>, ConvertAssetId: MaybeEquivalence<MultiLocation, AssetId>, ConvertBalance: MaybeEquivalence<u128, Balance>> MatchesFungibles<AssetId, Balance> for MatchedConvertedConcreteId<AssetId, Balance, MatchAssetId, ConvertAssetId, ConvertBalance>

    source§

    impl<ClassId: Clone, InstanceId: Clone, MatchClassId: Contains<MultiLocation>, ConvertClassId: MaybeEquivalence<MultiLocation, ClassId>, ConvertInstanceId: MaybeEquivalence<AssetInstance, InstanceId>> MatchesNonFungibles<ClassId, InstanceId> for MatchedConvertedConcreteId<ClassId, InstanceId, MatchClassId, ConvertClassId, ConvertInstanceId>

    Auto Trait Implementations§

    §

    impl<AssetId, Balance, MatchAssetId, ConvertAssetId, ConvertOther> RefUnwindSafe for MatchedConvertedConcreteId<AssetId, Balance, MatchAssetId, ConvertAssetId, ConvertOther>where +) -> Result<(ClassId, InstanceId), MatchError>

    Auto Trait Implementations§

    §

    impl<AssetId, Balance, MatchAssetId, ConvertAssetId, ConvertOther> RefUnwindSafe for MatchedConvertedConcreteId<AssetId, Balance, MatchAssetId, ConvertAssetId, ConvertOther>where AssetId: RefUnwindSafe, Balance: RefUnwindSafe, ConvertAssetId: RefUnwindSafe, diff --git a/doc/xcm_builder/struct.NativeAsset.html b/doc/xcm_builder/struct.NativeAsset.html index d9d5a038739d..8198356bdd71 100644 --- a/doc/xcm_builder/struct.NativeAsset.html +++ b/doc/xcm_builder/struct.NativeAsset.html @@ -5,8 +5,8 @@ T: ?Sized,

    const: unstable · source§

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

    Mutably borrows from an owned value. Read more

    §

    impl<T> CheckedConversion for T

    §

    fn checked_from<T>(t: T) -> Option<Self>where Self: TryFrom<T>,

    Convert from a value of T into an equivalent instance of Option<Self>. Read more
    §

    fn checked_into<T>(self) -> Option<T>where Self: TryInto<T>,

    Consume self to return Some equivalent value of Option<T>. Read more
    §

    impl<T> Conv for T

    §

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

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

    impl<T> FilterAssetLocation for Twhere - T: ContainsPair<MultiAsset, MultiLocation>,

    §

    fn contains(asset: &MultiAsset, origin: &MultiLocation) -> bool

    👎Deprecated: Use frame_support::traits::ContainsPair<MultiAsset, MultiLocation> instead
    A filter to distinguish between asset/location pairs.
    §

    impl<T> FmtForward for T

    §

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

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

    impl<T> FilterAssetLocation for Twhere + T: ContainsPair<MultiAsset, MultiLocation>,

    source§

    fn contains(asset: &MultiAsset, origin: &MultiLocation) -> bool

    👎Deprecated: Use frame_support::traits::ContainsPair<MultiAsset, MultiLocation> instead
    A filter to distinguish between asset/location pairs.
    §

    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 diff --git a/doc/xcm_builder/struct.NonFungiblesAdapter.html b/doc/xcm_builder/struct.NonFungiblesAdapter.html index 4dc4f87a92ad..bfd915f05f5e 100644 --- a/doc/xcm_builder/struct.NonFungiblesAdapter.html +++ b/doc/xcm_builder/struct.NonFungiblesAdapter.html @@ -1,4 +1,4 @@ -NonFungiblesAdapter in xcm_builder - Rust
    pub struct NonFungiblesAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>(_);

    Trait Implementations§

    source§

    impl<Assets: Mutate<AccountId> + Transfer<AccountId>, Matcher: MatchesNonFungibles<Assets::CollectionId, Assets::ItemId>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone + Eq, CheckAsset: AssetChecking<Assets::CollectionId>, CheckingAccount: Get<Option<AccountId>>> TransactAsset for NonFungiblesAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>

    source§

    fn can_check_in( +NonFungiblesAdapter in xcm_builder - Rust
    pub struct NonFungiblesAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>(_);

    Trait Implementations§

    source§

    impl<Assets: Mutate<AccountId> + Transfer<AccountId>, Matcher: MatchesNonFungibles<Assets::CollectionId, Assets::ItemId>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone + Eq, CheckAsset: AssetChecking<Assets::CollectionId>, CheckingAccount: Get<Option<AccountId>>> TransactAsset for NonFungiblesAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>

    source§

    fn can_check_in( origin: &MultiLocation, what: &MultiAsset, context: &XcmContext @@ -22,7 +22,7 @@ from: &MultiLocation, to: &MultiLocation, context: &XcmContext -) -> Result<Assets, XcmError>

    Move an asset from one location in to another location. Read more
    §

    fn internal_transfer_asset( +) -> Result<Assets, XcmError>

    Move an asset from one location in to another location. Read more
    source§

    fn internal_transfer_asset( _asset: &MultiAsset, _from: &MultiLocation, _to: &MultiLocation, diff --git a/doc/xcm_builder/struct.NonFungiblesMutateAdapter.html b/doc/xcm_builder/struct.NonFungiblesMutateAdapter.html index 89fa5d2d1221..b1418bd26aaa 100644 --- a/doc/xcm_builder/struct.NonFungiblesMutateAdapter.html +++ b/doc/xcm_builder/struct.NonFungiblesMutateAdapter.html @@ -1,4 +1,4 @@ -NonFungiblesMutateAdapter in xcm_builder - Rust
    pub struct NonFungiblesMutateAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>(_);

    Trait Implementations§

    source§

    impl<Assets: Mutate<AccountId>, Matcher: MatchesNonFungibles<Assets::CollectionId, Assets::ItemId>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone + Eq, CheckAsset: AssetChecking<Assets::CollectionId>, CheckingAccount: Get<Option<AccountId>>> TransactAsset for NonFungiblesMutateAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>

    source§

    fn can_check_in( +NonFungiblesMutateAdapter in xcm_builder - Rust
    pub struct NonFungiblesMutateAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>(_);

    Trait Implementations§

    source§

    impl<Assets: Mutate<AccountId>, Matcher: MatchesNonFungibles<Assets::CollectionId, Assets::ItemId>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone + Eq, CheckAsset: AssetChecking<Assets::CollectionId>, CheckingAccount: Get<Option<AccountId>>> TransactAsset for NonFungiblesMutateAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>

    source§

    fn can_check_in( _origin: &MultiLocation, what: &MultiAsset, context: &XcmContext @@ -17,12 +17,12 @@ who: &MultiLocation, maybe_context: Option<&XcmContext> ) -> Result<Assets, XcmError>

    Withdraw the given asset from the consensus system. Return the actual asset(s) withdrawn, -which should always be equal to _what. Read more
    §

    fn internal_transfer_asset( +which should always be equal to _what. Read more

    source§

    fn internal_transfer_asset( _asset: &MultiAsset, _from: &MultiLocation, _to: &MultiLocation, _context: &XcmContext -) -> Result<Assets, Error>

    Move an asset from one location in to another location. Read more
    §

    fn transfer_asset( +) -> Result<Assets, Error>

    Move an asset from one location in to another location. Read more
    source§

    fn transfer_asset( asset: &MultiAsset, from: &MultiLocation, to: &MultiLocation, diff --git a/doc/xcm_builder/struct.NonFungiblesTransferAdapter.html b/doc/xcm_builder/struct.NonFungiblesTransferAdapter.html index 1029a5b8c461..8b8bd3da96ac 100644 --- a/doc/xcm_builder/struct.NonFungiblesTransferAdapter.html +++ b/doc/xcm_builder/struct.NonFungiblesTransferAdapter.html @@ -1,28 +1,28 @@ -NonFungiblesTransferAdapter in xcm_builder - Rust
    pub struct NonFungiblesTransferAdapter<Assets, Matcher, AccountIdConverter, AccountId>(_);

    Trait Implementations§

    source§

    impl<Assets: Transfer<AccountId>, Matcher: MatchesNonFungibles<Assets::CollectionId, Assets::ItemId>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone> TransactAsset for NonFungiblesTransferAdapter<Assets, Matcher, AccountIdConverter, AccountId>

    source§

    fn transfer_asset( +NonFungiblesTransferAdapter in xcm_builder - Rust
    pub struct NonFungiblesTransferAdapter<Assets, Matcher, AccountIdConverter, AccountId>(_);

    Trait Implementations§

    source§

    impl<Assets: Transfer<AccountId>, Matcher: MatchesNonFungibles<Assets::CollectionId, Assets::ItemId>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone> TransactAsset for NonFungiblesTransferAdapter<Assets, Matcher, AccountIdConverter, AccountId>

    source§

    fn transfer_asset( what: &MultiAsset, from: &MultiLocation, to: &MultiLocation, context: &XcmContext -) -> Result<Assets, XcmError>

    Move an asset from one location in to another location. Read more
    §

    fn can_check_in( +) -> Result<Assets, XcmError>

    Move an asset from one location in to another location. Read more
    source§

    fn can_check_in( _origin: &MultiLocation, _what: &MultiAsset, _context: &XcmContext -) -> Result<(), Error>

    Ensure that check_in will do as expected. Read more
    §

    fn check_in(_origin: &MultiLocation, _what: &MultiAsset, _context: &XcmContext)

    An asset has been teleported in from the given origin. This should do whatever housekeeping -is needed. Read more
    §

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

    Ensure that check_in will do as expected. Read more
    source§

    fn check_in(_origin: &MultiLocation, _what: &MultiAsset, _context: &XcmContext)

    An asset has been teleported in from the given origin. This should do whatever housekeeping +is needed. Read more
    source§

    fn can_check_out( _dest: &MultiLocation, _what: &MultiAsset, _context: &XcmContext -) -> Result<(), Error>

    Ensure that check_out will do as expected. Read more
    §

    fn check_out(_dest: &MultiLocation, _what: &MultiAsset, _context: &XcmContext)

    An asset has been teleported out to the given destination. This should do whatever -housekeeping is needed. Read more
    §

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

    Ensure that check_out will do as expected. Read more
    source§

    fn check_out(_dest: &MultiLocation, _what: &MultiAsset, _context: &XcmContext)

    An asset has been teleported out to the given destination. This should do whatever +housekeeping is needed. Read more
    source§

    fn deposit_asset( _what: &MultiAsset, _who: &MultiLocation, _context: &XcmContext -) -> Result<(), Error>

    Deposit the what asset into the account of who. Read more
    §

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

    Deposit the what asset into the account of who. Read more
    source§

    fn withdraw_asset( _what: &MultiAsset, _who: &MultiLocation, _maybe_context: Option<&XcmContext> ) -> Result<Assets, Error>

    Withdraw the given asset from the consensus system. Return the actual asset(s) withdrawn, -which should always be equal to _what. Read more
    §

    fn internal_transfer_asset( +which should always be equal to _what. Read more

    source§

    fn internal_transfer_asset( _asset: &MultiAsset, _from: &MultiLocation, _to: &MultiLocation, diff --git a/doc/xcm_builder/struct.ParentIsPreset.html b/doc/xcm_builder/struct.ParentIsPreset.html index 398d3468b338..53d707d3fe6a 100644 --- a/doc/xcm_builder/struct.ParentIsPreset.html +++ b/doc/xcm_builder/struct.ParentIsPreset.html @@ -1,6 +1,6 @@ ParentIsPreset in xcm_builder - Rust
    pub struct ParentIsPreset<AccountId>(_);
    Expand description

    A MultiLocation consisting of a single Parent Junction will be converted to the parent AccountId.

    -

    Trait Implementations§

    source§

    impl<AccountId: Decode + Eq + Clone> ConvertLocation<AccountId> for ParentIsPreset<AccountId>

    source§

    fn convert_location(location: &MultiLocation) -> Option<AccountId>

    Convert the location into Some account ID, or None if not possible.

    Auto Trait Implementations§

    §

    impl<AccountId> RefUnwindSafe for ParentIsPreset<AccountId>where +

    Trait Implementations§

    source§

    impl<AccountId: Decode + Eq + Clone> ConvertLocation<AccountId> for ParentIsPreset<AccountId>

    source§

    fn convert_location(location: &MultiLocation) -> Option<AccountId>

    Convert the location into Some account ID, or None if not possible.

    Auto Trait Implementations§

    §

    impl<AccountId> RefUnwindSafe for ParentIsPreset<AccountId>where AccountId: RefUnwindSafe,

    §

    impl<AccountId> Send for ParentIsPreset<AccountId>where AccountId: Send,

    §

    impl<AccountId> Sync for ParentIsPreset<AccountId>where AccountId: Sync,

    §

    impl<AccountId> Unpin for ParentIsPreset<AccountId>where diff --git a/doc/xcm_builder/struct.PayOverXcm.html b/doc/xcm_builder/struct.PayOverXcm.html index a99168fae422..9a6610fddc8e 100644 --- a/doc/xcm_builder/struct.PayOverXcm.html +++ b/doc/xcm_builder/struct.PayOverXcm.html @@ -13,7 +13,7 @@ check_payment to check the status of the XCM transaction.

    See also PayAccountId32OverXcm which is similar to this except that BeneficiaryRefToLocation need not be supplied and Beneficiary must implement Into<[u8; 32]>.

    -

    Trait Implementations§

    source§

    impl<Interior: Get<InteriorMultiLocation>, Router: SendXcm, Querier: QueryHandler, Timeout: Get<Querier::BlockNumber>, Beneficiary: Clone, AssetKind, AssetKindToLocatableAsset: Convert<AssetKind, LocatableAssetId>, BeneficiaryRefToLocation: for<'a> Convert<&'a Beneficiary, MultiLocation>> Pay for PayOverXcm<Interior, Router, Querier, Timeout, Beneficiary, AssetKind, AssetKindToLocatableAsset, BeneficiaryRefToLocation>

    §

    type Beneficiary = Beneficiary

    The type by which we identify the beneficiaries to whom a payment may be made.
    §

    type AssetKind = AssetKind

    The type for the kinds of asset that are going to be paid. Read more
    §

    type Balance = u128

    The type by which we measure units of the currency in which we make payments.
    §

    type Id = <Querier as QueryHandler>::QueryId

    An identifier given to an individual payment.
    §

    type Error = Error

    An error which could be returned by the Pay type
    source§

    fn pay( +

    Trait Implementations§

    source§

    impl<Interior: Get<InteriorMultiLocation>, Router: SendXcm, Querier: QueryHandler, Timeout: Get<Querier::BlockNumber>, Beneficiary: Clone, AssetKind, AssetKindToLocatableAsset: Convert<AssetKind, LocatableAssetId>, BeneficiaryRefToLocation: for<'a> Convert<&'a Beneficiary, MultiLocation>> Pay for PayOverXcm<Interior, Router, Querier, Timeout, Beneficiary, AssetKind, AssetKindToLocatableAsset, BeneficiaryRefToLocation>

    §

    type Beneficiary = Beneficiary

    The type by which we identify the beneficiaries to whom a payment may be made.
    §

    type AssetKind = AssetKind

    The type for the kinds of asset that are going to be paid. Read more
    §

    type Balance = u128

    The type by which we measure units of the currency in which we make payments.
    §

    type Id = <Querier as QueryHandler>::QueryId

    An identifier given to an individual payment.
    §

    type Error = Error

    An error which could be returned by the Pay type
    source§

    fn pay( who: &Self::Beneficiary, asset_kind: Self::AssetKind, amount: Self::Balance diff --git a/doc/xcm_builder/struct.RespectSuspension.html b/doc/xcm_builder/struct.RespectSuspension.html index 054b8bd0b0a2..d86f8bcb6873 100644 --- a/doc/xcm_builder/struct.RespectSuspension.html +++ b/doc/xcm_builder/struct.RespectSuspension.html @@ -1,13 +1,13 @@ RespectSuspension in xcm_builder - Rust
    pub struct RespectSuspension<Inner, SuspensionChecker>(_);
    Expand description

    Barrier condition that allows for a SuspensionChecker that controls whether or not the XCM executor will be suspended from executing the given XCM.

    -

    Trait Implementations§

    source§

    impl<Inner, SuspensionChecker> ShouldExecute for RespectSuspension<Inner, SuspensionChecker>where - Inner: ShouldExecute, - SuspensionChecker: CheckSuspension,

    Trait Implementations§

    source§

    impl<Inner, SuspensionChecker> ShouldExecute for RespectSuspension<Inner, SuspensionChecker>where + Inner: ShouldExecute, + SuspensionChecker: CheckSuspension,

    source§

    fn should_execute<Call>( origin: &MultiLocation, instructions: &mut [Instruction<Call>], max_weight: Weight, - properties: &mut Properties -) -> Result<(), ProcessMessageError>

    Returns true if the given message may be executed. Read more

    Auto Trait Implementations§

    §

    impl<Inner, SuspensionChecker> RefUnwindSafe for RespectSuspension<Inner, SuspensionChecker>where + properties: &mut Properties +) -> Result<(), ProcessMessageError>

    Returns true if the given message may be executed. Read more

    Auto Trait Implementations§

    §

    impl<Inner, SuspensionChecker> RefUnwindSafe for RespectSuspension<Inner, SuspensionChecker>where Inner: RefUnwindSafe, SuspensionChecker: RefUnwindSafe,

    §

    impl<Inner, SuspensionChecker> Send for RespectSuspension<Inner, SuspensionChecker>where Inner: Send, diff --git a/doc/xcm_builder/struct.SiblingParachainConvertsVia.html b/doc/xcm_builder/struct.SiblingParachainConvertsVia.html index b7d4e4330632..16aeac7aa5e6 100644 --- a/doc/xcm_builder/struct.SiblingParachainConvertsVia.html +++ b/doc/xcm_builder/struct.SiblingParachainConvertsVia.html @@ -1,4 +1,4 @@ -SiblingParachainConvertsVia in xcm_builder - Rust
    pub struct SiblingParachainConvertsVia<ParaId, AccountId>(_);

    Trait Implementations§

    source§

    impl<ParaId: From<u32> + Into<u32> + AccountIdConversion<AccountId>, AccountId: Clone> ConvertLocation<AccountId> for SiblingParachainConvertsVia<ParaId, AccountId>

    source§

    fn convert_location(location: &MultiLocation) -> Option<AccountId>

    Convert the location into Some account ID, or None if not possible.

    Auto Trait Implementations§

    §

    impl<ParaId, AccountId> RefUnwindSafe for SiblingParachainConvertsVia<ParaId, AccountId>where +SiblingParachainConvertsVia in xcm_builder - Rust
    pub struct SiblingParachainConvertsVia<ParaId, AccountId>(_);

    Trait Implementations§

    source§

    impl<ParaId: From<u32> + Into<u32> + AccountIdConversion<AccountId>, AccountId: Clone> ConvertLocation<AccountId> for SiblingParachainConvertsVia<ParaId, AccountId>

    source§

    fn convert_location(location: &MultiLocation) -> Option<AccountId>

    Convert the location into Some account ID, or None if not possible.

    Auto Trait Implementations§

    §

    impl<ParaId, AccountId> RefUnwindSafe for SiblingParachainConvertsVia<ParaId, AccountId>where AccountId: RefUnwindSafe, ParaId: RefUnwindSafe,

    §

    impl<ParaId, AccountId> Send for SiblingParachainConvertsVia<ParaId, AccountId>where AccountId: Send, diff --git a/doc/xcm_builder/struct.SovereignSignedViaLocation.html b/doc/xcm_builder/struct.SovereignSignedViaLocation.html index da5551b27545..cf20960d76a4 100644 --- a/doc/xcm_builder/struct.SovereignSignedViaLocation.html +++ b/doc/xcm_builder/struct.SovereignSignedViaLocation.html @@ -1,6 +1,6 @@ SovereignSignedViaLocation in xcm_builder - Rust
    pub struct SovereignSignedViaLocation<LocationConverter, RuntimeOrigin>(_);
    Expand description

    Sovereign accounts use the system’s Signed origin with an account ID derived from the LocationConverter.

    -

    Trait Implementations§

    source§

    impl<LocationConverter: ConvertLocation<RuntimeOrigin::AccountId>, RuntimeOrigin: OriginTrait> ConvertOrigin<RuntimeOrigin> for SovereignSignedViaLocation<LocationConverter, RuntimeOrigin>where +

    Trait Implementations§

    source§

    impl<LocationConverter: ConvertLocation<RuntimeOrigin::AccountId>, RuntimeOrigin: OriginTrait> ConvertOrigin<RuntimeOrigin> for SovereignSignedViaLocation<LocationConverter, RuntimeOrigin>where RuntimeOrigin::AccountId: Clone,

    source§

    fn convert_origin( origin: impl Into<MultiLocation>, kind: OriginKind diff --git a/doc/xcm_builder/struct.TakeWeightCredit.html b/doc/xcm_builder/struct.TakeWeightCredit.html index 4a19a46c087f..492b7064d846 100644 --- a/doc/xcm_builder/struct.TakeWeightCredit.html +++ b/doc/xcm_builder/struct.TakeWeightCredit.html @@ -2,12 +2,12 @@

    Useful to allow XCM execution by local chain users via extrinsics. E.g. pallet_xcm::reserve_asset_transfer to transfer a reserve asset out of the local chain to another one.

    -

    Trait Implementations§

    source§

    impl ShouldExecute for TakeWeightCredit

    source§

    fn should_execute<RuntimeCall>( +

    Trait Implementations§

    source§

    impl ShouldExecute for TakeWeightCredit

    source§

    fn should_execute<RuntimeCall>( _origin: &MultiLocation, _instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, - properties: &mut Properties -) -> Result<(), ProcessMessageError>

    Returns true if the given message may be executed. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + properties: &mut Properties +) -> Result<(), ProcessMessageError>

    Returns true if the given message may be executed. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    const: unstable · source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    const: unstable · source§

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

    Mutably borrows from an owned value. Read more
    §

    impl<T> CheckedConversion for T

    §

    fn checked_from<T>(t: T) -> Option<Self>where diff --git a/doc/xcm_builder/struct.TrailingSetTopicAsId.html b/doc/xcm_builder/struct.TrailingSetTopicAsId.html index 3f263825e1f0..19b601db8a7f 100644 --- a/doc/xcm_builder/struct.TrailingSetTopicAsId.html +++ b/doc/xcm_builder/struct.TrailingSetTopicAsId.html @@ -2,12 +2,12 @@

    Note that the message ID does not necessarily have to be unique; it is the sender’s responsibility to ensure uniqueness.

    Requires some inner barrier to pass on the rest of the message.

    -

    Trait Implementations§

    source§

    impl<InnerBarrier: ShouldExecute> ShouldExecute for TrailingSetTopicAsId<InnerBarrier>

    Trait Implementations§

    source§

    impl<InnerBarrier: ShouldExecute> ShouldExecute for TrailingSetTopicAsId<InnerBarrier>

    source§

    fn should_execute<Call>( origin: &MultiLocation, instructions: &mut [Instruction<Call>], max_weight: Weight, - properties: &mut Properties -) -> Result<(), ProcessMessageError>

    Returns true if the given message may be executed. Read more

    Auto Trait Implementations§

    §

    impl<InnerBarrier> RefUnwindSafe for TrailingSetTopicAsId<InnerBarrier>where + properties: &mut Properties +) -> Result<(), ProcessMessageError>

    Returns true if the given message may be executed. Read more

    Auto Trait Implementations§

    §

    impl<InnerBarrier> RefUnwindSafe for TrailingSetTopicAsId<InnerBarrier>where InnerBarrier: RefUnwindSafe,

    §

    impl<InnerBarrier> Send for TrailingSetTopicAsId<InnerBarrier>where InnerBarrier: Send,

    §

    impl<InnerBarrier> Sync for TrailingSetTopicAsId<InnerBarrier>where InnerBarrier: Sync,

    §

    impl<InnerBarrier> Unpin for TrailingSetTopicAsId<InnerBarrier>where diff --git a/doc/xcm_builder/struct.UnpaidLocalExporter.html b/doc/xcm_builder/struct.UnpaidLocalExporter.html index 8f7cbe1388f6..b114c19d46e3 100644 --- a/doc/xcm_builder/struct.UnpaidLocalExporter.html +++ b/doc/xcm_builder/struct.UnpaidLocalExporter.html @@ -3,12 +3,12 @@

    No effort is made to charge for any bridge fees, so this can only be used when it is known that the message sending cannot be abused in any way.

    This is only useful when the local chain has bridging capabilities.

    -

    Trait Implementations§

    source§

    impl<Exporter: ExportXcm, UniversalLocation: Get<InteriorMultiLocation>> SendXcm for UnpaidLocalExporter<Exporter, UniversalLocation>

    §

    type Ticket = <Exporter as ExportXcm>::Ticket

    Intermediate value which connects the two phases of the send operation.
    source§

    fn validate( +

    Trait Implementations§

    source§

    impl<Exporter: ExportXcm, UniversalLocation: Get<InteriorMultiLocation>> SendXcm for UnpaidLocalExporter<Exporter, UniversalLocation>

    §

    type Ticket = <Exporter as ExportXcm>::Ticket

    Intermediate value which connects the two phases of the send operation.
    source§

    fn validate( dest: &mut Option<MultiLocation>, xcm: &mut Option<Xcm<()>> -) -> SendResult<Exporter::Ticket>

    Check whether the given _message is deliverable to the given _destination and if so +) -> SendResult<Exporter::Ticket>

    Check whether the given _message is deliverable to the given _destination and if so determine the cost which will be paid by this chain to do so, returning a Validated token -which can be used to enact delivery. Read more
    source§

    fn deliver(ticket: Exporter::Ticket) -> Result<XcmHash, SendError>

    Actually carry out the delivery operation for a previously validated message sending.

    Auto Trait Implementations§

    §

    impl<Exporter, UniversalLocation> RefUnwindSafe for UnpaidLocalExporter<Exporter, UniversalLocation>where +which can be used to enact delivery. Read more

    source§

    fn deliver(ticket: Exporter::Ticket) -> Result<XcmHash, SendError>

    Actually carry out the delivery operation for a previously validated message sending.

    Auto Trait Implementations§

    §

    impl<Exporter, UniversalLocation> RefUnwindSafe for UnpaidLocalExporter<Exporter, UniversalLocation>where Exporter: RefUnwindSafe, UniversalLocation: RefUnwindSafe,

    §

    impl<Exporter, UniversalLocation> Send for UnpaidLocalExporter<Exporter, UniversalLocation>where Exporter: Send, diff --git a/doc/xcm_builder/struct.UsingComponents.html b/doc/xcm_builder/struct.UsingComponents.html index 07d03c6fc068..41527d06d6da 100644 --- a/doc/xcm_builder/struct.UsingComponents.html +++ b/doc/xcm_builder/struct.UsingComponents.html @@ -1,18 +1,18 @@ UsingComponents in xcm_builder - Rust
    pub struct UsingComponents<WeightToFee: WeightToFeeT<Balance = Currency::Balance>, AssetId: Get<MultiLocation>, AccountId, Currency: CurrencyT<AccountId>, OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>>(_, _, _);
    Expand description

    Weight trader which uses the configured WeightToFee to set the right price for weight and then places any weight bought into the right account.

    -

    Trait Implementations§

    source§

    impl<WeightToFee: WeightToFeeT<Balance = Currency::Balance>, AssetId: Get<MultiLocation>, AccountId, Currency: CurrencyT<AccountId>, OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>> Drop for UsingComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<WeightToFee: WeightToFeeT<Balance = Currency::Balance>, AssetId: Get<MultiLocation>, AccountId, Currency: CurrencyT<AccountId>, OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>> WeightTrader for UsingComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>

    source§

    fn new() -> Self

    Create a new trader instance.
    source§

    fn buy_weight( +

    Trait Implementations§

    source§

    impl<WeightToFee: WeightToFeeT<Balance = Currency::Balance>, AssetId: Get<MultiLocation>, AccountId, Currency: CurrencyT<AccountId>, OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>> Drop for UsingComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<WeightToFee: WeightToFeeT<Balance = Currency::Balance>, AssetId: Get<MultiLocation>, AccountId, Currency: CurrencyT<AccountId>, OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>> WeightTrader for UsingComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>

    source§

    fn new() -> Self

    Create a new trader instance.
    source§

    fn buy_weight( &mut self, weight: Weight, payment: Assets, context: &XcmContext ) -> Result<Assets, XcmError>

    Purchase execution weight credit in return for up to a given payment. If less of the payment is required then the surplus is returned. If the payment cannot be used to pay -for the weight, then an error is returned.
    source§

    fn refund_weight( +for the weight, then an error is returned.

    source§

    fn refund_weight( &mut self, weight: Weight, context: &XcmContext ) -> Option<MultiAsset>

    Attempt a refund of weight into some asset. The caller does not guarantee that the weight -was purchased using buy_weight. Read more

    Auto Trait Implementations§

    §

    impl<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced> RefUnwindSafe for UsingComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>where +was purchased using buy_weight. Read more

    Auto Trait Implementations§

    §

    impl<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced> RefUnwindSafe for UsingComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>where AccountId: RefUnwindSafe, AssetId: RefUnwindSafe, Currency: RefUnwindSafe, diff --git a/doc/xcm_builder/struct.WeightInfoBounds.html b/doc/xcm_builder/struct.WeightInfoBounds.html index 8abf1a0fde4d..1d8c7dfd10f8 100644 --- a/doc/xcm_builder/struct.WeightInfoBounds.html +++ b/doc/xcm_builder/struct.WeightInfoBounds.html @@ -1,9 +1,9 @@ -WeightInfoBounds in xcm_builder - Rust
    pub struct WeightInfoBounds<W, C, M>(_);

    Trait Implementations§

    source§

    impl<W, C, M> WeightBounds<C> for WeightInfoBounds<W, C, M>where +WeightInfoBounds in xcm_builder - Rust
    pub struct WeightInfoBounds<W, C, M>(_);

    Trait Implementations§

    source§

    impl<W, C, M> WeightBounds<C> for WeightInfoBounds<W, C, M>where W: XcmWeightInfo<C>, C: Decode + GetDispatchInfo, M: Get<u32>, - Instruction<C>: GetWeight<W>,

    source§

    fn weight(message: &mut Xcm<C>) -> Result<Weight, ()>

    Return the maximum amount of weight that an attempted execution of this message could -consume.
    source§

    fn instr_weight(instruction: &Instruction<C>) -> Result<Weight, ()>

    Return the maximum amount of weight that an attempted execution of this instruction could + Instruction<C>: GetWeight<W>,

    source§

    fn weight(message: &mut Xcm<C>) -> Result<Weight, ()>

    Return the maximum amount of weight that an attempted execution of this message could +consume.
    source§

    fn instr_weight(instruction: &Instruction<C>) -> Result<Weight, ()>

    Return the maximum amount of weight that an attempted execution of this instruction could consume.

    Auto Trait Implementations§

    §

    impl<W, C, M> RefUnwindSafe for WeightInfoBounds<W, C, M>where C: RefUnwindSafe, M: RefUnwindSafe, diff --git a/doc/xcm_builder/struct.WithComputedOrigin.html b/doc/xcm_builder/struct.WithComputedOrigin.html index 4be2b5e6f554..aab7ecaa25a4 100644 --- a/doc/xcm_builder/struct.WithComputedOrigin.html +++ b/doc/xcm_builder/struct.WithComputedOrigin.html @@ -36,12 +36,12 @@ response from. For example, even if an origin appeared in the AllowedSubscribers list, we would ignore this rule if it began with origin mutators and they changed the origin to something which was not on the list.

    -

    Trait Implementations§

    source§

    impl<InnerBarrier: ShouldExecute, LocalUniversal: Get<InteriorMultiLocation>, MaxPrefixes: Get<u32>> ShouldExecute for WithComputedOrigin<InnerBarrier, LocalUniversal, MaxPrefixes>

    Trait Implementations§

    source§

    impl<InnerBarrier: ShouldExecute, LocalUniversal: Get<InteriorMultiLocation>, MaxPrefixes: Get<u32>> ShouldExecute for WithComputedOrigin<InnerBarrier, LocalUniversal, MaxPrefixes>

    source§

    fn should_execute<Call>( origin: &MultiLocation, instructions: &mut [Instruction<Call>], max_weight: Weight, - properties: &mut Properties -) -> Result<(), ProcessMessageError>

    Returns true if the given message may be executed. Read more

    Auto Trait Implementations§

    §

    impl<InnerBarrier, LocalUniversal, MaxPrefixes> RefUnwindSafe for WithComputedOrigin<InnerBarrier, LocalUniversal, MaxPrefixes>where + properties: &mut Properties +) -> Result<(), ProcessMessageError>

    Returns true if the given message may be executed. Read more

    Auto Trait Implementations§

    §

    impl<InnerBarrier, LocalUniversal, MaxPrefixes> RefUnwindSafe for WithComputedOrigin<InnerBarrier, LocalUniversal, MaxPrefixes>where InnerBarrier: RefUnwindSafe, LocalUniversal: RefUnwindSafe, MaxPrefixes: RefUnwindSafe,

    §

    impl<InnerBarrier, LocalUniversal, MaxPrefixes> Send for WithComputedOrigin<InnerBarrier, LocalUniversal, MaxPrefixes>where diff --git a/doc/xcm_builder/test_utils/enum.LockError.html b/doc/xcm_builder/test_utils/enum.LockError.html index 4f9ae124ae58..aebaacf6b4ff 100644 --- a/doc/xcm_builder/test_utils/enum.LockError.html +++ b/doc/xcm_builder/test_utils/enum.LockError.html @@ -1,4 +1,4 @@ -LockError in xcm_builder::test_utils - Rust
    pub enum LockError {
    +LockError in xcm_builder::test_utils - Rust
    pub enum LockError {
     
    Show 13 variants NotApplicable, WouldClobber, BadOrigin, @@ -12,7 +12,7 @@ NoResources, UnexpectedState, InUse, -
    }

    Variants§

    §

    NotApplicable

    §

    WouldClobber

    §

    BadOrigin

    §

    NotLocked

    §

    NotEnoughLocked

    §

    Unimplemented

    §

    NotTrusted

    §

    BadOwner

    §

    UnknownAsset

    §

    AssetNotOwned

    §

    NoResources

    §

    UnexpectedState

    §

    InUse

    Trait Implementations§

    §

    impl Debug for LockError

    §

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

    Formats the value using the given formatter. Read more
    §

    impl From<LockError> for Error

    §

    fn from(e: LockError) -> Error

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    }

    Variants§

    §

    NotApplicable

    §

    WouldClobber

    §

    BadOrigin

    §

    NotLocked

    §

    NotEnoughLocked

    §

    Unimplemented

    §

    NotTrusted

    §

    BadOwner

    §

    UnknownAsset

    §

    AssetNotOwned

    §

    NoResources

    §

    UnexpectedState

    §

    InUse

    Trait Implementations§

    source§

    impl Debug for LockError

    source§

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

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

    impl From<LockError> for Error

    source§

    fn from(e: LockError) -> Error

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    const: unstable · source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    const: unstable · source§

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

    Mutably borrows from an owned value. Read more
    §

    impl<T> CheckedConversion for T

    §

    fn checked_from<T>(t: T) -> Option<Self>where diff --git a/doc/xcm_builder/test_utils/enum.XcmError.html b/doc/xcm_builder/test_utils/enum.XcmError.html index 26cb7a78f3d1..965f85b135be 100644 --- a/doc/xcm_builder/test_utils/enum.XcmError.html +++ b/doc/xcm_builder/test_utils/enum.XcmError.html @@ -101,7 +101,7 @@ __codec_dest_edqy: &mut __CodecOutputEdqy )where __CodecOutputEdqy: Output + ?Sized,

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    §

    impl From<Error> for Error

    §

    fn from(e: Error) -> Error

    Converts to this type from the input type.
    §

    impl From<LockError> for Error

    §

    fn from(e: LockError) -> Error

    Converts to this type from the input type.
    source§

    impl From<SendError> for Error

    source§

    fn from(e: SendError) -> Error

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for Error

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl PartialEq<Error> for Error

    source§

    fn eq(&self, other: &Error) -> bool

    This method tests for self and other values to be equal, and is used + F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<Error> for Error

    source§

    fn from(e: Error) -> Error

    Converts to this type from the input type.
    source§

    impl From<LockError> for Error

    source§

    fn from(e: LockError) -> Error

    Converts to this type from the input type.
    source§

    impl From<SendError> for Error

    source§

    fn from(e: SendError) -> Error

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for Error

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl PartialEq<Error> for Error

    source§

    fn eq(&self, other: &Error) -> 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 TryFrom<Error> for Error

    §

    type Error = ()

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

    fn try_from(old_error: Error) -> Result<Error, ()>

    Performs the conversion.
    source§

    impl TypeInfo for Error

    §

    type Identity = Error

    The type identifying for which type info is provided. Read more
    source§

    fn type_info() -> Type<MetaForm>

    Returns the static type identifier for Self.
    source§

    impl Copy for Error

    source§

    impl EncodeLike<Error> for Error

    source§

    impl Eq for Error

    source§

    impl StructuralEq for Error

    source§

    impl StructuralPartialEq for Error

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl UnwindSafe for Error

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere diff --git a/doc/xcm_builder/test_utils/opaque/enum.XcmError.html b/doc/xcm_builder/test_utils/opaque/enum.XcmError.html index 2a83ee465854..77322e694267 100644 --- a/doc/xcm_builder/test_utils/opaque/enum.XcmError.html +++ b/doc/xcm_builder/test_utils/opaque/enum.XcmError.html @@ -101,7 +101,7 @@ __codec_dest_edqy: &mut __CodecOutputEdqy )where __CodecOutputEdqy: Output + ?Sized,

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    §

    impl From<Error> for Error

    §

    fn from(e: Error) -> Error

    Converts to this type from the input type.
    §

    impl From<LockError> for Error

    §

    fn from(e: LockError) -> Error

    Converts to this type from the input type.
    source§

    impl From<SendError> for Error

    source§

    fn from(e: SendError) -> Error

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for Error

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl PartialEq<Error> for Error

    source§

    fn eq(&self, other: &Error) -> bool

    This method tests for self and other values to be equal, and is used + F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<Error> for Error

    source§

    fn from(e: Error) -> Error

    Converts to this type from the input type.
    source§

    impl From<LockError> for Error

    source§

    fn from(e: LockError) -> Error

    Converts to this type from the input type.
    source§

    impl From<SendError> for Error

    source§

    fn from(e: SendError) -> Error

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for Error

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl PartialEq<Error> for Error

    source§

    fn eq(&self, other: &Error) -> 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 TryFrom<Error> for Error

    §

    type Error = ()

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

    fn try_from(old_error: Error) -> Result<Error, ()>

    Performs the conversion.
    source§

    impl TypeInfo for Error

    §

    type Identity = Error

    The type identifying for which type info is provided. Read more
    source§

    fn type_info() -> Type<MetaForm>

    Returns the static type identifier for Self.
    source§

    impl Copy for Error

    source§

    impl EncodeLike<Error> for Error

    source§

    impl Eq for Error

    source§

    impl StructuralEq for Error

    source§

    impl StructuralPartialEq for Error

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl UnwindSafe for Error

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere diff --git a/doc/xcm_builder/test_utils/opaque/struct.MultiAsset.html b/doc/xcm_builder/test_utils/opaque/struct.MultiAsset.html index 7d21b19be8d8..18b38f850a45 100644 --- a/doc/xcm_builder/test_utils/opaque/struct.MultiAsset.html +++ b/doc/xcm_builder/test_utils/opaque/struct.MultiAsset.html @@ -37,7 +37,7 @@ __CodecOutputEdqy: Output + ?Sized,

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl<A, B> From<(A, B)> for MultiAssetwhere A: Into<AssetId>, - B: Into<Fungibility>,

    source§

    fn from(_: (A, B)) -> MultiAsset

    Converts to this type from the input type.
    §

    impl From<MultiAsset> for Assets

    §

    fn from(asset: MultiAsset) -> Assets

    Converts to this type from the input type.
    source§

    impl From<MultiAsset> for MultiAssetFilter

    source§

    fn from(x: MultiAsset) -> MultiAssetFilter

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for MultiAsset

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for MultiAsset

    source§

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

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

    fn max(self, other: Self) -> Selfwhere + B: Into<Fungibility>,

    source§

    fn from(_: (A, B)) -> MultiAsset

    Converts to this type from the input type.
    source§

    impl From<MultiAsset> for Assets

    source§

    fn from(asset: MultiAsset) -> Assets

    Converts to this type from the input type.
    source§

    impl From<MultiAsset> for MultiAssetFilter

    source§

    fn from(x: MultiAsset) -> MultiAssetFilter

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for MultiAsset

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for MultiAsset

    source§

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

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

    fn max(self, other: Self) -> Selfwhere Self: Sized,

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

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

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

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

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

    impl PartialEq<MultiAsset> for MultiAsset

    source§

    fn eq(&self, other: &MultiAsset) -> bool

    This method tests for self and other values to be equal, and is used diff --git a/doc/xcm_builder/test_utils/opaque/struct.MultiAssets.html b/doc/xcm_builder/test_utils/opaque/struct.MultiAssets.html index d1eb0a874d6a..993f35c0e9c7 100644 --- a/doc/xcm_builder/test_utils/opaque/struct.MultiAssets.html +++ b/doc/xcm_builder/test_utils/opaque/struct.MultiAssets.html @@ -52,7 +52,7 @@ __codec_dest_edqy: &mut __CodecOutputEdqy )where __CodecOutputEdqy: Output + ?Sized,

    Convert self to a slice and append it to the destination.
    source§

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    source§

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    §

    impl From<Assets> for MultiAssets

    §

    fn from(a: Assets) -> MultiAssets

    Converts to this type from the input type.
    §

    impl From<MultiAssets> for Assets

    §

    fn from(assets: MultiAssets) -> Assets

    Converts to this type from the input type.
    source§

    impl From<MultiAssets> for MultiAssetFilter

    source§

    fn from(x: MultiAssets) -> MultiAssetFilter

    Converts to this type from the input type.
    source§

    impl<T> From<T> for MultiAssetswhere + F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<Assets> for MultiAssets

    source§

    fn from(a: Assets) -> MultiAssets

    Converts to this type from the input type.
    source§

    impl From<MultiAssets> for Assets

    source§

    fn from(assets: MultiAssets) -> Assets

    Converts to this type from the input type.
    source§

    impl From<MultiAssets> for MultiAssetFilter

    source§

    fn from(x: MultiAssets) -> MultiAssetFilter

    Converts to this type from the input type.
    source§

    impl<T> From<T> for MultiAssetswhere T: Into<MultiAsset>,

    source§

    fn from(x: T) -> MultiAssets

    Converts to this type from the input type.
    source§

    impl From<Vec<MultiAsset, Global>> for MultiAssets

    source§

    fn from(assets: Vec<MultiAsset, Global>) -> MultiAssets

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for MultiAssets

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for MultiAssets

    source§

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

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

    fn max(self, other: Self) -> Selfwhere Self: Sized,

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

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

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

    fn clamp(self, min: Self, max: Self) -> Selfwhere diff --git a/doc/xcm_builder/test_utils/opaque/trait.ExecuteXcm.html b/doc/xcm_builder/test_utils/opaque/trait.ExecuteXcm.html index d7d4a43844b4..1fe10f459bd4 100644 --- a/doc/xcm_builder/test_utils/opaque/trait.ExecuteXcm.html +++ b/doc/xcm_builder/test_utils/opaque/trait.ExecuteXcm.html @@ -79,15 +79,15 @@ ) -> Outcome

    source§

    fn charge_fees( _location: impl Into<MultiLocation>, _fees: MultiAssets -) -> Result<(), Error>

    §

    impl<Config> ExecuteXcm<<Config as Config>::RuntimeCall> for XcmExecutor<Config>where - Config: Config,

    §

    type Prepared = WeighedMessage<<Config as Config>::RuntimeCall>

    §

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

    source§

    impl<Config> ExecuteXcm<<Config as Config>::RuntimeCall> for XcmExecutor<Config>where + Config: Config,

    §

    type Prepared = WeighedMessage<<Config as Config>::RuntimeCall>

    source§

    fn prepare( message: Xcm<<Config as Config>::RuntimeCall> -) -> Result<<XcmExecutor<Config> as ExecuteXcm<<Config as Config>::RuntimeCall>>::Prepared, Xcm<<Config as Config>::RuntimeCall>>

    §

    fn execute( +) -> Result<<XcmExecutor<Config> as ExecuteXcm<<Config as Config>::RuntimeCall>>::Prepared, Xcm<<Config as Config>::RuntimeCall>>

    source§

    fn execute( origin: impl Into<MultiLocation>, - _: WeighedMessage<<Config as Config>::RuntimeCall>, + _: WeighedMessage<<Config as Config>::RuntimeCall>, id: &mut [u8; 32], weight_credit: Weight -) -> Outcome

    §

    fn charge_fees( +) -> Outcome

    source§

    fn charge_fees( origin: impl Into<MultiLocation>, fees: MultiAssets ) -> Result<(), Error>

    Implementors§

    \ No newline at end of file diff --git a/doc/xcm_builder/test_utils/opaque/trait.PreparedMessage.html b/doc/xcm_builder/test_utils/opaque/trait.PreparedMessage.html index 6f1a05705dc2..ff4fec32a71a 100644 --- a/doc/xcm_builder/test_utils/opaque/trait.PreparedMessage.html +++ b/doc/xcm_builder/test_utils/opaque/trait.PreparedMessage.html @@ -1,4 +1,4 @@ PreparedMessage in xcm_builder::test_utils::opaque - Rust
    pub trait PreparedMessage {
         // Required method
         fn weight_of(&self) -> Weight;
    -}

    Required Methods§

    source

    fn weight_of(&self) -> Weight

    Implementations on Foreign Types§

    §

    impl<C> PreparedMessage for WeighedMessage<C>

    §

    fn weight_of(&self) -> Weight

    Implementors§

    \ No newline at end of file +}

    Required Methods§

    source

    fn weight_of(&self) -> Weight

    Implementations on Foreign Types§

    source§

    impl<C> PreparedMessage for WeighedMessage<C>

    source§

    fn weight_of(&self) -> Weight

    Implementors§

    \ No newline at end of file diff --git a/doc/xcm_builder/test_utils/opaque/trait.SendXcm.html b/doc/xcm_builder/test_utils/opaque/trait.SendXcm.html index 8a6ce3ef804f..4100fbaeb26f 100644 --- a/doc/xcm_builder/test_utils/opaque/trait.SendXcm.html +++ b/doc/xcm_builder/test_utils/opaque/trait.SendXcm.html @@ -700,4 +700,4 @@

    Example

    message: &mut Option<Xcm<()>> ) -> Result<(<(TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4) as SendXcm>::Ticket, MultiAssets), SendError>
    source§

    fn deliver( one_ticket: <(TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4) as SendXcm>::Ticket -) -> Result<[u8; 32], SendError>

    Implementors§

    source§

    impl<Bridges: ExporterFor, Router: SendXcm, UniversalLocation: Get<InteriorMultiLocation>> SendXcm for SovereignPaidRemoteExporter<Bridges, Router, UniversalLocation>

    §

    type Ticket = <Router as SendXcm>::Ticket

    source§

    impl<Bridges: ExporterFor, Router: SendXcm, UniversalLocation: Get<InteriorMultiLocation>> SendXcm for UnpaidRemoteExporter<Bridges, Router, UniversalLocation>

    §

    type Ticket = <Router as SendXcm>::Ticket

    source§

    impl<Exporter: ExportXcm, UniversalLocation: Get<InteriorMultiLocation>> SendXcm for UnpaidLocalExporter<Exporter, UniversalLocation>

    §

    type Ticket = <Exporter as ExportXcm>::Ticket

    source§

    impl<Inner: SendXcm> SendXcm for WithUniqueTopic<Inner>

    §

    type Ticket = (<Inner as SendXcm>::Ticket, [u8; 32])

    source§

    impl<Inner: SendXcm, TopicSource: SourceTopic> SendXcm for WithTopicSource<Inner, TopicSource>

    §

    type Ticket = (<Inner as SendXcm>::Ticket, [u8; 32])

    \ No newline at end of file +) -> Result<[u8; 32], SendError>

    Implementors§

    source§

    impl<Bridges: ExporterFor, Router: SendXcm, UniversalLocation: Get<InteriorMultiLocation>> SendXcm for SovereignPaidRemoteExporter<Bridges, Router, UniversalLocation>

    §

    type Ticket = <Router as SendXcm>::Ticket

    source§

    impl<Bridges: ExporterFor, Router: SendXcm, UniversalLocation: Get<InteriorMultiLocation>> SendXcm for UnpaidRemoteExporter<Bridges, Router, UniversalLocation>

    §

    type Ticket = <Router as SendXcm>::Ticket

    source§

    impl<Exporter: ExportXcm, UniversalLocation: Get<InteriorMultiLocation>> SendXcm for UnpaidLocalExporter<Exporter, UniversalLocation>

    §

    type Ticket = <Exporter as ExportXcm>::Ticket

    source§

    impl<Inner: SendXcm> SendXcm for WithUniqueTopic<Inner>

    §

    type Ticket = (<Inner as SendXcm>::Ticket, [u8; 32])

    source§

    impl<Inner: SendXcm, TopicSource: SourceTopic> SendXcm for WithTopicSource<Inner, TopicSource>

    §

    type Ticket = (<Inner as SendXcm>::Ticket, [u8; 32])

    \ No newline at end of file diff --git a/doc/xcm_builder/test_utils/struct.Assets.html b/doc/xcm_builder/test_utils/struct.Assets.html index 49236cb8edb4..4844db5748b2 100644 --- a/doc/xcm_builder/test_utils/struct.Assets.html +++ b/doc/xcm_builder/test_utils/struct.Assets.html @@ -1,27 +1,27 @@ -Assets in xcm_builder::test_utils - Rust
    pub struct Assets {
    +Assets in xcm_builder::test_utils - Rust
    pub struct Assets {
         pub fungible: BTreeMap<AssetId, u128, Global>,
         pub non_fungible: BTreeSet<(AssetId, AssetInstance), Global>,
     }
    Expand description

    List of non-wildcard fungible and non-fungible assets.

    Fields§

    §fungible: BTreeMap<AssetId, u128, Global>

    The fungible assets.

    §non_fungible: BTreeSet<(AssetId, AssetInstance), Global>

    The non-fungible assets.

    -

    Implementations§

    §

    impl Assets

    pub fn new() -> Assets

    New value, containing no assets.

    -

    pub fn len(&self) -> usize

    Total number of distinct assets.

    -

    pub fn is_empty(&self) -> bool

    Returns true if self contains no assets.

    -

    pub fn fungible_assets_iter(&self) -> impl Iterator<Item = MultiAsset>

    A borrowing iterator over the fungible assets.

    -

    pub fn non_fungible_assets_iter(&self) -> impl Iterator<Item = MultiAsset>

    A borrowing iterator over the non-fungible assets.

    -

    pub fn into_assets_iter(self) -> impl Iterator<Item = MultiAsset>

    A consuming iterator over all assets.

    -

    pub fn assets_iter(&self) -> impl Iterator<Item = MultiAsset>

    A borrowing iterator over all assets.

    -

    pub fn subsume_assets(&mut self, assets: Assets)

    Mutate self to contain all given assets, saturating if necessary.

    +

    Implementations§

    source§

    impl Assets

    source

    pub fn new() -> Assets

    New value, containing no assets.

    +
    source

    pub fn len(&self) -> usize

    Total number of distinct assets.

    +
    source

    pub fn is_empty(&self) -> bool

    Returns true if self contains no assets.

    +
    source

    pub fn fungible_assets_iter(&self) -> impl Iterator<Item = MultiAsset>

    A borrowing iterator over the fungible assets.

    +
    source

    pub fn non_fungible_assets_iter(&self) -> impl Iterator<Item = MultiAsset>

    A borrowing iterator over the non-fungible assets.

    +
    source

    pub fn into_assets_iter(self) -> impl Iterator<Item = MultiAsset>

    A consuming iterator over all assets.

    +
    source

    pub fn assets_iter(&self) -> impl Iterator<Item = MultiAsset>

    A borrowing iterator over all assets.

    +
    source

    pub fn subsume_assets(&mut self, assets: Assets)

    Mutate self to contain all given assets, saturating if necessary.

    NOTE: Assets are always sorted, allowing us to optimize this function from O(n^2) to O(n).

    -

    pub fn subsume(&mut self, asset: MultiAsset)

    Mutate self to contain the given asset, saturating if necessary.

    +
    source

    pub fn subsume(&mut self, asset: MultiAsset)

    Mutate self to contain the given asset, saturating if necessary.

    Wildcard values of asset do nothing.

    -

    pub fn swapped(&mut self, with: Assets) -> Assets

    Swaps two mutable Assets, without deinitializing either one.

    -

    pub fn prepend_location(&mut self, prepend: &MultiLocation)

    Alter any concretely identified assets by prepending the given MultiLocation.

    +
    source

    pub fn swapped(&mut self, with: Assets) -> Assets

    Swaps two mutable Assets, without deinitializing either one.

    +
    source

    pub fn prepend_location(&mut self, prepend: &MultiLocation)

    Alter any concretely identified assets by prepending the given MultiLocation.

    WARNING: For now we consider this infallible and swallow any errors. It is thus the caller’s responsibility to ensure that any internal asset IDs are able to be prepended without overflow.

    -

    pub fn reanchor( +

    source

    pub fn reanchor( &mut self, target: &MultiLocation, context: Junctions, @@ -29,22 +29,22 @@ )

    Mutate the assets to be interpreted as the same assets from the perspective of a target chain. The local chain’s context is provided.

    Any assets which were unable to be reanchored are introduced into failed_bin.

    -

    pub fn contains_asset(&self, asset: &MultiAsset) -> bool

    Returns true if asset is contained within self.

    -

    pub fn contains_assets(&self, assets: &MultiAssets) -> bool

    Returns true if all assets are contained within self.

    -

    pub fn contains(&self, assets: &Assets) -> bool

    Returns true if all assets are contained within self.

    -

    pub fn ensure_contains(&self, assets: &MultiAssets) -> Result<(), TakeError>

    Returns an error unless all assets are contained in self. In the case of an error, the +

    source

    pub fn contains_asset(&self, asset: &MultiAsset) -> bool

    Returns true if asset is contained within self.

    +
    source

    pub fn contains_assets(&self, assets: &MultiAssets) -> bool

    Returns true if all assets are contained within self.

    +
    source

    pub fn contains(&self, assets: &Assets) -> bool

    Returns true if all assets are contained within self.

    +
    source

    pub fn ensure_contains(&self, assets: &MultiAssets) -> Result<(), TakeError>

    Returns an error unless all assets are contained in self. In the case of an error, the first asset in assets which is not wholly in self is returned.

    -

    pub fn saturating_take(&mut self, asset: MultiAssetFilter) -> Assets

    Mutates self to its original value less mask and returns true iff it contains at least +

    source

    pub fn saturating_take(&mut self, asset: MultiAssetFilter) -> Assets

    Mutates self to its original value less mask and returns true iff it contains at least mask.

    Returns Ok with the non-wildcard equivalence of mask taken and mutates self to its value minus mask if self contains asset, and return Err otherwise.

    -

    pub fn try_take(&mut self, mask: MultiAssetFilter) -> Result<Assets, TakeError>

    Mutates self to its original value less mask and returns true iff it contains at least +

    source

    pub fn try_take(&mut self, mask: MultiAssetFilter) -> Result<Assets, TakeError>

    Mutates self to its original value less mask and returns true iff it contains at least mask.

    Returns Ok with the non-wildcard equivalence of asset taken and mutates self to its value minus asset if self contains asset, and return Err otherwise.

    -

    pub fn checked_sub(self, asset: MultiAsset) -> Result<Assets, Assets>

    Consumes self and returns its original value excluding asset iff it contains at least +

    source

    pub fn checked_sub(self, asset: MultiAsset) -> Result<Assets, Assets>

    Consumes self and returns its original value excluding asset iff it contains at least asset.

    -

    pub fn min(&self, mask: &MultiAssetFilter) -> Assets

    Return the assets in self, but (asset-wise) of no greater value than mask.

    +
    source

    pub fn min(&self, mask: &MultiAssetFilter) -> Assets

    Return the assets in self, but (asset-wise) of no greater value than mask.

    The number of unique assets which are returned will respect the count parameter in the counted wildcard variants of mask.

    Example:

    @@ -58,9 +58,9 @@ assert_eq!(assets_we_can_trade.into_assets_iter().collect::<Vec<_>>(), vec![ (Here, 100).into(), ([0; 32], 50).into(), ]);
    -

    Trait Implementations§

    §

    impl Clone for Assets

    §

    fn clone(&self) -> Assets

    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 Assets

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Assets

    §

    fn default() -> Assets

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

    impl From<Assets> for MultiAssets

    §

    fn from(a: Assets) -> MultiAssets

    Converts to this type from the input type.
    §

    impl From<Assets> for Vec<MultiAsset, Global>

    §

    fn from(a: Assets) -> Vec<MultiAsset, Global>

    Converts to this type from the input type.
    §

    impl From<MultiAsset> for Assets

    §

    fn from(asset: MultiAsset) -> Assets

    Converts to this type from the input type.
    §

    impl From<MultiAssets> for Assets

    §

    fn from(assets: MultiAssets) -> Assets

    Converts to this type from the input type.
    §

    impl From<Vec<MultiAsset, Global>> for Assets

    §

    fn from(assets: Vec<MultiAsset, Global>) -> Assets

    Converts to this type from the input type.
    §

    impl PartialEq<Assets> for Assets

    §

    fn eq(&self, other: &Assets) -> bool

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

    Trait Implementations§

    source§

    impl Clone for Assets

    source§

    fn clone(&self) -> Assets

    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 Assets

    source§

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

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

    impl Default for Assets

    source§

    fn default() -> Assets

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

    impl From<Assets> for MultiAssets

    source§

    fn from(a: Assets) -> MultiAssets

    Converts to this type from the input type.
    source§

    impl From<Assets> for Vec<MultiAsset, Global>

    source§

    fn from(a: Assets) -> Vec<MultiAsset, Global>

    Converts to this type from the input type.
    source§

    impl From<MultiAsset> for Assets

    source§

    fn from(asset: MultiAsset) -> Assets

    Converts to this type from the input type.
    source§

    impl From<MultiAssets> for Assets

    source§

    fn from(assets: MultiAssets) -> Assets

    Converts to this type from the input type.
    source§

    impl From<Vec<MultiAsset, Global>> for Assets

    source§

    fn from(assets: Vec<MultiAsset, Global>) -> Assets

    Converts to this type from the input type.
    source§

    impl PartialEq<Assets> for Assets

    source§

    fn eq(&self, other: &Assets) -> 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 Eq for Assets

    §

    impl StructuralEq for Assets

    §

    impl StructuralPartialEq for Assets

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

    source§

    impl Eq for Assets

    source§

    impl StructuralEq for Assets

    source§

    impl StructuralPartialEq for Assets

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    const: unstable · source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    const: unstable · source§

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

    Mutably borrows from an owned value. Read more
    §

    impl<T> CheckedConversion for T

    §

    fn checked_from<T>(t: T) -> Option<Self>where diff --git a/doc/xcm_builder/test_utils/struct.MultiAsset.html b/doc/xcm_builder/test_utils/struct.MultiAsset.html index 3391a09571e3..d4465a6840e0 100644 --- a/doc/xcm_builder/test_utils/struct.MultiAsset.html +++ b/doc/xcm_builder/test_utils/struct.MultiAsset.html @@ -37,7 +37,7 @@ __CodecOutputEdqy: Output + ?Sized,

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl<A, B> From<(A, B)> for MultiAssetwhere A: Into<AssetId>, - B: Into<Fungibility>,

    source§

    fn from(_: (A, B)) -> MultiAsset

    Converts to this type from the input type.
    §

    impl From<MultiAsset> for Assets

    §

    fn from(asset: MultiAsset) -> Assets

    Converts to this type from the input type.
    source§

    impl From<MultiAsset> for MultiAssetFilter

    source§

    fn from(x: MultiAsset) -> MultiAssetFilter

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for MultiAsset

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for MultiAsset

    source§

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

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

    fn max(self, other: Self) -> Selfwhere + B: Into<Fungibility>,

    source§

    fn from(_: (A, B)) -> MultiAsset

    Converts to this type from the input type.
    source§

    impl From<MultiAsset> for Assets

    source§

    fn from(asset: MultiAsset) -> Assets

    Converts to this type from the input type.
    source§

    impl From<MultiAsset> for MultiAssetFilter

    source§

    fn from(x: MultiAsset) -> MultiAssetFilter

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for MultiAsset

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for MultiAsset

    source§

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

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

    fn max(self, other: Self) -> Selfwhere Self: Sized,

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

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

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

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

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

    impl PartialEq<MultiAsset> for MultiAsset

    source§

    fn eq(&self, other: &MultiAsset) -> bool

    This method tests for self and other values to be equal, and is used diff --git a/doc/xcm_builder/test_utils/struct.MultiAssets.html b/doc/xcm_builder/test_utils/struct.MultiAssets.html index 4c619f2423cd..ee6fde13cfff 100644 --- a/doc/xcm_builder/test_utils/struct.MultiAssets.html +++ b/doc/xcm_builder/test_utils/struct.MultiAssets.html @@ -52,7 +52,7 @@ __codec_dest_edqy: &mut __CodecOutputEdqy )where __CodecOutputEdqy: Output + ?Sized,
    Convert self to a slice and append it to the destination.
    source§

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    source§

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    §

    impl From<Assets> for MultiAssets

    §

    fn from(a: Assets) -> MultiAssets

    Converts to this type from the input type.
    §

    impl From<MultiAssets> for Assets

    §

    fn from(assets: MultiAssets) -> Assets

    Converts to this type from the input type.
    source§

    impl From<MultiAssets> for MultiAssetFilter

    source§

    fn from(x: MultiAssets) -> MultiAssetFilter

    Converts to this type from the input type.
    source§

    impl<T> From<T> for MultiAssetswhere + F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<Assets> for MultiAssets

    source§

    fn from(a: Assets) -> MultiAssets

    Converts to this type from the input type.
    source§

    impl From<MultiAssets> for Assets

    source§

    fn from(assets: MultiAssets) -> Assets

    Converts to this type from the input type.
    source§

    impl From<MultiAssets> for MultiAssetFilter

    source§

    fn from(x: MultiAssets) -> MultiAssetFilter

    Converts to this type from the input type.
    source§

    impl<T> From<T> for MultiAssetswhere T: Into<MultiAsset>,

    source§

    fn from(x: T) -> MultiAssets

    Converts to this type from the input type.
    source§

    impl From<Vec<MultiAsset, Global>> for MultiAssets

    source§

    fn from(assets: Vec<MultiAsset, Global>) -> MultiAssets

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for MultiAssets

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for MultiAssets

    source§

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

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

    fn max(self, other: Self) -> Selfwhere Self: Sized,

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

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

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

    fn clamp(self, min: Self, max: Self) -> Selfwhere diff --git a/doc/xcm_builder/test_utils/struct.TestAssetTrap.html b/doc/xcm_builder/test_utils/struct.TestAssetTrap.html index 07991a2fadf2..cf18888e23b0 100644 --- a/doc/xcm_builder/test_utils/struct.TestAssetTrap.html +++ b/doc/xcm_builder/test_utils/struct.TestAssetTrap.html @@ -1,10 +1,10 @@ -TestAssetTrap in xcm_builder::test_utils - Rust
    pub struct TestAssetTrap;

    Trait Implementations§

    source§

    impl ClaimAssets for TestAssetTrap

    source§

    fn claim_assets( +TestAssetTrap in xcm_builder::test_utils - Rust
    pub struct TestAssetTrap;

    Trait Implementations§

    source§

    impl ClaimAssets for TestAssetTrap

    source§

    fn claim_assets( origin: &MultiLocation, ticket: &MultiLocation, what: &MultiAssets, _context: &XcmContext ) -> bool

    Claim any assets available to origin and return them in a single Assets value, together -with the weight used by this operation.
    source§

    impl DropAssets for TestAssetTrap

    source§

    fn drop_assets( +with the weight used by this operation.

    source§

    impl DropAssets for TestAssetTrap

    source§

    fn drop_assets( origin: &MultiLocation, assets: Assets, _context: &XcmContext diff --git a/doc/xcm_builder/test_utils/struct.TestSubscriptionService.html b/doc/xcm_builder/test_utils/struct.TestSubscriptionService.html index 57b01f493f0b..c0eb1271c9bd 100644 --- a/doc/xcm_builder/test_utils/struct.TestSubscriptionService.html +++ b/doc/xcm_builder/test_utils/struct.TestSubscriptionService.html @@ -1,10 +1,10 @@ -TestSubscriptionService in xcm_builder::test_utils - Rust
    pub struct TestSubscriptionService;

    Trait Implementations§

    source§

    impl VersionChangeNotifier for TestSubscriptionService

    source§

    fn start( +TestSubscriptionService in xcm_builder::test_utils - Rust
    pub struct TestSubscriptionService;

    Trait Implementations§

    source§

    impl VersionChangeNotifier for TestSubscriptionService

    source§

    fn start( location: &MultiLocation, query_id: QueryId, max_weight: Weight, _context: &XcmContext -) -> XcmResult

    Start notifying location should the XCM version of this chain change. Read more
    source§

    fn stop(location: &MultiLocation, _context: &XcmContext) -> XcmResult

    Stop notifying location should the XCM change. Returns an error if there is no existing -notification set up.
    source§

    fn is_subscribed(location: &MultiLocation) -> bool

    Return true if a location is subscribed to XCM version changes.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +) -> XcmResult

    Start notifying location should the XCM version of this chain change. Read more
    source§

    fn stop(location: &MultiLocation, _context: &XcmContext) -> XcmResult

    Stop notifying location should the XCM change. Returns an error if there is no existing +notification set up.
    source§

    fn is_subscribed(location: &MultiLocation) -> bool

    Return true if a location is subscribed to XCM version changes.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    const: unstable · source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    const: unstable · source§

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

    Mutably borrows from an owned value. Read more
    §

    impl<T> CheckedConversion for T

    §

    fn checked_from<T>(t: T) -> Option<Self>where diff --git a/doc/xcm_builder/test_utils/trait.AssetExchange.html b/doc/xcm_builder/test_utils/trait.AssetExchange.html index 50a2c34536d1..a94b92af44f7 100644 --- a/doc/xcm_builder/test_utils/trait.AssetExchange.html +++ b/doc/xcm_builder/test_utils/trait.AssetExchange.html @@ -1,4 +1,4 @@ -AssetExchange in xcm_builder::test_utils - Rust
    pub trait AssetExchange {
    +AssetExchange in xcm_builder::test_utils - Rust
    pub trait AssetExchange {
         // Required method
         fn exchange_asset(
             origin: Option<&MultiLocation>,
    @@ -7,7 +7,7 @@
             maximal: bool
         ) -> Result<Assets, Assets>;
     }
    Expand description

    A service for exchanging assets.

    -

    Required Methods§

    Required Methods§

    source

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, @@ -24,13 +24,13 @@

    Ok is returned along with the new set of assets which have been exchanged for give. At least want must be in the set. Some assets originally in give may also be in this set. In the case of returning an Err, then give is returned.

    -

    Implementations on Foreign Types§

    §

    impl<TupleElement0> AssetExchange for (TupleElement0,)where - TupleElement0: AssetExchange,

    Implementations on Foreign Types§

    source§

    impl<TupleElement0> AssetExchange for (TupleElement0,)where + TupleElement0: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -52,12 +52,12 @@ TupleElement18: AssetExchange, TupleElement19: AssetExchange, TupleElement20: AssetExchange, - TupleElement21: AssetExchange,

    §

    fn exchange_asset( + TupleElement21: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -66,19 +66,19 @@ TupleElement5: AssetExchange, TupleElement6: AssetExchange, TupleElement7: AssetExchange, - TupleElement8: AssetExchange,

    §

    fn exchange_asset( + TupleElement8: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1> AssetExchange for (TupleElement0, TupleElement1)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1> AssetExchange for (TupleElement0, TupleElement1)where TupleElement0: AssetExchange, - TupleElement1: AssetExchange,

    §

    fn exchange_asset( + TupleElement1: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -88,12 +88,12 @@ TupleElement6: AssetExchange, TupleElement7: AssetExchange, TupleElement8: AssetExchange, - TupleElement9: AssetExchange,

    §

    fn exchange_asset( + TupleElement9: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -104,12 +104,12 @@ TupleElement7: AssetExchange, TupleElement8: AssetExchange, TupleElement9: AssetExchange, - TupleElement10: AssetExchange,

    §

    fn exchange_asset( + TupleElement10: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -138,12 +138,12 @@ TupleElement25: AssetExchange, TupleElement26: AssetExchange, TupleElement27: AssetExchange, - TupleElement28: AssetExchange,

    §

    fn exchange_asset( + TupleElement28: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -157,12 +157,12 @@ TupleElement10: AssetExchange, TupleElement11: AssetExchange, TupleElement12: AssetExchange, - TupleElement13: AssetExchange,

    §

    fn exchange_asset( + TupleElement13: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -187,12 +187,12 @@ TupleElement21: AssetExchange, TupleElement22: AssetExchange, TupleElement23: AssetExchange, - TupleElement24: AssetExchange,

    §

    fn exchange_asset( + TupleElement24: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -222,12 +222,12 @@ TupleElement26: AssetExchange, TupleElement27: AssetExchange, TupleElement28: AssetExchange, - TupleElement29: AssetExchange,

    §

    fn exchange_asset( + TupleElement29: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -244,12 +244,12 @@ TupleElement13: AssetExchange, TupleElement14: AssetExchange, TupleElement15: AssetExchange, - TupleElement16: AssetExchange,

    §

    fn exchange_asset( + TupleElement16: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -267,12 +267,12 @@ TupleElement14: AssetExchange, TupleElement15: AssetExchange, TupleElement16: AssetExchange, - TupleElement17: AssetExchange,

    §

    fn exchange_asset( + TupleElement17: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -287,22 +287,22 @@ TupleElement11: AssetExchange, TupleElement12: AssetExchange, TupleElement13: AssetExchange, - TupleElement14: AssetExchange,

    §

    fn exchange_asset( + TupleElement14: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, TupleElement3: AssetExchange, - TupleElement4: AssetExchange,

    §

    fn exchange_asset( + TupleElement4: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -321,17 +321,17 @@ TupleElement15: AssetExchange, TupleElement16: AssetExchange, TupleElement17: AssetExchange, - TupleElement18: AssetExchange,

    §

    fn exchange_asset( + TupleElement18: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl AssetExchange for ()

    source§

    impl AssetExchange for ()

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -352,24 +352,24 @@ TupleElement17: AssetExchange, TupleElement18: AssetExchange, TupleElement19: AssetExchange, - TupleElement20: AssetExchange,

    §

    fn exchange_asset( + TupleElement20: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, TupleElement3: AssetExchange, TupleElement4: AssetExchange, TupleElement5: AssetExchange, - TupleElement6: AssetExchange,

    §

    fn exchange_asset( + TupleElement6: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -393,12 +393,12 @@ TupleElement20: AssetExchange, TupleElement21: AssetExchange, TupleElement22: AssetExchange, - TupleElement23: AssetExchange,

    §

    fn exchange_asset( + TupleElement23: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -411,12 +411,12 @@ TupleElement9: AssetExchange, TupleElement10: AssetExchange, TupleElement11: AssetExchange, - TupleElement12: AssetExchange,

    §

    fn exchange_asset( + TupleElement12: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -443,12 +443,12 @@ TupleElement23: AssetExchange, TupleElement24: AssetExchange, TupleElement25: AssetExchange, - TupleElement26: AssetExchange,

    §

    fn exchange_asset( + TupleElement26: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -471,21 +471,21 @@ TupleElement19: AssetExchange, TupleElement20: AssetExchange, TupleElement21: AssetExchange, - TupleElement22: AssetExchange,

    §

    fn exchange_asset( + TupleElement22: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, - TupleElement3: AssetExchange,

    §

    fn exchange_asset( + TupleElement3: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -511,20 +511,20 @@ TupleElement22: AssetExchange, TupleElement23: AssetExchange, TupleElement24: AssetExchange, - TupleElement25: AssetExchange,

    §

    fn exchange_asset( + TupleElement25: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2> AssetExchange for (TupleElement0, TupleElement1, TupleElement2)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2> AssetExchange for (TupleElement0, TupleElement1, TupleElement2)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, - TupleElement2: AssetExchange,

    §

    fn exchange_asset( + TupleElement2: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -544,12 +544,12 @@ TupleElement16: AssetExchange, TupleElement17: AssetExchange, TupleElement18: AssetExchange, - TupleElement19: AssetExchange,

    §

    fn exchange_asset( + TupleElement19: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -557,23 +557,23 @@ TupleElement4: AssetExchange, TupleElement5: AssetExchange, TupleElement6: AssetExchange, - TupleElement7: AssetExchange,

    §

    fn exchange_asset( + TupleElement7: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, TupleElement3: AssetExchange, TupleElement4: AssetExchange, - TupleElement5: AssetExchange,

    §

    fn exchange_asset( + TupleElement5: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -585,12 +585,12 @@ TupleElement8: AssetExchange, TupleElement9: AssetExchange, TupleElement10: AssetExchange, - TupleElement11: AssetExchange,

    §

    fn exchange_asset( + TupleElement11: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -606,12 +606,12 @@ TupleElement12: AssetExchange, TupleElement13: AssetExchange, TupleElement14: AssetExchange, - TupleElement15: AssetExchange,

    §

    fn exchange_asset( + TupleElement15: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, maximal: bool -) -> Result<Assets, Assets>

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27)where +) -> Result<Assets, Assets>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27> AssetExchange for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27)where TupleElement0: AssetExchange, TupleElement1: AssetExchange, TupleElement2: AssetExchange, @@ -639,7 +639,7 @@ TupleElement24: AssetExchange, TupleElement25: AssetExchange, TupleElement26: AssetExchange, - TupleElement27: AssetExchange,

    §

    fn exchange_asset( + TupleElement27: AssetExchange,

    source§

    fn exchange_asset( origin: Option<&MultiLocation>, give: Assets, want: &MultiAssets, diff --git a/doc/xcm_builder/test_utils/trait.AssetLock.html b/doc/xcm_builder/test_utils/trait.AssetLock.html index 04b625f49de1..95eda87150aa 100644 --- a/doc/xcm_builder/test_utils/trait.AssetLock.html +++ b/doc/xcm_builder/test_utils/trait.AssetLock.html @@ -1,4 +1,4 @@ -AssetLock in xcm_builder::test_utils - Rust
    pub trait AssetLock {
    +AssetLock in xcm_builder::test_utils - Rust
    pub trait AssetLock {
         type LockTicket: Enact;
         type UnlockTicket: Enact;
         type ReduceTicket: Enact;
    @@ -25,13 +25,13 @@
             owner: MultiLocation
         ) -> Result<Self::ReduceTicket, LockError>;
     }
    Expand description

    Define a handler for notification of an asset being locked and for the unlock instruction.

    -

    Required Associated Types§

    type LockTicket: Enact

    Enact implementer for prepare_lock. This type may be dropped safely to avoid doing the +

    Required Associated Types§

    source

    type LockTicket: Enact

    Enact implementer for prepare_lock. This type may be dropped safely to avoid doing the lock.

    -

    type UnlockTicket: Enact

    Enact implementer for prepare_unlock. This type may be dropped safely to avoid doing the +

    source

    type UnlockTicket: Enact

    Enact implementer for prepare_unlock. This type may be dropped safely to avoid doing the unlock.

    -

    type ReduceTicket: Enact

    Enact implementer for prepare_reduce_unlockable. This type may be dropped safely to +

    source

    type ReduceTicket: Enact

    Enact implementer for prepare_reduce_unlockable. This type may be dropped safely to avoid doing the unlock.

    -

    Required Methods§

    Required Methods§

    source

    fn prepare_lock( unlocker: MultiLocation, asset: MultiAsset, owner: MultiLocation @@ -39,7 +39,7 @@ to actually enact the lock.

    WARNING: Don’t call this with an undropped instance of Self::LockTicket or Self::UnlockTicket.

    -

    fn prepare_unlock( +

    source

    fn prepare_unlock( locker: MultiLocation, asset: MultiAsset, owner: MultiLocation @@ -47,7 +47,7 @@ used to actually enact the lock.

    WARNING: Don’t call this with an undropped instance of Self::LockTicket or Self::UnlockTicket.

    -

    fn note_unlockable( +

    source

    fn note_unlockable( locker: MultiLocation, asset: MultiAsset, owner: MultiLocation @@ -56,7 +56,7 @@

    If there is no way to handle the lock report, then this should return an error so that the sending chain can ensure the lock does not remain.

    We should only act upon this message if we believe that the origin is honest.

    -

    fn prepare_reduce_unlockable( +

    source

    fn prepare_reduce_unlockable( locker: MultiLocation, asset: MultiAsset, owner: MultiLocation @@ -64,19 +64,19 @@

    Returns a ticket which can be used to actually note the reduction in unlockable assets that owner commands on locker.

    WARNING: Don’t call this with an undropped instance of Self::ReduceTicket.

    -

    Implementations on Foreign Types§

    §

    impl AssetLock for ()

    Implementations on Foreign Types§

    source§

    impl AssetLock for ()

    §

    type LockTicket = Infallible

    §

    type UnlockTicket = Infallible

    §

    type ReduceTicket = Infallible

    source§

    fn prepare_lock( _: MultiLocation, _: MultiAsset, _: MultiLocation -) -> Result<<() as AssetLock>::LockTicket, LockError>

    §

    fn prepare_unlock( +) -> Result<<() as AssetLock>::LockTicket, LockError>

    source§

    fn prepare_unlock( _: MultiLocation, _: MultiAsset, _: MultiLocation -) -> Result<<() as AssetLock>::UnlockTicket, LockError>

    §

    fn note_unlockable( +) -> Result<<() as AssetLock>::UnlockTicket, LockError>

    source§

    fn note_unlockable( _: MultiLocation, _: MultiAsset, _: MultiLocation -) -> Result<(), LockError>

    §

    fn prepare_reduce_unlockable( +) -> Result<(), LockError>

    source§

    fn prepare_reduce_unlockable( _: MultiLocation, _: MultiAsset, _: MultiLocation diff --git a/doc/xcm_builder/test_utils/trait.Config.html b/doc/xcm_builder/test_utils/trait.Config.html index 3ab8bef5721c..1bf3c1599719 100644 --- a/doc/xcm_builder/test_utils/trait.Config.html +++ b/doc/xcm_builder/test_utils/trait.Config.html @@ -1,4 +1,4 @@ -Config in xcm_builder::test_utils - Rust
    pub trait Config {
    +Config in xcm_builder::test_utils - Rust
    pub trait Config {
     
    Show 24 associated items type RuntimeCall: Parameter + Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo; type XcmSender: SendXcm; type AssetTransactor: TransactAsset; @@ -7,54 +7,54 @@ type IsTeleporter: ContainsPair<MultiAsset, MultiLocation>; type Aliasers: ContainsPair<MultiLocation, MultiLocation>; type UniversalLocation: Get<Junctions>; - type Barrier: ShouldExecute; - type Weigher: WeightBounds<Self::RuntimeCall>; - type Trader: WeightTrader; + type Barrier: ShouldExecute; + type Weigher: WeightBounds<Self::RuntimeCall>; + type Trader: WeightTrader; type ResponseHandler: OnResponse; - type AssetTrap: DropAssets; + type AssetTrap: DropAssets; type AssetLocker: AssetLock; type AssetExchanger: AssetExchange; - type AssetClaims: ClaimAssets; - type SubscriptionService: VersionChangeNotifier; + type AssetClaims: ClaimAssets; + type SubscriptionService: VersionChangeNotifier; type PalletInstancesInfo: PalletsInfoAccess; type MaxAssetsIntoHolding: Get<u32>; - type FeeManager: FeeManager; - type MessageExporter: ExportXcm; + type FeeManager: FeeManager; + type MessageExporter: ExportXcm; type UniversalAliases: Contains<(MultiLocation, Junction)>; - type CallDispatcher: CallDispatcher<Self::RuntimeCall>; + type CallDispatcher: CallDispatcher<Self::RuntimeCall>; type SafeCallFilter: Contains<Self::RuntimeCall>;
    }
    Expand description

    The trait to parameterize the XcmExecutor.

    -

    Required Associated Types§

    type RuntimeCall: Parameter + Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo

    The outer call dispatch type.

    -

    type XcmSender: SendXcm

    How to send an onward XCM message.

    -

    type AssetTransactor: TransactAsset

    How to withdraw and deposit an asset.

    -

    type OriginConverter: ConvertOrigin<<Self::RuntimeCall as Dispatchable>::RuntimeOrigin>

    How to get a call origin from a OriginKind value.

    -

    type IsReserve: ContainsPair<MultiAsset, MultiLocation>

    Combinations of (Asset, Location) pairs which we trust as reserves.

    -

    type IsTeleporter: ContainsPair<MultiAsset, MultiLocation>

    Combinations of (Asset, Location) pairs which we trust as teleporters.

    -

    type Aliasers: ContainsPair<MultiLocation, MultiLocation>

    A list of (Origin, Target) pairs allowing a given Origin to be substituted with its +

    Required Associated Types§

    source

    type RuntimeCall: Parameter + Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo

    The outer call dispatch type.

    +
    source

    type XcmSender: SendXcm

    How to send an onward XCM message.

    +
    source

    type AssetTransactor: TransactAsset

    How to withdraw and deposit an asset.

    +
    source

    type OriginConverter: ConvertOrigin<<Self::RuntimeCall as Dispatchable>::RuntimeOrigin>

    How to get a call origin from a OriginKind value.

    +
    source

    type IsReserve: ContainsPair<MultiAsset, MultiLocation>

    Combinations of (Asset, Location) pairs which we trust as reserves.

    +
    source

    type IsTeleporter: ContainsPair<MultiAsset, MultiLocation>

    Combinations of (Asset, Location) pairs which we trust as teleporters.

    +
    source

    type Aliasers: ContainsPair<MultiLocation, MultiLocation>

    A list of (Origin, Target) pairs allowing a given Origin to be substituted with its corresponding Target pair.

    -

    type UniversalLocation: Get<Junctions>

    This chain’s Universal Location.

    -

    type Barrier: ShouldExecute

    Whether we should execute the given XCM at all.

    -

    type Weigher: WeightBounds<Self::RuntimeCall>

    The means of determining an XCM message’s weight.

    -

    type Trader: WeightTrader

    The means of purchasing weight credit for XCM execution.

    -

    type ResponseHandler: OnResponse

    What to do when a response of a query is found.

    -

    type AssetTrap: DropAssets

    The general asset trap - handler for when assets are left in the Holding Register at the +

    source

    type UniversalLocation: Get<Junctions>

    This chain’s Universal Location.

    +
    source

    type Barrier: ShouldExecute

    Whether we should execute the given XCM at all.

    +
    source

    type Weigher: WeightBounds<Self::RuntimeCall>

    The means of determining an XCM message’s weight.

    +
    source

    type Trader: WeightTrader

    The means of purchasing weight credit for XCM execution.

    +
    source

    type ResponseHandler: OnResponse

    What to do when a response of a query is found.

    +
    source

    type AssetTrap: DropAssets

    The general asset trap - handler for when assets are left in the Holding Register at the end of execution.

    -

    type AssetLocker: AssetLock

    Handler for asset locking.

    -

    type AssetExchanger: AssetExchange

    Handler for exchanging assets.

    -

    type AssetClaims: ClaimAssets

    The handler for when there is an instruction to claim assets.

    -

    type SubscriptionService: VersionChangeNotifier

    How we handle version subscription requests.

    -

    type PalletInstancesInfo: PalletsInfoAccess

    Information on all pallets.

    -

    type MaxAssetsIntoHolding: Get<u32>

    The maximum number of assets we target to have in the Holding Register at any one time.

    +
    source

    type AssetLocker: AssetLock

    Handler for asset locking.

    +
    source

    type AssetExchanger: AssetExchange

    Handler for exchanging assets.

    +
    source

    type AssetClaims: ClaimAssets

    The handler for when there is an instruction to claim assets.

    +
    source

    type SubscriptionService: VersionChangeNotifier

    How we handle version subscription requests.

    +
    source

    type PalletInstancesInfo: PalletsInfoAccess

    Information on all pallets.

    +
    source

    type MaxAssetsIntoHolding: Get<u32>

    The maximum number of assets we target to have in the Holding Register at any one time.

    NOTE: In the worse case, the Holding Register may contain up to twice as many assets as this and any benchmarks should take that into account.

    -

    type FeeManager: FeeManager

    Configure the fees.

    -

    type MessageExporter: ExportXcm

    The method of exporting a message.

    -

    type UniversalAliases: Contains<(MultiLocation, Junction)>

    The origin locations and specific universal junctions to which they are allowed to elevate +

    source

    type FeeManager: FeeManager

    Configure the fees.

    +
    source

    type MessageExporter: ExportXcm

    The method of exporting a message.

    +
    source

    type UniversalAliases: Contains<(MultiLocation, Junction)>

    The origin locations and specific universal junctions to which they are allowed to elevate themselves.

    -

    type CallDispatcher: CallDispatcher<Self::RuntimeCall>

    The call dispatcher used by XCM.

    +
    source

    type CallDispatcher: CallDispatcher<Self::RuntimeCall>

    The call dispatcher used by XCM.

    XCM will use this to dispatch any calls. When no special call dispatcher is required, this can be set to the same type as Self::Call.

    -

    type SafeCallFilter: Contains<Self::RuntimeCall>

    The safe call filter for Transact.

    +
    source

    type SafeCallFilter: Contains<Self::RuntimeCall>

    The safe call filter for Transact.

    Use this type to explicitly whitelist calls that cannot undergo recursion. This is a temporary measure until we properly account for proof size weights for XCM instructions.

    Implementors§

    \ No newline at end of file diff --git a/doc/xcm_builder/test_utils/trait.ConvertOrigin.html b/doc/xcm_builder/test_utils/trait.ConvertOrigin.html index 7f4397b986f3..b46a5a8131f2 100644 --- a/doc/xcm_builder/test_utils/trait.ConvertOrigin.html +++ b/doc/xcm_builder/test_utils/trait.ConvertOrigin.html @@ -1,4 +1,4 @@ -ConvertOrigin in xcm_builder::test_utils - Rust
    pub trait ConvertOrigin<Origin> {
    +ConvertOrigin in xcm_builder::test_utils - Rust
    pub trait ConvertOrigin<Origin> {
         // Required method
         fn convert_origin(
             origin: impl Into<MultiLocation>,
    @@ -38,11 +38,11 @@
     	<(BumpParaId, AcceptPara7) as ConvertOrigin<u32>>::convert_origin(origin, OriginKind::Native)
     		.is_ok()
     );
    -

    Required Methods§

    Required Methods§

    source

    fn convert_origin( origin: impl Into<MultiLocation>, kind: OriginKind ) -> Result<Origin, MultiLocation>

    Attempt to convert origin to the generic Origin whilst consuming it.

    -

    Implementations on Foreign Types§

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24)where +

    Implementations on Foreign Types§

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -67,10 +67,10 @@ TupleElement21: ConvertOrigin<O>, TupleElement22: ConvertOrigin<O>, TupleElement23: ConvertOrigin<O>, - TupleElement24: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement24: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -85,10 +85,10 @@ TupleElement11: ConvertOrigin<O>, TupleElement12: ConvertOrigin<O>, TupleElement13: ConvertOrigin<O>, - TupleElement14: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement14: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -97,14 +97,14 @@ TupleElement5: ConvertOrigin<O>, TupleElement6: ConvertOrigin<O>, TupleElement7: ConvertOrigin<O>, - TupleElement8: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement8: ConvertOrigin<O>,

    §

    impl<O, TupleElement0> ConvertOrigin<O> for (TupleElement0,)where - TupleElement0: ConvertOrigin<O>,

    source§

    impl<O, TupleElement0> ConvertOrigin<O> for (TupleElement0,)where + TupleElement0: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -121,10 +121,10 @@ TupleElement13: ConvertOrigin<O>, TupleElement14: ConvertOrigin<O>, TupleElement15: ConvertOrigin<O>, - TupleElement16: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement16: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -142,10 +142,10 @@ TupleElement14: ConvertOrigin<O>, TupleElement15: ConvertOrigin<O>, TupleElement16: ConvertOrigin<O>, - TupleElement17: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement17: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -153,10 +153,10 @@ TupleElement4: ConvertOrigin<O>, TupleElement5: ConvertOrigin<O>, TupleElement6: ConvertOrigin<O>, - TupleElement7: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement7: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -170,10 +170,10 @@ TupleElement10: ConvertOrigin<O>, TupleElement11: ConvertOrigin<O>, TupleElement12: ConvertOrigin<O>, - TupleElement13: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement13: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -194,10 +194,10 @@ TupleElement17: ConvertOrigin<O>, TupleElement18: ConvertOrigin<O>, TupleElement19: ConvertOrigin<O>, - TupleElement20: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement20: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -220,10 +220,10 @@ TupleElement19: ConvertOrigin<O>, TupleElement20: ConvertOrigin<O>, TupleElement21: ConvertOrigin<O>, - TupleElement22: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement22: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -252,16 +252,16 @@ TupleElement25: ConvertOrigin<O>, TupleElement26: ConvertOrigin<O>, TupleElement27: ConvertOrigin<O>, - TupleElement28: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement28: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, - TupleElement2: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement2: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -283,10 +283,10 @@ TupleElement18: ConvertOrigin<O>, TupleElement19: ConvertOrigin<O>, TupleElement20: ConvertOrigin<O>, - TupleElement21: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement21: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -298,15 +298,15 @@ TupleElement8: ConvertOrigin<O>, TupleElement9: ConvertOrigin<O>, TupleElement10: ConvertOrigin<O>, - TupleElement11: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement11: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1> ConvertOrigin<O> for (TupleElement0, TupleElement1)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1> ConvertOrigin<O> for (TupleElement0, TupleElement1)where TupleElement0: ConvertOrigin<O>, - TupleElement1: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement1: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -316,10 +316,10 @@ TupleElement6: ConvertOrigin<O>, TupleElement7: ConvertOrigin<O>, TupleElement8: ConvertOrigin<O>, - TupleElement9: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement9: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -338,10 +338,10 @@ TupleElement15: ConvertOrigin<O>, TupleElement16: ConvertOrigin<O>, TupleElement17: ConvertOrigin<O>, - TupleElement18: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement18: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -361,17 +361,17 @@ TupleElement16: ConvertOrigin<O>, TupleElement17: ConvertOrigin<O>, TupleElement18: ConvertOrigin<O>, - TupleElement19: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement19: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, - TupleElement3: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement3: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -401,20 +401,20 @@ TupleElement26: ConvertOrigin<O>, TupleElement27: ConvertOrigin<O>, TupleElement28: ConvertOrigin<O>, - TupleElement29: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement29: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, TupleElement3: ConvertOrigin<O>, TupleElement4: ConvertOrigin<O>, TupleElement5: ConvertOrigin<O>, - TupleElement6: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement6: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -438,19 +438,19 @@ TupleElement20: ConvertOrigin<O>, TupleElement21: ConvertOrigin<O>, TupleElement22: ConvertOrigin<O>, - TupleElement23: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement23: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, TupleElement3: ConvertOrigin<O>, TupleElement4: ConvertOrigin<O>, - TupleElement5: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement5: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -477,10 +477,10 @@ TupleElement23: ConvertOrigin<O>, TupleElement24: ConvertOrigin<O>, TupleElement25: ConvertOrigin<O>, - TupleElement26: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement26: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -491,10 +491,10 @@ TupleElement7: ConvertOrigin<O>, TupleElement8: ConvertOrigin<O>, TupleElement9: ConvertOrigin<O>, - TupleElement10: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement10: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -520,10 +520,10 @@ TupleElement22: ConvertOrigin<O>, TupleElement23: ConvertOrigin<O>, TupleElement24: ConvertOrigin<O>, - TupleElement25: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement25: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -536,21 +536,21 @@ TupleElement9: ConvertOrigin<O>, TupleElement10: ConvertOrigin<O>, TupleElement11: ConvertOrigin<O>, - TupleElement12: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement12: ConvertOrigin<O>,

    §

    impl<O> ConvertOrigin<O> for ()

    source§

    impl<O> ConvertOrigin<O> for ()

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, TupleElement3: ConvertOrigin<O>, - TupleElement4: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement4: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -578,10 +578,10 @@ TupleElement24: ConvertOrigin<O>, TupleElement25: ConvertOrigin<O>, TupleElement26: ConvertOrigin<O>, - TupleElement27: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement27: ConvertOrigin<O>,

    §

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15)where +) -> Result<O, MultiLocation>

    source§

    impl<O, TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15> ConvertOrigin<O> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15)where TupleElement0: ConvertOrigin<O>, TupleElement1: ConvertOrigin<O>, TupleElement2: ConvertOrigin<O>, @@ -597,10 +597,10 @@ TupleElement12: ConvertOrigin<O>, TupleElement13: ConvertOrigin<O>, TupleElement14: ConvertOrigin<O>, - TupleElement15: ConvertOrigin<O>,

    §

    fn convert_origin( + TupleElement15: ConvertOrigin<O>,

    Implementors§

    source§

    impl<LocationConverter: ConvertLocation<RuntimeOrigin::AccountId>, RuntimeOrigin: OriginTrait> ConvertOrigin<RuntimeOrigin> for SovereignSignedViaLocation<LocationConverter, RuntimeOrigin>where +) -> Result<O, MultiLocation>

    Implementors§

    source§

    impl<LocationConverter: ConvertLocation<RuntimeOrigin::AccountId>, RuntimeOrigin: OriginTrait> ConvertOrigin<RuntimeOrigin> for SovereignSignedViaLocation<LocationConverter, RuntimeOrigin>where RuntimeOrigin::AccountId: Clone,

    source§

    impl<Network: Get<Option<NetworkId>>, RuntimeOrigin: OriginTrait> ConvertOrigin<RuntimeOrigin> for SignedAccountId32AsNative<Network, RuntimeOrigin>where RuntimeOrigin::AccountId: From<[u8; 32]>,

    source§

    impl<Network: Get<Option<NetworkId>>, RuntimeOrigin: OriginTrait> ConvertOrigin<RuntimeOrigin> for SignedAccountKey20AsNative<Network, RuntimeOrigin>where RuntimeOrigin::AccountId: From<[u8; 20]>,

    source§

    impl<ParaId: IsSystem + From<u32>, RuntimeOrigin: OriginTrait> ConvertOrigin<RuntimeOrigin> for ChildSystemParachainAsSuperuser<ParaId, RuntimeOrigin>

    source§

    impl<ParaId: IsSystem + From<u32>, RuntimeOrigin: OriginTrait> ConvertOrigin<RuntimeOrigin> for SiblingSystemParachainAsSuperuser<ParaId, RuntimeOrigin>

    source§

    impl<ParachainOrigin: From<u32>, RuntimeOrigin: From<ParachainOrigin>> ConvertOrigin<RuntimeOrigin> for ChildParachainAsNative<ParachainOrigin, RuntimeOrigin>

    source§

    impl<ParachainOrigin: From<u32>, RuntimeOrigin: From<ParachainOrigin>> ConvertOrigin<RuntimeOrigin> for SiblingParachainAsNative<ParachainOrigin, RuntimeOrigin>

    source§

    impl<RelayOrigin: Get<RuntimeOrigin>, RuntimeOrigin> ConvertOrigin<RuntimeOrigin> for RelayChainAsNative<RelayOrigin, RuntimeOrigin>

    source§

    impl<RuntimeOrigin: OriginTrait> ConvertOrigin<RuntimeOrigin> for ParentAsSuperuser<RuntimeOrigin>

    \ No newline at end of file diff --git a/doc/xcm_builder/test_utils/trait.Enact.html b/doc/xcm_builder/test_utils/trait.Enact.html index 0ca93aa1bf64..111dd524455b 100644 --- a/doc/xcm_builder/test_utils/trait.Enact.html +++ b/doc/xcm_builder/test_utils/trait.Enact.html @@ -1,6 +1,6 @@ -Enact in xcm_builder::test_utils - Rust
    pub trait Enact {
    +Enact in xcm_builder::test_utils - Rust
    pub trait Enact {
         // Required method
         fn enact(self) -> Result<(), LockError>;
    -}

    Required Methods§

    fn enact(self) -> Result<(), LockError>

    Enact a lock. This should generally be infallible if called immediately after being +}

    Required Methods§

    source

    fn enact(self) -> Result<(), LockError>

    Enact a lock. This should generally be infallible if called immediately after being received.

    -

    Implementations on Foreign Types§

    §

    impl Enact for Infallible

    §

    fn enact(self) -> Result<(), LockError>

    Implementors§

    \ No newline at end of file +

    Implementations on Foreign Types§

    source§

    impl Enact for Infallible

    Implementors§

    \ No newline at end of file diff --git a/doc/xcm_builder/test_utils/trait.ExecuteXcm.html b/doc/xcm_builder/test_utils/trait.ExecuteXcm.html index cb86fcc643c7..8d97ff4c6d29 100644 --- a/doc/xcm_builder/test_utils/trait.ExecuteXcm.html +++ b/doc/xcm_builder/test_utils/trait.ExecuteXcm.html @@ -79,15 +79,15 @@ ) -> Outcome
    source§

    fn charge_fees( _location: impl Into<MultiLocation>, _fees: MultiAssets -) -> Result<(), Error>

    §

    impl<Config> ExecuteXcm<<Config as Config>::RuntimeCall> for XcmExecutor<Config>where - Config: Config,

    §

    type Prepared = WeighedMessage<<Config as Config>::RuntimeCall>

    §

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

    source§

    impl<Config> ExecuteXcm<<Config as Config>::RuntimeCall> for XcmExecutor<Config>where + Config: Config,

    §

    type Prepared = WeighedMessage<<Config as Config>::RuntimeCall>

    source§

    fn prepare( message: Xcm<<Config as Config>::RuntimeCall> -) -> Result<<XcmExecutor<Config> as ExecuteXcm<<Config as Config>::RuntimeCall>>::Prepared, Xcm<<Config as Config>::RuntimeCall>>

    §

    fn execute( +) -> Result<<XcmExecutor<Config> as ExecuteXcm<<Config as Config>::RuntimeCall>>::Prepared, Xcm<<Config as Config>::RuntimeCall>>

    source§

    fn execute( origin: impl Into<MultiLocation>, - _: WeighedMessage<<Config as Config>::RuntimeCall>, + _: WeighedMessage<<Config as Config>::RuntimeCall>, id: &mut [u8; 32], weight_credit: Weight -) -> Outcome

    §

    fn charge_fees( +) -> Outcome

    source§

    fn charge_fees( origin: impl Into<MultiLocation>, fees: MultiAssets ) -> Result<(), Error>

    Implementors§

    \ No newline at end of file diff --git a/doc/xcm_builder/test_utils/trait.OnResponse.html b/doc/xcm_builder/test_utils/trait.OnResponse.html index d00e3fc7fdf8..073585e275ce 100644 --- a/doc/xcm_builder/test_utils/trait.OnResponse.html +++ b/doc/xcm_builder/test_utils/trait.OnResponse.html @@ -1,4 +1,4 @@ -OnResponse in xcm_builder::test_utils - Rust
    pub trait OnResponse {
    +OnResponse in xcm_builder::test_utils - Rust
    pub trait OnResponse {
         // Required methods
         fn expecting_response(
             origin: &MultiLocation,
    @@ -14,13 +14,13 @@
             context: &XcmContext
         ) -> Weight;
     }
    Expand description

    Define what needs to be done upon receiving a query response.

    -

    Required Methods§

    Required Methods§

    source

    fn expecting_response( origin: &MultiLocation, query_id: u64, querier: Option<&MultiLocation> ) -> bool

    Returns true if we are expecting a response from origin for query query_id that was queried by querier.

    -

    fn on_response( +

    source

    fn on_response( origin: &MultiLocation, query_id: u64, querier: Option<&MultiLocation>, @@ -29,11 +29,11 @@ context: &XcmContext ) -> Weight

    Handler for receiving a response from origin relating to query_id initiated by querier.

    -

    Implementations on Foreign Types§

    §

    impl OnResponse for ()

    Implementations on Foreign Types§

    source§

    impl OnResponse for ()

    source§

    fn expecting_response( _origin: &MultiLocation, _query_id: u64, _querier: Option<&MultiLocation> -) -> bool

    §

    fn on_response( +) -> bool

    source§

    fn on_response( _origin: &MultiLocation, _query_id: u64, _querier: Option<&MultiLocation>, diff --git a/doc/xcm_builder/test_utils/trait.PreparedMessage.html b/doc/xcm_builder/test_utils/trait.PreparedMessage.html index ebbb55e68f42..84bebf654641 100644 --- a/doc/xcm_builder/test_utils/trait.PreparedMessage.html +++ b/doc/xcm_builder/test_utils/trait.PreparedMessage.html @@ -1,4 +1,4 @@ PreparedMessage in xcm_builder::test_utils - Rust
    pub trait PreparedMessage {
         // Required method
         fn weight_of(&self) -> Weight;
    -}

    Required Methods§

    source

    fn weight_of(&self) -> Weight

    Implementations on Foreign Types§

    §

    impl<C> PreparedMessage for WeighedMessage<C>

    §

    fn weight_of(&self) -> Weight

    Implementors§

    \ No newline at end of file +}

    Required Methods§

    source

    fn weight_of(&self) -> Weight

    Implementations on Foreign Types§

    source§

    impl<C> PreparedMessage for WeighedMessage<C>

    Implementors§

    \ No newline at end of file diff --git a/doc/xcm_builder/test_utils/trait.SendXcm.html b/doc/xcm_builder/test_utils/trait.SendXcm.html index e0c06b01f76c..5b57bdcb6c7f 100644 --- a/doc/xcm_builder/test_utils/trait.SendXcm.html +++ b/doc/xcm_builder/test_utils/trait.SendXcm.html @@ -700,4 +700,4 @@

    Example

    message: &mut Option<Xcm<()>> ) -> Result<(<(TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4) as SendXcm>::Ticket, MultiAssets), SendError>
    source§

    fn deliver( one_ticket: <(TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4) as SendXcm>::Ticket -) -> Result<[u8; 32], SendError>

    Implementors§

    source§

    impl<Bridges: ExporterFor, Router: SendXcm, UniversalLocation: Get<InteriorMultiLocation>> SendXcm for SovereignPaidRemoteExporter<Bridges, Router, UniversalLocation>

    §

    type Ticket = <Router as SendXcm>::Ticket

    source§

    impl<Bridges: ExporterFor, Router: SendXcm, UniversalLocation: Get<InteriorMultiLocation>> SendXcm for UnpaidRemoteExporter<Bridges, Router, UniversalLocation>

    §

    type Ticket = <Router as SendXcm>::Ticket

    source§

    impl<Exporter: ExportXcm, UniversalLocation: Get<InteriorMultiLocation>> SendXcm for UnpaidLocalExporter<Exporter, UniversalLocation>

    §

    type Ticket = <Exporter as ExportXcm>::Ticket

    source§

    impl<Inner: SendXcm> SendXcm for WithUniqueTopic<Inner>

    §

    type Ticket = (<Inner as SendXcm>::Ticket, [u8; 32])

    source§

    impl<Inner: SendXcm, TopicSource: SourceTopic> SendXcm for WithTopicSource<Inner, TopicSource>

    §

    type Ticket = (<Inner as SendXcm>::Ticket, [u8; 32])

    \ No newline at end of file +) -> Result<[u8; 32], SendError>

    Implementors§

    source§

    impl<Bridges: ExporterFor, Router: SendXcm, UniversalLocation: Get<InteriorMultiLocation>> SendXcm for SovereignPaidRemoteExporter<Bridges, Router, UniversalLocation>

    §

    type Ticket = <Router as SendXcm>::Ticket

    source§

    impl<Bridges: ExporterFor, Router: SendXcm, UniversalLocation: Get<InteriorMultiLocation>> SendXcm for UnpaidRemoteExporter<Bridges, Router, UniversalLocation>

    §

    type Ticket = <Router as SendXcm>::Ticket

    source§

    impl<Exporter: ExportXcm, UniversalLocation: Get<InteriorMultiLocation>> SendXcm for UnpaidLocalExporter<Exporter, UniversalLocation>

    §

    type Ticket = <Exporter as ExportXcm>::Ticket

    source§

    impl<Inner: SendXcm> SendXcm for WithUniqueTopic<Inner>

    §

    type Ticket = (<Inner as SendXcm>::Ticket, [u8; 32])

    source§

    impl<Inner: SendXcm, TopicSource: SourceTopic> SendXcm for WithTopicSource<Inner, TopicSource>

    §

    type Ticket = (<Inner as SendXcm>::Ticket, [u8; 32])

    \ No newline at end of file diff --git a/doc/xcm_builder/test_utils/trait.TransactAsset.html b/doc/xcm_builder/test_utils/trait.TransactAsset.html index 1d2450f3fb1e..2acc1fb23429 100644 --- a/doc/xcm_builder/test_utils/trait.TransactAsset.html +++ b/doc/xcm_builder/test_utils/trait.TransactAsset.html @@ -1,4 +1,4 @@ -TransactAsset in xcm_builder::test_utils - Rust
    pub trait TransactAsset {
    +TransactAsset in xcm_builder::test_utils - Rust
    pub trait TransactAsset {
         // Provided methods
         fn can_check_in(
             _origin: &MultiLocation,
    @@ -49,13 +49,13 @@
     

    Can be amalgamated as a tuple of items that implement this trait. In such executions, if any of the transactors returns Ok(()), then it will short circuit. Else, execution is passed to the next transactor.

    -

    Provided Methods§

    Provided Methods§

    source

    fn can_check_in( _origin: &MultiLocation, _what: &MultiAsset, _context: &XcmContext ) -> Result<(), Error>

    Ensure that check_in will do as expected.

    When composed as a tuple, all type-items are called and at least one must result in Ok.

    -

    fn check_in(_origin: &MultiLocation, _what: &MultiAsset, _context: &XcmContext)

    An asset has been teleported in from the given origin. This should do whatever housekeeping +

    source

    fn check_in(_origin: &MultiLocation, _what: &MultiAsset, _context: &XcmContext)

    An asset has been teleported in from the given origin. This should do whatever housekeeping is needed.

    NOTE: This will make only a best-effort at bookkeeping. The caller should ensure that can_check_in has returned with Ok in order to guarantee that this operation proceeds @@ -69,13 +69,13 @@

    When composed as a tuple, all type-items are called. It is up to the implementer that there exists no value for _what which can cause side-effects for more than one of the type-items.

    -

    fn can_check_out( +

    source

    fn can_check_out( _dest: &MultiLocation, _what: &MultiAsset, _context: &XcmContext ) -> Result<(), Error>

    Ensure that check_out will do as expected.

    When composed as a tuple, all type-items are called and at least one must result in Ok.

    -

    fn check_out(_dest: &MultiLocation, _what: &MultiAsset, _context: &XcmContext)

    An asset has been teleported out to the given destination. This should do whatever +

    source

    fn check_out(_dest: &MultiLocation, _what: &MultiAsset, _context: &XcmContext)

    An asset has been teleported out to the given destination. This should do whatever housekeeping is needed.

    Implementation note: In general this will do one of two things: On chains where the asset is native, it will increase the assets in a special “teleported” account so that a) @@ -86,13 +86,13 @@

    When composed as a tuple, all type-items are called. It is up to the implementer that there exists no value for _what which can cause side-effects for more than one of the type-items.

    -

    fn deposit_asset( +

    source

    fn deposit_asset( _what: &MultiAsset, _who: &MultiLocation, _context: &XcmContext ) -> Result<(), Error>

    Deposit the what asset into the account of who.

    Implementations should return XcmError::FailedToTransactAsset if deposit failed.

    -

    fn withdraw_asset( +

    source

    fn withdraw_asset( _what: &MultiAsset, _who: &MultiLocation, _maybe_context: Option<&XcmContext> @@ -102,7 +102,7 @@ outside of the context of a currently-executing XCM. An example will be the charge_fees method in the XCM executor.

    Implementations should return XcmError::FailedToTransactAsset if withdraw failed.

    -

    fn internal_transfer_asset( +

    source

    fn internal_transfer_asset( _asset: &MultiAsset, _from: &MultiLocation, _to: &MultiLocation, @@ -114,7 +114,7 @@

    Notes
    not be called directly. Most common API usages will instead call transfer_asset, which in turn has a default implementation that calls internal_transfer_asset. As such, please do not call this method directly unless you know what you’re doing.

    -

    fn transfer_asset( +

    source

    fn transfer_asset( asset: &MultiAsset, from: &MultiLocation, to: &MultiLocation, @@ -122,30 +122,30 @@

    Notes
    ) -> Result<Assets, Error>

    Move an asset from one location in to another location.

    Attempts to use internal_transfer_asset and if not available then falls back to using a two-part withdraw/deposit.

    -

    Implementations on Foreign Types§

    §

    impl<TupleElement0, TupleElement1> TransactAsset for (TupleElement0, TupleElement1)where +

    Implementations on Foreign Types§

    source§

    impl<TupleElement0, TupleElement1> TransactAsset for (TupleElement0, TupleElement1)where TupleElement0: TransactAsset, - TupleElement1: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -165,54 +165,54 @@
    Notes
    TupleElement16: TransactAsset, TupleElement17: TransactAsset, TupleElement18: TransactAsset, - TupleElement19: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, TupleElement3: TransactAsset, - TupleElement4: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -230,28 +230,28 @@
    Notes
    TupleElement14: TransactAsset, TupleElement15: TransactAsset, TupleElement16: TransactAsset, - TupleElement17: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -259,28 +259,28 @@
    Notes
    TupleElement4: TransactAsset, TupleElement5: TransactAsset, TupleElement6: TransactAsset, - TupleElement7: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -304,28 +304,28 @@
    Notes
    TupleElement20: TransactAsset, TupleElement21: TransactAsset, TupleElement22: TransactAsset, - TupleElement23: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -339,28 +339,28 @@
    Notes
    TupleElement10: TransactAsset, TupleElement11: TransactAsset, TupleElement12: TransactAsset, - TupleElement13: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -386,28 +386,28 @@
    Notes
    TupleElement22: TransactAsset, TupleElement23: TransactAsset, TupleElement24: TransactAsset, - TupleElement25: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -429,52 +429,52 @@
    Notes
    TupleElement18: TransactAsset, TupleElement19: TransactAsset, TupleElement20: TransactAsset, - TupleElement21: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2> TransactAsset for (TupleElement0, TupleElement1, TupleElement2)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2> TransactAsset for (TupleElement0, TupleElement1, TupleElement2)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, - TupleElement2: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -504,28 +504,28 @@
    Notes
    TupleElement26: TransactAsset, TupleElement27: TransactAsset, TupleElement28: TransactAsset, - TupleElement29: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -554,28 +554,28 @@
    Notes
    TupleElement25: TransactAsset, TupleElement26: TransactAsset, TupleElement27: TransactAsset, - TupleElement28: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -585,28 +585,28 @@
    Notes
    TupleElement6: TransactAsset, TupleElement7: TransactAsset, TupleElement8: TransactAsset, - TupleElement9: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -634,28 +634,28 @@
    Notes
    TupleElement24: TransactAsset, TupleElement25: TransactAsset, TupleElement26: TransactAsset, - TupleElement27: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -680,49 +680,49 @@
    Notes
    TupleElement21: TransactAsset, TupleElement22: TransactAsset, TupleElement23: TransactAsset, - TupleElement24: TransactAsset,

    §

    impl TransactAsset for ()

    source§

    impl TransactAsset for ()

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -738,28 +738,28 @@
    Notes
    TupleElement12: TransactAsset, TupleElement13: TransactAsset, TupleElement14: TransactAsset, - TupleElement15: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -770,28 +770,28 @@
    Notes
    TupleElement7: TransactAsset, TupleElement8: TransactAsset, TupleElement9: TransactAsset, - TupleElement10: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -803,28 +803,28 @@
    Notes
    TupleElement8: TransactAsset, TupleElement9: TransactAsset, TupleElement10: TransactAsset, - TupleElement11: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -841,28 +841,28 @@
    Notes
    TupleElement13: TransactAsset, TupleElement14: TransactAsset, TupleElement15: TransactAsset, - TupleElement16: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -889,50 +889,50 @@
    Notes
    TupleElement23: TransactAsset, TupleElement24: TransactAsset, TupleElement25: TransactAsset, - TupleElement26: TransactAsset,

    §

    impl<TupleElement0> TransactAsset for (TupleElement0,)where - TupleElement0: TransactAsset,

    source§

    impl<TupleElement0> TransactAsset for (TupleElement0,)where + TupleElement0: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -941,53 +941,53 @@
    Notes
    TupleElement5: TransactAsset, TupleElement6: TransactAsset, TupleElement7: TransactAsset, - TupleElement8: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, - TupleElement3: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -1006,28 +1006,28 @@
    Notes
    TupleElement15: TransactAsset, TupleElement16: TransactAsset, TupleElement17: TransactAsset, - TupleElement18: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -1048,55 +1048,55 @@
    Notes
    TupleElement17: TransactAsset, TupleElement18: TransactAsset, TupleElement19: TransactAsset, - TupleElement20: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, TupleElement3: TransactAsset, TupleElement4: TransactAsset, - TupleElement5: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -1119,56 +1119,56 @@
    Notes
    TupleElement19: TransactAsset, TupleElement20: TransactAsset, TupleElement21: TransactAsset, - TupleElement22: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, TupleElement3: TransactAsset, TupleElement4: TransactAsset, TupleElement5: TransactAsset, - TupleElement6: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -1181,28 +1181,28 @@
    Notes
    TupleElement9: TransactAsset, TupleElement10: TransactAsset, TupleElement11: TransactAsset, - TupleElement12: TransactAsset,

    §

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14)where +) -> Result<Assets, Error>

    source§

    impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14> TransactAsset for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14)where TupleElement0: TransactAsset, TupleElement1: TransactAsset, TupleElement2: TransactAsset, @@ -1217,25 +1217,25 @@
    Notes
    TupleElement11: TransactAsset, TupleElement12: TransactAsset, TupleElement13: TransactAsset, - TupleElement14: TransactAsset,

    Implementors§

    source§

    impl<Assets: Mutate<AccountId> + Transfer<AccountId>, Matcher: MatchesNonFungibles<Assets::CollectionId, Assets::ItemId>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone + Eq, CheckAsset: AssetChecking<Assets::CollectionId>, CheckingAccount: Get<Option<AccountId>>> TransactAsset for NonFungiblesAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>

    source§

    impl<Assets: Mutate<AccountId>, Matcher: MatchesFungibles<Assets::AssetId, Assets::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone> TransactAsset for FungiblesTransferAdapter<Assets, Matcher, AccountIdConverter, AccountId>

    source§

    impl<Assets: Mutate<AccountId>, Matcher: MatchesFungibles<Assets::AssetId, Assets::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone, CheckAsset: AssetChecking<Assets::AssetId>, CheckingAccount: Get<AccountId>> TransactAsset for FungiblesAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>

    source§

    impl<Assets: Mutate<AccountId>, Matcher: MatchesFungibles<Assets::AssetId, Assets::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone, CheckAsset: AssetChecking<Assets::AssetId>, CheckingAccount: Get<AccountId>> TransactAsset for FungiblesMutateAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>

    source§

    impl<Assets: Mutate<AccountId>, Matcher: MatchesNonFungibles<Assets::CollectionId, Assets::ItemId>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone + Eq, CheckAsset: AssetChecking<Assets::CollectionId>, CheckingAccount: Get<Option<AccountId>>> TransactAsset for NonFungiblesMutateAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>

    source§

    impl<Assets: Transfer<AccountId>, Matcher: MatchesNonFungibles<Assets::CollectionId, Assets::ItemId>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone> TransactAsset for NonFungiblesTransferAdapter<Assets, Matcher, AccountIdConverter, AccountId>

    source§

    impl<Currency: Currency<AccountId>, Matcher: MatchesFungible<Currency::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone, CheckedAccount: Get<Option<(AccountId, MintLocation)>>> TransactAsset for CurrencyAdapter<Currency, Matcher, AccountIdConverter, AccountId, CheckedAccount>

    \ No newline at end of file +) -> Result<Assets, Error>

    Implementors§

    source§

    impl<Assets: Mutate<AccountId> + Transfer<AccountId>, Matcher: MatchesNonFungibles<Assets::CollectionId, Assets::ItemId>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone + Eq, CheckAsset: AssetChecking<Assets::CollectionId>, CheckingAccount: Get<Option<AccountId>>> TransactAsset for NonFungiblesAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>

    source§

    impl<Assets: Mutate<AccountId>, Matcher: MatchesFungibles<Assets::AssetId, Assets::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone> TransactAsset for FungiblesTransferAdapter<Assets, Matcher, AccountIdConverter, AccountId>

    source§

    impl<Assets: Mutate<AccountId>, Matcher: MatchesFungibles<Assets::AssetId, Assets::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone, CheckAsset: AssetChecking<Assets::AssetId>, CheckingAccount: Get<AccountId>> TransactAsset for FungiblesAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>

    source§

    impl<Assets: Mutate<AccountId>, Matcher: MatchesFungibles<Assets::AssetId, Assets::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone, CheckAsset: AssetChecking<Assets::AssetId>, CheckingAccount: Get<AccountId>> TransactAsset for FungiblesMutateAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>

    source§

    impl<Assets: Mutate<AccountId>, Matcher: MatchesNonFungibles<Assets::CollectionId, Assets::ItemId>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone + Eq, CheckAsset: AssetChecking<Assets::CollectionId>, CheckingAccount: Get<Option<AccountId>>> TransactAsset for NonFungiblesMutateAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>

    source§

    impl<Assets: Transfer<AccountId>, Matcher: MatchesNonFungibles<Assets::CollectionId, Assets::ItemId>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone> TransactAsset for NonFungiblesTransferAdapter<Assets, Matcher, AccountIdConverter, AccountId>

    source§

    impl<Currency: Currency<AccountId>, Matcher: MatchesFungible<Currency::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Clone, CheckedAccount: Get<Option<(AccountId, MintLocation)>>> TransactAsset for CurrencyAdapter<Currency, Matcher, AccountIdConverter, AccountId, CheckedAccount>

    \ No newline at end of file diff --git a/doc/xcm_fuzzer/struct.ParaA.html b/doc/xcm_fuzzer/struct.ParaA.html index ebf1d9eb06b6..c6e943698848 100644 --- a/doc/xcm_fuzzer/struct.ParaA.html +++ b/doc/xcm_fuzzer/struct.ParaA.html @@ -1,9 +1,9 @@ ParaA in xcm_fuzzer - Rust

    Struct xcm_fuzzer::ParaA

    source ·
    pub struct ParaA;

    Trait Implementations§

    source§

    impl DmpMessageHandler for ParaA

    source§

    fn handle_dmp_messages( iter: impl Iterator<Item = (RelayBlockNumber, Vec<u8>)>, max_weight: Weight -) -> Weight

    Handle some incoming DMP messages (note these are individual XCM messages). Read more
    source§

    impl TestExt for ParaA

    source§

    fn new_ext() -> TestExternalities

    Initialize the test environment.
    source§

    fn reset_ext()

    Resets the state of the test environment.
    source§

    fn execute_without_dispatch<R>(execute: impl FnOnce() -> R) -> R

    Execute code in the context of the test externalities, without automatic +) -> Weight
    Handle some incoming DMP messages (note these are individual XCM messages). Read more
    source§

    impl TestExt for ParaA

    source§

    fn new_ext() -> TestExternalities

    Initialize the test environment.
    source§

    fn reset_ext()

    Resets the state of the test environment.
    source§

    fn execute_without_dispatch<R>(execute: impl FnOnce() -> R) -> R

    Execute code in the context of the test externalities, without automatic message processing. All messages in the message buses can be processed -by calling Self::dispatch_xcm_buses().
    source§

    fn dispatch_xcm_buses()

    Process all messages in the message buses
    source§

    fn execute_with<R>(execute: impl FnOnce() -> R) -> R

    Execute some code in the context of the test externalities, with +by calling Self::dispatch_xcm_buses().
    source§

    fn dispatch_xcm_buses()

    Process all messages in the message buses
    §

    fn execute_with<R>(execute: impl FnOnce() -> R) -> R

    Execute some code in the context of the test externalities, with automatic message processing. Messages are dispatched once the passed closure completes.
    source§

    impl XcmpMessageHandler for ParaA

    source§

    fn handle_xcmp_messages<'a, I: Iterator<Item = (ParaId, RelayBlockNumber, &'a [u8])>>( iter: I, diff --git a/doc/xcm_fuzzer/struct.ParaB.html b/doc/xcm_fuzzer/struct.ParaB.html index 08aba872355f..2ca0e3642a5e 100644 --- a/doc/xcm_fuzzer/struct.ParaB.html +++ b/doc/xcm_fuzzer/struct.ParaB.html @@ -1,9 +1,9 @@ ParaB in xcm_fuzzer - Rust

    Struct xcm_fuzzer::ParaB

    source ·
    pub struct ParaB;

    Trait Implementations§

    source§

    impl DmpMessageHandler for ParaB

    source§

    fn handle_dmp_messages( iter: impl Iterator<Item = (RelayBlockNumber, Vec<u8>)>, max_weight: Weight -) -> Weight

    Handle some incoming DMP messages (note these are individual XCM messages). Read more
    source§

    impl TestExt for ParaB

    source§

    fn new_ext() -> TestExternalities

    Initialize the test environment.
    source§

    fn reset_ext()

    Resets the state of the test environment.
    source§

    fn execute_without_dispatch<R>(execute: impl FnOnce() -> R) -> R

    Execute code in the context of the test externalities, without automatic +) -> Weight

    Handle some incoming DMP messages (note these are individual XCM messages). Read more
    source§

    impl TestExt for ParaB

    source§

    fn new_ext() -> TestExternalities

    Initialize the test environment.
    source§

    fn reset_ext()

    Resets the state of the test environment.
    source§

    fn execute_without_dispatch<R>(execute: impl FnOnce() -> R) -> R

    Execute code in the context of the test externalities, without automatic message processing. All messages in the message buses can be processed -by calling Self::dispatch_xcm_buses().
    source§

    fn dispatch_xcm_buses()

    Process all messages in the message buses
    source§

    fn execute_with<R>(execute: impl FnOnce() -> R) -> R

    Execute some code in the context of the test externalities, with +by calling Self::dispatch_xcm_buses().
    source§

    fn dispatch_xcm_buses()

    Process all messages in the message buses
    §

    fn execute_with<R>(execute: impl FnOnce() -> R) -> R

    Execute some code in the context of the test externalities, with automatic message processing. Messages are dispatched once the passed closure completes.
    source§

    impl XcmpMessageHandler for ParaB

    source§

    fn handle_xcmp_messages<'a, I: Iterator<Item = (ParaId, RelayBlockNumber, &'a [u8])>>( iter: I, diff --git a/doc/xcm_fuzzer/struct.ParaC.html b/doc/xcm_fuzzer/struct.ParaC.html index cac575b934c8..3aa6822055e8 100644 --- a/doc/xcm_fuzzer/struct.ParaC.html +++ b/doc/xcm_fuzzer/struct.ParaC.html @@ -1,9 +1,9 @@ ParaC in xcm_fuzzer - Rust

    Struct xcm_fuzzer::ParaC

    source ·
    pub struct ParaC;

    Trait Implementations§

    source§

    impl DmpMessageHandler for ParaC

    source§

    fn handle_dmp_messages( iter: impl Iterator<Item = (RelayBlockNumber, Vec<u8>)>, max_weight: Weight -) -> Weight

    Handle some incoming DMP messages (note these are individual XCM messages). Read more
    source§

    impl TestExt for ParaC

    source§

    fn new_ext() -> TestExternalities

    Initialize the test environment.
    source§

    fn reset_ext()

    Resets the state of the test environment.
    source§

    fn execute_without_dispatch<R>(execute: impl FnOnce() -> R) -> R

    Execute code in the context of the test externalities, without automatic +) -> Weight

    Handle some incoming DMP messages (note these are individual XCM messages). Read more
    source§

    impl TestExt for ParaC

    source§

    fn new_ext() -> TestExternalities

    Initialize the test environment.
    source§

    fn reset_ext()

    Resets the state of the test environment.
    source§

    fn execute_without_dispatch<R>(execute: impl FnOnce() -> R) -> R

    Execute code in the context of the test externalities, without automatic message processing. All messages in the message buses can be processed -by calling Self::dispatch_xcm_buses().
    source§

    fn dispatch_xcm_buses()

    Process all messages in the message buses
    source§

    fn execute_with<R>(execute: impl FnOnce() -> R) -> R

    Execute some code in the context of the test externalities, with +by calling Self::dispatch_xcm_buses().
    source§

    fn dispatch_xcm_buses()

    Process all messages in the message buses
    §

    fn execute_with<R>(execute: impl FnOnce() -> R) -> R

    Execute some code in the context of the test externalities, with automatic message processing. Messages are dispatched once the passed closure completes.
    source§

    impl XcmpMessageHandler for ParaC

    source§

    fn handle_xcmp_messages<'a, I: Iterator<Item = (ParaId, RelayBlockNumber, &'a [u8])>>( iter: I, diff --git a/doc/xcm_fuzzer/struct.Relay.html b/doc/xcm_fuzzer/struct.Relay.html index a95430135e3a..e2cea1fb1142 100644 --- a/doc/xcm_fuzzer/struct.Relay.html +++ b/doc/xcm_fuzzer/struct.Relay.html @@ -3,9 +3,9 @@ para: Self::Origin, meter: &mut WeightMeter, id: &mut [u8; 32] -) -> Result<bool, ProcessMessageError>

    Process the given message, using no more than the remaining meter weight to do so. Read more
    source§

    impl TestExt for Relay

    source§

    fn new_ext() -> TestExternalities

    Initialize the test environment.
    source§

    fn reset_ext()

    Resets the state of the test environment.
    source§

    fn execute_without_dispatch<R>(execute: impl FnOnce() -> R) -> R

    Execute code in the context of the test externalities, without automatic +) -> Result<bool, ProcessMessageError>
    Process the given message, using no more than the remaining meter weight to do so. Read more
    source§

    impl TestExt for Relay

    source§

    fn new_ext() -> TestExternalities

    Initialize the test environment.
    source§

    fn reset_ext()

    Resets the state of the test environment.
    source§

    fn execute_without_dispatch<R>(execute: impl FnOnce() -> R) -> R

    Execute code in the context of the test externalities, without automatic message processing. All messages in the message buses can be processed -by calling Self::dispatch_xcm_buses().
    source§

    fn dispatch_xcm_buses()

    Process all messages in the message buses
    source§

    fn execute_with<R>(execute: impl FnOnce() -> R) -> R

    Execute some code in the context of the test externalities, with +by calling Self::dispatch_xcm_buses().
    source§

    fn dispatch_xcm_buses()

    Process all messages in the message buses
    §

    fn execute_with<R>(execute: impl FnOnce() -> R) -> R

    Execute some code in the context of the test externalities, with automatic message processing. Messages are dispatched once the passed closure completes.

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Relay

    §

    impl Send for Relay

    §

    impl Sync for Relay

    §

    impl Unpin for Relay

    §

    impl UnwindSafe for Relay

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere diff --git a/doc/xcm_simulator_example/struct.ParaA.html b/doc/xcm_simulator_example/struct.ParaA.html index cce533f9a870..407ae1e8a546 100644 --- a/doc/xcm_simulator_example/struct.ParaA.html +++ b/doc/xcm_simulator_example/struct.ParaA.html @@ -1,9 +1,9 @@ ParaA in xcm_simulator_example - Rust
    pub struct ParaA;

    Trait Implementations§

    source§

    impl DmpMessageHandler for ParaA

    source§

    fn handle_dmp_messages( iter: impl Iterator<Item = (RelayBlockNumber, Vec<u8>)>, max_weight: Weight -) -> Weight

    Handle some incoming DMP messages (note these are individual XCM messages). Read more
    source§

    impl TestExt for ParaA

    source§

    fn new_ext() -> TestExternalities

    Initialize the test environment.
    source§

    fn reset_ext()

    Resets the state of the test environment.
    source§

    fn execute_without_dispatch<R>(execute: impl FnOnce() -> R) -> R

    Execute code in the context of the test externalities, without automatic +) -> Weight

    Handle some incoming DMP messages (note these are individual XCM messages). Read more
    source§

    impl TestExt for ParaA

    source§

    fn new_ext() -> TestExternalities

    Initialize the test environment.
    source§

    fn reset_ext()

    Resets the state of the test environment.
    source§

    fn execute_without_dispatch<R>(execute: impl FnOnce() -> R) -> R

    Execute code in the context of the test externalities, without automatic message processing. All messages in the message buses can be processed -by calling Self::dispatch_xcm_buses().
    source§

    fn dispatch_xcm_buses()

    Process all messages in the message buses
    §

    fn execute_with<R>(execute: impl FnOnce() -> R) -> R

    Execute some code in the context of the test externalities, with +by calling Self::dispatch_xcm_buses().
    source§

    fn dispatch_xcm_buses()

    Process all messages in the message buses
    source§

    fn execute_with<R>(execute: impl FnOnce() -> R) -> R

    Execute some code in the context of the test externalities, with automatic message processing. Messages are dispatched once the passed closure completes.
    source§

    impl XcmpMessageHandler for ParaA

    source§

    fn handle_xcmp_messages<'a, I: Iterator<Item = (ParaId, RelayBlockNumber, &'a [u8])>>( iter: I, diff --git a/doc/xcm_simulator_example/struct.ParaB.html b/doc/xcm_simulator_example/struct.ParaB.html index 94cd19c7e2a6..36df66896562 100644 --- a/doc/xcm_simulator_example/struct.ParaB.html +++ b/doc/xcm_simulator_example/struct.ParaB.html @@ -1,9 +1,9 @@ ParaB in xcm_simulator_example - Rust
    pub struct ParaB;

    Trait Implementations§

    source§

    impl DmpMessageHandler for ParaB

    source§

    fn handle_dmp_messages( iter: impl Iterator<Item = (RelayBlockNumber, Vec<u8>)>, max_weight: Weight -) -> Weight

    Handle some incoming DMP messages (note these are individual XCM messages). Read more
    source§

    impl TestExt for ParaB

    source§

    fn new_ext() -> TestExternalities

    Initialize the test environment.
    source§

    fn reset_ext()

    Resets the state of the test environment.
    source§

    fn execute_without_dispatch<R>(execute: impl FnOnce() -> R) -> R

    Execute code in the context of the test externalities, without automatic +) -> Weight

    Handle some incoming DMP messages (note these are individual XCM messages). Read more
    source§

    impl TestExt for ParaB

    source§

    fn new_ext() -> TestExternalities

    Initialize the test environment.
    source§

    fn reset_ext()

    Resets the state of the test environment.
    source§

    fn execute_without_dispatch<R>(execute: impl FnOnce() -> R) -> R

    Execute code in the context of the test externalities, without automatic message processing. All messages in the message buses can be processed -by calling Self::dispatch_xcm_buses().
    source§

    fn dispatch_xcm_buses()

    Process all messages in the message buses
    §

    fn execute_with<R>(execute: impl FnOnce() -> R) -> R

    Execute some code in the context of the test externalities, with +by calling Self::dispatch_xcm_buses().
    source§

    fn dispatch_xcm_buses()

    Process all messages in the message buses
    source§

    fn execute_with<R>(execute: impl FnOnce() -> R) -> R

    Execute some code in the context of the test externalities, with automatic message processing. Messages are dispatched once the passed closure completes.
    source§

    impl XcmpMessageHandler for ParaB

    source§

    fn handle_xcmp_messages<'a, I: Iterator<Item = (ParaId, RelayBlockNumber, &'a [u8])>>( iter: I, diff --git a/doc/xcm_simulator_example/struct.Relay.html b/doc/xcm_simulator_example/struct.Relay.html index e257618234d8..da8c60773f3e 100644 --- a/doc/xcm_simulator_example/struct.Relay.html +++ b/doc/xcm_simulator_example/struct.Relay.html @@ -3,9 +3,9 @@ para: Self::Origin, meter: &mut WeightMeter, id: &mut [u8; 32] -) -> Result<bool, ProcessMessageError>

    Process the given message, using no more than the remaining meter weight to do so. Read more
    source§

    impl TestExt for Relay

    source§

    fn new_ext() -> TestExternalities

    Initialize the test environment.
    source§

    fn reset_ext()

    Resets the state of the test environment.
    source§

    fn execute_without_dispatch<R>(execute: impl FnOnce() -> R) -> R

    Execute code in the context of the test externalities, without automatic +) -> Result<bool, ProcessMessageError>
    Process the given message, using no more than the remaining meter weight to do so. Read more
    source§

    impl TestExt for Relay

    source§

    fn new_ext() -> TestExternalities

    Initialize the test environment.
    source§

    fn reset_ext()

    Resets the state of the test environment.
    source§

    fn execute_without_dispatch<R>(execute: impl FnOnce() -> R) -> R

    Execute code in the context of the test externalities, without automatic message processing. All messages in the message buses can be processed -by calling Self::dispatch_xcm_buses().
    source§

    fn dispatch_xcm_buses()

    Process all messages in the message buses
    §

    fn execute_with<R>(execute: impl FnOnce() -> R) -> R

    Execute some code in the context of the test externalities, with +by calling Self::dispatch_xcm_buses().
    source§

    fn dispatch_xcm_buses()

    Process all messages in the message buses
    source§

    fn execute_with<R>(execute: impl FnOnce() -> R) -> R

    Execute some code in the context of the test externalities, with automatic message processing. Messages are dispatched once the passed closure completes.

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Relay

    §

    impl Send for Relay

    §

    impl Sync for Relay

    §

    impl Unpin for Relay

    §

    impl UnwindSafe for Relay

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere