[−][src]Struct polymesh_runtime_develop::runtime::RuntimeApiImpl
Implements all runtime apis for the client side.
Trait Implementations
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> AccountNonceApi<__SR_API_BLOCK__, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
AccountId: UnwindSafe + RefUnwindSafe,
Index: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
[src]
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
AccountId: UnwindSafe + RefUnwindSafe,
Index: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
fn AccountNonceApi_account_nonce_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<AccountId>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Index>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<AccountId>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Index>, RuntimeApiImplCall::Error>
pub fn account_nonce(
&self,
__runtime_api_at_param__: &BlockId<Block>,
account: AccountId
) -> Result<Index, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
account: AccountId
) -> Result<Index, Self::Error>
pub fn account_nonce_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
account: AccountId
) -> Result<Index, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
account: AccountId
) -> Result<Index, Self::Error>
impl<Block: BlockT, C: CallApiAt<Block>> ApiErrorExt for RuntimeApiImpl<Block, C> where
C::StateBackend: StateBackend<HashFor<Block>>,
[src]
C::StateBackend: StateBackend<HashFor<Block>>,
type Error = C::Error
Error type used by the runtime apis.
impl<Block: BlockT, C: CallApiAt<Block>> ApiExt<Block> for RuntimeApiImpl<Block, C> where
C::StateBackend: StateBackend<HashFor<Block>>,
[src]
C::StateBackend: StateBackend<HashFor<Block>>,
type StateBackend = C::StateBackend
The state backend that is used to store the block states.
fn execute_in_transaction<F: FnOnce(&Self) -> TransactionOutcome<R>, R>(
&self,
call: F
) -> R where
Self: Sized,
[src]
&self,
call: F
) -> R where
Self: Sized,
fn has_api<A: RuntimeApiInfo + ?Sized>(
&self,
at: &BlockId<Block>
) -> Result<bool, C::Error> where
Self: Sized,
[src]
&self,
at: &BlockId<Block>
) -> Result<bool, C::Error> where
Self: Sized,
fn has_api_with<A: RuntimeApiInfo + ?Sized, P: Fn(u32) -> bool>(
&self,
at: &BlockId<Block>,
pred: P
) -> Result<bool, C::Error> where
Self: Sized,
[src]
&self,
at: &BlockId<Block>,
pred: P
) -> Result<bool, C::Error> where
Self: Sized,
fn record_proof(&mut self)
[src]
fn extract_proof(&mut self) -> Option<StorageProof>
[src]
fn into_storage_changes(
&self,
backend: &Self::StateBackend,
changes_trie_state: Option<&ChangesTrieState<'_, HashFor<Block>, NumberFor<Block>>>,
parent_hash: Block::Hash
) -> Result<StorageChanges<Self::StateBackend, Block>, String> where
Self: Sized,
[src]
&self,
backend: &Self::StateBackend,
changes_trie_state: Option<&ChangesTrieState<'_, HashFor<Block>, NumberFor<Block>>>,
parent_hash: Block::Hash
) -> Result<StorageChanges<Self::StateBackend, Block>, String> where
Self: Sized,
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> AssetApi<__SR_API_BLOCK__, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
AccountId: UnwindSafe + RefUnwindSafe,
Option<IdentityId>: UnwindSafe + RefUnwindSafe,
PortfolioId: UnwindSafe + RefUnwindSafe,
Option<IdentityId>: UnwindSafe + RefUnwindSafe,
PortfolioId: UnwindSafe + RefUnwindSafe,
Ticker: UnwindSafe + RefUnwindSafe,
Balance: UnwindSafe + RefUnwindSafe,
CanTransferResult: UnwindSafe + RefUnwindSafe,
Option<IdentityId>: UnwindSafe + RefUnwindSafe,
PortfolioId: UnwindSafe + RefUnwindSafe,
Option<IdentityId>: UnwindSafe + RefUnwindSafe,
PortfolioId: UnwindSafe + RefUnwindSafe,
Ticker: UnwindSafe + RefUnwindSafe,
Balance: UnwindSafe + RefUnwindSafe,
GranularCanTransferResult: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
[src]
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
AccountId: UnwindSafe + RefUnwindSafe,
Option<IdentityId>: UnwindSafe + RefUnwindSafe,
PortfolioId: UnwindSafe + RefUnwindSafe,
Option<IdentityId>: UnwindSafe + RefUnwindSafe,
PortfolioId: UnwindSafe + RefUnwindSafe,
Ticker: UnwindSafe + RefUnwindSafe,
Balance: UnwindSafe + RefUnwindSafe,
CanTransferResult: UnwindSafe + RefUnwindSafe,
Option<IdentityId>: UnwindSafe + RefUnwindSafe,
PortfolioId: UnwindSafe + RefUnwindSafe,
Option<IdentityId>: UnwindSafe + RefUnwindSafe,
PortfolioId: UnwindSafe + RefUnwindSafe,
Ticker: UnwindSafe + RefUnwindSafe,
Balance: UnwindSafe + RefUnwindSafe,
GranularCanTransferResult: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
fn AssetApi_can_transfer_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(AccountId, Option<IdentityId>, PortfolioId, Option<IdentityId>, PortfolioId, &Ticker, Balance)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<CanTransferResult>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(AccountId, Option<IdentityId>, PortfolioId, Option<IdentityId>, PortfolioId, &Ticker, Balance)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<CanTransferResult>, RuntimeApiImplCall::Error>
fn AssetApi_can_transfer_granular_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(Option<IdentityId>, PortfolioId, Option<IdentityId>, PortfolioId, &Ticker, Balance)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<GranularCanTransferResult>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(Option<IdentityId>, PortfolioId, Option<IdentityId>, PortfolioId, &Ticker, Balance)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<GranularCanTransferResult>, RuntimeApiImplCall::Error>
pub fn can_transfer(
&self,
__runtime_api_at_param__: &BlockId<Block>,
sender: AccountId,
from_custodian: Option<IdentityId>,
from_portfolio: PortfolioId,
to_custodian: Option<IdentityId>,
to_portfolio: PortfolioId,
ticker: &Ticker,
value: u128
) -> Result<Result<u8, Vec<u8, Global>>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
sender: AccountId,
from_custodian: Option<IdentityId>,
from_portfolio: PortfolioId,
to_custodian: Option<IdentityId>,
to_portfolio: PortfolioId,
ticker: &Ticker,
value: u128
) -> Result<Result<u8, Vec<u8, Global>>, Self::Error>
pub fn can_transfer_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
sender: AccountId,
from_custodian: Option<IdentityId>,
from_portfolio: PortfolioId,
to_custodian: Option<IdentityId>,
to_portfolio: PortfolioId,
ticker: &Ticker,
value: u128
) -> Result<Result<u8, Vec<u8, Global>>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
sender: AccountId,
from_custodian: Option<IdentityId>,
from_portfolio: PortfolioId,
to_custodian: Option<IdentityId>,
to_portfolio: PortfolioId,
ticker: &Ticker,
value: u128
) -> Result<Result<u8, Vec<u8, Global>>, Self::Error>
pub fn can_transfer_granular(
&self,
__runtime_api_at_param__: &BlockId<Block>,
from_custodian: Option<IdentityId>,
from_portfolio: PortfolioId,
to_custodian: Option<IdentityId>,
to_portfolio: PortfolioId,
ticker: &Ticker,
value: u128
) -> Result<GranularCanTransferResult, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
from_custodian: Option<IdentityId>,
from_portfolio: PortfolioId,
to_custodian: Option<IdentityId>,
to_portfolio: PortfolioId,
ticker: &Ticker,
value: u128
) -> Result<GranularCanTransferResult, Self::Error>
pub fn can_transfer_granular_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
from_custodian: Option<IdentityId>,
from_portfolio: PortfolioId,
to_custodian: Option<IdentityId>,
to_portfolio: PortfolioId,
ticker: &Ticker,
value: u128
) -> Result<GranularCanTransferResult, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
from_custodian: Option<IdentityId>,
from_portfolio: PortfolioId,
to_custodian: Option<IdentityId>,
to_portfolio: PortfolioId,
ticker: &Ticker,
value: u128
) -> Result<GranularCanTransferResult, Self::Error>
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> AuthorityDiscoveryApi<__SR_API_BLOCK__> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
Vec<AuthorityId>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
[src]
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
Vec<AuthorityId>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
fn AuthorityDiscoveryApi_authorities_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Vec<AuthorityId>>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Vec<AuthorityId>>, RuntimeApiImplCall::Error>
pub fn authorities(
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<Vec<Public, Global>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<Vec<Public, Global>, Self::Error>
pub fn authorities_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<Vec<Public, Global>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<Vec<Public, Global>, Self::Error>
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> BabeApi<__SR_API_BLOCK__> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
BabeGenesisConfiguration: UnwindSafe + RefUnwindSafe,
SlotNumber: UnwindSafe + RefUnwindSafe,
SlotNumber: UnwindSafe + RefUnwindSafe,
AuthorityId: UnwindSafe + RefUnwindSafe,
Option<OpaqueKeyOwnershipProof>: UnwindSafe + RefUnwindSafe,
EquivocationProof<<__SR_API_BLOCK__ as BlockT>::Header>: UnwindSafe + RefUnwindSafe,
OpaqueKeyOwnershipProof: UnwindSafe + RefUnwindSafe,
Option<()>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
[src]
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
BabeGenesisConfiguration: UnwindSafe + RefUnwindSafe,
SlotNumber: UnwindSafe + RefUnwindSafe,
SlotNumber: UnwindSafe + RefUnwindSafe,
AuthorityId: UnwindSafe + RefUnwindSafe,
Option<OpaqueKeyOwnershipProof>: UnwindSafe + RefUnwindSafe,
EquivocationProof<<__SR_API_BLOCK__ as BlockT>::Header>: UnwindSafe + RefUnwindSafe,
OpaqueKeyOwnershipProof: UnwindSafe + RefUnwindSafe,
Option<()>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
fn BabeApi_configuration_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<BabeGenesisConfiguration>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<BabeGenesisConfiguration>, RuntimeApiImplCall::Error>
fn BabeApi_current_epoch_start_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<SlotNumber>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<SlotNumber>, RuntimeApiImplCall::Error>
fn BabeApi_generate_key_ownership_proof_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(SlotNumber, AuthorityId)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Option<OpaqueKeyOwnershipProof>>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(SlotNumber, AuthorityId)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Option<OpaqueKeyOwnershipProof>>, RuntimeApiImplCall::Error>
fn BabeApi_submit_report_equivocation_unsigned_extrinsic_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(EquivocationProof<<__SR_API_BLOCK__ as BlockT>::Header>, OpaqueKeyOwnershipProof)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Option<()>>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(EquivocationProof<<__SR_API_BLOCK__ as BlockT>::Header>, OpaqueKeyOwnershipProof)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Option<()>>, RuntimeApiImplCall::Error>
pub fn configuration(
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<BabeGenesisConfiguration, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<BabeGenesisConfiguration, Self::Error>
pub fn configuration_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<BabeGenesisConfiguration, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<BabeGenesisConfiguration, Self::Error>
pub fn configuration_before_version_2(
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<BabeGenesisConfigurationV1, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<BabeGenesisConfigurationV1, Self::Error>
pub fn configuration_before_version_2_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<BabeGenesisConfigurationV1, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<BabeGenesisConfigurationV1, Self::Error>
pub fn current_epoch_start(
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<u64, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<u64, Self::Error>
pub fn current_epoch_start_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<u64, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<u64, Self::Error>
pub fn generate_key_ownership_proof(
&self,
__runtime_api_at_param__: &BlockId<Block>,
slot_number: u64,
authority_id: Public
) -> Result<Option<OpaqueKeyOwnershipProof>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
slot_number: u64,
authority_id: Public
) -> Result<Option<OpaqueKeyOwnershipProof>, Self::Error>
pub fn generate_key_ownership_proof_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
slot_number: u64,
authority_id: Public
) -> Result<Option<OpaqueKeyOwnershipProof>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
slot_number: u64,
authority_id: Public
) -> Result<Option<OpaqueKeyOwnershipProof>, Self::Error>
pub fn submit_report_equivocation_unsigned_extrinsic(
&self,
__runtime_api_at_param__: &BlockId<Block>,
equivocation_proof: EquivocationProof<<Block as Block>::Header, Public>,
key_owner_proof: OpaqueKeyOwnershipProof
) -> Result<Option<()>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
equivocation_proof: EquivocationProof<<Block as Block>::Header, Public>,
key_owner_proof: OpaqueKeyOwnershipProof
) -> Result<Option<()>, Self::Error>
pub fn submit_report_equivocation_unsigned_extrinsic_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
equivocation_proof: EquivocationProof<<Block as Block>::Header, Public>,
key_owner_proof: OpaqueKeyOwnershipProof
) -> Result<Option<()>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
equivocation_proof: EquivocationProof<<Block as Block>::Header, Public>,
key_owner_proof: OpaqueKeyOwnershipProof
) -> Result<Option<()>, Self::Error>
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> BlockBuilder<__SR_API_BLOCK__> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
<__SR_API_BLOCK__ as BlockT>::Extrinsic: UnwindSafe + RefUnwindSafe,
ApplyExtrinsicResult: UnwindSafe + RefUnwindSafe,
<__SR_API_BLOCK__ as BlockT>::Header: UnwindSafe + RefUnwindSafe,
InherentData: UnwindSafe + RefUnwindSafe,
Vec<<__SR_API_BLOCK__ as BlockT>::Extrinsic>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__: UnwindSafe + RefUnwindSafe,
InherentData: UnwindSafe + RefUnwindSafe,
CheckInherentsResult: UnwindSafe + RefUnwindSafe,
<__SR_API_BLOCK__ as BlockT>::Hash: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
[src]
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
<__SR_API_BLOCK__ as BlockT>::Extrinsic: UnwindSafe + RefUnwindSafe,
ApplyExtrinsicResult: UnwindSafe + RefUnwindSafe,
<__SR_API_BLOCK__ as BlockT>::Header: UnwindSafe + RefUnwindSafe,
InherentData: UnwindSafe + RefUnwindSafe,
Vec<<__SR_API_BLOCK__ as BlockT>::Extrinsic>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__: UnwindSafe + RefUnwindSafe,
InherentData: UnwindSafe + RefUnwindSafe,
CheckInherentsResult: UnwindSafe + RefUnwindSafe,
<__SR_API_BLOCK__ as BlockT>::Hash: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
fn BlockBuilder_apply_extrinsic_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<<__SR_API_BLOCK__ as BlockT>::Extrinsic>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<ApplyExtrinsicResult>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<<__SR_API_BLOCK__ as BlockT>::Extrinsic>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<ApplyExtrinsicResult>, RuntimeApiImplCall::Error>
fn BlockBuilder_finalize_block_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<<__SR_API_BLOCK__ as BlockT>::Header>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<<__SR_API_BLOCK__ as BlockT>::Header>, RuntimeApiImplCall::Error>
fn BlockBuilder_inherent_extrinsics_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<InherentData>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Vec<<__SR_API_BLOCK__ as BlockT>::Extrinsic>>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<InherentData>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Vec<<__SR_API_BLOCK__ as BlockT>::Extrinsic>>, RuntimeApiImplCall::Error>
fn BlockBuilder_check_inherents_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(__SR_API_BLOCK__, InherentData)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<CheckInherentsResult>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(__SR_API_BLOCK__, InherentData)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<CheckInherentsResult>, RuntimeApiImplCall::Error>
fn BlockBuilder_random_seed_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<<__SR_API_BLOCK__ as BlockT>::Hash>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<<__SR_API_BLOCK__ as BlockT>::Hash>, RuntimeApiImplCall::Error>
pub fn apply_extrinsic(
&self,
__runtime_api_at_param__: &BlockId<Block>,
extrinsic: <Block as Block>::Extrinsic
) -> Result<Result<Result<(), DispatchError>, TransactionValidityError>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
extrinsic: <Block as Block>::Extrinsic
) -> Result<Result<Result<(), DispatchError>, TransactionValidityError>, Self::Error>
pub fn apply_extrinsic_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
extrinsic: <Block as Block>::Extrinsic
) -> Result<Result<Result<(), DispatchError>, TransactionValidityError>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
extrinsic: <Block as Block>::Extrinsic
) -> Result<Result<Result<(), DispatchError>, TransactionValidityError>, Self::Error>
pub fn finalize_block(
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<<Block as Block>::Header, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<<Block as Block>::Header, Self::Error>
pub fn finalize_block_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<<Block as Block>::Header, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<<Block as Block>::Header, Self::Error>
pub fn inherent_extrinsics(
&self,
__runtime_api_at_param__: &BlockId<Block>,
inherent: InherentData
) -> Result<Vec<<Block as Block>::Extrinsic, Global>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
inherent: InherentData
) -> Result<Vec<<Block as Block>::Extrinsic, Global>, Self::Error>
pub fn inherent_extrinsics_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
inherent: InherentData
) -> Result<Vec<<Block as Block>::Extrinsic, Global>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
inherent: InherentData
) -> Result<Vec<<Block as Block>::Extrinsic, Global>, Self::Error>
pub fn check_inherents(
&self,
__runtime_api_at_param__: &BlockId<Block>,
block: Block,
data: InherentData
) -> Result<CheckInherentsResult, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
block: Block,
data: InherentData
) -> Result<CheckInherentsResult, Self::Error>
pub fn check_inherents_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
block: Block,
data: InherentData
) -> Result<CheckInherentsResult, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
block: Block,
data: InherentData
) -> Result<CheckInherentsResult, Self::Error>
pub fn random_seed(
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<<Block as Block>::Hash, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<<Block as Block>::Hash, Self::Error>
pub fn random_seed_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<<Block as Block>::Hash, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<<Block as Block>::Hash, Self::Error>
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> ComplianceManagerApi<__SR_API_BLOCK__, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
Ticker: UnwindSafe + RefUnwindSafe,
Option<IdentityId>: UnwindSafe + RefUnwindSafe,
Option<IdentityId>: UnwindSafe + RefUnwindSafe,
AssetComplianceResult: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
[src]
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
Ticker: UnwindSafe + RefUnwindSafe,
Option<IdentityId>: UnwindSafe + RefUnwindSafe,
Option<IdentityId>: UnwindSafe + RefUnwindSafe,
AssetComplianceResult: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
fn ComplianceManagerApi_can_transfer_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(Ticker, Option<IdentityId>, Option<IdentityId>)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<AssetComplianceResult>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(Ticker, Option<IdentityId>, Option<IdentityId>)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<AssetComplianceResult>, RuntimeApiImplCall::Error>
pub fn can_transfer(
&self,
__runtime_api_at_param__: &BlockId<Block>,
ticker: Ticker,
from_did: Option<IdentityId>,
to_did: Option<IdentityId>
) -> Result<AssetComplianceResult, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
ticker: Ticker,
from_did: Option<IdentityId>,
to_did: Option<IdentityId>
) -> Result<AssetComplianceResult, Self::Error>
pub fn can_transfer_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
ticker: Ticker,
from_did: Option<IdentityId>,
to_did: Option<IdentityId>
) -> Result<AssetComplianceResult, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
ticker: Ticker,
from_did: Option<IdentityId>,
to_did: Option<IdentityId>
) -> Result<AssetComplianceResult, Self::Error>
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> ContractsApi<__SR_API_BLOCK__, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, u32> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
AccountId: UnwindSafe + RefUnwindSafe,
AccountId: UnwindSafe + RefUnwindSafe,
Balance: UnwindSafe + RefUnwindSafe,
u64: UnwindSafe + RefUnwindSafe,
Vec<u8>: UnwindSafe + RefUnwindSafe,
ContractExecResult: UnwindSafe + RefUnwindSafe,
AccountId: UnwindSafe + RefUnwindSafe,
[u8; 32]: UnwindSafe + RefUnwindSafe,
GetStorageResult: UnwindSafe + RefUnwindSafe,
AccountId: UnwindSafe + RefUnwindSafe,
RentProjectionResult<BlockNumber>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
[src]
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
AccountId: UnwindSafe + RefUnwindSafe,
AccountId: UnwindSafe + RefUnwindSafe,
Balance: UnwindSafe + RefUnwindSafe,
u64: UnwindSafe + RefUnwindSafe,
Vec<u8>: UnwindSafe + RefUnwindSafe,
ContractExecResult: UnwindSafe + RefUnwindSafe,
AccountId: UnwindSafe + RefUnwindSafe,
[u8; 32]: UnwindSafe + RefUnwindSafe,
GetStorageResult: UnwindSafe + RefUnwindSafe,
AccountId: UnwindSafe + RefUnwindSafe,
RentProjectionResult<BlockNumber>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
fn ContractsApi_call_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(AccountId, AccountId, Balance, u64, Vec<u8>)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<ContractExecResult>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(AccountId, AccountId, Balance, u64, Vec<u8>)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<ContractExecResult>, RuntimeApiImplCall::Error>
fn ContractsApi_get_storage_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(AccountId, [u8; 32])>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<GetStorageResult>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(AccountId, [u8; 32])>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<GetStorageResult>, RuntimeApiImplCall::Error>
fn ContractsApi_rent_projection_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<AccountId>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<RentProjectionResult<BlockNumber>>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<AccountId>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<RentProjectionResult<BlockNumber>>, RuntimeApiImplCall::Error>
pub fn call(
&self,
__runtime_api_at_param__: &BlockId<Block>,
origin: AccountId,
dest: AccountId,
value: Balance,
gas_limit: u64,
input_data: Vec<u8, Global>
) -> Result<ContractExecResult, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
origin: AccountId,
dest: AccountId,
value: Balance,
gas_limit: u64,
input_data: Vec<u8, Global>
) -> Result<ContractExecResult, Self::Error>
pub fn call_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
origin: AccountId,
dest: AccountId,
value: Balance,
gas_limit: u64,
input_data: Vec<u8, Global>
) -> Result<ContractExecResult, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
origin: AccountId,
dest: AccountId,
value: Balance,
gas_limit: u64,
input_data: Vec<u8, Global>
) -> Result<ContractExecResult, Self::Error>
pub fn get_storage(
&self,
__runtime_api_at_param__: &BlockId<Block>,
address: AccountId,
key: [u8; 32]
) -> Result<Result<Option<Vec<u8, Global>>, ContractAccessError>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
address: AccountId,
key: [u8; 32]
) -> Result<Result<Option<Vec<u8, Global>>, ContractAccessError>, Self::Error>
pub fn get_storage_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
address: AccountId,
key: [u8; 32]
) -> Result<Result<Option<Vec<u8, Global>>, ContractAccessError>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
address: AccountId,
key: [u8; 32]
) -> Result<Result<Option<Vec<u8, Global>>, ContractAccessError>, Self::Error>
pub fn rent_projection(
&self,
__runtime_api_at_param__: &BlockId<Block>,
address: AccountId
) -> Result<Result<RentProjection<BlockNumber>, ContractAccessError>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
address: AccountId
) -> Result<Result<RentProjection<BlockNumber>, ContractAccessError>, Self::Error>
pub fn rent_projection_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
address: AccountId
) -> Result<Result<RentProjection<BlockNumber>, ContractAccessError>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
address: AccountId
) -> Result<Result<RentProjection<BlockNumber>, ContractAccessError>, Self::Error>
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> Core<__SR_API_BLOCK__> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
RuntimeVersion: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__: UnwindSafe + RefUnwindSafe,
<__SR_API_BLOCK__ as BlockT>::Header: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
[src]
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
RuntimeVersion: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__: UnwindSafe + RefUnwindSafe,
<__SR_API_BLOCK__ as BlockT>::Header: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
fn Core_version_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<RuntimeVersion>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<RuntimeVersion>, RuntimeApiImplCall::Error>
fn Core_execute_block_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<__SR_API_BLOCK__>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<()>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<__SR_API_BLOCK__>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<()>, RuntimeApiImplCall::Error>
fn Core_initialize_block_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<&<__SR_API_BLOCK__ as BlockT>::Header>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<()>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<&<__SR_API_BLOCK__ as BlockT>::Header>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<()>, RuntimeApiImplCall::Error>
pub fn version(
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<RuntimeVersion, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<RuntimeVersion, Self::Error>
pub fn version_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<RuntimeVersion, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<RuntimeVersion, Self::Error>
pub fn version_before_version_3(
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<OldRuntimeVersion, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<OldRuntimeVersion, Self::Error>
pub fn version_before_version_3_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<OldRuntimeVersion, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<OldRuntimeVersion, Self::Error>
pub fn execute_block(
&self,
__runtime_api_at_param__: &BlockId<Block>,
block: Block
) -> Result<(), Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
block: Block
) -> Result<(), Self::Error>
pub fn execute_block_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
block: Block
) -> Result<(), Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
block: Block
) -> Result<(), Self::Error>
pub fn initialize_block(
&self,
__runtime_api_at_param__: &BlockId<Block>,
header: &<Block as Block>::Header
) -> Result<(), Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
header: &<Block as Block>::Header
) -> Result<(), Self::Error>
pub fn initialize_block_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
header: &<Block as Block>::Header
) -> Result<(), Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
header: &<Block as Block>::Header
) -> Result<(), Self::Error>
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> GrandpaApi<__SR_API_BLOCK__> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
AuthorityList: UnwindSafe + RefUnwindSafe,
EquivocationProof<<__SR_API_BLOCK__ as BlockT>::Hash, NumberFor<__SR_API_BLOCK__>>: UnwindSafe + RefUnwindSafe,
OpaqueKeyOwnershipProof: UnwindSafe + RefUnwindSafe,
Option<()>: UnwindSafe + RefUnwindSafe,
SetId: UnwindSafe + RefUnwindSafe,
AuthorityId: UnwindSafe + RefUnwindSafe,
Option<OpaqueKeyOwnershipProof>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
[src]
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
AuthorityList: UnwindSafe + RefUnwindSafe,
EquivocationProof<<__SR_API_BLOCK__ as BlockT>::Hash, NumberFor<__SR_API_BLOCK__>>: UnwindSafe + RefUnwindSafe,
OpaqueKeyOwnershipProof: UnwindSafe + RefUnwindSafe,
Option<()>: UnwindSafe + RefUnwindSafe,
SetId: UnwindSafe + RefUnwindSafe,
AuthorityId: UnwindSafe + RefUnwindSafe,
Option<OpaqueKeyOwnershipProof>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
fn GrandpaApi_grandpa_authorities_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<AuthorityList>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<AuthorityList>, RuntimeApiImplCall::Error>
fn GrandpaApi_submit_report_equivocation_unsigned_extrinsic_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(EquivocationProof<<__SR_API_BLOCK__ as BlockT>::Hash, NumberFor<__SR_API_BLOCK__>>, OpaqueKeyOwnershipProof)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Option<()>>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(EquivocationProof<<__SR_API_BLOCK__ as BlockT>::Hash, NumberFor<__SR_API_BLOCK__>>, OpaqueKeyOwnershipProof)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Option<()>>, RuntimeApiImplCall::Error>
fn GrandpaApi_generate_key_ownership_proof_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(SetId, AuthorityId)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Option<OpaqueKeyOwnershipProof>>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(SetId, AuthorityId)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Option<OpaqueKeyOwnershipProof>>, RuntimeApiImplCall::Error>
pub fn grandpa_authorities(
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<Vec<(Public, u64), Global>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<Vec<(Public, u64), Global>, Self::Error>
pub fn grandpa_authorities_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<Vec<(Public, u64), Global>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<Vec<(Public, u64), Global>, Self::Error>
pub fn submit_report_equivocation_unsigned_extrinsic(
&self,
__runtime_api_at_param__: &BlockId<Block>,
equivocation_proof: EquivocationProof<<Block as Block>::Hash, <<Block as Block>::Header as Header>::Number>,
key_owner_proof: OpaqueKeyOwnershipProof
) -> Result<Option<()>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
equivocation_proof: EquivocationProof<<Block as Block>::Hash, <<Block as Block>::Header as Header>::Number>,
key_owner_proof: OpaqueKeyOwnershipProof
) -> Result<Option<()>, Self::Error>
pub fn submit_report_equivocation_unsigned_extrinsic_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
equivocation_proof: EquivocationProof<<Block as Block>::Hash, <<Block as Block>::Header as Header>::Number>,
key_owner_proof: OpaqueKeyOwnershipProof
) -> Result<Option<()>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
equivocation_proof: EquivocationProof<<Block as Block>::Hash, <<Block as Block>::Header as Header>::Number>,
key_owner_proof: OpaqueKeyOwnershipProof
) -> Result<Option<()>, Self::Error>
pub fn generate_key_ownership_proof(
&self,
__runtime_api_at_param__: &BlockId<Block>,
set_id: u64,
authority_id: Public
) -> Result<Option<OpaqueKeyOwnershipProof>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
set_id: u64,
authority_id: Public
) -> Result<Option<OpaqueKeyOwnershipProof>, Self::Error>
pub fn generate_key_ownership_proof_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
set_id: u64,
authority_id: Public
) -> Result<Option<OpaqueKeyOwnershipProof>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
set_id: u64,
authority_id: Public
) -> Result<Option<OpaqueKeyOwnershipProof>, Self::Error>
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> GroupApi<__SR_API_BLOCK__> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
Vec<Member>: UnwindSafe + RefUnwindSafe,
Vec<Member>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
[src]
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
Vec<Member>: UnwindSafe + RefUnwindSafe,
Vec<Member>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
fn GroupApi_get_cdd_valid_members_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Vec<Member>>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Vec<Member>>, RuntimeApiImplCall::Error>
fn GroupApi_get_gc_valid_members_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Vec<Member>>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Vec<Member>>, RuntimeApiImplCall::Error>
pub fn get_cdd_valid_members(
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<Vec<Member, Global>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<Vec<Member, Global>, Self::Error>
pub fn get_cdd_valid_members_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<Vec<Member, Global>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<Vec<Member, Global>, Self::Error>
pub fn get_gc_valid_members(
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<Vec<Member, Global>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<Vec<Member, Global>, Self::Error>
pub fn get_gc_valid_members_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<Vec<Member, Global>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<Vec<Member, Global>, Self::Error>
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> IdentityApi<__SR_API_BLOCK__, IdentityId, Ticker, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, SecondaryKey<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, Signatory<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, u64> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
IdentityId: UnwindSafe + RefUnwindSafe,
Option<u64>: UnwindSafe + RefUnwindSafe,
CddStatus: UnwindSafe + RefUnwindSafe,
Ticker: UnwindSafe + RefUnwindSafe,
AssetDidResult: UnwindSafe + RefUnwindSafe,
IdentityId: UnwindSafe + RefUnwindSafe,
DidRecords<AccountId, SecondaryKey<AccountId>>: UnwindSafe + RefUnwindSafe,
Vec<IdentityId>: UnwindSafe + RefUnwindSafe,
Vec<DidStatus>: UnwindSafe + RefUnwindSafe,
AccountId: UnwindSafe + RefUnwindSafe,
Option<KeyIdentityData<IdentityId>>: UnwindSafe + RefUnwindSafe,
Signatory<AccountId>: UnwindSafe + RefUnwindSafe,
bool: UnwindSafe + RefUnwindSafe,
Option<AuthorizationType>: UnwindSafe + RefUnwindSafe,
Vec<Authorization<AccountId, Moment>>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
[src]
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
IdentityId: UnwindSafe + RefUnwindSafe,
Option<u64>: UnwindSafe + RefUnwindSafe,
CddStatus: UnwindSafe + RefUnwindSafe,
Ticker: UnwindSafe + RefUnwindSafe,
AssetDidResult: UnwindSafe + RefUnwindSafe,
IdentityId: UnwindSafe + RefUnwindSafe,
DidRecords<AccountId, SecondaryKey<AccountId>>: UnwindSafe + RefUnwindSafe,
Vec<IdentityId>: UnwindSafe + RefUnwindSafe,
Vec<DidStatus>: UnwindSafe + RefUnwindSafe,
AccountId: UnwindSafe + RefUnwindSafe,
Option<KeyIdentityData<IdentityId>>: UnwindSafe + RefUnwindSafe,
Signatory<AccountId>: UnwindSafe + RefUnwindSafe,
bool: UnwindSafe + RefUnwindSafe,
Option<AuthorizationType>: UnwindSafe + RefUnwindSafe,
Vec<Authorization<AccountId, Moment>>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
fn IdentityApi_is_identity_has_valid_cdd_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(IdentityId, Option<u64>)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<CddStatus>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(IdentityId, Option<u64>)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<CddStatus>, RuntimeApiImplCall::Error>
fn IdentityApi_get_asset_did_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<Ticker>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<AssetDidResult>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<Ticker>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<AssetDidResult>, RuntimeApiImplCall::Error>
fn IdentityApi_get_did_records_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<IdentityId>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<DidRecords<AccountId, SecondaryKey<AccountId>>>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<IdentityId>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<DidRecords<AccountId, SecondaryKey<AccountId>>>, RuntimeApiImplCall::Error>
fn IdentityApi_get_did_status_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<Vec<IdentityId>>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Vec<DidStatus>>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<Vec<IdentityId>>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Vec<DidStatus>>, RuntimeApiImplCall::Error>
fn IdentityApi_get_key_identity_data_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<AccountId>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Option<KeyIdentityData<IdentityId>>>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<AccountId>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Option<KeyIdentityData<IdentityId>>>, RuntimeApiImplCall::Error>
fn IdentityApi_get_filtered_authorizations_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(Signatory<AccountId>, bool, Option<AuthorizationType>)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Vec<Authorization<AccountId, Moment>>>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(Signatory<AccountId>, bool, Option<AuthorizationType>)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Vec<Authorization<AccountId, Moment>>>, RuntimeApiImplCall::Error>
pub fn is_identity_has_valid_cdd(
&self,
__runtime_api_at_param__: &BlockId<Block>,
did: IdentityId,
buffer_time: Option<u64>
) -> Result<Result<IdentityId, Vec<u8, Global>>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
did: IdentityId,
buffer_time: Option<u64>
) -> Result<Result<IdentityId, Vec<u8, Global>>, Self::Error>
pub fn is_identity_has_valid_cdd_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
did: IdentityId,
buffer_time: Option<u64>
) -> Result<Result<IdentityId, Vec<u8, Global>>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
did: IdentityId,
buffer_time: Option<u64>
) -> Result<Result<IdentityId, Vec<u8, Global>>, Self::Error>
pub fn get_asset_did(
&self,
__runtime_api_at_param__: &BlockId<Block>,
ticker: Ticker
) -> Result<Result<IdentityId, Vec<u8, Global>>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
ticker: Ticker
) -> Result<Result<IdentityId, Vec<u8, Global>>, Self::Error>
pub fn get_asset_did_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
ticker: Ticker
) -> Result<Result<IdentityId, Vec<u8, Global>>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
ticker: Ticker
) -> Result<Result<IdentityId, Vec<u8, Global>>, Self::Error>
pub fn get_did_records(
&self,
__runtime_api_at_param__: &BlockId<Block>,
did: IdentityId
) -> Result<DidRecords<AccountId, SecondaryKey>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
did: IdentityId
) -> Result<DidRecords<AccountId, SecondaryKey>, Self::Error>
pub fn get_did_records_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
did: IdentityId
) -> Result<DidRecords<AccountId, SecondaryKey>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
did: IdentityId
) -> Result<DidRecords<AccountId, SecondaryKey>, Self::Error>
pub fn get_filtered_authorizations(
&self,
__runtime_api_at_param__: &BlockId<Block>,
signatory: Signatory,
allow_expired: bool,
auth_type: Option<AuthorizationType>
) -> Result<Vec<Authorization<AccountId, Moment>, Global>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
signatory: Signatory,
allow_expired: bool,
auth_type: Option<AuthorizationType>
) -> Result<Vec<Authorization<AccountId, Moment>, Global>, Self::Error>
pub fn get_filtered_authorizations_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
signatory: Signatory,
allow_expired: bool,
auth_type: Option<AuthorizationType>
) -> Result<Vec<Authorization<AccountId, Moment>, Global>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
signatory: Signatory,
allow_expired: bool,
auth_type: Option<AuthorizationType>
) -> Result<Vec<Authorization<AccountId, Moment>, Global>, Self::Error>
pub fn get_did_status(
&self,
__runtime_api_at_param__: &BlockId<Block>,
dids: Vec<IdentityId, Global>
) -> Result<Vec<DidStatus, Global>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
dids: Vec<IdentityId, Global>
) -> Result<Vec<DidStatus, Global>, Self::Error>
pub fn get_did_status_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
dids: Vec<IdentityId, Global>
) -> Result<Vec<DidStatus, Global>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
dids: Vec<IdentityId, Global>
) -> Result<Vec<DidStatus, Global>, Self::Error>
pub fn get_key_identity_data(
&self,
__runtime_api_at_param__: &BlockId<Block>,
acc: AccountId
) -> Result<Option<KeyIdentityData<IdentityId>>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
acc: AccountId
) -> Result<Option<KeyIdentityData<IdentityId>>, Self::Error>
pub fn get_key_identity_data_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
acc: AccountId
) -> Result<Option<KeyIdentityData<IdentityId>>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
acc: AccountId
) -> Result<Option<KeyIdentityData<IdentityId>>, Self::Error>
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> Metadata<__SR_API_BLOCK__> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
OpaqueMetadata: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
[src]
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
OpaqueMetadata: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
fn Metadata_metadata_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<OpaqueMetadata>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<OpaqueMetadata>, RuntimeApiImplCall::Error>
pub fn metadata(
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<OpaqueMetadata, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<OpaqueMetadata, Self::Error>
pub fn metadata_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<OpaqueMetadata, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<OpaqueMetadata, Self::Error>
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> OffchainWorkerApi<__SR_API_BLOCK__> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
<__SR_API_BLOCK__ as BlockT>::Header: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
[src]
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
<__SR_API_BLOCK__ as BlockT>::Header: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
fn OffchainWorkerApi_offchain_worker_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<&<__SR_API_BLOCK__ as BlockT>::Header>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<()>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<&<__SR_API_BLOCK__ as BlockT>::Header>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<()>, RuntimeApiImplCall::Error>
pub fn offchain_worker_before_version_2(
&self,
__runtime_api_at_param__: &BlockId<Block>,
number: <<Block as Block>::Header as Header>::Number
) -> Result<(), Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
number: <<Block as Block>::Header as Header>::Number
) -> Result<(), Self::Error>
pub fn offchain_worker_before_version_2_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
number: <<Block as Block>::Header as Header>::Number
) -> Result<(), Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
number: <<Block as Block>::Header as Header>::Number
) -> Result<(), Self::Error>
pub fn offchain_worker(
&self,
__runtime_api_at_param__: &BlockId<Block>,
header: &<Block as Block>::Header
) -> Result<(), Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
header: &<Block as Block>::Header
) -> Result<(), Self::Error>
pub fn offchain_worker_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
header: &<Block as Block>::Header
) -> Result<(), Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
header: &<Block as Block>::Header
) -> Result<(), Self::Error>
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> PipsApi<__SR_API_BLOCK__, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
u32: UnwindSafe + RefUnwindSafe,
VoteCount<Balance>: UnwindSafe + RefUnwindSafe,
AccountId: UnwindSafe + RefUnwindSafe,
Vec<u32>: UnwindSafe + RefUnwindSafe,
AccountId: UnwindSafe + RefUnwindSafe,
Vec<u32>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
[src]
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
u32: UnwindSafe + RefUnwindSafe,
VoteCount<Balance>: UnwindSafe + RefUnwindSafe,
AccountId: UnwindSafe + RefUnwindSafe,
Vec<u32>: UnwindSafe + RefUnwindSafe,
AccountId: UnwindSafe + RefUnwindSafe,
Vec<u32>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
fn PipsApi_get_votes_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<u32>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<VoteCount<Balance>>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<u32>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<VoteCount<Balance>>, RuntimeApiImplCall::Error>
fn PipsApi_proposed_by_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<AccountId>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Vec<u32>>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<AccountId>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Vec<u32>>, RuntimeApiImplCall::Error>
fn PipsApi_voted_on_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<AccountId>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Vec<u32>>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<AccountId>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Vec<u32>>, RuntimeApiImplCall::Error>
pub fn get_votes(
&self,
__runtime_api_at_param__: &BlockId<Block>,
pips_index: u32
) -> Result<VoteCount<Balance>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
pips_index: u32
) -> Result<VoteCount<Balance>, Self::Error>
pub fn get_votes_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
pips_index: u32
) -> Result<VoteCount<Balance>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
pips_index: u32
) -> Result<VoteCount<Balance>, Self::Error>
pub fn proposed_by(
&self,
__runtime_api_at_param__: &BlockId<Block>,
address: AccountId
) -> Result<Vec<u32, Global>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
address: AccountId
) -> Result<Vec<u32, Global>, Self::Error>
pub fn proposed_by_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
address: AccountId
) -> Result<Vec<u32, Global>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
address: AccountId
) -> Result<Vec<u32, Global>, Self::Error>
pub fn voted_on(
&self,
__runtime_api_at_param__: &BlockId<Block>,
address: AccountId
) -> Result<Vec<u32, Global>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
address: AccountId
) -> Result<Vec<u32, Global>, Self::Error>
pub fn voted_on_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
address: AccountId
) -> Result<Vec<u32, Global>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
address: AccountId
) -> Result<Vec<u32, Global>, Self::Error>
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> ProtocolFeeApi<__SR_API_BLOCK__> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
ProtocolOp: UnwindSafe + RefUnwindSafe,
CappedFee: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
[src]
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
ProtocolOp: UnwindSafe + RefUnwindSafe,
CappedFee: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
fn ProtocolFeeApi_compute_fee_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<ProtocolOp>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<CappedFee>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<ProtocolOp>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<CappedFee>, RuntimeApiImplCall::Error>
pub fn compute_fee(
&self,
__runtime_api_at_param__: &BlockId<Block>,
op: ProtocolOp
) -> Result<CappedFee, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
op: ProtocolOp
) -> Result<CappedFee, Self::Error>
pub fn compute_fee_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
op: ProtocolOp
) -> Result<CappedFee, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
op: ProtocolOp
) -> Result<CappedFee, Self::Error>
impl<Block: BlockT, C: CallApiAt<Block>> Send for RuntimeApiImpl<Block, C> where
C::StateBackend: StateBackend<HashFor<Block>>,
[src]
C::StateBackend: StateBackend<HashFor<Block>>,
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> SessionKeys<__SR_API_BLOCK__> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
Option<Vec<u8>>: UnwindSafe + RefUnwindSafe,
Vec<u8>: UnwindSafe + RefUnwindSafe,
Vec<u8>: UnwindSafe + RefUnwindSafe,
Option<Vec<(Vec<u8>, KeyTypeId)>>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
[src]
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
Option<Vec<u8>>: UnwindSafe + RefUnwindSafe,
Vec<u8>: UnwindSafe + RefUnwindSafe,
Vec<u8>: UnwindSafe + RefUnwindSafe,
Option<Vec<(Vec<u8>, KeyTypeId)>>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
fn SessionKeys_generate_session_keys_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<Option<Vec<u8>>>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Vec<u8>>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<Option<Vec<u8>>>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Vec<u8>>, RuntimeApiImplCall::Error>
fn SessionKeys_decode_session_keys_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<Vec<u8>>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Option<Vec<(Vec<u8>, KeyTypeId)>>>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<Vec<u8>>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Option<Vec<(Vec<u8>, KeyTypeId)>>>, RuntimeApiImplCall::Error>
pub fn generate_session_keys(
&self,
__runtime_api_at_param__: &BlockId<Block>,
seed: Option<Vec<u8, Global>>
) -> Result<Vec<u8, Global>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
seed: Option<Vec<u8, Global>>
) -> Result<Vec<u8, Global>, Self::Error>
pub fn generate_session_keys_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
seed: Option<Vec<u8, Global>>
) -> Result<Vec<u8, Global>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
seed: Option<Vec<u8, Global>>
) -> Result<Vec<u8, Global>, Self::Error>
pub fn decode_session_keys(
&self,
__runtime_api_at_param__: &BlockId<Block>,
encoded: Vec<u8, Global>
) -> Result<Option<Vec<(Vec<u8, Global>, KeyTypeId), Global>>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
encoded: Vec<u8, Global>
) -> Result<Option<Vec<(Vec<u8, Global>, KeyTypeId), Global>>, Self::Error>
pub fn decode_session_keys_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
encoded: Vec<u8, Global>
) -> Result<Option<Vec<(Vec<u8, Global>, KeyTypeId), Global>>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
encoded: Vec<u8, Global>
) -> Result<Option<Vec<(Vec<u8, Global>, KeyTypeId), Global>>, Self::Error>
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> StakingApi<__SR_API_BLOCK__> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
Vec<(Perbill, Perbill)>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
[src]
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
Vec<(Perbill, Perbill)>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
fn StakingApi_get_curve_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Vec<(Perbill, Perbill)>>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<()>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<Vec<(Perbill, Perbill)>>, RuntimeApiImplCall::Error>
pub fn get_curve(
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<Vec<(Perbill, Perbill), Global>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<Vec<(Perbill, Perbill), Global>, Self::Error>
pub fn get_curve_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<Vec<(Perbill, Perbill), Global>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<Vec<(Perbill, Perbill), Global>, Self::Error>
impl<Block: BlockT, C: CallApiAt<Block>> Sync for RuntimeApiImpl<Block, C> where
C::StateBackend: StateBackend<HashFor<Block>>,
[src]
C::StateBackend: StateBackend<HashFor<Block>>,
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> TaggedTransactionQueue<__SR_API_BLOCK__> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
TransactionSource: UnwindSafe + RefUnwindSafe,
<__SR_API_BLOCK__ as BlockT>::Extrinsic: UnwindSafe + RefUnwindSafe,
TransactionValidity: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
[src]
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
TransactionSource: UnwindSafe + RefUnwindSafe,
<__SR_API_BLOCK__ as BlockT>::Extrinsic: UnwindSafe + RefUnwindSafe,
TransactionValidity: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
fn TaggedTransactionQueue_validate_transaction_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(TransactionSource, <__SR_API_BLOCK__ as BlockT>::Extrinsic)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<TransactionValidity>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(TransactionSource, <__SR_API_BLOCK__ as BlockT>::Extrinsic)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<TransactionValidity>, RuntimeApiImplCall::Error>
pub fn validate_transaction_before_version_2(
&self,
__runtime_api_at_param__: &BlockId<Block>,
tx: <Block as Block>::Extrinsic
) -> Result<Result<ValidTransaction, TransactionValidityError>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
tx: <Block as Block>::Extrinsic
) -> Result<Result<ValidTransaction, TransactionValidityError>, Self::Error>
pub fn validate_transaction_before_version_2_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
tx: <Block as Block>::Extrinsic
) -> Result<Result<ValidTransaction, TransactionValidityError>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
tx: <Block as Block>::Extrinsic
) -> Result<Result<ValidTransaction, TransactionValidityError>, Self::Error>
pub fn validate_transaction(
&self,
__runtime_api_at_param__: &BlockId<Block>,
source: TransactionSource,
tx: <Block as Block>::Extrinsic
) -> Result<Result<ValidTransaction, TransactionValidityError>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
source: TransactionSource,
tx: <Block as Block>::Extrinsic
) -> Result<Result<ValidTransaction, TransactionValidityError>, Self::Error>
pub fn validate_transaction_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
source: TransactionSource,
tx: <Block as Block>::Extrinsic
) -> Result<Result<ValidTransaction, TransactionValidityError>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
source: TransactionSource,
tx: <Block as Block>::Extrinsic
) -> Result<Result<ValidTransaction, TransactionValidityError>, Self::Error>
impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> TransactionPaymentApi<__SR_API_BLOCK__, u128, UncheckedExtrinsic<<Module<Runtime> as StaticLookup>::Source, Call, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, StoreCallMetadata<Runtime>)>> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
UncheckedExtrinsic: UnwindSafe + RefUnwindSafe,
u32: UnwindSafe + RefUnwindSafe,
RuntimeDispatchInfo<Balance>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
[src]
RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
UncheckedExtrinsic: UnwindSafe + RefUnwindSafe,
u32: UnwindSafe + RefUnwindSafe,
RuntimeDispatchInfo<Balance>: UnwindSafe + RefUnwindSafe,
__SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,
fn TransactionPaymentApi_query_info_runtime_api_impl(
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(UncheckedExtrinsic, u32)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<RuntimeDispatchInfo<Balance>>, RuntimeApiImplCall::Error>
[src]
&self,
at: &BlockId<__SR_API_BLOCK__>,
context: ExecutionContext,
params: Option<(UncheckedExtrinsic, u32)>,
params_encoded: Vec<u8>
) -> Result<NativeOrEncoded<RuntimeDispatchInfo<Balance>>, RuntimeApiImplCall::Error>
pub fn query_info(
&self,
__runtime_api_at_param__: &BlockId<Block>,
uxt: Extrinsic,
len: u32
) -> Result<RuntimeDispatchInfo<Balance>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
uxt: Extrinsic,
len: u32
) -> Result<RuntimeDispatchInfo<Balance>, Self::Error>
pub fn query_info_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
uxt: Extrinsic,
len: u32
) -> Result<RuntimeDispatchInfo<Balance>, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
uxt: Extrinsic,
len: u32
) -> Result<RuntimeDispatchInfo<Balance>, Self::Error>
Auto Trait Implementations
impl<Block, C> !RefUnwindSafe for RuntimeApiImpl<Block, C>
[src]
impl<Block, C> Unpin for RuntimeApiImpl<Block, C> where
<Block as Block>::Hash: Unpin,
<<Block as Block>::Header as Header>::Hashing: Unpin,
<<Block as Block>::Header as Header>::Number: Unpin,
<<C as CallApiAt<Block>>::StateBackend as Backend<<<Block as Block>::Header as Header>::Hashing>>::Transaction: Unpin,
[src]
<Block as Block>::Hash: Unpin,
<<Block as Block>::Header as Header>::Hashing: Unpin,
<<Block as Block>::Header as Header>::Number: Unpin,
<<C as CallApiAt<Block>>::StateBackend as Backend<<<Block as Block>::Header as Header>::Hashing>>::Transaction: Unpin,
impl<Block, C> !UnwindSafe for RuntimeApiImpl<Block, C>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> Cast<U> for T where
U: FromCast<T>,
U: FromCast<T>,
pub fn cast(self) -> U
impl<T> CheckedConversion for T
pub fn checked_from<T>(t: T) -> Option<Self> where
Self: TryFrom<T>,
Self: TryFrom<T>,
pub fn checked_into<T>(self) -> Option<T> where
Self: TryInto<T>,
Self: TryInto<T>,
impl<T> From<T> for T
[src]
impl<T> FromBits<T> for T
pub fn from_bits(t: T) -> T
impl<T> FromCast<T> for T
pub fn from_cast(t: T) -> T
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
U: FromBits<T>,
pub fn into_bits(self) -> U
impl<T> IsType<T> for T
pub fn from_ref(t: &T) -> &T
pub fn into_ref(&self) -> &T
pub fn from_mut(t: &mut T) -> &mut T
pub fn into_mut(&mut self) -> &mut T
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
pub fn from_ref(outer: &Outer) -> &T
Get a reference to the inner from the outer.
pub fn from_mut(outer: &mut Outer) -> &mut T
Get a mutable reference to the inner from the outer.
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SaturatedConversion for T
pub fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
Self: UniqueSaturatedFrom<T>,
pub fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
Self: UniqueSaturatedInto<T>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub unsafe fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
T: UncheckedFrom<S>,
pub fn unchecked_into(self) -> T
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>,
T: Bounded,
S: TryInto<T>,
pub fn unique_saturated_into(self) -> T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,