(&mut self, name: &str)
| 812 | } |
| 813 | |
| 814 | pub fn string(&mut self, name: &str) -> Result<String, anyhow::Error> { |
| 815 | self.opt_string(name) |
| 816 | .ok_or_else(|| anyhow!("missing {} parameter", name)) |
| 817 | } |
| 818 | |
| 819 | pub fn opt_parse<T>(&mut self, name: &str) -> Result<Option<T>, anyhow::Error> |
| 820 | where |
no test coverage detected