pub struct FailedToBufferBody(_);
Expand description
Rejection type for extractors that buffer the request body. Used if the request body cannot be buffered due to an error.
Trait Implementations
sourceimpl Debug for FailedToBufferBody
impl Debug for FailedToBufferBody
sourceimpl Display for FailedToBufferBody
impl Display for FailedToBufferBody
sourceimpl Error for FailedToBufferBody
impl Error for FailedToBufferBody
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<FailedToBufferBody> for BytesRejection
impl From<FailedToBufferBody> for BytesRejection
sourcefn from(inner: FailedToBufferBody) -> Self
fn from(inner: FailedToBufferBody) -> Self
Performs the conversion.
sourceimpl From<FailedToBufferBody> for StringRejection
impl From<FailedToBufferBody> for StringRejection
sourcefn from(inner: FailedToBufferBody) -> Self
fn from(inner: FailedToBufferBody) -> Self
Performs the conversion.
sourceimpl IntoResponse for FailedToBufferBody
impl IntoResponse for FailedToBufferBody
sourcefn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations
impl !RefUnwindSafe for FailedToBufferBody
impl Send for FailedToBufferBody
impl Sync for FailedToBufferBody
impl Unpin for FailedToBufferBody
impl !UnwindSafe for FailedToBufferBody
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more