pub struct HttpErrorsConfig {
pub body_max_size: usize,
}Expand description
Configuration for the HttpErrorsLayer
Fields§
§body_max_size: usizeMaximum size of the body in bytes
Trait Implementations§
Source§impl Clone for HttpErrorsConfig
impl Clone for HttpErrorsConfig
Source§fn clone(&self) -> HttpErrorsConfig
fn clone(&self) -> HttpErrorsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HttpErrorsConfig
impl RefUnwindSafe for HttpErrorsConfig
impl Send for HttpErrorsConfig
impl Sync for HttpErrorsConfig
impl Unpin for HttpErrorsConfig
impl UnsafeUnpin for HttpErrorsConfig
impl UnwindSafe for HttpErrorsConfig
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