Struct UnknownBodyError

struct UnknownBodyError(_)

Encountered an unknown error when buffering the body.

Implementations

impl UnknownBodyError

fn body_text(self: &Self) -> String

Get the response body text used for this rejection.

fn status(self: &Self) -> http::StatusCode

Get the status code used for this rejection.

impl Debug for UnknownBodyError

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Display for UnknownBodyError

fn fmt(self: &Self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result

impl Error for UnknownBodyError

fn source(self: &Self) -> Option<&dyn std::error::Error + 'static>

impl Freeze for UnknownBodyError

impl IntoResponse for UnknownBodyError

fn into_response(self: Self) -> $crate::response::Response

impl RefUnwindSafe for UnknownBodyError

impl Send for UnknownBodyError

impl Sync for UnknownBodyError

impl Unpin for UnknownBodyError

impl UnwindSafe for UnknownBodyError

impl<T> Any for UnknownBodyError

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for UnknownBodyError

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for UnknownBodyError

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for UnknownBodyError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Instrument for UnknownBodyError

impl<T> ToString for UnknownBodyError

fn to_string(self: &Self) -> String

impl<T> WithSubscriber for UnknownBodyError

impl<T, U> Into for UnknownBodyError

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for UnknownBodyError

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for UnknownBodyError

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>