#[repr(u32)]
pub enum fe_code_rate {
Show 15 variants
FEC_NONE,
FEC_1_2,
FEC_2_3,
FEC_3_4,
FEC_4_5,
FEC_5_6,
FEC_6_7,
FEC_7_8,
FEC_8_9,
FEC_AUTO,
FEC_3_5,
FEC_9_10,
FEC_2_5,
FEC_1_4,
FEC_1_3,
}Variants
FEC_NONE
FEC_1_2
FEC_2_3
FEC_3_4
FEC_4_5
FEC_5_6
FEC_6_7
FEC_7_8
FEC_8_9
FEC_AUTO
FEC_3_5
FEC_9_10
FEC_2_5
FEC_1_4
FEC_1_3
Implementations
sourceimpl fe_code_rate
impl fe_code_rate
pub const fn from_repr(discriminant: u32) -> Option<fe_code_rate>
Trait Implementations
sourceimpl Clone for fe_code_rate
impl Clone for fe_code_rate
sourcefn clone(&self) -> fe_code_rate
fn clone(&self) -> fe_code_rate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for fe_code_rate
impl Debug for fe_code_rate
sourceimpl FromStr for fe_code_rate
impl FromStr for fe_code_rate
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl PartialEq<fe_code_rate> for fe_code_rate
impl PartialEq<fe_code_rate> for fe_code_rate
sourceimpl TryFrom<&'_ str> for fe_code_rate
impl TryFrom<&'_ str> for fe_code_rate
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
impl Copy for fe_code_rate
impl Eq for fe_code_rate
impl StructuralEq for fe_code_rate
impl StructuralPartialEq for fe_code_rate
Auto Trait Implementations
impl RefUnwindSafe for fe_code_rate
impl Send for fe_code_rate
impl Sync for fe_code_rate
impl Unpin for fe_code_rate
impl UnwindSafe for fe_code_rate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more