[][src]Struct sc_service::Service

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

Substrate service.

Trait Implementations

impl<TBl, TBackend, TExec, TRtApi, TSc, TExPool, TOc> AbstractService for Service<TBl, Client<TBackend, TExec, TBl, TRtApi>, TSc, NetworkStatus<TBl>, NetworkService<TBl, TBl::Hash>, TExPool, TOc> where
    TBl: BlockT + Unpin,
    TBackend: 'static + Backend<TBl>,
    TExec: 'static + CallExecutor<TBl> + Send + Sync + Clone,
    TRtApi: 'static + Send + Sync,
    TSc: SelectChain<TBl> + 'static + Clone + Send + Unpin,
    TExPool: 'static + TransactionPool<Block = TBl> + MallocSizeOfWasm,
    TOc: 'static + Send + Sync
[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 TransactionPool = TExPool

Transaction pool.

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

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

type Output = Result<(), Error>

The type of value produced on completion.

impl<TBl, TCl, TSc, TNetStatus, TNet, TTxPool, TOc> Spawn for Service<TBl, TCl, TSc, TNetStatus, TNet, TTxPool, TOc>[src]

Auto Trait Implementations

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

impl<TBl, TCl, TSc, TNetStatus, TNet, TTxPool, TOc> Send for Service<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> Sync for Service<TBl, TCl, TSc, TNetStatus, TNet, TTxPool, TOc> where
    TBl: Sync,
    TCl: Send + Sync,
    TNet: Send + Sync,
    TNetStatus: Send,
    TOc: Send + Sync,
    TSc: Sync,
    TTxPool: Send + Sync

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

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

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> Erased for T[src]

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

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

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

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

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

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

type Output = <T as Future>::Output

The type of value produced on completion.

type Future = T

Which kind of future are we turning this into?

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> SaturatedConversion for T[src]

impl<Sp> SpawnExt for Sp where
    Sp: Spawn + ?Sized
[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<F, T, E> TryFuture for F where
    F: Future<Output = Result<T, E>> + ?Sized
[src]

type Ok = T

The type of successful values yielded by this future

type Error = E

The type of failures yielded by this future

impl<Fut> TryFutureExt for Fut where
    Fut: TryFuture + ?Sized
[src]

impl<F> TryFutureExt for F where
    F: TryFuture
[src]

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> Typeable for T where
    T: Any
[src]

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

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

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