Home
last modified time | relevance | path

Searched refs:ToStrError (Results 1 – 7 of 7) sorted by relevance

/external/rust/android-crates-io/crates/tonic/src/metadata/
Dvalue.rs36 pub struct ToStrError { struct
436 pub fn to_str(&self) -> Result<&str, ToStrError> { in to_str() argument
437 self.inner.to_str().map_err(|_| ToStrError::new()) in to_str()
602 impl ToStrError { implementation
604 ToStrError { _priv: () } in new()
608 impl fmt::Display for ToStrError { implementation
614 impl Error for ToStrError {} implementation
Dmod.rs42 pub use super::value::ToStrError;
/external/rust/android-crates-io/extra_versions/crates/http/src/header/
Dvalue.rs37 pub struct ToStrError { struct
251 pub fn to_str(&self) -> Result<&str, ToStrError> { in to_str() argument
256 return Err(ToStrError { _priv: () }); in to_str()
608 impl fmt::Display for ToStrError { implementation
614 impl Error for ToStrError {} implementation
Dmod.rs83 pub use self::value::{HeaderValue, InvalidHeaderValue, ToStrError};
/external/rust/android-crates-io/crates/http/src/header/
Dvalue.rs37 pub struct ToStrError { struct
251 pub fn to_str(&self) -> Result<&str, ToStrError> { in to_str() argument
256 return Err(ToStrError { _priv: () }); in to_str()
608 impl fmt::Display for ToStrError { implementation
614 impl Error for ToStrError {} implementation
Dmod.rs83 pub use self::value::{HeaderValue, InvalidHeaderValue, ToStrError};
/external/rust/android-crates-io/crates/tungstenite/src/
Derror.rs105 impl From<http::header::ToStrError> for Error {
106 fn from(_: http::header::ToStrError) -> Self { in from()