pub trait AsyncTryGetFut<'a>: 'a {
type Input: 'a;
type Output: 'a;
type Aux: 'a;
type Error: 'a;
// Required method
async fn async_try_get_fut<'b>(
self,
input: &'b mut Self::Input,
) -> Result<(impl 'b + 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".