Returns a set where all functions should be async or not depending on `async_` provided.
(async_: bool)
| 54 | /// Returns a set where all functions should be async or not depending on |
| 55 | /// `async_` provided. |
| 56 | pub fn all(async_: bool) -> AsyncFilterSet { |
| 57 | AsyncFilterSet { |
| 58 | async_: vec![Async { |
| 59 | enabled: async_, |
| 60 | filter: AsyncFilter::All, |
| 61 | }], |
| 62 | used_options: HashSet::new(), |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | /// Returns whether the `func` provided is to be bound `async` or not. |
| 67 | pub fn is_async( |
no test coverage detected