network-libp2p: add derive to ServiceEvent (#1118)

This commit is contained in:
azban
2018-11-15 03:34:44 -08:00
committed by Bastian Köcher
parent 46ebef082f
commit a2ba7b71d6
@@ -171,6 +171,7 @@ where TProtos: IntoIterator<Item = RegisteredProtocol> {
}
/// Event produced by the service.
#[derive(Debug)]
pub enum ServiceEvent {
/// Closed connection to a node.
///