referrerpolicy=no-referrer-when-downgrade

Trait sc_network_gossip::Network

source ·
pub trait Network<B: BlockT>: NetworkPeers + NetworkEventStream {
    // Provided methods
    fn add_set_reserved(&self, who: PeerId, protocol: ProtocolName) { ... }
    fn remove_set_reserved(&self, who: PeerId, protocol: ProtocolName) { ... }
}
Expand description

Abstraction over a network.

Provided Methods§

source

fn add_set_reserved(&self, who: PeerId, protocol: ProtocolName)

source

fn remove_set_reserved(&self, who: PeerId, protocol: ProtocolName)

Implementors§

source§

impl<T, B: BlockT> Network<B> for T
where T: NetworkPeers + NetworkEventStream,