Struct hyper::ext::h1_reason_phrase::InvalidReasonPhrase
source · pub struct InvalidReasonPhrase {
bad_byte: u8,
}
Expand description
Error indicating an invalid byte when constructing a ReasonPhrase
.
See the spec for details on allowed bytes.
Fields§
§bad_byte: u8
Trait Implementations§
source§impl Debug for InvalidReasonPhrase
impl Debug for InvalidReasonPhrase
source§impl Display for InvalidReasonPhrase
impl Display for InvalidReasonPhrase
source§impl Error for InvalidReasonPhrase
impl Error for InvalidReasonPhrase
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for InvalidReasonPhrase
impl RefUnwindSafe for InvalidReasonPhrase
impl Send for InvalidReasonPhrase
impl Sync for InvalidReasonPhrase
impl Unpin for InvalidReasonPhrase
impl UnwindSafe for InvalidReasonPhrase
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