| /third_party/rust/rust/library/core/src/str/ |
| D | error.rs | 47 pub struct Utf8Error { struct 52 impl Utf8Error { implementation 112 impl fmt::Display for Utf8Error { implementation 127 impl Error for Utf8Error { implementation
|
| D | converts.rs | 88 pub const fn from_utf8(v: &[u8]) -> Result<&str, Utf8Error> { in from_utf8() argument 132 pub const fn from_utf8_mut(v: &mut [u8]) -> Result<&mut str, Utf8Error> { in from_utf8_mut() argument
|
| D | validations.rs | 127 pub(super) const fn run_utf8_validation(v: &[u8]) -> Result<(), Utf8Error> { in run_utf8_validation() argument
|
| /third_party/flatbuffers/rust/flexbuffers/src/ |
| D | buffer.rs | 54 fn buffer_str(&self) -> Result<Self::BufferString, std::str::Utf8Error>; in buffer_str() 77 fn buffer_str(&self) -> Result<Self::BufferString, std::str::Utf8Error> { in buffer_str()
|
| /third_party/rust/rust/tests/ui/resolve/ |
| D | issue-102946.rs | 1 impl Error for str::Utf8Error { implementation
|
| /third_party/protobuf/rust/ |
| D | string.rs | 157 pub struct Utf8Error { struct 158 pub(crate) inner: std::str::Utf8Error, argument 160 impl std::fmt::Display for Utf8Error { implementation 166 impl std::error::Error for Utf8Error {} implementation 168 impl From<std::str::Utf8Error> for Utf8Error { implementation 169 fn from(inner: std::str::Utf8Error) -> Utf8Error { in from() 369 pub fn to_str(&self) -> Result<&str, Utf8Error> { in to_str() argument 479 fn try_from(val: &'msg ProtoStr) -> Result<&'msg str, Utf8Error> { in try_from() argument 487 fn try_from(val: &'msg [u8]) -> Result<&'msg ProtoStr, Utf8Error> { in try_from() argument
|
| /third_party/rust/rust/compiler/rustc_driver_impl/src/ |
| D | args.rs | 39 Utf8Error(Option<String>), enumerator
|
| /third_party/rust/rust/library/std/src/sys/windows/ |
| D | os_str.rs | 174 pub fn to_str(&self) -> Result<&str, crate::str::Utf8Error> { in to_str()
|
| /third_party/rust/crates/cxx/src/ |
| D | cxx_string.rs | 140 pub fn to_str(&self) -> Result<&str, Utf8Error> { in to_str() argument
|
| /third_party/rust/rust/library/core/src/ffi/ |
| D | c_str.rs | 618 pub const fn to_str(&self) -> Result<&str, str::Utf8Error> { in to_str() argument
|
| /third_party/rust/rust/library/std/src/sys/unix/ |
| D | os_str.rs | 215 pub fn to_str(&self) -> Result<&str, crate::str::Utf8Error> { in to_str()
|
| /third_party/flatbuffers/rust/flexbuffers/src/reader/ |
| D | mod.rs | 67 Utf8Error(#[serde(skip)] Option<Box<std::str::Utf8Error>>), enumerator
|
| /third_party/flatbuffers/rust/flatbuffers/src/ |
| D | verifier.rs | 55 Utf8Error { enumerator
|
| /third_party/rust/rust/library/alloc/src/ffi/ |
| D | c_str.rs | 991 pub fn utf8_error(&self) -> Utf8Error { in utf8_error()
|
| /third_party/rust/rust/library/std/src/sys_common/ |
| D | wtf8.rs | 629 pub fn as_str(&self) -> Result<&str, str::Utf8Error> { in as_str() argument
|
| /third_party/rust/rust/library/alloc/src/ |
| D | string.rs | 1954 pub fn utf8_error(&self) -> Utf8Error { in utf8_error()
|