pub struct Region<R> {
pub start: u64,
pub len: u64,
pub tag: R,
}Expand description
A contiguous span of the source to sweep, plus an opaque medium-specific
attribution tag (disk: volume/run id; memory: PID/VA) that rides back out on
each SweptItem — keeping CarvedItem itself medium-neutral (ADR §8/C1).
Fields§
§start: u64Absolute start offset of the span in the source.
len: u64Length of the span in bytes.
tag: RMedium-specific attribution carried back on each item.
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for Region<R>where
R: Freeze,
impl<R> RefUnwindSafe for Region<R>where
R: RefUnwindSafe,
impl<R> Send for Region<R>where
R: Send,
impl<R> Sync for Region<R>where
R: Sync,
impl<R> Unpin for Region<R>where
R: Unpin,
impl<R> UnsafeUnpin for Region<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for Region<R>where
R: UnwindSafe,
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