[−][src]Struct blockchain_network_simple::SimpleSync
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]
fn on_tick<H: NetworkHandle>(&mut self, handle: &mut H) where
H: NetworkEnvironment<PeerId = Self::PeerId, Message = Self::Message>,
[src]
H: NetworkEnvironment<PeerId = Self::PeerId, Message = Self::Message>,
fn on_message<H: NetworkHandle>(
&mut self,
handle: &mut H,
peer: &P,
message: Self::Message
) where
H: NetworkEnvironment<PeerId = Self::PeerId, Message = Self::Message>,
[src]
&mut self,
handle: &mut H,
peer: &P,
message: Self::Message
) where
H: NetworkEnvironment<PeerId = Self::PeerId, Message = Self::Message>,
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,
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,
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]
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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
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,