pub struct InvalidHeaderNameBytes(/* private fields */);Expand description
A possible error when converting a HeaderName from another type.
Trait Implementations§
Source§impl Debug for InvalidHeaderNameBytes
impl Debug for InvalidHeaderNameBytes
Source§impl Display for InvalidHeaderNameBytes
impl Display for InvalidHeaderNameBytes
Source§impl Error for InvalidHeaderNameBytes
impl Error for InvalidHeaderNameBytes
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<InvalidHeaderNameBytes> for Error
impl From<InvalidHeaderNameBytes> for Error
Source§fn from(err: InvalidHeaderNameBytes) -> Error
fn from(err: InvalidHeaderNameBytes) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidHeaderNameBytes
impl RefUnwindSafe for InvalidHeaderNameBytes
impl Send for InvalidHeaderNameBytes
impl Sync for InvalidHeaderNameBytes
impl Unpin for InvalidHeaderNameBytes
impl UnwindSafe for InvalidHeaderNameBytes
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