pub enum CodingMethod {
ReedSolVand,
Cauchy,
Liberation,
Liber8tion,
BlaumRoth,
}Expand description
The CodingMethod is used to represent the coding method used to encode and decode the data.
Each method has its own matrix generation algorithm. For more information, see the jerasure documentation
Variants§
ReedSolVand
The Reed-Solomon Vandermonde coding method.
§Requires
- w must be in {8,16,32}
- not supported for BitMatrix, Schedule, ScheduleCache
Cauchy
Liberation
Liber8tion
BlaumRoth
Trait Implementations§
Source§impl Clone for CodingMethod
impl Clone for CodingMethod
Source§fn clone(&self) -> CodingMethod
fn clone(&self) -> CodingMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CodingMethod
Auto Trait Implementations§
impl Freeze for CodingMethod
impl RefUnwindSafe for CodingMethod
impl Send for CodingMethod
impl Sync for CodingMethod
impl Unpin for CodingMethod
impl UnsafeUnpin for CodingMethod
impl UnwindSafe for CodingMethod
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more