#[non_exhaustive]pub enum CodeRate {
Rate1_2,
Rate2_3,
Rate3_4,
Rate5_6,
Rate7_8,
Reserved(u8),
}Expand description
Convolutional code rate.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Rate1_2
1/2.
Rate2_3
2/3.
Rate3_4
3/4.
Rate5_6
5/6.
Rate7_8
7/8.
Reserved(u8)
Unspecified / reserved value.
Trait Implementations§
impl Copy for CodeRate
impl Eq for CodeRate
impl StructuralPartialEq for CodeRate
Auto Trait Implementations§
impl Freeze for CodeRate
impl RefUnwindSafe for CodeRate
impl Send for CodeRate
impl Sync for CodeRate
impl Unpin for CodeRate
impl UnsafeUnpin for CodeRate
impl UnwindSafe for CodeRate
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