Home
last modified time | relevance | path

Searched defs:ErrorKind (Results 1 – 25 of 25) sorted by relevance

/third_party/rust/crates/clap/src/error/
Dkind.rs4 pub enum ErrorKind { enum
315 impl ErrorKind { impl
344 impl std::fmt::Display for ErrorKind { implementation
Dmod.rs86 pub fn raw(kind: ErrorKind, message: impl std::fmt::Display) -> Self { in raw()
173 pub fn kind(&self) -> ErrorKind { in kind()
279 fn for_app(kind: ErrorKind, cmd: &Command, styled: StyledStr) -> Self { in for_app()
/third_party/rust/crates/nom/src/
Derror.rs23 fn append(input: I, kind: ErrorKind, other: Self) -> Self; in append()
53 fn from_external_error(input: I, kind: ErrorKind, e: E) -> Self; in from_external_error()
77 fn append(_: I, _: ErrorKind, other: Self) -> Self { in append()
86 fn from_external_error(input: I, kind: ErrorKind, _e: E) -> Self { in from_external_error()
103 impl<I> ParseError<I> for (I, ErrorKind) { implementation
108 fn append(_: I, _: ErrorKind, other: Self) -> Self { in append()
113 impl<I> ContextError<I> for (I, ErrorKind) {} implementation
115 impl<I, E> FromExternalError<I, E> for (I, ErrorKind) { implementation
116 fn from_external_error(input: I, kind: ErrorKind, _e: E) -> Self { in from_external_error()
124 fn append(_: I, _: ErrorKind, _: Self) -> Self {} in append()
[all …]
Dtraits.rs467 e: ErrorKind, in split_at_position1()
492 e: ErrorKind, in split_at_position1_complete()
516 e: ErrorKind, in split_at_position1()
544 e: ErrorKind, in split_at_position1_complete()
578 e: ErrorKind, in split_at_position1()
606 e: ErrorKind, in split_at_position1_complete()
642 e: ErrorKind, in split_at_position1()
678 e: ErrorKind, in split_at_position1_complete()
1282 impl<I> ErrorConvert<(I, ErrorKind)> for ((I, usize), ErrorKind) { implementation
1283 fn convert(self) -> (I, ErrorKind) { in convert() argument
[all …]
Dinternal.rs179 pub fn to_owned(self) -> Err<(Vec<u8>, ErrorKind)> { in to_owned() argument
188 pub fn to_owned(self) -> Err<(String, ErrorKind)> { in to_owned() argument
/third_party/rust/crates/rust-cexpr/src/
Dlib.rs30 pub enum ErrorKind { enum
50 impl From<nom::ErrorKind> for ErrorKind { implementation
56 impl From<u32> for ErrorKind { implementation
106 fn append(_: I, _: nom::ErrorKind, other: Self) -> Self { in append()
/third_party/rust/crates/aho-corasick/src/
Derror.rs16 pub enum ErrorKind { enum
41 pub fn kind(&self) -> &ErrorKind { in kind()
/third_party/rust/crates/nom/tests/
Descaped.rs6 fn esc(s: &str) -> IResult<&str, &str, (&str, ErrorKind)> { in esc() argument
Dcustom_errors.rs26 fn append(_: &'a str, kind: ErrorKind, other: CustomError) -> Self { in append()
/third_party/rust/crates/nom/examples/
Dcustom_error.rs19 fn append(_: I, _: ErrorKind, other: Self) -> Self { in append()
/third_party/rust/crates/rustix/src/io/
Derrno.rs34 pub fn kind(self) -> std::io::ErrorKind { in kind()
/third_party/rust/crates/regex/regex-capi/src/
Derror.rs16 pub enum ErrorKind { enum
/third_party/rust/crates/autocfg/src/
Derror.rs40 enum ErrorKind { enum
/third_party/rust/crates/clap/tests/builder/
Derror.rs8 expected_kind: ErrorKind, in assert_error()
/third_party/rust/crates/cxx/gen/src/
Dfs.rs17 pub fn kind(&self) -> io::ErrorKind { in kind()
/third_party/rust/crates/nom/benchmarks/benches/
Djson.rs196 fn std_float(input: &[u8]) -> IResult<&[u8], f64, (&[u8], ErrorKind)> { in std_float() argument
/third_party/rust/crates/nom/src/branch/
Dtests.rs38 fn append(input: I, kind: ErrorKind, other: Self) -> Self { in append()
/third_party/rust/crates/nom/src/combinator/
Dtests.rs104 fn append(_: I, _: ErrorKind, _: CustomError) -> Self { in append()
/third_party/rust/crates/regex/regex-syntax/src/hir/
Dmod.rs38 pub fn kind(&self) -> &ErrorKind { in kind()
57 pub enum ErrorKind { enum
93 impl ErrorKind { implementation
131 impl fmt::Display for ErrorKind { implementation
/third_party/rust/crates/regex/regex-syntax/src/ast/
Dmod.rs35 pub fn kind(&self) -> &ErrorKind { in kind()
69 pub enum ErrorKind { enum
228 impl fmt::Display for ErrorKind { implementation
Dparse.rs2284 from: ast::ErrorKind, in specialize_err()
2285 to: ast::ErrorKind, in specialize_err()
/third_party/rust/crates/tracing/tracing-subscriber/src/
Dreload.rs107 enum ErrorKind { enum
/third_party/rust/crates/nom/src/multi/
Dtests.rs317 fn append(_: I, _: ErrorKind, _: NilError) -> NilError { in append()
/third_party/rust/crates/tracing/tracing-subscriber/src/filter/env/
Dmod.rs218 enum ErrorKind { enum
/third_party/rust/crates/clap/src/builder/
Dcommand.rs468 pub fn error(&mut self, kind: ErrorKind, message: impl std::fmt::Display) -> Error { in error()