mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-26 05:35:03 +00:00
network-libp2p: add derive to ServiceEvent (#1118)
This commit is contained in:
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.
|
||||
///
|
||||
|
||||
Reference in new issue
Block a user