pub trait TryGetFut {
type Input;
type Output;
type Aux;
type Error;
// Required method
fn try_get_fut<'a>(
self,
input: &'a mut Self::Input,
) -> Result<(impl 'a + Future<Output = Self::Output>, Self::Aux), Self::Error>;
}Expand description
A functor trait for trying to get a complex 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.