src/client/backup_writer.rs: rename force_close to cancel
And do not consume self.
This commit is contained in:
		@ -134,7 +134,7 @@ impl BackupWriter {
 | 
			
		||||
            .await
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    pub fn force_close(self) {
 | 
			
		||||
    pub fn cancel(&self) {
 | 
			
		||||
        self.canceller.cancel();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user