pub struct DavMultiRangeLimits {
pub maximum_header_bytes: usize,
pub maximum_raw_ranges: usize,
pub maximum_segments: usize,
pub maximum_aggregate_bytes: u64,
pub maximum_backend_opens: usize,
}Expand description
Hard bounds applied before any multi-range backend stream is opened.
Fields§
§maximum_header_bytes: usize§maximum_raw_ranges: usizeMaximum raw range specs accepted before coalescing allocates its result.
Coalescing preserves request order and has superlinear worst-case CPU cost. Products must choose this bound explicitly; raising it can significantly increase per-request work and there is no implicit fallback limit.
maximum_segments: usize§maximum_aggregate_bytes: u64§maximum_backend_opens: usizeImplementations§
Trait Implementations§
Source§impl Clone for DavMultiRangeLimits
impl Clone for DavMultiRangeLimits
Source§fn clone(&self) -> DavMultiRangeLimits
fn clone(&self) -> DavMultiRangeLimits
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DavMultiRangeLimits
impl Debug for DavMultiRangeLimits
Source§impl PartialEq for DavMultiRangeLimits
impl PartialEq for DavMultiRangeLimits
impl Copy for DavMultiRangeLimits
impl Eq for DavMultiRangeLimits
impl StructuralPartialEq for DavMultiRangeLimits
Auto Trait Implementations§
impl Freeze for DavMultiRangeLimits
impl RefUnwindSafe for DavMultiRangeLimits
impl Send for DavMultiRangeLimits
impl Sync for DavMultiRangeLimits
impl Unpin for DavMultiRangeLimits
impl UnwindSafe for DavMultiRangeLimits
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.