pub trait TimeoutReadExt<H>{
// Required method
fn with_timeout<T: Into<Option<Duration>>>(
self,
timeout: T,
) -> TimeoutReader<H> ⓘ;
}
Required Methods§
fn with_timeout<T: Into<Option<Duration>>>(self, timeout: T) -> TimeoutReader<H> ⓘ
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.