pub enum Code {
Show 21 variants
R1_4,
R1_3,
R2_5,
R1_2,
R3_5,
R2_3,
R3_4,
R4_5,
R5_6,
R8_9,
R9_10,
R1_4short,
R1_3short,
R2_5short,
R1_2short,
R3_5short,
R2_3short,
R3_4short,
R4_5short,
R5_6short,
R8_9short,
}
Expand description
DVB-S2 LDPC code types
Variants§
R1_4
rate 1/4 normal FECFRAME
R1_3
rate 1/3 normal FECFRAME
R2_5
rate 2/5 normal FECFRAME
R1_2
rate 1/2 normal FECFRAME
R3_5
rate 3/5 normal FECFRAME
R2_3
rate 2/3 normal FECFRAME
R3_4
rate 3/4 normal FECFRAME
R4_5
rate 4/5 normal FECFRAME
R5_6
rate 5/6 normal FECFRAME
R8_9
rate 8/9 normal FECFRAME
R9_10
rate 9/10 normal FECFRAME
R1_4short
rate 1/4 short FECFRAME (the LDPC rate is actually 1/5)
R1_3short
rate 1/3 short FECFRAME
R2_5short
rate 2/5 short FECFRAME
R1_2short
rate 1/2 short FECFRAME (the LDPC rate is actually 4/9)
R3_5short
rate 3/5 short FECFRAME
R2_3short
rate 2/3 short FECFRAME
R3_4short
rate 3/4 short FECFRAME (the LDPC rate is actually 11/15)
R4_5short
rate 4/5 short FECFRAME (the LDPC rate is actually 7/9)
R5_6short
rate 5/6 short FECFRAME (the LDPC rate is actually 37/45)
R8_9short
rate 8/9 short FECFRAME
Implementations§
Trait Implementations§
Source§impl Sequence for Code
impl Sequence for Code
impl Copy for Code
impl Eq for Code
impl StructuralPartialEq for Code
Auto Trait Implementations§
impl Freeze for Code
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnwindSafe for Code
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