[][src]Trait blockchain_network_simple::NetworkEnvironment

pub trait NetworkEnvironment {
type PeerId;
type Message;
}

Associated Types

type PeerId

type Message

Loading content...

Implementors

impl<P, B, S> NetworkEnvironment for LocalNetworkHandle<P, B, S>[src]

type PeerId = P

type Message = SimpleSyncMessage<B, S>

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>

Loading content...