pub trait ExIntoFuture {
type ExternalTraitSpecificationFor: IntoFuture;
type Output;
type IntoFuture: Future<Output = Self::Output>;
// Required method
exec fn into_future(self) -> Self::IntoFuture;
}Required Associated Types§
type ExternalTraitSpecificationFor: IntoFuture
type Output
type IntoFuture: Future<Output = Self::Output>
Required Methods§
Sourceexec fn into_future(self) -> Self::IntoFuture
exec fn into_future(self) -> Self::IntoFuture
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".