This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new 129209f05 chore(layers/timeout)!: remove deprecated `with_speed` 
method (#6793)
129209f05 is described below

commit 129209f0588adaf42c0ce9b50c15d412c8c928c6
Author: Qinxuan Chen <[email protected]>
AuthorDate: Mon Nov 17 22:27:29 2025 +0800

    chore(layers/timeout)!: remove deprecated `with_speed` method (#6793)
---
 core/src/layers/timeout.rs | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/core/src/layers/timeout.rs b/core/src/layers/timeout.rs
index 8b6a78e33..5240e8f0c 100644
--- a/core/src/layers/timeout.rs
+++ b/core/src/layers/timeout.rs
@@ -147,21 +147,6 @@ impl TimeoutLayer {
         self.io_timeout = timeout;
         self
     }
-
-    /// Set speed for TimeoutLayer with given value.
-    ///
-    /// # Notes
-    ///
-    /// The speed should be the lower bound of the IO speed. Set this value too
-    /// large could result in all write operations failing.
-    ///
-    /// # Panics
-    ///
-    /// This function will panic if speed is 0.
-    #[deprecated(note = "with speed is not supported anymore, please use 
with_io_timeout instead")]
-    pub fn with_speed(self, _: u64) -> Self {
-        self
-    }
 }
 
 impl<A: Access> Layer<A> for TimeoutLayer {

Reply via email to