where
T: SearchableResource<Criteria>,
{
- type Future<'f, A, B: 'f>
+ type Future<'f, A, B: 'f> = SearchFutureTy<'f, A, B>
where
A: SearchableResource<B> + ?Sized + 'f,
- Self: 'f,
- = SearchFutureTy<'f, A, B>;
+ Self: 'f;
fn search<'c>(&'c self, _client: &'c ()) -> Self::Future<'c, Self, Criteria> {
async move { todo!() }