pub struct RangeState {
pub unwritten: Tri,
pub shared: Tri,
pub cached_pages: Option<u64>,
pub valid_data: Tri,
}Expand description
Facts about a byte range of a file.
Fields§
§unwritten: TriSome extent in the range is allocated but unwritten.
Some extent in the range is shared with another file (reflink).
cached_pages: Option<u64>Pages of the range resident in the OS page cache, if knowable.
valid_data: TriValid data length covers the range (Windows), if knowable.
Trait Implementations§
Source§impl Clone for RangeState
impl Clone for RangeState
impl Copy for RangeState
Source§impl Debug for RangeState
impl Debug for RangeState
Source§impl Default for RangeState
impl Default for RangeState
impl Eq for RangeState
Source§impl PartialEq for RangeState
impl PartialEq for RangeState
impl StructuralPartialEq for RangeState
Auto Trait Implementations§
impl Forget for RangeState
impl Freeze for RangeState
impl Move for RangeState
impl RefUnwindSafe for RangeState
impl Send for RangeState
impl Sync for RangeState
impl Unpin for RangeState
impl UnsafeUnpin for RangeState
impl UnwindSafe for RangeState
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