pub trait FromTimeout {
// Required method
fn timed_out() -> Self;
}Expand description
How to construct the caller’s error type for a per-attempt timeout. Implemented for String (the
common test/closure error) and any type convertible from a std::io::Error.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".