Struct substrate_frame_rpc_system::LightSystem[][src]

pub struct LightSystem<P: TransactionPool, C, F, Block> { /* fields omitted */ }

An implementation of System-specific RPC methods on light client.

Implementations

impl<P: TransactionPool, C, F, Block> LightSystem<P, C, F, Block>[src]

pub fn new(
    client: Arc<C>,
    remote_blockchain: Arc<dyn RemoteBlockchain<Block>>,
    fetcher: Arc<F>,
    pool: Arc<P>
) -> Self
[src]

Create new LightSystem.

Trait Implementations

impl<P, C, F, Block, AccountId, Index> SystemApi<<Block as Block>::Hash, AccountId, Index> for LightSystem<P, C, F, Block> where
    P: TransactionPool + 'static,
    C: HeaderBackend<Block>,
    C: Send + Sync + 'static,
    F: Fetcher<Block> + 'static,
    Block: Block,
    AccountId: Clone + Display + Codec + Send + 'static,
    Index: Clone + Display + Codec + Send + AtLeast32Bit + 'static, 
[src]

Auto Trait Implementations

impl<P, C, F, Block> !RefUnwindSafe for LightSystem<P, C, F, Block>[src]

impl<P, C, F, Block> Send for LightSystem<P, C, F, Block> where
    C: Send + Sync,
    F: Send + Sync
[src]

impl<P, C, F, Block> Sync for LightSystem<P, C, F, Block> where
    C: Send + Sync,
    F: Send + Sync
[src]

impl<P, C, F, Block> Unpin for LightSystem<P, C, F, Block>[src]

impl<P, C, F, Block> !UnwindSafe for LightSystem<P, C, F, Block>[src]

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, 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> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatedConversion for T

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>, 

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,