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

koushiro pushed a commit to branch remove-deprecated-timeout-layer-method
in repository https://gitbox.apache.org/repos/asf/opendal.git

commit 2eb04f0f2980ef412fd6fc3a267db69923a049e5
Author: koushiro <[email protected]>
AuthorDate: Mon Nov 17 21:49:10 2025 +0800

    chore(layers/timeout)!: remove deprecated `with_speed` method
---
 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