Home
last modified time | relevance | path

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

/external/rust/crates/protobuf/src/text_format/lexer/
Dstr_lit.rs8 pub enum StrLitDecodeError { enum
14 impl fmt::Display for StrLitDecodeError { implementation
17 StrLitDecodeError::FromUtf8Error(e) => write!(f, "{}", e), in fmt()
18 StrLitDecodeError::OtherError => write!(f, "String literal decode error"), in fmt()
23 impl std::error::Error for StrLitDecodeError {} implementation
25 impl From<LexerError> for StrLitDecodeError { implementation
27 StrLitDecodeError::OtherError in from()
31 impl From<FromUtf8Error> for StrLitDecodeError { implementation
33 StrLitDecodeError::FromUtf8Error(e) in from()
37 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;