pub trait GroupedWeightedFuture: Sealed {
    type Future: Future;
    type Q;

    fn into_components(self) -> (usize, Option<Self::Q>, Self::Future);
}
Expand description

A trait for types which can be converted into a Future, an optional group, and a weight.

Provided in case it’s necessary. This trait is only implemented for (usize, Option<Q>, impl Future).

Required Associated Types§

The associated Future type.

The associated key lookup type.

Required Methods§

Turns self into its components.

Implementations on Foreign Types§

Implementors§