Source

Trait Source 

Source
pub trait Source {
    type OutputValue: Send;
    type OutputError: Send;

    // Required method
    fn process(
        &mut self,
        output: &mut Sender<Message<Self::OutputValue, Self::OutputError>>,
        stop: &mut bool,
    );
}

Required Associated Types§

Required Methods§

Source

fn process( &mut self, output: &mut Sender<Message<Self::OutputValue, Self::OutputError>>, stop: &mut bool, )

Implementors§