fuel_core_p2p::peer_manager

Trait Punisher

source
pub trait Punisher {
    // Required method
    fn ban_peer(&mut self, peer_id: PeerId);
}

Required Methods§

source

fn ban_peer(&mut self, peer_id: PeerId)

Implementations on Foreign Types§

source§

impl Punisher for Swarm<FuelBehaviour>

source§

fn ban_peer(&mut self, peer_id: PeerId)

Implementors§