Struct fc_mapping_sync::MappingSyncWorker[][src]

pub struct MappingSyncWorker<Block: BlockT, C, B> { /* fields omitted */ }

Implementations

impl<Block: BlockT, C, B> MappingSyncWorker<Block, C, B>[src]

pub fn new(
    import_notifications: ImportNotifications<Block>,
    timeout: Duration,
    client: Arc<C>,
    substrate_backend: Arc<B>,
    frontier_backend: Arc<Backend<Block>>
) -> Self
[src]

Trait Implementations

impl<Block: BlockT, C, B> Stream for MappingSyncWorker<Block, C, B> where
    C: ProvideRuntimeApi<Block> + Send + Sync + HeaderBackend<Block> + BlockOf,
    C::Api: EthereumRuntimeRPCApi<Block>,
    B: Backend<Block>, 
[src]

type Item = ()

Values yielded by the stream.

Auto Trait Implementations

impl<Block, C, B> !RefUnwindSafe for MappingSyncWorker<Block, C, B>

impl<Block, C, B> Send for MappingSyncWorker<Block, C, B> where
    B: Send + Sync,
    C: Send + Sync

impl<Block, C, B> Sync for MappingSyncWorker<Block, C, B> where
    B: Send + Sync,
    C: Send + Sync

impl<Block, C, B> Unpin for MappingSyncWorker<Block, C, B>

impl<Block, C, B> !UnwindSafe for MappingSyncWorker<Block, C, B>

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<I> IntoStream for I where
    I: Stream, 

type Item = <I as Stream>::Item

The type of the elements being iterated over.

type IntoStream = I

Which kind of stream are we turning this into?

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> StreamExt for T where
    T: Stream + ?Sized

impl<T> StreamExt for T where
    T: Stream + ?Sized

impl<S> StreamExt for S where
    S: Stream + ?Sized

impl<St> StreamExt for St where
    St: Stream + ?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<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>,