pub struct DavMultiRangePolicy {
pub limits: DavMultiRangeLimits,
pub coalesce_gap_bytes: u64,
pub limit_behavior: DavRangeLimitBehavior,
}Expand description
Explicit policy that enables bounded multi-range response planning for one resource.
Fields§
§limits: DavMultiRangeLimits§coalesce_gap_bytes: u64Merge overlap, adjacency, and gaps no larger than this number of representation bytes.
limit_behavior: DavRangeLimitBehaviorImplementations§
Source§impl DavMultiRangePolicy
impl DavMultiRangePolicy
pub const fn new( limits: DavMultiRangeLimits, coalesce_gap_bytes: u64, limit_behavior: DavRangeLimitBehavior, ) -> Self
Trait Implementations§
Source§impl Clone for DavMultiRangePolicy
impl Clone for DavMultiRangePolicy
Source§fn clone(&self) -> DavMultiRangePolicy
fn clone(&self) -> DavMultiRangePolicy
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 DavMultiRangePolicy
impl Debug for DavMultiRangePolicy
Source§impl PartialEq for DavMultiRangePolicy
impl PartialEq for DavMultiRangePolicy
impl Copy for DavMultiRangePolicy
impl Eq for DavMultiRangePolicy
impl StructuralPartialEq for DavMultiRangePolicy
Auto Trait Implementations§
impl Freeze for DavMultiRangePolicy
impl RefUnwindSafe for DavMultiRangePolicy
impl Send for DavMultiRangePolicy
impl Sync for DavMultiRangePolicy
impl Unpin for DavMultiRangePolicy
impl UnwindSafe for DavMultiRangePolicy
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.