pub enum ParityKind {
P,
Q,
}Expand description
Which parity polynomial a ParityTarget holds.
Variants§
P
XOR of the row’s data columns. Used by RAID5 and RAID6.
Q
Reed-Solomon over GF(2^8) with x^8 + x^4 + x^3 + x^2 + 1.
RAID6 only.
Trait Implementations§
Source§impl Clone for ParityKind
impl Clone for ParityKind
Source§fn clone(&self) -> ParityKind
fn clone(&self) -> ParityKind
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 ParityKind
impl Debug for ParityKind
Source§impl PartialEq for ParityKind
impl PartialEq for ParityKind
impl Copy for ParityKind
impl Eq for ParityKind
impl StructuralPartialEq for ParityKind
Auto Trait Implementations§
impl Freeze for ParityKind
impl RefUnwindSafe for ParityKind
impl Send for ParityKind
impl Sync for ParityKind
impl Unpin for ParityKind
impl UnsafeUnpin for ParityKind
impl UnwindSafe for ParityKind
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