mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-23 14:51:34 +00:00
Add EitherUpgrade
and generalise OrUpgrade
. (#662)
This commit is contained in:
@ -114,11 +114,6 @@ where
|
||||
self.config.clone()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn dialer_protocol(&self) -> Self::OutboundProtocol {
|
||||
self.config.clone()
|
||||
}
|
||||
|
||||
fn inject_fully_negotiated_inbound(
|
||||
&mut self,
|
||||
protocol: <Self::InboundProtocol as InboundUpgrade<TSubstream>>::Output
|
||||
|
Reference in New Issue
Block a user