pub trait NoiseModel {
    type Error;

    fn sample_error_of_length<R: Rng>(
        &self,
        length: usize,
        rng: &mut R
    ) -> Self::Error; }

Required Associated Types

The type of the generated errors.

Required Methods

Generates a random error of the given length.

Implementors