pub struct BodyCopyLimits {
pub max_chunk_size_line: usize,
pub max_chunk_size: u64,
pub max_decoded_body: u64,
pub max_trailer_line: usize,
pub max_trailer_bytes: usize,
}Expand description
Limits for body copying.
Fields§
§max_chunk_size_line: usize§max_chunk_size: u64§max_decoded_body: u64§max_trailer_line: usize§max_trailer_bytes: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for BodyCopyLimits
impl RefUnwindSafe for BodyCopyLimits
impl Send for BodyCopyLimits
impl Sync for BodyCopyLimits
impl Unpin for BodyCopyLimits
impl UnsafeUnpin for BodyCopyLimits
impl UnwindSafe for BodyCopyLimits
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