Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions core/src/layers/timeout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading