pub trait TryFuture: Future<Output = Result<Self::Ok, Self::Err>> + Sealed {
type Ok;
type Err;
}Expand description
A convenience for futures that return Result values that includes
a variety of adapters tailored to such futures.
This is futures::TryFuture except it’s stricter on the future super-trait.
Required Associated Types§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".