pub enum PartSource {
Local {
offset: u64,
len: u64,
},
BaseCopy {
offset: u64,
len: u64,
},
}Expand description
One part of a composed generation, in object order.
Variants§
Local
Dirty range: bytes [offset, offset+len) read from the local file and uploaded.
BaseCopy
Clean range: server-side copy of [offset, offset+len) from the base generation object at the SAME key, guarded by copy-source-if-match on the base ETag (detects foreign bucket overwrite; structurally cannot detect local staleness — that is capture’s job, finding C5).
Trait Implementations§
Source§impl Clone for PartSource
impl Clone for PartSource
Source§impl Debug for PartSource
impl Debug for PartSource
impl Eq for PartSource
Source§impl PartialEq for PartSource
impl PartialEq for PartSource
impl StructuralPartialEq for PartSource
Auto Trait Implementations§
impl Freeze for PartSource
impl RefUnwindSafe for PartSource
impl Send for PartSource
impl Sync for PartSource
impl Unpin for PartSource
impl UnsafeUnpin for PartSource
impl UnwindSafe for PartSource
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