Fix simultaneous dialing test (#957)

This commit is contained in:
Pierre Krieger
2019-02-20 16:25:34 +01:00
committed by GitHub
parent a380889e90
commit 747478a55d
12 changed files with 277 additions and 216 deletions

View File

@ -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),