From ebd46942c3fcc7939e5567a797a55198148301ea Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 18 Jun 2026 01:06:16 +0800 Subject: refactor: rename `Info` and `TransferInfo` to `ExtraInfo` --- rola-bucket/src/protocol/local_fs.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'rola-bucket/src/protocol/local_fs.rs') diff --git a/rola-bucket/src/protocol/local_fs.rs b/rola-bucket/src/protocol/local_fs.rs index b3885a7..ec8999b 100644 --- a/rola-bucket/src/protocol/local_fs.rs +++ b/rola-bucket/src/protocol/local_fs.rs @@ -24,11 +24,11 @@ pub enum LocalFileSystemProtocol { } impl BucketTransferProtocol for LocalFileSystemProtocol { - type TransferInfo = (); + type ExtraInfo = (); fn upload_to_bucket( &self, - req: &super::UploadToBucketRequest, + req: &super::UploadToBucketRequest, ) -> Result<(), BucketTransferProtocolError> { let ClientSide { bucket_root } = self else { // NOTE: As a local filesystem transfer protocol, @@ -44,7 +44,7 @@ impl BucketTransferProtocol for LocalFileSystemProtocol { fn download_from_bucket( &self, - req: &super::DownloadFromBucketRequest, + req: &super::DownloadFromBucketRequest, ) -> Result<(), BucketTransferProtocolError> { let ClientSide { bucket_root } = self else { // NOTE: As a local filesystem transfer protocol, @@ -60,7 +60,7 @@ impl BucketTransferProtocol for LocalFileSystemProtocol { fn transfer_to_client( &self, - req: &super::TransferToClientRequest, + req: &super::TransferToClientRequest, ) -> Result<(), BucketTransferProtocolError> { let BucketSide { client_root } = self else { // NOTE: As a local filesystem transfer protocol, @@ -76,7 +76,7 @@ impl BucketTransferProtocol for LocalFileSystemProtocol { fn receive_from_client( &self, - req: &super::ReceiveFromClientRequest, + req: &super::ReceiveFromClientRequest, ) -> Result<(), BucketTransferProtocolError> { let BucketSide { client_root } = self else { // NOTE: As a local filesystem transfer protocol, -- cgit