[][src]Struct substrate_service::NewService

pub struct NewService<TBl, TCl, TSc, TNetStatus, TNet, TTxPool, TOc> { /* fields omitted */ }

Substrate service.

Trait Implementations

impl<TBl, TBackend, TExec, TRtApi, TSc, TNetSpec, TExPoolApi, TOc> AbstractService for NewService<TBl, Client<TBackend, TExec, TBl, TRtApi>, TSc, NetworkStatus<TBl>, NetworkService<TBl, TNetSpec, H256>, TransactionPool<TExPoolApi>, TOc> where
    TBl: BlockT<Hash = H256>,
    TBackend: 'static + Backend<TBl, Blake2Hasher>,
    TExec: 'static + CallExecutor<TBl, Blake2Hasher> + Send + Sync + Clone,
    TRtApi: 'static + Send + Sync,
    TSc: SelectChain<TBl> + 'static + Clone + Send,
    TExPoolApi: 'static + ChainApi<Block = TBl>,
    TOc: 'static + Send + Sync,
    TNetSpec: NetworkSpecialization<TBl>, 
[src]

type Block = TBl

Type of block of this chain.

type Backend = TBackend

Backend storage for the client.

type CallExecutor = TExec

How to execute calls towards the runtime.

type RuntimeApi = TRtApi

API that the runtime provides.

type SelectChain = TSc

Chain selection algorithm.

type TransactionPoolApi = TExPoolApi

API of the transaction pool.

type NetworkSpecialization = TNetSpec

Network specialization.

impl<TBl, TCl, TSc, TNetStatus, TNet, TTxPool, TOc> Drop for NewService<TBl, TCl, TSc, TNetStatus, TNet, TTxPool, TOc>[src]

impl<TBl, TCl, TSc, TNetStatus, TNet, TTxPool, TOc> Future for NewService<TBl, TCl, TSc, TNetStatus, TNet, TTxPool, TOc>[src]

type Item = ()

The type of value that this future will resolved with if it is successful. Read more

type Error = Error

The type of error that this future will resolve with if it fails in a normal fashion. Read more

impl<TBl, TCl, TSc, TNetStatus, TNet, TTxPool, TOc> Executor<Box<dyn Future<Item = (), Error = ()> + 'static + Send>> for NewService<TBl, TCl, TSc, TNetStatus, TNet, TTxPool, TOc>[src]

Auto Trait Implementations

impl<TBl, TCl, TSc, TNetStatus, TNet, TTxPool, TOc> !Sync for NewService<TBl, TCl, TSc, TNetStatus, TNet, TTxPool, TOc>

impl<TBl, TCl, TSc, TNetStatus, TNet, TTxPool, TOc> Send for NewService<TBl, TCl, TSc, TNetStatus, TNet, TTxPool, TOc> where
    TBl: Send,
    TCl: Send + Sync,
    TNet: Send + Sync,
    TNetStatus: Send,
    TOc: Send + Sync,
    TSc: Send,
    TTxPool: Send + Sync

impl<TBl, TCl, TSc, TNetStatus, TNet, TTxPool, TOc> Unpin for NewService<TBl, TCl, TSc, TNetStatus, TNet, TTxPool, TOc> where
    TBl: Unpin,
    TSc: Unpin

impl<TBl, TCl, TSc, TNetStatus, TNet, TTxPool, TOc> !UnwindSafe for NewService<TBl, TCl, TSc, TNetStatus, TNet, TTxPool, TOc>

impl<TBl, TCl, TSc, TNetStatus, TNet, TTxPool, TOc> !RefUnwindSafe for NewService<TBl, TCl, TSc, TNetStatus, TNet, TTxPool, TOc>

Blanket Implementations

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

impl<T> From<T> 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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

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

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

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

Get a reference to the inner from the outer.

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

Get a mutable reference to the inner from the outer.

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

type Output = T

Should always be Self

impl<T> Erased for T[src]

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

impl<T> SaturatedConversion for T[src]

impl<T> CheckedConversion for T[src]

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

impl<F> IntoFuture for F where
    F: Future
[src]

type Future = F

The future that this type can be converted into.

type Item = <F as Future>::Item

The item that the future may resolve with.

type Error = <F as Future>::Error

The error that the future may resolve with.

impl<Fut> Future01CompatExt for Fut where
    Fut: Future
[src]

impl<T> FutureExt for T where
    T: Future + ?Sized
[src]

impl<T> Erased for T[src]

impl<T> Typeable for T where
    T: Any
[src]