pub enum ContentCacheWriteExtent {
Whole,
Range(ByteRange),
}Expand description
Logical bytes installed by one atomic provider-cache write.
Variants§
Whole
Installs the complete file, including a zero-byte file.
Range(ByteRange)
Installs one non-empty sparse byte range.
Trait Implementations§
Source§impl Clone for ContentCacheWriteExtent
impl Clone for ContentCacheWriteExtent
Source§fn clone(&self) -> ContentCacheWriteExtent
fn clone(&self) -> ContentCacheWriteExtent
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 ContentCacheWriteExtent
impl Debug for ContentCacheWriteExtent
Source§impl Hash for ContentCacheWriteExtent
impl Hash for ContentCacheWriteExtent
Source§impl PartialEq for ContentCacheWriteExtent
impl PartialEq for ContentCacheWriteExtent
impl Copy for ContentCacheWriteExtent
impl Eq for ContentCacheWriteExtent
impl StructuralPartialEq for ContentCacheWriteExtent
Auto Trait Implementations§
impl Freeze for ContentCacheWriteExtent
impl RefUnwindSafe for ContentCacheWriteExtent
impl Send for ContentCacheWriteExtent
impl Sync for ContentCacheWriteExtent
impl Unpin for ContentCacheWriteExtent
impl UnwindSafe for ContentCacheWriteExtent
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