pub struct DavMultipartDownloadPlan { /* private fields */ }Expand description
Bounded multipart framing and final backend range-open plan.
Implementations§
Source§impl DavMultipartDownloadPlan
impl DavMultipartDownloadPlan
Sourcepub const fn requested_range_count(&self) -> usize
pub const fn requested_range_count(&self) -> usize
Returns the sender’s non-empty raw range-spec count.
Sourcepub fn segments(&self) -> &[DavMultipartSegmentPlan]
pub fn segments(&self) -> &[DavMultipartSegmentPlan]
Returns the final coalesced range-open plans in response order.
Sourcepub const fn selected_length(&self) -> u64
pub const fn selected_length(&self) -> u64
Returns the total representation bytes selected across all final segments.
Sourcepub const fn expected_length(&self) -> u64
pub const fn expected_length(&self) -> u64
Returns the exact multipart body length, including framing.
Trait Implementations§
Source§impl Clone for DavMultipartDownloadPlan
impl Clone for DavMultipartDownloadPlan
Source§fn clone(&self) -> DavMultipartDownloadPlan
fn clone(&self) -> DavMultipartDownloadPlan
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 DavMultipartDownloadPlan
impl Debug for DavMultipartDownloadPlan
Source§impl PartialEq for DavMultipartDownloadPlan
impl PartialEq for DavMultipartDownloadPlan
impl Eq for DavMultipartDownloadPlan
impl StructuralPartialEq for DavMultipartDownloadPlan
Auto Trait Implementations§
impl !Freeze for DavMultipartDownloadPlan
impl RefUnwindSafe for DavMultipartDownloadPlan
impl Send for DavMultipartDownloadPlan
impl Sync for DavMultipartDownloadPlan
impl Unpin for DavMultipartDownloadPlan
impl UnwindSafe for DavMultipartDownloadPlan
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.