pub struct Runtime;Implementations§
Source§impl Runtime
impl Runtime
pub(crate) fn metadata_ir() -> MetadataIR
pub fn metadata() -> RuntimeMetadataPrefixed
pub fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>
pub fn metadata_versions() -> Vec<u32>
Trait Implementations§
Source§impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
Source§fn account_nonce(account: AccountId) -> Nonce
fn account_nonce(account: AccountId) -> Nonce
Get current account nonce of given
AccountId.Source§impl AsSystemOriginSigner<<Runtime as Config>::AccountId> for RuntimeOrigin
impl AsSystemOriginSigner<<Runtime as Config>::AccountId> for RuntimeOrigin
Source§fn as_system_origin_signer(&self) -> Option<&<Runtime as Config>::AccountId>
fn as_system_origin_signer(&self) -> Option<&<Runtime as Config>::AccountId>
Extract a reference of the inner value of the System
Origin::Signed variant, if self has
that variant.Source§impl AuraApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>, Public> for Runtime
impl AuraApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>, Public> for Runtime
Source§fn slot_duration() -> SlotDuration
fn slot_duration() -> SlotDuration
Returns the slot duration for Aura. Read more
Return the current set of authorities.
Source§impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
Source§fn apply_extrinsic(extrinsic: ExtrinsicFor<Runtime>) -> ApplyExtrinsicResult
fn apply_extrinsic(extrinsic: ExtrinsicFor<Runtime>) -> ApplyExtrinsicResult
Apply the given extrinsic. Read more
Source§fn finalize_block() -> HeaderFor<Runtime>
fn finalize_block() -> HeaderFor<Runtime>
Finish the current block.
Source§fn inherent_extrinsics(data: InherentData) -> Vec<ExtrinsicFor<Runtime>> ⓘ
fn inherent_extrinsics(data: InherentData) -> Vec<ExtrinsicFor<Runtime>> ⓘ
Generate inherent extrinsics. The inherent data will vary from chain to chain.
Source§fn check_inherents(
block: <Block as BlockT>::LazyBlock,
data: InherentData,
) -> CheckInherentsResult
fn check_inherents( block: <Block as BlockT>::LazyBlock, data: InherentData, ) -> CheckInherentsResult
Check that the inherents are valid. The inherent data will vary from chain to chain.
Source§impl CallerTrait<<Runtime as Config>::AccountId> for OriginCaller
impl CallerTrait<<Runtime as Config>::AccountId> for OriginCaller
Source§fn into_system(self) -> Option<RawOrigin<<Runtime as Config>::AccountId>>
fn into_system(self) -> Option<RawOrigin<<Runtime as Config>::AccountId>>
Extract the signer from the message if it is a
Signed origin.Source§fn as_system_ref(&self) -> Option<&RawOrigin<<Runtime as Config>::AccountId>>
fn as_system_ref(&self) -> Option<&RawOrigin<<Runtime as Config>::AccountId>>
Extract a reference to the system-level
RawOrigin if it is that.§fn as_signed(&self) -> Option<&AccountId>
fn as_signed(&self) -> Option<&AccountId>
Extract the signer from it if a system
Signed origin, None otherwise.Source§impl Config for Runtime
impl Config for Runtime
Source§type AuthorityId = Public
type AuthorityId = Public
The identifier type for an authority.
Source§type DisabledValidators = ()
type DisabledValidators = ()
A way to check whether a given validator is disabled and should not be authoring blocks.
Blocks authored by a disabled validator will lead to a panic as part of this module’s
initialization.
Source§type MaxAuthorities = ConstU32<1>
type MaxAuthorities = ConstU32<1>
The maximum number of authorities that the pallet can hold.
Source§type AllowMultipleBlocksPerSlot = ConstBool<true>
type AllowMultipleBlocksPerSlot = ConstBool<true>
Whether to allow block authors to create multiple blocks per slot. Read more
Source§type SlotDuration = ConstU64<6000>
type SlotDuration = ConstU64<6000>
The slot duration Aura should run with, expressed in milliseconds.
The effective value of this type should not change while the chain is running. Read more
Source§impl Config for Runtime
Implements the types required for the system pallet.
impl Config for Runtime
Implements the types required for the system pallet.
Source§type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>
type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>
The Block type used by the runtime. This is used by
construct_runtime to retrieve the
extrinsics or other block specific data as needed.Source§type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
The user account identifier type for the runtime.
Source§type Nonce = u32
type Nonce = u32
This stores the number of previous transactions associated with a sender account.
Source§type AccountData = AccountData<<Runtime as Config>::Balance>
type AccountData = AccountData<<Runtime as Config>::Balance>
Data to be associated with an account (other than nonce/transaction counter, which this
pallet does regardless).
Source§type Hashing = <SolochainDefaultConfig as DefaultConfig>::Hashing
type Hashing = <SolochainDefaultConfig as DefaultConfig>::Hashing
The hashing system (algorithm) being used in the runtime (e.g. Blake2).
Source§type Lookup = <SolochainDefaultConfig as DefaultConfig>::Lookup
type Lookup = <SolochainDefaultConfig as DefaultConfig>::Lookup
Converting trait to take a source type and convert to
AccountId. Read moreSource§type MaxConsumers = <SolochainDefaultConfig as DefaultConfig>::MaxConsumers
type MaxConsumers = <SolochainDefaultConfig as DefaultConfig>::MaxConsumers
The maximum number of consumers allowed on a single account.
Source§type OnNewAccount = <SolochainDefaultConfig as DefaultConfig>::OnNewAccount
type OnNewAccount = <SolochainDefaultConfig as DefaultConfig>::OnNewAccount
Handler for when a new account has just been created.
Source§type OnKilledAccount = <SolochainDefaultConfig as DefaultConfig>::OnKilledAccount
type OnKilledAccount = <SolochainDefaultConfig as DefaultConfig>::OnKilledAccount
A function that is invoked when an account has been determined to be dead. Read more
Source§type SystemWeightInfo = <SolochainDefaultConfig as DefaultConfig>::SystemWeightInfo
type SystemWeightInfo = <SolochainDefaultConfig as DefaultConfig>::SystemWeightInfo
Weight information for the extrinsics of this pallet.
Source§type ExtensionsWeightInfo = <SolochainDefaultConfig as DefaultConfig>::ExtensionsWeightInfo
type ExtensionsWeightInfo = <SolochainDefaultConfig as DefaultConfig>::ExtensionsWeightInfo
Weight information for the transaction extensions of this pallet.
Source§type SS58Prefix = <SolochainDefaultConfig as DefaultConfig>::SS58Prefix
type SS58Prefix = <SolochainDefaultConfig as DefaultConfig>::SS58Prefix
The designated SS58 prefix of this chain. Read more
Source§type BlockWeights = <SolochainDefaultConfig as DefaultConfig>::BlockWeights
type BlockWeights = <SolochainDefaultConfig as DefaultConfig>::BlockWeights
Block & extrinsics weights: base values and limits.
Source§type BlockLength = <SolochainDefaultConfig as DefaultConfig>::BlockLength
type BlockLength = <SolochainDefaultConfig as DefaultConfig>::BlockLength
The maximum length of a block (in bytes).
Source§type DbWeight = <SolochainDefaultConfig as DefaultConfig>::DbWeight
type DbWeight = <SolochainDefaultConfig as DefaultConfig>::DbWeight
The weight of runtime database operations the runtime can invoke.
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The aggregated event type of the runtime.
Source§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The
RuntimeOrigin type used by dispatchable calls.Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The aggregated
RuntimeCall type.Source§type RuntimeTask = RuntimeTask
type RuntimeTask = RuntimeTask
The aggregated
RuntimeTask type.Source§type PalletInfo = PalletInfo
type PalletInfo = PalletInfo
Provides information about the pallet setup in the runtime. Read more
Source§type BaseCallFilter = <SolochainDefaultConfig as DefaultConfig>::BaseCallFilter
type BaseCallFilter = <SolochainDefaultConfig as DefaultConfig>::BaseCallFilter
The basic call filter to use in Origin. All origins are built with this filter as base,
except Root. Read more
Source§type BlockHashCount = <SolochainDefaultConfig as DefaultConfig>::BlockHashCount
type BlockHashCount = <SolochainDefaultConfig as DefaultConfig>::BlockHashCount
Maximum number of block number to block hash mappings to keep (oldest pruned first).
Source§type OnSetCode = <SolochainDefaultConfig as DefaultConfig>::OnSetCode
type OnSetCode = <SolochainDefaultConfig as DefaultConfig>::OnSetCode
What to do if the runtime wants to change the code to something new. Read more
Source§type SingleBlockMigrations = <SolochainDefaultConfig as DefaultConfig>::SingleBlockMigrations
type SingleBlockMigrations = <SolochainDefaultConfig as DefaultConfig>::SingleBlockMigrations
All migrations that should run in the next runtime upgrade. Read more
Source§type MultiBlockMigrator = <SolochainDefaultConfig as DefaultConfig>::MultiBlockMigrator
type MultiBlockMigrator = <SolochainDefaultConfig as DefaultConfig>::MultiBlockMigrator
The migrator that is used to run Multi-Block-Migrations. Read more
Source§type PreInherents = <SolochainDefaultConfig as DefaultConfig>::PreInherents
type PreInherents = <SolochainDefaultConfig as DefaultConfig>::PreInherents
A callback that executes in every block directly before all inherents were applied. Read more
Source§type PostInherents = <SolochainDefaultConfig as DefaultConfig>::PostInherents
type PostInherents = <SolochainDefaultConfig as DefaultConfig>::PostInherents
A callback that executes in every block directly after all inherents were applied. Read more
Source§type PostTransactions = <SolochainDefaultConfig as DefaultConfig>::PostTransactions
type PostTransactions = <SolochainDefaultConfig as DefaultConfig>::PostTransactions
A callback that executes in every block directly after all transactions were applied. Read more
Source§impl Config for Runtime
impl Config for Runtime
Source§type AccountStore = Pallet<Runtime>
type AccountStore = Pallet<Runtime>
The means of storing the balances of an account.
Source§type ExistentialDeposit = ExistentialDeposit
type ExistentialDeposit = ExistentialDeposit
The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! Read more
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
The overarching hold reason.
Source§type RuntimeFreezeReason = RuntimeFreezeReason
type RuntimeFreezeReason = RuntimeFreezeReason
The overarching freeze reason.
Source§type ReserveIdentifier = <TestDefaultConfig as DefaultConfig>::ReserveIdentifier
type ReserveIdentifier = <TestDefaultConfig as DefaultConfig>::ReserveIdentifier
The ID type for reserves. Read more
Source§type FreezeIdentifier = <TestDefaultConfig as DefaultConfig>::FreezeIdentifier
type FreezeIdentifier = <TestDefaultConfig as DefaultConfig>::FreezeIdentifier
The ID type for freezes.
Source§type DustRemoval = <TestDefaultConfig as DefaultConfig>::DustRemoval
type DustRemoval = <TestDefaultConfig as DefaultConfig>::DustRemoval
Handler for the unbalanced reduction when removing a dust account.
Source§type MaxLocks = <TestDefaultConfig as DefaultConfig>::MaxLocks
type MaxLocks = <TestDefaultConfig as DefaultConfig>::MaxLocks
The maximum number of locks that should exist on an account.
Not strictly enforced, but used for weight estimation. Read more
Source§type MaxReserves = <TestDefaultConfig as DefaultConfig>::MaxReserves
type MaxReserves = <TestDefaultConfig as DefaultConfig>::MaxReserves
The maximum number of named reserves that can exist on an account. Read more
Source§type MaxFreezes = <TestDefaultConfig as DefaultConfig>::MaxFreezes
type MaxFreezes = <TestDefaultConfig as DefaultConfig>::MaxFreezes
The maximum number of individual freeze locks that can exist on an account at any time.
Source§type WeightInfo = <TestDefaultConfig as DefaultConfig>::WeightInfo
type WeightInfo = <TestDefaultConfig as DefaultConfig>::WeightInfo
Weight information for extrinsics in this pallet.
Source§type DoneSlashHandler = <TestDefaultConfig as DefaultConfig>::DoneSlashHandler
type DoneSlashHandler = <TestDefaultConfig as DefaultConfig>::DoneSlashHandler
Allows callbacks to other pallets so they can update their bookkeeping when a slash
occurs.
Source§impl Config for Runtime
impl Config for Runtime
Source§type Moment = <TestDefaultConfig as DefaultConfig>::Moment
type Moment = <TestDefaultConfig as DefaultConfig>::Moment
Type used for expressing a timestamp.
Source§type OnTimestampSet = <TestDefaultConfig as DefaultConfig>::OnTimestampSet
type OnTimestampSet = <TestDefaultConfig as DefaultConfig>::OnTimestampSet
Something which can be notified (e.g. another pallet) when the timestamp is set. Read more
Source§type MinimumPeriod = <TestDefaultConfig as DefaultConfig>::MinimumPeriod
type MinimumPeriod = <TestDefaultConfig as DefaultConfig>::MinimumPeriod
The minimum period between blocks. Read more
Source§type WeightInfo = <TestDefaultConfig as DefaultConfig>::WeightInfo
type WeightInfo = <TestDefaultConfig as DefaultConfig>::WeightInfo
Weight information for extrinsics in this pallet.
Source§impl Config for Runtime
impl Config for Runtime
Source§type OnChargeTransaction = FungibleAdapter<Pallet<Runtime>, ()>
type OnChargeTransaction = FungibleAdapter<Pallet<Runtime>, ()>
Handler for withdrawing, refunding and depositing the transaction fee.
Transaction fees are withdrawn before the transaction is executed.
After the transaction was executed the transaction weight can be
adjusted, depending on the used resources by the transaction. If the
transaction weight is lower than expected, parts of the transaction fee
might be refunded. In the end the fees can be deposited.
Source§type WeightToFee = BlockRatioFee<CENTS, { 100 * ExtrinsicBaseWeight::get().ref_time() as u128 }, Runtime, u128>
type WeightToFee = BlockRatioFee<CENTS, { 100 * ExtrinsicBaseWeight::get().ref_time() as u128 }, Runtime, u128>
Convert a weight value into a deductible fee based on the currency type.
Source§type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>
type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>
Convert a length value into a deductible fee based on the currency type.
Source§type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>
type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>
Update the multiplier of the next block, based on the previous block’s weight.
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type OperationalFeeMultiplier = <TestDefaultConfig as DefaultConfig>::OperationalFeeMultiplier
type OperationalFeeMultiplier = <TestDefaultConfig as DefaultConfig>::OperationalFeeMultiplier
A fee multiplier for
Operational extrinsics to compute “virtual tip” to boost their
priority Read moreSource§type WeightInfo = <TestDefaultConfig as DefaultConfig>::WeightInfo
type WeightInfo = <TestDefaultConfig as DefaultConfig>::WeightInfo
The weight information of this pallet.
Source§impl Config for Runtime
impl Config for Runtime
Source§type AddressMapper = AccountId32Mapper<Runtime>
type AddressMapper = AccountId32Mapper<Runtime>
Use either valid type is [
address::AccountId32Mapper] or [address::H160Mapper].Source§type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent
type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent
The percentage of the storage deposit that should be held for using a code hash.
Instantiating a contract, protects the code from being removed. In order to prevent
abuse these actions are protected with a percentage of the code deposit.
Source§type Currency = Pallet<Runtime>
type Currency = Pallet<Runtime>
The fungible in which fees are paid and contract balances are held.
Source§type FindAuthor = BlockAuthor
type FindAuthor = BlockAuthor
Find the author of the current block.
Source§type NativeToEthRatio = ConstU32<{ constants::NATIVE_TO_ETH_RATIO }>
type NativeToEthRatio = ConstU32<{ constants::NATIVE_TO_ETH_RATIO }>
The ratio between the decimal representation of the native token and the ETH token.
Source§type UploadOrigin = EnsureSigned<<Runtime as Config>::AccountId>
type UploadOrigin = EnsureSigned<<Runtime as Config>::AccountId>
Origin allowed to upload code. Read more
Source§type InstantiateOrigin = EnsureSigned<<Runtime as Config>::AccountId>
type InstantiateOrigin = EnsureSigned<<Runtime as Config>::AccountId>
Origin allowed to instantiate code. Read more
Source§type Time = Pallet<Runtime>
type Time = Pallet<Runtime>
The time implementation used to supply timestamps to contracts through
seal_now.Source§type GasScale = ConstU32<1>
type GasScale = ConstU32<1>
This determines the relative scale of our gas price and gas estimates. Read more
Source§type FeeInfo = Info<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>
type FeeInfo = Info<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>
Set to [
crate::evm::fees::Info] for a production runtime. Read moreSource§type DebugEnabled = ConstBool<true>
type DebugEnabled = ConstBool<true>
Allows debug-mode configuration, such as enabling unlimited contract size.
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
Overarching hold reason.
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
Source§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The overarching origin type.
Source§type Precompiles = <TestDefaultConfig as DefaultConfig>::Precompiles
type Precompiles = <TestDefaultConfig as DefaultConfig>::Precompiles
Type that allows the runtime authors to add new host functions for a contract to call. Read more
Source§type DepositPerByte = <TestDefaultConfig as DefaultConfig>::DepositPerByte
type DepositPerByte = <TestDefaultConfig as DefaultConfig>::DepositPerByte
The amount of balance a caller has to pay for each byte of storage. Read more
Source§type DepositPerItem = <TestDefaultConfig as DefaultConfig>::DepositPerItem
type DepositPerItem = <TestDefaultConfig as DefaultConfig>::DepositPerItem
The amount of balance a caller has to pay for each storage item. Read more
Source§type DepositPerChildTrieItem = <TestDefaultConfig as DefaultConfig>::DepositPerChildTrieItem
type DepositPerChildTrieItem = <TestDefaultConfig as DefaultConfig>::DepositPerChildTrieItem
The amount of balance a caller has to pay for each child trie storage item. Read more
Source§type AllowEVMBytecode = <TestDefaultConfig as DefaultConfig>::AllowEVMBytecode
type AllowEVMBytecode = <TestDefaultConfig as DefaultConfig>::AllowEVMBytecode
Allow EVM bytecode to be uploaded and instantiated.
Source§type WeightInfo = <TestDefaultConfig as DefaultConfig>::WeightInfo
type WeightInfo = <TestDefaultConfig as DefaultConfig>::WeightInfo
Describes the weights of the dispatchables of this module and is also used to
construct a default cost schedule.
Source§type RuntimeMemory = <TestDefaultConfig as DefaultConfig>::RuntimeMemory
type RuntimeMemory = <TestDefaultConfig as DefaultConfig>::RuntimeMemory
The amount of memory in bytes that parachain nodes a lot to the runtime. Read more
Source§type PVFMemory = <TestDefaultConfig as DefaultConfig>::PVFMemory
type PVFMemory = <TestDefaultConfig as DefaultConfig>::PVFMemory
The amount of memory in bytes that relay chain validators a lot to the PoV. Read more
Source§type MaxEthExtrinsicWeight = <TestDefaultConfig as DefaultConfig>::MaxEthExtrinsicWeight
type MaxEthExtrinsicWeight = <TestDefaultConfig as DefaultConfig>::MaxEthExtrinsicWeight
The fraction the maximum extrinsic weight
eth_transact extrinsics are capped to. Read moreSource§impl CoreV5<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl CoreV5<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
Source§fn execute_block(block: <Block as BlockT>::LazyBlock)
fn execute_block(block: <Block as BlockT>::LazyBlock)
Execute the given block.
Source§fn initialize_block(header: &Header) -> ExtrinsicInclusionMode
fn initialize_block(header: &Header) -> ExtrinsicInclusionMode
Initialize a block with the given header and return the runtime executive mode.
Source§impl GenesisBuilderV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl GenesisBuilderV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
Source§impl GetRuntimeBlockType for Runtime
impl GetRuntimeBlockType for Runtime
Source§type RuntimeBlock = <Runtime as Config>::Block
type RuntimeBlock = <Runtime as Config>::Block
The
RuntimeBlock type.Source§impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime
impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime
Source§fn is_inherent(ext: &<<Runtime as Config>::Block as Block>::Extrinsic) -> bool
fn is_inherent(ext: &<<Runtime as Config>::Block as Block>::Extrinsic) -> bool
Whether this extrinsic is an inherent.
Source§impl MetadataV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl MetadataV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
Source§impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
Source§fn offchain_worker(header: &HeaderFor<Runtime>)
fn offchain_worker(header: &HeaderFor<Runtime>)
Starts the off-chain task for given block header.
Source§impl<__SrApiBlock__: BlockT, RuntimeApiImplCall: CallApiAt<__SrApiBlock__> + 'static> ReviveApi<__SrApiBlock__, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, u32, u32, <<Runtime as Config>::Time as Time>::Moment> for RuntimeApiImpl<__SrApiBlock__, RuntimeApiImplCall>where
RuntimeApiImplCall::StateBackend: StateBackend<HashingFor<__SrApiBlock__>>,
&'static RuntimeApiImplCall: Send,
impl<__SrApiBlock__: BlockT, RuntimeApiImplCall: CallApiAt<__SrApiBlock__> + 'static> ReviveApi<__SrApiBlock__, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, u32, u32, <<Runtime as Config>::Time as Time>::Moment> for RuntimeApiImpl<__SrApiBlock__, RuntimeApiImplCall>where
RuntimeApiImplCall::StateBackend: StateBackend<HashingFor<__SrApiBlock__>>,
&'static RuntimeApiImplCall: Send,
§fn eth_block(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
) -> Result<Block, ApiError>
fn eth_block( &self, __runtime_api_at_param__: <Block as Block>::Hash, ) -> Result<Block, ApiError>
Returns the current ETH block. Read more
§fn eth_block_hash(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
number: U256,
) -> Result<Option<H256>, ApiError>
fn eth_block_hash( &self, __runtime_api_at_param__: <Block as Block>::Hash, number: U256, ) -> Result<Option<H256>, ApiError>
Returns the ETH block hash for the given block number.
§fn eth_receipt_data(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
) -> Result<Vec<ReceiptGasInfo>, ApiError>
fn eth_receipt_data( &self, __runtime_api_at_param__: <Block as Block>::Hash, ) -> Result<Vec<ReceiptGasInfo>, ApiError>
The details needed to reconstruct the receipt information offchain. Read more
§fn block_gas_limit(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
) -> Result<U256, ApiError>
fn block_gas_limit( &self, __runtime_api_at_param__: <Block as Block>::Hash, ) -> Result<U256, ApiError>
Returns the block gas limit.
§fn balance(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
address: H160,
) -> Result<U256, ApiError>
fn balance( &self, __runtime_api_at_param__: <Block as Block>::Hash, address: H160, ) -> Result<U256, ApiError>
Returns the free balance of the given
[H160] address, using EVM decimals.§fn gas_price(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
) -> Result<U256, ApiError>
fn gas_price( &self, __runtime_api_at_param__: <Block as Block>::Hash, ) -> Result<U256, ApiError>
Returns the gas price.
§fn nonce(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
address: H160,
) -> Result<Nonce, ApiError>
fn nonce( &self, __runtime_api_at_param__: <Block as Block>::Hash, address: H160, ) -> Result<Nonce, ApiError>
Returns the nonce of the given
[H160] address.§fn call(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
origin: AccountId,
dest: H160,
value: Balance,
gas_limit: Option<Weight>,
storage_deposit_limit: Option<Balance>,
input_data: Vec<u8>,
) -> Result<ContractResult<ExecReturnValue, Balance>, ApiError>
fn call( &self, __runtime_api_at_param__: <Block as Block>::Hash, origin: AccountId, dest: H160, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, input_data: Vec<u8>, ) -> Result<ContractResult<ExecReturnValue, Balance>, ApiError>
Perform a call from a specified account to a given contract. Read more
§fn instantiate(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
origin: AccountId,
value: Balance,
gas_limit: Option<Weight>,
storage_deposit_limit: Option<Balance>,
code: Code,
data: Vec<u8>,
salt: Option<[u8; 32]>,
) -> Result<ContractResult<InstantiateReturnValue, Balance>, ApiError>
fn instantiate( &self, __runtime_api_at_param__: <Block as Block>::Hash, origin: AccountId, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, code: Code, data: Vec<u8>, salt: Option<[u8; 32]>, ) -> Result<ContractResult<InstantiateReturnValue, Balance>, ApiError>
Instantiate a new contract. Read more
§fn eth_transact(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
tx: GenericTransaction,
) -> Result<Result<EthTransactInfo<Balance>, EthTransactError>, ApiError>
fn eth_transact( &self, __runtime_api_at_param__: <Block as Block>::Hash, tx: GenericTransaction, ) -> Result<Result<EthTransactInfo<Balance>, EthTransactError>, ApiError>
Perform an Ethereum call. Read more
§fn eth_transact_with_config(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
tx: GenericTransaction,
config: DryRunConfig<Moment>,
) -> Result<Result<EthTransactInfo<Balance>, EthTransactError>, ApiError>
fn eth_transact_with_config( &self, __runtime_api_at_param__: <Block as Block>::Hash, tx: GenericTransaction, config: DryRunConfig<Moment>, ) -> Result<Result<EthTransactInfo<Balance>, EthTransactError>, ApiError>
Perform an Ethereum call. Read more
§fn upload_code(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
origin: AccountId,
code: Vec<u8>,
storage_deposit_limit: Option<Balance>,
) -> Result<Result<CodeUploadReturnValue<Balance>, DispatchError>, ApiError>
fn upload_code( &self, __runtime_api_at_param__: <Block as Block>::Hash, origin: AccountId, code: Vec<u8>, storage_deposit_limit: Option<Balance>, ) -> Result<Result<CodeUploadReturnValue<Balance>, DispatchError>, ApiError>
Upload new code without instantiating a contract from it. Read more
§fn get_storage(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
address: H160,
key: [u8; 32],
) -> Result<Result<Option<Vec<u8>>, ContractAccessError>, ApiError>
fn get_storage( &self, __runtime_api_at_param__: <Block as Block>::Hash, address: H160, key: [u8; 32], ) -> Result<Result<Option<Vec<u8>>, ContractAccessError>, ApiError>
Query a given storage key in a given contract. Read more
§fn get_storage_var_key(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
address: H160,
key: Vec<u8>,
) -> Result<Result<Option<Vec<u8>>, ContractAccessError>, ApiError>
fn get_storage_var_key( &self, __runtime_api_at_param__: <Block as Block>::Hash, address: H160, key: Vec<u8>, ) -> Result<Result<Option<Vec<u8>>, ContractAccessError>, ApiError>
Query a given variable-sized storage key in a given contract. Read more
§fn trace_block(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
block: Block,
config: TracerType,
) -> Result<Vec<(u32, Trace)>, ApiError>
fn trace_block( &self, __runtime_api_at_param__: <Block as Block>::Hash, block: Block, config: TracerType, ) -> Result<Vec<(u32, Trace)>, ApiError>
Traces the execution of an entire block and returns call traces. Read more
§fn trace_tx(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
block: Block,
tx_index: u32,
config: TracerType,
) -> Result<Option<Trace>, ApiError>
fn trace_tx( &self, __runtime_api_at_param__: <Block as Block>::Hash, block: Block, tx_index: u32, config: TracerType, ) -> Result<Option<Trace>, ApiError>
Traces the execution of a specific transaction within a block. Read more
§fn trace_call(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
tx: GenericTransaction,
config: TracerType,
) -> Result<Result<Trace, EthTransactError>, ApiError>
fn trace_call( &self, __runtime_api_at_param__: <Block as Block>::Hash, tx: GenericTransaction, config: TracerType, ) -> Result<Result<Trace, EthTransactError>, ApiError>
Dry run and return the trace of the given call. Read more
The address of the validator that produced the current block.
§fn address(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
account_id: AccountId,
) -> Result<H160, ApiError>
fn address( &self, __runtime_api_at_param__: <Block as Block>::Hash, account_id: AccountId, ) -> Result<H160, ApiError>
Get the H160 address associated to this account id
§fn account_id(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
address: H160,
) -> Result<AccountId, ApiError>
fn account_id( &self, __runtime_api_at_param__: <Block as Block>::Hash, address: H160, ) -> Result<AccountId, ApiError>
Get the account id associated to this H160 address.
§fn runtime_pallets_address(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
) -> Result<H160, ApiError>
fn runtime_pallets_address( &self, __runtime_api_at_param__: <Block as Block>::Hash, ) -> Result<H160, ApiError>
The address used to call the runtime’s pallets dispatchables
§fn code(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
address: H160,
) -> Result<Vec<u8>, ApiError>
fn code( &self, __runtime_api_at_param__: <Block as Block>::Hash, address: H160, ) -> Result<Vec<u8>, ApiError>
The code at the specified address taking pre-compiles into account.
§fn new_balance_with_dust(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
balance: U256,
) -> Result<Result<(Balance, u32), BalanceConversionError>, ApiError>
fn new_balance_with_dust( &self, __runtime_api_at_param__: <Block as Block>::Hash, balance: U256, ) -> Result<Result<(Balance, u32), BalanceConversionError>, ApiError>
Construct the new balance and dust components of this EVM balance.
Source§impl ReviveApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, u32, u32, <<Runtime as Config>::Time as Time>::Moment> for Runtime
impl ReviveApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, u32, u32, <<Runtime as Config>::Time as Time>::Moment> for Runtime
Source§fn eth_block_hash(number: U256) -> Option<H256>
fn eth_block_hash(number: U256) -> Option<H256>
Returns the ETH block hash for the given block number.
Source§fn eth_receipt_data() -> Vec<ReceiptGasInfo>
fn eth_receipt_data() -> Vec<ReceiptGasInfo>
The details needed to reconstruct the receipt information offchain. Read more
Source§fn balance(address: H160) -> U256
fn balance(address: H160) -> U256
Returns the free balance of the given
[H160] address, using EVM decimals.The address of the validator that produced the current block.
Source§fn block_gas_limit() -> U256
fn block_gas_limit() -> U256
Returns the block gas limit.
Source§fn eth_transact(
tx: GenericTransaction,
) -> Result<EthTransactInfo<Balance>, EthTransactError>
fn eth_transact( tx: GenericTransaction, ) -> Result<EthTransactInfo<Balance>, EthTransactError>
Perform an Ethereum call. Read more
Source§fn eth_transact_with_config(
tx: GenericTransaction,
config: DryRunConfig<<<Runtime as Config>::Time as Time>::Moment>,
) -> Result<EthTransactInfo<Balance>, EthTransactError>
fn eth_transact_with_config( tx: GenericTransaction, config: DryRunConfig<<<Runtime as Config>::Time as Time>::Moment>, ) -> Result<EthTransactInfo<Balance>, EthTransactError>
Perform an Ethereum call. Read more
Source§fn call(
origin: AccountId,
dest: H160,
value: Balance,
weight_limit: Option<Weight>,
storage_deposit_limit: Option<Balance>,
input_data: Vec<u8>,
) -> ContractResult<ExecReturnValue, Balance>
fn call( origin: AccountId, dest: H160, value: Balance, weight_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, input_data: Vec<u8>, ) -> ContractResult<ExecReturnValue, Balance>
Perform a call from a specified account to a given contract. Read more
Source§fn instantiate(
origin: AccountId,
value: Balance,
weight_limit: Option<Weight>,
storage_deposit_limit: Option<Balance>,
code: Code,
data: Vec<u8>,
salt: Option<[u8; 32]>,
) -> ContractResult<InstantiateReturnValue, Balance>
fn instantiate( origin: AccountId, value: Balance, weight_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, code: Code, data: Vec<u8>, salt: Option<[u8; 32]>, ) -> ContractResult<InstantiateReturnValue, Balance>
Instantiate a new contract. Read more
Source§fn upload_code(
origin: AccountId,
code: Vec<u8>,
storage_deposit_limit: Option<Balance>,
) -> CodeUploadResult<Balance>
fn upload_code( origin: AccountId, code: Vec<u8>, storage_deposit_limit: Option<Balance>, ) -> CodeUploadResult<Balance>
Upload new code without instantiating a contract from it. Read more
Source§fn get_storage_var_key(address: H160, key: Vec<u8>) -> GetStorageResult
fn get_storage_var_key(address: H160, key: Vec<u8>) -> GetStorageResult
Query a given variable-sized storage key in a given contract. Read more
Source§fn get_storage(address: H160, key: [u8; 32]) -> GetStorageResult
fn get_storage(address: H160, key: [u8; 32]) -> GetStorageResult
Query a given storage key in a given contract. Read more
Source§fn trace_block(block: Block, tracer_type: TracerType) -> Vec<(u32, Trace)>
fn trace_block(block: Block, tracer_type: TracerType) -> Vec<(u32, Trace)>
Traces the execution of an entire block and returns call traces. Read more
Source§fn trace_tx(
block: Block,
tx_index: u32,
tracer_type: TracerType,
) -> Option<Trace>
fn trace_tx( block: Block, tx_index: u32, tracer_type: TracerType, ) -> Option<Trace>
Traces the execution of a specific transaction within a block. Read more
Source§fn trace_call(
tx: GenericTransaction,
tracer_type: TracerType,
) -> Result<Trace, EthTransactError>
fn trace_call( tx: GenericTransaction, tracer_type: TracerType, ) -> Result<Trace, EthTransactError>
Dry run and return the trace of the given call. Read more
Source§fn runtime_pallets_address() -> H160
fn runtime_pallets_address() -> H160
The address used to call the runtime’s pallets dispatchables
Source§fn code(address: H160) -> Vec<u8> ⓘ
fn code(address: H160) -> Vec<u8> ⓘ
The code at the specified address taking pre-compiles into account.
Source§fn account_id(address: H160) -> AccountId
fn account_id(address: H160) -> AccountId
Get the account id associated to this H160 address.
Source§impl SessionKeysV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl SessionKeysV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
Source§impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>> for Runtime
Source§impl TransactionPaymentApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>, u128> for Runtime
impl TransactionPaymentApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, MultiSignature, EthExtraImpl>>, u128> for Runtime
Source§impl ValidateUnsigned for Runtime
impl ValidateUnsigned for Runtime
Source§type Call = RuntimeCall
type Call = RuntimeCall
The call to validate
Source§fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
Validate the call right before dispatch. Read more
Source§fn validate_unsigned(
source: TransactionSource,
call: &Self::Call,
) -> TransactionValidity
fn validate_unsigned( source: TransactionSource, call: &Self::Call, ) -> TransactionValidity
Return the validity of the call Read more
impl Copy for Runtime
impl Eq for Runtime
impl StructuralPartialEq for Runtime
Auto Trait Implementations§
impl Freeze for Runtime
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnwindSafe for Runtime
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
§fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Conv for T
impl<T> Conv for T
§impl<T, U> DefensiveTruncateInto<U> for Twhere
U: DefensiveTruncateFrom<T>,
impl<T, U> DefensiveTruncateInto<U> for Twhere
U: DefensiveTruncateFrom<T>,
§fn defensive_truncate_into(self) -> U
fn defensive_truncate_into(self) -> U
Defensively truncate a value and convert it into its bounded form.
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self to use its Binary implementation when Debug-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self to use its Display implementation when
Debug-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self to use its LowerExp implementation when
Debug-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self to use its LowerHex implementation when
Debug-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self to use its Octal implementation when Debug-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self to use its Pointer implementation when
Debug-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self to use its UpperExp implementation when
Debug-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self to use its UpperHex implementation when
Debug-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<Src, Dest> IntoTuple<Dest> for Srcwhere
Dest: FromTuple<Src>,
impl<Src, Dest> IntoTuple<Dest> for Srcwhere
Dest: FromTuple<Src>,
fn into_tuple(self) -> Dest
§impl<T> IsType<T> for T
impl<T> IsType<T> for T
§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self, then passes self.as_ref() into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self, then passes self.as_mut() into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self, then passes self.deref() into the pipe function.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T. Read more§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B> of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B> of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R> view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R> view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap() only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut() only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow() only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut() only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref() only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut() only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref() only in debug builds, and is erased in release
builds.§impl<T> TryConv for T
impl<T> TryConv for T
§impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
type Error = <U as TryFromKey<T>>::Error
fn try_into_key(self) -> Result<U, <U as TryFromKey<T>>::Error>
§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from.§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T.§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
impl<T> JsonSchemaMaybe for T
impl<T> MaybeDebug for Twhere
T: Debug,
impl<T> MaybeRefUnwindSafe for Twhere
T: RefUnwindSafe,
impl<T> MaybeSend for Twhere
T: Send,
impl<T> Member for T
impl<T> Scalar for T
impl<T> StaticTypeInfo for Twhere
T: TypeInfo + 'static,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes