pub struct StripeMap {
pub disk_index: usize,
pub disk_offset: u64,
pub parity_disk: Option<usize>,
}Expand description
Stripe mapping result: which disk and offset to access.
Fields§
§disk_index: usizeIndex of the data disk within the array’s disk list.
disk_offset: u64Block offset on that disk.
parity_disk: Option<usize>For RAID5: index of the parity disk.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StripeMap
impl RefUnwindSafe for StripeMap
impl Send for StripeMap
impl Sync for StripeMap
impl Unpin for StripeMap
impl UnwindSafe for StripeMap
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)