Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 18ab090

Browse files
authored
Derive common classes for IfDisconnected. (#8346)
1 parent 3ba5808 commit 18ab090

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/network/src/request_responses.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ impl From<(Cow<'static, str>, RequestId)> for ProtocolRequestId {
197197
}
198198

199199
/// When sending a request, what to do on a disconnected recipient.
200+
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
200201
pub enum IfDisconnected {
201202
/// Try to connect to the peer.
202203
TryConnect,

0 commit comments

Comments
 (0)