Expand description
A utility trait that represents filters.
Performs a test to value with the given arguments.
impl<Func, V, A, B> Test<V, (A, B)> for Func where
Func: Fn(&State<'_, '_>, V, A, B) -> Result<bool, Error> + Send + Sync + 'static,
impl<Func, V, A, B, C> Test<V, (A, B, C)> for Func where
Func: Fn(&State<'_, '_>, V, A, B, C) -> Result<bool, Error> + Send + Sync + 'static,
impl<Func, V, A, B, C, D> Test<V, (A, B, C, D)> for Func where
Func: Fn(&State<'_, '_>, V, A, B, C, D) -> Result<bool, Error> + Send + Sync + 'static,