pub trait FizzBuzzProxyInterface: Send + Sync {
type ExecuteResponseFut: Future<Output = Result<String, Error>> + Send;
// Required method
fn execute(&self, count: u32) -> Self::ExecuteResponseFut;
}Required Associated Types§
Required Methods§
fn execute(&self, count: u32) -> Self::ExecuteResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".