Struct fc_rpc::EthTask[][src]

pub struct EthTask<B, C>(_);

Implementations

impl<B, C> EthTask<B, C> where
    C: ProvideRuntimeApi<B> + BlockchainEvents<B>,
    B: BlockT
[src]

pub async fn pending_transaction_task(
    client: Arc<C>,
    pending_transactions: Arc<Mutex<HashMap<H256, PendingTransaction>>>,
    retain_threshold: u64
)
[src]

pub async fn filter_pool_task(
    client: Arc<C>,
    filter_pool: Arc<Mutex<BTreeMap<U256, FilterPoolItem>>>,
    retain_threshold: u64
)
[src]

Auto Trait Implementations

impl<B, C> RefUnwindSafe for EthTask<B, C> where
    B: RefUnwindSafe,
    C: RefUnwindSafe

impl<B, C> Send for EthTask<B, C> where
    B: Send,
    C: Send

impl<B, C> Sync for EthTask<B, C> where
    B: Sync,
    C: Sync

impl<B, C> Unpin for EthTask<B, C> where
    B: Unpin,
    C: Unpin

impl<B, C> UnwindSafe for EthTask<B, C> where
    B: UnwindSafe,
    C: UnwindSafe

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> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe

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]