pub struct ParityDataColumn {
pub devid: u64,
pub physical: u64,
pub overlay: Option<CallerOverlay>,
}Expand description
One data column slot in a ParityRow.
Fields§
§devid: u64Device this column lives on.
physical: u64Physical byte offset of the slot’s start on the device. The
slot always covers [physical, physical + stripe_len).
overlay: Option<CallerOverlay>Byte range from the caller’s buffer that overlays the slot, or
None if the caller did not touch this column (parity still
needs the existing bytes from disk).
Trait Implementations§
Source§impl Clone for ParityDataColumn
impl Clone for ParityDataColumn
Source§fn clone(&self) -> ParityDataColumn
fn clone(&self) -> ParityDataColumn
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 ParityDataColumn
impl Debug for ParityDataColumn
Source§impl PartialEq for ParityDataColumn
impl PartialEq for ParityDataColumn
impl Eq for ParityDataColumn
impl StructuralPartialEq for ParityDataColumn
Auto Trait Implementations§
impl Freeze for ParityDataColumn
impl RefUnwindSafe for ParityDataColumn
impl Send for ParityDataColumn
impl Sync for ParityDataColumn
impl Unpin for ParityDataColumn
impl UnsafeUnpin for ParityDataColumn
impl UnwindSafe for ParityDataColumn
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