Home
last modified time | relevance | path

Searched refs:FromUtf8Error (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/protobuf/src/text_format/lexer/
Dstr_lit.rs5 use std::string::FromUtf8Error;
9 FromUtf8Error(FromUtf8Error), enumerator
17 StrLitDecodeError::FromUtf8Error(e) => write!(f, "{}", e), in fmt()
31 impl From<FromUtf8Error> for StrLitDecodeError {
32 fn from(e: FromUtf8Error) -> Self { in from()
33 StrLitDecodeError::FromUtf8Error(e) in from()
/external/rust/crates/csv/src/
Derror.rs223 pub struct FromUtf8Error { struct
228 impl FromUtf8Error { argument
230 pub(crate) fn new(rec: ByteRecord, err: Utf8Error) -> FromUtf8Error { in new() argument
231 FromUtf8Error { record: rec, err: err } in new()
245 impl fmt::Display for FromUtf8Error { implementation
251 impl StdError for FromUtf8Error { implementation
Dstring_record.rs12 use crate::error::{Error, ErrorKind, FromUtf8Error, Result};
156 ) -> result::Result<StringRecord, FromUtf8Error> { in from_byte_record() argument
159 Err(err) => Err(FromUtf8Error::new(record, err)), in from_byte_record()
Dlib.rs159 Error, ErrorKind, FromUtf8Error, IntoInnerError, Result, Utf8Error,
/external/rust/crates/bstr/src/
Dext_vec.rs394 fn into_string(self) -> Result<String, FromUtf8Error> in into_string()
399 Err(err) => Err(FromUtf8Error { original: self.into_vec(), err }), in into_string()
963 pub struct FromUtf8Error { struct
968 impl FromUtf8Error { argument
1034 impl error::Error for FromUtf8Error { implementation
1041 impl fmt::Display for FromUtf8Error { implementation
Dlib.rs398 pub use ext_vec::{concat, join, ByteVec, DrainBytes, FromUtf8Error};
/external/rust/crates/tokio/src/io/util/
Dread_line.rs10 use std::string::FromUtf8Error;
58 utf8_res: Result<String, FromUtf8Error>, in finish_string_read() argument
/external/rust/crates/nix/src/
Dlib.rs149 impl From<std::string::FromUtf8Error> for Error {
150 fn from(_: std::string::FromUtf8Error) -> Error { Error::InvalidUtf8 } in from()