Searched refs:ToStrError (Results 1 – 7 of 7) sorted by relevance
36 pub struct ToStrError { struct436 pub fn to_str(&self) -> Result<&str, ToStrError> { in to_str() argument437 self.inner.to_str().map_err(|_| ToStrError::new()) in to_str()602 impl ToStrError { implementation604 ToStrError { _priv: () } in new()608 impl fmt::Display for ToStrError { implementation614 impl Error for ToStrError {} implementation
42 pub use super::value::ToStrError;
37 pub struct ToStrError { struct251 pub fn to_str(&self) -> Result<&str, ToStrError> { in to_str() argument256 return Err(ToStrError { _priv: () }); in to_str()608 impl fmt::Display for ToStrError { implementation614 impl Error for ToStrError {} implementation
83 pub use self::value::{HeaderValue, InvalidHeaderValue, ToStrError};
105 impl From<http::header::ToStrError> for Error {106 fn from(_: http::header::ToStrError) -> Self { in from()