/// Drops authorized client.
/// After method call you cannot interact with TDLib by the client.
Drops authorized client.
After method call you cannot interact with TDLib by the client.
Drops authorized client . After method call you cannot interact with TDLib by the client .
pub async fn reset_auth(&mut self, client: &mut Client<T>) -> RTDResult<()> {
        client.stop().await?;
        let client_id = client.take_client_id()?;
        self.clients.write().await.remove(&client_id);
        Ok(())
    }
pub async fn reset_auth ( & mut self , client : & mut Client < T > ) -> RTDResult < ( ) > { client . stop ( ) . await ? ; let client_id = client . take_client_id ( ) ? ; self . clients . write ( ) . await . remove ( & client_id ) ; Ok ( ( ) ) }
Drops authorized client.
Drops authorized client .
&mut self
client
&mut Client<T>