Searched refs:StrLitDecodeError (Results 1 – 9 of 9) sorted by relevance
/external/rust/android-crates-io/extra_versions/crates/protobuf/src/text_format/lexer/ |
D | str_lit.rs | 9 pub enum StrLitDecodeError { enum 15 impl fmt::Display for StrLitDecodeError { implementation 18 StrLitDecodeError::FromUtf8Error(e) => write!(f, "{}", e), in fmt() 19 StrLitDecodeError::OtherError => write!(f, "String literal decode error"), in fmt() 24 impl std::error::Error for StrLitDecodeError {} implementation 26 impl From<LexerError> for StrLitDecodeError { implementation 28 StrLitDecodeError::OtherError in from() 32 impl From<FromUtf8Error> for StrLitDecodeError { implementation 34 StrLitDecodeError::FromUtf8Error(e) in from() 38 pub type StrLitDecodeResult<T> = Result<T, StrLitDecodeError>;
|
D | lexer_impl.rs | 12 use super::str_lit::StrLitDecodeError; 32 StrLitDecodeError(StrLitDecodeError), enumerator 51 LexerError::StrLitDecodeError(e) => write!(f, "{}", e), in fmt() 61 impl From<StrLitDecodeError> for LexerError { 62 fn from(e: StrLitDecodeError) -> Self { in from() 63 LexerError::StrLitDecodeError(e) in from()
|
D | mod.rs | 19 pub use self::str_lit::StrLitDecodeError;
|
/external/rust/android-crates-io/crates/protobuf-support/src/lexer/ |
D | str_lit.rs | 8 pub enum StrLitDecodeError { enum 15 pub type StrLitDecodeResult<T> = Result<T, StrLitDecodeError>; 38 .map_err(|_| StrLitDecodeError::OtherError)?, in decode_utf8() 51 .map_err(|_| StrLitDecodeError::OtherError)?, in decode_bytes()
|
D | tokenizer.rs | 6 use crate::lexer::str_lit::StrLitDecodeError; 15 StrLitDecodeError(#[from] StrLitDecodeError), enumerator
|
D | lexer_impl.rs | 13 use crate::lexer::str_lit::StrLitDecodeError; 46 StrLitDecodeError(#[from] StrLitDecodeError), enumerator
|
/external/rust/android-crates-io/crates/protobuf/src/text_format/ |
D | parse.rs | 6 use protobuf_support::lexer::str_lit::StrLitDecodeError; 24 StrLitDecodeError(#[from] StrLitDecodeError), enumerator
|
/external/rust/android-crates-io/crates/protobuf-parse/src/pure/ |
D | parser.rs | 7 use protobuf_support::lexer::str_lit::StrLitDecodeError; 69 StrLitDecodeError(#[source] StrLitDecodeError), enumerator 86 impl From<StrLitDecodeError> for ParserError { 87 fn from(e: StrLitDecodeError) -> Self { in from() 88 ParserError::StrLitDecodeError(e) in from()
|
/external/rust/android-crates-io/crates/protobuf-parse/src/pure/convert/ |
D | option_resolver.rs | 16 use protobuf_support::lexer::str_lit::StrLitDecodeError; 57 StrLitDecodeError(#[source] StrLitDecodeError), enumerator 186 .map_err(|e| OptionResolverError::StrLitDecodeError(e).into()), in by_name_string()
|