Decoder

Trait Decoder 

Source
pub trait Decoder: DecoderClone + Send {
    // Required methods
    fn new_worker(&self, _: &Context) -> Box<dyn Worker>;
    fn execution_type(&self) -> ExecType;
}
Expand description

Decoder trait.

Required Methods§

Source

fn new_worker(&self, _: &Context) -> Box<dyn Worker>

Source

fn execution_type(&self) -> ExecType

Trait Implementations§

Source§

impl Clone for Box<dyn Decoder>

Source§

fn clone(&self) -> Box<dyn Decoder>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Implementors§