pub struct NonUtf8BodyError;Expand description
An error when the body is not UTF-8
Trait Implementations§
Source§impl Debug for NonUtf8BodyError
impl Debug for NonUtf8BodyError
Source§impl Display for NonUtf8BodyError
impl Display for NonUtf8BodyError
Source§impl Error for NonUtf8BodyError
impl Error for NonUtf8BodyError
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
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl IntoResponse for NonUtf8BodyError
impl IntoResponse for NonUtf8BodyError
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Turn
self into a ResponseAuto Trait Implementations§
impl Freeze for NonUtf8BodyError
impl RefUnwindSafe for NonUtf8BodyError
impl Send for NonUtf8BodyError
impl Sync for NonUtf8BodyError
impl Unpin for NonUtf8BodyError
impl UnwindSafe for NonUtf8BodyError
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