pub trait ResOpsExt: ResOps {
// Provided methods
fn batch_fetch_res<'a, S>(
&self,
set: &'a mut S
) -> impl Future<Output = FavCoreResult<()>>
where S: Set<Res = Self::Res> { ... }
fn batch_pull_res<'a, S>(
&self,
set: &'a mut S
) -> impl Future<Output = FavCoreResult<()>>
where S: Set<Res = Self::Res> { ... }
}Expand description
SetOpsExt, including methods to batch fetch and pull resources in set.
§Example
let app = App::default();
let mut set = TestSet::default();
let mut sub = set.subset(|r| r.check_status(StatusFlags::TRACK));
app.batch_fetch_res(&mut sub);Provided Methods§
sourcefn batch_fetch_res<'a, S>(
&self,
set: &'a mut S
) -> impl Future<Output = FavCoreResult<()>>
fn batch_fetch_res<'a, S>( &self, set: &'a mut S ) -> impl Future<Output = FavCoreResult<()>>
Asynchronously fetch resourses in set using ResOps::fetch_res.
sourcefn batch_pull_res<'a, S>(
&self,
set: &'a mut S
) -> impl Future<Output = FavCoreResult<()>>
fn batch_pull_res<'a, S>( &self, set: &'a mut S ) -> impl Future<Output = FavCoreResult<()>>
Asynchronously pull resourses in set using ResOps::pull_res.
Object Safety§
This trait is not object safe.