Home
last modified time | relevance | path

Searched defs:ClapResult (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/clap/src/app/
Dvalidator.rs33 ) -> ClapResult<()> { in validate()
162 fn build_err(&self, name: &str, matcher: &ArgMatcher) -> ClapResult<()> { in build_err()
192 fn validate_blacklist(&self, matcher: &mut ArgMatcher) -> ClapResult<()> { in validate_blacklist()
282 fn validate_matched_args(&self, matcher: &mut ArgMatcher<'a>) -> ClapResult<()> { in validate_matched_args()
452 fn validate_required(&mut self, matcher: &ArgMatcher) -> ClapResult<()> { in validate_required()
547 fn missing_required_error(&self, matcher: &ArgMatcher, extra: Option<&str>) -> ClapResult<()> { in missing_required_error()
Dhelp.rs144 pub fn write_app_help(w: &'a mut Write, app: &App, use_long: bool) -> ClapResult<()> { in write_app_help()
151 pub fn write_parser_help(w: &'a mut Write, parser: &Parser, use_long: bool) -> ClapResult<()> { in write_parser_help()
159 pub fn write_parser_help_to_stderr(w: &'a mut Write, parser: &Parser) -> ClapResult<()> { in write_parser_help_to_stderr()
170 ) -> ClapResult<()> { in _write_parser_help()
193 pub fn write_help(&mut self, parser: &Parser) -> ClapResult<()> { in write_help()
598 pub fn write_all_args(&mut self, parser: &Parser) -> ClapResult<()> { in write_all_args()
719 pub fn write_default_help(&mut self, parser: &Parser) -> ClapResult<()> { in write_default_help()
905 fn write_templated_help(&mut self, parser: &Parser, template: &str) -> ClapResult<()> { in write_templated_help()
Dparser.rs1524 fn check_for_help_and_version_str(&self, arg: &OsStr) -> ClapResult<()> { in check_for_help_and_version_str()
1543 fn check_for_help_and_version_char(&self, arg: char) -> ClapResult<()> { in check_for_help_and_version_char()
1948 ) -> ClapResult<()> { in did_you_mean_error()
1976 fn print_version<W: Write>(&self, w: &mut W, use_long: bool) -> ClapResult<()> { in print_version()
2003 pub fn print_help(&self) -> ClapResult<()> { in print_help()
2009 pub fn write_help<W: Write>(&self, w: &mut W) -> ClapResult<()> { in write_help()
2013 pub fn write_long_help<W: Write>(&self, w: &mut W) -> ClapResult<()> { in write_long_help()
2017 pub fn write_help_err<W: Write>(&self, w: &mut W) -> ClapResult<()> { in write_help_err()
2021 pub fn add_defaults(&mut self, matcher: &mut ArgMatcher<'a>) -> ClapResult<()> { in add_defaults()
2096 pub fn add_env(&mut self, matcher: &mut ArgMatcher<'a>) -> ClapResult<()> { in add_env()
Dmod.rs1168 pub fn print_help(&mut self) -> ClapResult<()> { in print_help()
1198 pub fn print_long_help(&mut self) -> ClapResult<()> { in print_long_help()
1226 pub fn write_help<W: Write>(&self, w: &mut W) -> ClapResult<()> { in write_help()
1257 pub fn write_long_help<W: Write>(&mut self, w: &mut W) -> ClapResult<()> { in write_long_help()
1285 pub fn write_version<W: Write>(&self, w: &mut W) -> ClapResult<()> { in write_version()
1306 pub fn write_long_version<W: Write>(&self, w: &mut W) -> ClapResult<()> { in write_long_version()