pub trait Ask: Send + Sync {
// Required method
fn ask<'a>(
&'a self,
address: &'a str,
wait: Duration,
) -> BoxFuture<'a, Outcome>;
}Expand description
Asks an address once, giving it wait to answer.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".