We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Client.stop
1 parent 78c9be6 commit 981133bCopy full SHA for 981133b
src/client/mod.rs
@@ -126,7 +126,7 @@ impl Client {
126
/// # Errors
127
///
128
/// Will return `Err` if the connection actor has already been shut down.
129
- pub async fn stop(self, subscription_id: SubscriptionId) -> Result<(), Error> {
+ pub async fn stop(&self, subscription_id: SubscriptionId) -> Result<(), Error> {
130
self.actor
131
.send(ConnectionCommand::Cancel(subscription_id))
132
.await
0 commit comments