pub struct WriteBlockRange {
pub first: u64,
pub last: u64,
pub full_blocks: bool,
}Expand description
Describes the logical-block coverage of a write.
Fields§
§first: u64First logical block touched.
last: u64Last logical block touched (inclusive).
full_blocks: boolTrue iff the write starts and ends on block boundaries (no RMW needed for the head or tail block).
Trait Implementations§
Source§impl Clone for WriteBlockRange
impl Clone for WriteBlockRange
impl Copy for WriteBlockRange
Source§impl Debug for WriteBlockRange
impl Debug for WriteBlockRange
impl Eq for WriteBlockRange
Source§impl PartialEq for WriteBlockRange
impl PartialEq for WriteBlockRange
impl StructuralPartialEq for WriteBlockRange
Auto Trait Implementations§
impl Freeze for WriteBlockRange
impl RefUnwindSafe for WriteBlockRange
impl Send for WriteBlockRange
impl Sync for WriteBlockRange
impl Unpin for WriteBlockRange
impl UnsafeUnpin for WriteBlockRange
impl UnwindSafe for WriteBlockRange
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