Searched refs:FromUtf8Error (Results 1 – 8 of 8) sorted by relevance
/external/rust/crates/protobuf/src/text_format/lexer/ |
D | str_lit.rs | 5 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/ |
D | error.rs | 223 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
|
D | string_record.rs | 12 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()
|
D | lib.rs | 159 Error, ErrorKind, FromUtf8Error, IntoInnerError, Result, Utf8Error,
|
/external/rust/crates/bstr/src/ |
D | ext_vec.rs | 394 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
|
D | lib.rs | 398 pub use ext_vec::{concat, join, ByteVec, DrainBytes, FromUtf8Error};
|
/external/rust/crates/tokio/src/io/util/ |
D | read_line.rs | 10 use std::string::FromUtf8Error; 58 utf8_res: Result<String, FromUtf8Error>, in finish_string_read() argument
|
/external/rust/crates/nix/src/ |
D | lib.rs | 149 impl From<std::string::FromUtf8Error> for Error { 150 fn from(_: std::string::FromUtf8Error) -> Error { Error::InvalidUtf8 } in from()
|