pub trait Timeout: Sized {
// Required method
fn timeout<S>(self, t: Duration, operation: S) -> Timed<Self> ⓘ
where S: Into<String>;
}
Expand description
Timeout
can be used to add a timeout to any future emitted by mtop.
Required Methods§
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.