Struct awc::body::BodyLimitExceeded
#[non_exhaustive]pub struct BodyLimitExceeded;
Expand description
Error type returned from to_bytes_limited
when body produced exceeds limit.
Trait Implementations§
§impl Debug for BodyLimitExceeded
impl Debug for BodyLimitExceeded
§impl Display for BodyLimitExceeded
impl Display for BodyLimitExceeded
§impl Error for BodyLimitExceeded
impl Error for BodyLimitExceeded
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 BodyLimitExceeded
impl RefUnwindSafe for BodyLimitExceeded
impl Send for BodyLimitExceeded
impl Sync for BodyLimitExceeded
impl Unpin for BodyLimitExceeded
impl UnwindSafe for BodyLimitExceeded
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