pub trait ConnectionReceiverProxyInterface: Send + Sync {
    // Required method
    fn connected(
        &self,
        peer_id: &PeerId,
        channel: Channel,
        protocol: &[ProtocolDescriptor]
    ) -> Result<(), Error>;
}

Required Methods§

source

fn connected( &self, peer_id: &PeerId, channel: Channel, protocol: &[ProtocolDescriptor] ) -> Result<(), Error>

Implementors§