[]Trait polymesh::service::ConstructRuntimeApi

pub trait ConstructRuntimeApi<Block, C> where
    C: CallApiAt<Block>,
    Block: Block, 
{ type RuntimeApi: ApiExt<Block>; pub fn construct_runtime_api(call: &'a C) -> ApiRef<'a, Self::RuntimeApi>; }

Something that can be constructed to a runtime api.

Associated Types

type RuntimeApi: ApiExt<Block>

The actual runtime api that will be constructed.

Loading content...

Required methods

pub fn construct_runtime_api(call: &'a C) -> ApiRef<'a, Self::RuntimeApi>

Construct an instance of the runtime api.

Loading content...

Implementations on Foreign Types

impl<Block, C> ConstructRuntimeApi<Block, C> for RuntimeApi where
    C: CallApiAt<Block> + 'static,
    Block: Block,
    <C as CallApiAt<Block>>::StateBackend: Backend<<<Block as Block>::Header as Header>::Hashing>, 
[src]

type RuntimeApi = RuntimeApiImpl<Block, C>

impl<Block, C> ConstructRuntimeApi<Block, C> for RuntimeApi where
    C: CallApiAt<Block> + 'static,
    Block: Block,
    <C as CallApiAt<Block>>::StateBackend: Backend<<<Block as Block>::Header as Header>::Hashing>, 
[src]

type RuntimeApi = RuntimeApiImpl<Block, C>

impl<Block, C> ConstructRuntimeApi<Block, C> for RuntimeApi where
    C: CallApiAt<Block> + 'static,
    Block: Block,
    <C as CallApiAt<Block>>::StateBackend: Backend<<<Block as Block>::Header as Header>::Hashing>, 
[src]

type RuntimeApi = RuntimeApiImpl<Block, C>

Loading content...

Implementors

Loading content...