Trait subxt_core::config::Config
source · pub trait Config: Sized + Send + Sync + 'static {
type Hash: BlockHash;
type AccountId: Debug + Clone + Encode;
type Address: Debug + Encode + From<Self::AccountId>;
type Signature: Debug + Encode;
type Hasher: Debug + Hasher<Output = Self::Hash>;
type Header: Debug + Header<Hasher = Self::Hasher> + Sync + Send + DeserializeOwned;
type ExtrinsicParams: ExtrinsicParams<Self>;
type AssetId: Debug + Clone + Encode + DecodeAsType + EncodeAsType;
}
Expand description
Runtime types.
Required Associated Types§
sourcetype Hasher: Debug + Hasher<Output = Self::Hash>
type Hasher: Debug + Hasher<Output = Self::Hash>
The hashing system (algorithm) being used in the runtime (e.g. Blake2).
sourcetype Header: Debug + Header<Hasher = Self::Hasher> + Sync + Send + DeserializeOwned
type Header: Debug + Header<Hasher = Self::Hasher> + Sync + Send + DeserializeOwned
The block header.
sourcetype ExtrinsicParams: ExtrinsicParams<Self>
type ExtrinsicParams: ExtrinsicParams<Self>
This type defines the extrinsic extra and additional parameters.
sourcetype AssetId: Debug + Clone + Encode + DecodeAsType + EncodeAsType
type AssetId: Debug + Clone + Encode + DecodeAsType + EncodeAsType
This is used to identify an asset in the ChargeAssetTxPayment
signed extension.
Object Safety§
This trait is not object safe.