Searched refs:ClapResult (Results 1 – 6 of 6) sorted by relevance
/external/rust/crates/clap/src/app/ |
D | validator.rs | 12 use errors::Result as ClapResult; 33 ) -> ClapResult<()> { in validate() argument 91 ) -> ClapResult<()> in validate_arg_values() 162 fn build_err(&self, name: &str, matcher: &ArgMatcher) -> ClapResult<()> { in build_err() argument 192 fn validate_blacklist(&self, matcher: &mut ArgMatcher) -> ClapResult<()> { in validate_blacklist() argument 282 fn validate_matched_args(&self, matcher: &mut ArgMatcher<'a>) -> ClapResult<()> { in validate_matched_args() argument 325 ) -> ClapResult<()> in validate_arg_num_occurs() 346 ) -> ClapResult<()> in validate_arg_num_vals() 430 ) -> ClapResult<()> in validate_arg_requires() 452 fn validate_required(&mut self, matcher: &ArgMatcher) -> ClapResult<()> { in validate_required() argument [all …]
|
D | mod.rs | 28 use errors::Result as ClapResult; 1168 pub fn print_help(&mut self) -> ClapResult<()> { in print_help() argument 1198 pub fn print_long_help(&mut self) -> ClapResult<()> { in print_long_help() argument 1226 pub fn write_help<W: Write>(&self, w: &mut W) -> ClapResult<()> { in write_help() argument 1257 pub fn write_long_help<W: Write>(&mut self, w: &mut W) -> ClapResult<()> { in write_long_help() argument 1285 pub fn write_version<W: Write>(&self, w: &mut W) -> ClapResult<()> { in write_version() argument 1306 pub fn write_long_version<W: Write>(&self, w: &mut W) -> ClapResult<()> { in write_long_version() argument 1488 pub fn get_matches_safe(self) -> ClapResult<ArgMatches<'a>> { in get_matches_safe() 1571 pub fn get_matches_from_safe<I, T>(mut self, itr: I) -> ClapResult<ArgMatches<'a>> in get_matches_from_safe() 1600 pub fn get_matches_from_safe_borrow<I, T>(&mut self, itr: I) -> ClapResult<ArgMatches<'a>> in get_matches_from_safe_borrow()
|
D | help.rs | 14 use errors::{Error, Result as ClapResult}; 144 pub fn write_app_help(w: &'a mut Write, app: &App, use_long: bool) -> ClapResult<()> { in write_app_help() argument 151 pub fn write_parser_help(w: &'a mut Write, parser: &Parser, use_long: bool) -> ClapResult<()> { in write_parser_help() argument 159 pub fn write_parser_help_to_stderr(w: &'a mut Write, parser: &Parser) -> ClapResult<()> { in write_parser_help_to_stderr() argument 170 ) -> ClapResult<()> { in _write_parser_help() argument 193 pub fn write_help(&mut self, parser: &Parser) -> ClapResult<()> { in write_help() argument 598 pub fn write_all_args(&mut self, parser: &Parser) -> ClapResult<()> { in write_all_args() argument 719 pub fn write_default_help(&mut self, parser: &Parser) -> ClapResult<()> { in write_default_help() argument 905 fn write_templated_help(&mut self, parser: &Parser, template: &str) -> ClapResult<()> { in write_templated_help() argument
|
D | parser.rs | 32 use errors::Result as ClapResult; 745 fn parse_help_subcommand<I, T>(&self, it: &mut I) -> ClapResult<ParseResult<'a>> in parse_help_subcommand() 887 ) -> ClapResult<()> in get_matches_with() 1329 ) -> ClapResult<()> in parse_subcommand() 1524 fn check_for_help_and_version_str(&self, arg: &OsStr) -> ClapResult<()> { in check_for_help_and_version_str() argument 1543 fn check_for_help_and_version_char(&self, arg: char) -> ClapResult<()> { in check_for_help_and_version_char() argument 1619 ) -> ClapResult<ParseResult<'a>> in parse_long_arg() 1694 ) -> ClapResult<ParseResult<'a>> { in parse_short_arg() 1790 ) -> ClapResult<ParseResult<'a>> { in parse_opt() 1852 ) -> ClapResult<ParseResult<'a>> in add_val_to_arg() [all …]
|
/external/rust/crates/clap/ |
D | README.md | 509 * `ClapResult` => `Result`
|
D | CHANGELOG.md | 1657 * `ClapResult` => `Result`
|