Struct spin_sdk::http::NonUtf8BodyError
source · 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)>
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 Response
Auto Trait Implementations§
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