pub struct RangeHydrationCapabilities {
pub alignment: Alignment,
pub partial_cancel: bool,
}Expand description
Range-read and cancellation constraints for hydration.
Fields§
§alignment: AlignmentRequired physical transfer alignment.
partial_cancel: boolA cancellation request may release only a subset of the original range.
Implementations§
Source§impl RangeHydrationCapabilities
impl RangeHydrationCapabilities
Sourcepub fn intersection(self, other: Self) -> Result<Self>
pub fn intersection(self, other: Self) -> Result<Self>
Computes range guarantees and physical constraints shared by both sides.
§Errors
Returns an error when validation fails or an underlying backend, store, or platform operation fails.
Trait Implementations§
Source§impl Clone for RangeHydrationCapabilities
impl Clone for RangeHydrationCapabilities
Source§fn clone(&self) -> RangeHydrationCapabilities
fn clone(&self) -> RangeHydrationCapabilities
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 RangeHydrationCapabilities
impl Debug for RangeHydrationCapabilities
impl Copy for RangeHydrationCapabilities
impl Eq for RangeHydrationCapabilities
impl StructuralPartialEq for RangeHydrationCapabilities
Auto Trait Implementations§
impl Freeze for RangeHydrationCapabilities
impl RefUnwindSafe for RangeHydrationCapabilities
impl Send for RangeHydrationCapabilities
impl Sync for RangeHydrationCapabilities
impl Unpin for RangeHydrationCapabilities
impl UnwindSafe for RangeHydrationCapabilities
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