#[non_exhaustive]pub enum Limit {
Show 16 variants
Body,
Fields,
NameLength,
ValueLength,
TextTotal,
Parts,
Files,
FileSize,
PartHeaderBytes,
PartHeaderCount,
FilenameLength,
Preamble,
Epilogue,
Padding,
TokenLength,
Disk,
}Expand description
Which budget of Limits was exceeded.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Body
max_body_bytes.
Fields
max_fields.
NameLength
max_name_bytes.
ValueLength
max_value_bytes.
TextTotal
max_text_bytes.
Parts
max_parts.
Files
max_files.
FileSize
max_file_bytes.
PartHeaderBytes
max_part_header_bytes.
PartHeaderCount
max_part_headers.
FilenameLength
max_filename_bytes.
Preamble
max_preamble_bytes.
Epilogue
max_epilogue_bytes.
Padding
max_padding_bytes.
TokenLength
max_token_bytes.
Disk
The per-request disk limit of a store.
Trait Implementations§
impl Copy for Limit
impl Eq for Limit
impl StructuralPartialEq for Limit
Auto Trait Implementations§
impl Freeze for Limit
impl RefUnwindSafe for Limit
impl Send for Limit
impl Sync for Limit
impl Unpin for Limit
impl UnsafeUnpin for Limit
impl UnwindSafe for Limit
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