[][src]Struct bchlib::BCH

pub struct BCH(_);

Methods

impl BCH[src]

pub fn init(m: i32, t: i32) -> Result<BCH, &'static str>[src]

pub fn init_with_poly(m: i32, t: i32, poly: u32) -> Result<BCH, &'static str>[src]

pub fn decode(&mut self, msg: &[u8], ecc: &[u8], errloc: &mut [u32]) -> i32[src]

Trait Implementations

impl Debug for BCH[src]

Auto Trait Implementations

impl !Send for BCH

impl !Sync for BCH

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]