[−][src]Struct blockchain_network_simple::BestDepthImporter
Methods
impl<E: BlockExecutor, Ba: ChainQuery + Store<Block = E::Block>> BestDepthImporter<E, Ba> where
Ba::Auxiliary: Auxiliary<E::Block>,
Ba::State: AsExternalities<E::Externalities>, [src]
Ba::Auxiliary: Auxiliary<E::Block>,
Ba::State: AsExternalities<E::Externalities>,
pub fn new(executor: E, backend: Ba, import_lock: ImportLock) -> Self[src]
Trait Implementations
impl<E: BlockExecutor, Ba: ChainQuery + Store<Block = E::Block>> BlockImporter for BestDepthImporter<E, Ba> where
Ba::Auxiliary: Auxiliary<E::Block>,
Ba::State: AsExternalities<E::Externalities>,
Ba: SharedCommittable<Operation = Operation<E::Block, <Ba as Store>::State, <Ba as Store>::Auxiliary>>,
Error: From<E::Error> + From<Ba::Error>, [src]
Ba::Auxiliary: Auxiliary<E::Block>,
Ba::State: AsExternalities<E::Externalities>,
Ba: SharedCommittable<Operation = Operation<E::Block, <Ba as Store>::State, <Ba as Store>::Auxiliary>>,
Error: From<E::Error> + From<Ba::Error>,
Auto Trait Implementations
impl<E, Ba> Unpin for BestDepthImporter<E, Ba> where
Ba: Unpin,
E: Unpin,
Ba: Unpin,
E: Unpin,
impl<E, Ba> Sync for BestDepthImporter<E, Ba> where
Ba: Sync,
E: Sync,
Ba: Sync,
E: Sync,
impl<E, Ba> Send for BestDepthImporter<E, Ba> where
Ba: Send,
E: Send,
Ba: Send,
E: Send,
impl<E, Ba> RefUnwindSafe for BestDepthImporter<E, Ba> where
Ba: RefUnwindSafe,
E: RefUnwindSafe,
Ba: RefUnwindSafe,
E: RefUnwindSafe,
impl<E, Ba> UnwindSafe for BestDepthImporter<E, Ba> where
Ba: UnwindSafe,
E: UnwindSafe,
Ba: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
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,
T: Any,