Revert "remove connected disconnected state only (#3868)" (#3896)

This reverts commit 5f637c510e.
This commit is contained in:
Bernhard Schuster
2021-09-20 15:02:36 +02:00
committed by GitHub
parent d13d0d4f07
commit d711673ee2
17 changed files with 306 additions and 551 deletions
@@ -130,7 +130,7 @@ pub(crate) fn impl_builder(info: &OverseerInfo) -> proc_macro2::TokenStream {
&mut self.handle
}
/// Obtain access to the overseer handle.
pub fn as_handle(&self) -> &#handle {
pub fn as_handle(&mut self) -> &#handle {
&self.handle
}
}