pub trait GetFut {
type Input;
type Output;
// Required method
fn get_fut<'a>(
self,
input: &'a mut Self::Input,
) -> impl 'a + Future<Output = Self::Output>;
}Expand description
A functor trait for getting a simple future from an input.
Required Associated Types§
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.