[][src]Struct blockchain_network_simple::SimpleSync

pub struct SimpleSync<P, Ba: Backend, I, St> { /* fields omitted */ }

Trait Implementations

impl<P, Ba: Backend, I, St: StatusProducer> NetworkEnvironment for SimpleSync<P, Ba, I, St>[src]

type PeerId = P

type Message = SimpleSyncMessage<Ba::Block, St::Status>

impl<P, Ba: ChainQuery, I: ImportBlock<Block = Ba::Block>, St: StatusProducer> NetworkEvent for SimpleSync<P, Ba, I, St>[src]

Auto Trait Implementations

impl<P, Ba, I, St> Send for SimpleSync<P, Ba, I, St> where
    Ba: Send + Sync,
    I: Send,
    P: Send,
    St: Send

impl<P, Ba, I, St> Sync for SimpleSync<P, Ba, I, St> where
    Ba: Send + Sync,
    I: Sync,
    P: Sync,
    St: 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.