Function dptree::filter_with_description
source · [−]pub fn filter_with_description<'a, Pred, Input, Output, FnArgs, Descr>(
description: Descr,
pred: Pred
) -> Handler<'a, Input, Output, Descr> where
Asyncify<Pred>: Injectable<Input, bool, FnArgs> + Send + Sync + 'a,
Input: Send + 'a,
Output: 'a,
Expand description
filter
with a custom description.