pub trait ClosureFetch<Closure>: Send + Sync {
type T;
// Required method
fn fetch(
&self,
closure: &Closure,
) -> impl Send + Future<Output = Result<Self::T>>;
}Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".