[][src]Struct blockchain_network_simple::BestDepthImporter

pub struct BestDepthImporter<E: BlockExecutor, Ba: Backend<Block = E::Block>> where
    Ba::Auxiliary: Auxiliary<E::Block>, 
{ /* fields omitted */ }

Methods

impl<E: BlockExecutor, Ba: ChainQuery + Backend<Block = E::Block>> BestDepthImporter<E, Ba> where
    Ba::Auxiliary: Auxiliary<E::Block>,
    Ba::State: AsExternalities<E::Externalities>, 
[src]

pub fn new(executor: E, backend: SharedBackend<Ba>) -> Self[src]

Trait Implementations

impl<E: BlockExecutor, Ba: ChainQuery + Backend<Block = E::Block>> ImportBlock for BestDepthImporter<E, Ba> where
    Ba::Auxiliary: Auxiliary<E::Block>,
    Ba::State: AsExternalities<E::Externalities>,
    Error: From<E::Error> + From<Ba::Error>, 
[src]

type Block = E::Block

Block type

type Error = Error

Error type

Auto Trait Implementations

impl<E, Ba> Send for BestDepthImporter<E, Ba> where
    Ba: Send + Sync,
    E: Send

impl<E, Ba> Sync for BestDepthImporter<E, Ba> where
    Ba: Send + Sync,
    E: Sync

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Erased for T

impl<T> Erased for T

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.