pub struct InvalidHeaderValueBytes(/* private fields */);Expand description
A possible error when converting a HeaderValue from a string or byte
slice.
Trait Implementations§
Source§impl Debug for InvalidHeaderValueBytes
 
impl Debug for InvalidHeaderValueBytes
Source§impl Display for InvalidHeaderValueBytes
 
impl Display for InvalidHeaderValueBytes
Source§impl Error for InvalidHeaderValueBytes
 
impl Error for InvalidHeaderValueBytes
Source§fn description(&self) -> &str
 
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
 
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
Source§impl From<InvalidHeaderValueBytes> for Error
 
impl From<InvalidHeaderValueBytes> for Error
Source§fn from(err: InvalidHeaderValueBytes) -> Error
 
fn from(err: InvalidHeaderValueBytes) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidHeaderValueBytes
impl RefUnwindSafe for InvalidHeaderValueBytes
impl Send for InvalidHeaderValueBytes
impl Sync for InvalidHeaderValueBytes
impl Unpin for InvalidHeaderValueBytes
impl UnwindSafe for InvalidHeaderValueBytes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more