fix: must_use

This commit is contained in:
houseme
2025-05-30 15:11:51 +08:00
parent 004b6945f2
commit 7f983e72e7
4 changed files with 3 additions and 1 deletions
+1
View File
@@ -501,6 +501,7 @@ pub trait DiskAPI: Debug + Send + Sync + 'static {
async fn read_multiple(&self, req: ReadMultipleReq) -> Result<Vec<ReadMultipleResp>>;
// CleanAbandonedData
async fn write_all(&self, volume: &str, path: &str, data: Vec<u8>) -> Result<()>;
#[must_use]
async fn read_all(&self, volume: &str, path: &str) -> Result<Vec<u8>>;
async fn disk_info(&self, opts: &DiskInfoOptions) -> Result<DiskInfo>;
async fn ns_scanner(