Home
last modified time | relevance | path

Searched refs:StrLitDecodeError (Results 1 – 9 of 9) sorted by relevance

/external/rust/android-crates-io/extra_versions/crates/protobuf/src/text_format/lexer/
Dstr_lit.rs9 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>;
Dlexer_impl.rs12 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()
Dmod.rs19 pub use self::str_lit::StrLitDecodeError;
/external/rust/android-crates-io/crates/protobuf-support/src/lexer/
Dstr_lit.rs8 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()
Dtokenizer.rs6 use crate::lexer::str_lit::StrLitDecodeError;
15 StrLitDecodeError(#[from] StrLitDecodeError), enumerator
Dlexer_impl.rs13 use crate::lexer::str_lit::StrLitDecodeError;
46 StrLitDecodeError(#[from] StrLitDecodeError), enumerator
/external/rust/android-crates-io/crates/protobuf/src/text_format/
Dparse.rs6 use protobuf_support::lexer::str_lit::StrLitDecodeError;
24 StrLitDecodeError(#[from] StrLitDecodeError), enumerator
/external/rust/android-crates-io/crates/protobuf-parse/src/pure/
Dparser.rs7 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/
Doption_resolver.rs16 use protobuf_support::lexer::str_lit::StrLitDecodeError;
57 StrLitDecodeError(#[source] StrLitDecodeError), enumerator
186 .map_err(|e| OptionResolverError::StrLitDecodeError(e).into()), in by_name_string()