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§