Struct fc_rpc::EthPubSubApi[][src]

pub struct EthPubSubApi<B: BlockT, P, C, BE, H: ExHashT> { /* fields omitted */ }

Implementations

impl<B: BlockT, P, C, BE, H: ExHashT> EthPubSubApi<B, P, C, BE, H>[src]

pub fn new(
    _pool: Arc<P>,
    client: Arc<C>,
    network: Arc<NetworkService<B, H>>,
    subscriptions: SubscriptionManager<HexEncodedIdProvider>
) -> Self
[src]

Trait Implementations

impl<B: BlockT, P, C, BE, H: ExHashT> EthPubSubApi for EthPubSubApi<B, P, C, BE, H> where
    B: BlockT<Hash = H256> + Send + Sync + 'static,
    P: TransactionPool<Block = B> + Send + Sync + 'static,
    C: ProvideRuntimeApi<B> + StorageProvider<B, BE> + BlockchainEvents<B> + AuxStore,
    C: HeaderBackend<B> + HeaderMetadata<B, Error = BlockChainError> + 'static,
    C: Send + Sync + 'static,
    C::Api: EthereumRuntimeRPCApi<B>,
    BE: Backend<B> + 'static,
    BE::State: StateBackend<BlakeTwo256>, 
[src]

type Metadata = Metadata

RPC Metadata

Auto Trait Implementations

impl<B, P, C, BE, H> !RefUnwindSafe for EthPubSubApi<B, P, C, BE, H>

impl<B, P, C, BE, H> Send for EthPubSubApi<B, P, C, BE, H> where
    BE: Send,
    C: Send + Sync,
    P: Send + Sync

impl<B, P, C, BE, H> Sync for EthPubSubApi<B, P, C, BE, H> where
    BE: Sync,
    C: Send + Sync,
    P: Send + Sync

impl<B, P, C, BE, H> Unpin for EthPubSubApi<B, P, C, BE, H> where
    B: Unpin,
    BE: Unpin

impl<B, P, C, BE, H> !UnwindSafe for EthPubSubApi<B, P, C, BE, H>

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

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

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

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

Get a reference to the inner from the outer.

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

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

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

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

impl<T> WithSubscriber for T[src]