Skip to main content

DecoderRunner

Trait DecoderRunner 

Source
pub trait DecoderRunner:
    Decoder
    + Clone
    + Sync {
    // Provided methods
    fn par_decode_batch(
        &mut self,
        detectors: ArrayView2<'_, Bit>,
    ) -> Array2<Bit> { ... }
    fn par_decode_detailed_batch(
        &mut self,
        detectors: ArrayView2<'_, Bit>,
    ) -> Vec<DecodeResult> { ... }
    fn decode_batch_progress_bar(
        &mut self,
        detectors: ArrayView2<'_, Bit>,
        leave_progress_bar_on_finish: bool,
    ) -> Array2<Bit> { ... }
    fn decode_detailed_batch_progress_bar(
        &mut self,
        detectors: ArrayView2<'_, Bit>,
        leave_progress_bar_on_finish: bool,
    ) -> Vec<DecodeResult> { ... }
    fn par_decode_batch_progress_bar(
        &mut self,
        detectors: ArrayView2<'_, Bit>,
        leave_progress_bar_on_finish: bool,
    ) -> Array2<Bit> { ... }
    fn par_decode_detailed_batch_progress_bar(
        &mut self,
        detectors: ArrayView2<'_, Bit>,
        leave_progress_bar_on_finish: bool,
    ) -> Vec<DecodeResult> { ... }
    fn get_progress_bar_style(&self) -> ProgressStyle { ... }
}

Provided Methods§

Source

fn par_decode_batch(&mut self, detectors: ArrayView2<'_, Bit>) -> Array2<Bit>

Source

fn par_decode_detailed_batch( &mut self, detectors: ArrayView2<'_, Bit>, ) -> Vec<DecodeResult>

Source

fn decode_batch_progress_bar( &mut self, detectors: ArrayView2<'_, Bit>, leave_progress_bar_on_finish: bool, ) -> Array2<Bit>

Decode a batch displaying a progress bar

Source

fn decode_detailed_batch_progress_bar( &mut self, detectors: ArrayView2<'_, Bit>, leave_progress_bar_on_finish: bool, ) -> Vec<DecodeResult>

Decode a batch displaying a progress bar

Source

fn par_decode_batch_progress_bar( &mut self, detectors: ArrayView2<'_, Bit>, leave_progress_bar_on_finish: bool, ) -> Array2<Bit>

Source

fn par_decode_detailed_batch_progress_bar( &mut self, detectors: ArrayView2<'_, Bit>, leave_progress_bar_on_finish: bool, ) -> Vec<DecodeResult>

Source

fn get_progress_bar_style(&self) -> ProgressStyle

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§