Lines Matching refs:str
77 /// - `Fn(&str) -> Result<T, E>`
87 /// fn parse_env_var(env: &str) -> Result<EnvVar, std::io::Error> {
639 /// - Use `Fn(&str) -> Result<T, E>` which implements `TypedValueParser`
788 /// fn verify_ext(os: OsString) -> Result<PathBuf, &'static str> {
818 F: Fn(&str) -> Result<T, E> + Clone + Send + Sync + 'static,
2290 FromStr: for<'s> From<&'s str> + std::any::Any + Clone + Send + Sync + 'static,
2303 Parse: std::str::FromStr + std::any::Any + Clone + Send + Sync + 'static,
2304 <Parse as std::str::FromStr>::Err: Into<Box<dyn std::error::Error + Send + Sync + 'static>>,
2307 let func: fn(&str) -> Result<Parse, <Parse as std::str::FromStr>::Err> =
2322 /// - [`From<String>` types][std::convert::From] and [`From<&str>` types][std::convert::From]
2323 /// - [`FromStr` types][std::str::FromStr], including usize, isize
2406 FromStr: for<'s> From<&'s str> + std::any::Any + Send + Sync + 'static
2413 Parse: std::str::FromStr + std::any::Any + Send + Sync + 'static,
2414 <Parse as std::str::FromStr>::Err: Into<Box<dyn std::error::Error + Send + Sync + 'static>>,
2425 fn parse(_: &str) -> Result<usize, std::io::Error> {