pub enum Field {
Gf2,
Gf256,
}Expand description
The finite field used for repair-symbol coefficients.
Variants§
Gf2
Binary coefficients. Multiplication is logical AND and symbol addition is XOR.
Gf256
Byte coefficients in GF(2^8), using the RFC 8681 polynomial 0x11d.
Implementations§
Trait Implementations§
impl Copy for Field
impl Eq for Field
impl StructuralPartialEq for Field
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnsafeUnpin for Field
impl UnwindSafe for Field
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