There was an error while loading. Please reload this page.
1 parent c6e8d92 commit 25f5700Copy full SHA for 25f5700
2 files changed
src/channel.rs
@@ -139,6 +139,7 @@ impl Channel {
139
if self.recovery_config.auto_recover_channels
140
|| self.recovery_config.auto_recover_connection
141
{
142
+ #[allow(deprecated)]
143
if let Some(notifier) = error.notifier() {
144
notifier.await;
145
return Ok(());
src/error.rs
@@ -48,6 +48,7 @@ impl Error {
48
&self.kind
49
}
50
51
+ #[deprecated(note = "Please use Channel::wait_for_recovery instead")]
52
pub fn notifier(&self) -> Option<Notifier> {
53
self.notifier.clone()
54
0 commit comments