Struct subsocial_runtime::RuntimeApiImpl[][src]

pub struct RuntimeApiImpl<Block: BlockT, C: CallApiAt<Block> + 'static> where
    C::StateBackend: StateBackend<HashFor<Block>>, 
{ /* fields omitted */ }

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]

impl<Block: BlockT, C: CallApiAt<Block>> ApiErrorExt for RuntimeApiImpl<Block, C> where
    C::StateBackend: StateBackend<HashFor<Block>>, 
[src]

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]

type StateBackend = C::StateBackend

The state backend that is used to store the block states.

impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> AuraApi<__SR_API_BLOCK__, Public> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
    RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
    u64: UnwindSafe + RefUnwindSafe,
    Vec<AuraId>: UnwindSafe + RefUnwindSafe,
    __SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe
[src]

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]

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]

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__>>,
    GrandpaAuthorityList: UnwindSafe + RefUnwindSafe,
    EquivocationProof<<__SR_API_BLOCK__ as BlockT>::Hash, NumberFor<__SR_API_BLOCK__>>: UnwindSafe + RefUnwindSafe,
    OpaqueKeyOwnershipProof: UnwindSafe + RefUnwindSafe,
    Option<()>: UnwindSafe + RefUnwindSafe,
    SetId: UnwindSafe + RefUnwindSafe,
    GrandpaId: UnwindSafe + RefUnwindSafe,
    Option<OpaqueKeyOwnershipProof>: UnwindSafe + RefUnwindSafe,
    __SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe
[src]

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]

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]

impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> PostsApi<__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__>>,
    Vec<PostId>: UnwindSafe + RefUnwindSafe,
    u64: UnwindSafe + RefUnwindSafe,
    u16: UnwindSafe + RefUnwindSafe,
    Vec<FlatPost<AccountId, BlockNumber>>: UnwindSafe + RefUnwindSafe,
    Vec<FlatPostKind>: UnwindSafe + RefUnwindSafe,
    u64: UnwindSafe + RefUnwindSafe,
    u16: UnwindSafe + RefUnwindSafe,
    Vec<FlatPost<AccountId, BlockNumber>>: UnwindSafe + RefUnwindSafe,
    SpaceId: UnwindSafe + RefUnwindSafe,
    u64: UnwindSafe + RefUnwindSafe,
    u16: UnwindSafe + RefUnwindSafe,
    Vec<FlatPost<AccountId, BlockNumber>>: UnwindSafe + RefUnwindSafe,
    SpaceId: UnwindSafe + RefUnwindSafe,
    u64: UnwindSafe + RefUnwindSafe,
    u16: UnwindSafe + RefUnwindSafe,
    Vec<FlatPost<AccountId, BlockNumber>>: UnwindSafe + RefUnwindSafe,
    PostId: UnwindSafe + RefUnwindSafe,
    Vec<PostId>: UnwindSafe + RefUnwindSafe,
    Vec<PostId>: UnwindSafe + RefUnwindSafe,
    BTreeMap<PostId, Vec<PostId>>: UnwindSafe + RefUnwindSafe,
    PostId: UnwindSafe + RefUnwindSafe,
    u64: UnwindSafe + RefUnwindSafe,
    u16: UnwindSafe + RefUnwindSafe,
    Vec<FlatPost<AccountId, BlockNumber>>: UnwindSafe + RefUnwindSafe,
    Vec<PostId>: UnwindSafe + RefUnwindSafe,
    u64: UnwindSafe + RefUnwindSafe,
    u16: UnwindSafe + RefUnwindSafe,
    RepliesByPostId<AccountId, BlockNumber>: UnwindSafe + RefUnwindSafe,
    SpaceId: UnwindSafe + RefUnwindSafe,
    Vec<PostId>: UnwindSafe + RefUnwindSafe,
    SpaceId: UnwindSafe + RefUnwindSafe,
    Vec<PostId>: UnwindSafe + RefUnwindSafe,
    PostId: UnwindSafe + RefUnwindSafe,
    AccountId: UnwindSafe + RefUnwindSafe,
    u64: UnwindSafe + RefUnwindSafe,
    u16: UnwindSafe + RefUnwindSafe,
    Vec<FlatPost<AccountId, BlockNumber>>: UnwindSafe + RefUnwindSafe,
    __SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe
[src]

impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> ProfileFollowsApi<__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,
    Vec<AccountId>: UnwindSafe + RefUnwindSafe,
    Vec<AccountId>: UnwindSafe + RefUnwindSafe,
    __SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe
[src]

impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> ProfilesApi<__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__>>,
    Vec<AccountId>: UnwindSafe + RefUnwindSafe,
    Vec<FlatSocialAccount<AccountId, BlockNumber>>: UnwindSafe + RefUnwindSafe,
    __SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe
[src]

impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> ReactionsApi<__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__>>,
    Vec<ReactionId>: UnwindSafe + RefUnwindSafe,
    Vec<FlatReaction<AccountId, BlockNumber>>: UnwindSafe + RefUnwindSafe,
    PostId: UnwindSafe + RefUnwindSafe,
    u64: UnwindSafe + RefUnwindSafe,
    u64: UnwindSafe + RefUnwindSafe,
    Vec<FlatReaction<AccountId, BlockNumber>>: UnwindSafe + RefUnwindSafe,
    Vec<PostId>: UnwindSafe + RefUnwindSafe,
    AccountId: UnwindSafe + RefUnwindSafe,
    BTreeMap<PostId, ReactionKind>: UnwindSafe + RefUnwindSafe,
    __SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe
[src]

impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> RolesApi<__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,
    SpaceId: UnwindSafe + RefUnwindSafe,
    Vec<SpacePermission>: UnwindSafe + RefUnwindSafe,
    SpaceId: UnwindSafe + RefUnwindSafe,
    Vec<AccountId>: UnwindSafe + RefUnwindSafe,
    AccountId: UnwindSafe + RefUnwindSafe,
    Vec<SpaceId>: UnwindSafe + RefUnwindSafe,
    __SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe
[src]

impl<Block: BlockT, C: CallApiAt<Block>> Send for RuntimeApiImpl<Block, C> where
    C::StateBackend: StateBackend<HashFor<Block>>, 
[src]

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]

impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> SpaceFollowsApi<__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,
    Vec<SpaceId>: UnwindSafe + RefUnwindSafe,
    AccountId: UnwindSafe + RefUnwindSafe,
    Vec<SpaceId>: UnwindSafe + RefUnwindSafe,
    Vec<SpaceId>: UnwindSafe + RefUnwindSafe,
    __SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe
[src]

impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> SpacesApi<__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__>>,
    u64: UnwindSafe + RefUnwindSafe,
    u64: UnwindSafe + RefUnwindSafe,
    Vec<FlatSpace<AccountId, BlockNumber>>: UnwindSafe + RefUnwindSafe,
    Vec<SpaceId>: UnwindSafe + RefUnwindSafe,
    Vec<FlatSpace<AccountId, BlockNumber>>: UnwindSafe + RefUnwindSafe,
    u64: UnwindSafe + RefUnwindSafe,
    u64: UnwindSafe + RefUnwindSafe,
    Vec<FlatSpace<AccountId, BlockNumber>>: UnwindSafe + RefUnwindSafe,
    u64: UnwindSafe + RefUnwindSafe,
    u64: UnwindSafe + RefUnwindSafe,
    Vec<FlatSpace<AccountId, BlockNumber>>: UnwindSafe + RefUnwindSafe,
    Vec<u8>: UnwindSafe + RefUnwindSafe,
    Option<SpaceId>: UnwindSafe + RefUnwindSafe,
    Vec<u8>: UnwindSafe + RefUnwindSafe,
    Option<FlatSpace<AccountId, BlockNumber>>: UnwindSafe + RefUnwindSafe,
    AccountId: UnwindSafe + RefUnwindSafe,
    Vec<SpaceId>: UnwindSafe + RefUnwindSafe,
    AccountId: UnwindSafe + RefUnwindSafe,
    Vec<SpaceId>: UnwindSafe + RefUnwindSafe,
    SpaceId: UnwindSafe + RefUnwindSafe,
    __SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe
[src]

impl<Block: BlockT, C: CallApiAt<Block>> Sync for RuntimeApiImpl<Block, C> where
    C::StateBackend: StateBackend<HashFor<Block>>, 
[src]

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]

impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> TransactionPaymentApi<__SR_API_BLOCK__, u128> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
    RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
    <__SR_API_BLOCK__ as BlockT>::Extrinsic: UnwindSafe + RefUnwindSafe,
    u32: UnwindSafe + RefUnwindSafe,
    RuntimeDispatchInfo<Balance>: UnwindSafe + RefUnwindSafe,
    __SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe
[src]

Auto Trait Implementations

impl<Block, C> !RefUnwindSafe for RuntimeApiImpl<Block, C>

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

impl<Block, C> !UnwindSafe for RuntimeApiImpl<Block, C>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedConversion for T[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IsType<T> for T[src]

impl<T, Outer> IsWrappedBy<Outer> for T where
    T: From<Outer>,
    Outer: AsRef<T> + AsMut<T> + From<T>, 
[src]

pub fn from_ref(outer: &Outer) -> &T[src]

Get a reference to the inner from the outer.

pub fn from_mut(outer: &mut Outer) -> &mut T[src]

Get a mutable reference to the inner from the outer.

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> SaturatedConversion for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 
[src]

impl<T, S> UniqueSaturatedInto<T> for S where
    T: Bounded,
    S: TryInto<T>, 
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]