mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-13 01:51:23 +00:00
Fix simultaneous dialing test (#957)
This commit is contained in:
@ -243,6 +243,13 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
fn is_remote_acknowledged(&self) -> bool {
|
||||
match self {
|
||||
EitherOutput::First(inner) => inner.is_remote_acknowledged(),
|
||||
EitherOutput::Second(inner) => inner.is_remote_acknowledged()
|
||||
}
|
||||
}
|
||||
|
||||
fn shutdown(&self, kind: Shutdown) -> Poll<(), IoError> {
|
||||
match self {
|
||||
EitherOutput::First(inner) => inner.shutdown(kind),
|
||||
|
Reference in New Issue
Block a user