(&self)
| 29 | } |
| 30 | |
| 31 | pub fn get_active_instrument_names(&self) -> Vec<InstrumentName> { |
| 32 | let mut names = vec![]; |
| 33 | |
| 34 | if self.is_mongodb_enabled() { |
| 35 | names.push(InstrumentName::MongoDB); |
| 36 | } |
| 37 | |
| 38 | names |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | impl TryFrom<&RunArgs> for Instruments { |
no test coverage detected