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

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