scylladb::app::worker

Trait IntoDecodingWorker

Source
pub trait IntoDecodingWorker {
    type Output: Send;

    // Required method
    fn with_decoder(self) -> Self::Output;
}
Expand description

Defines a worker which can be given a handle to be capable of responding to the sender

Required Associated Types§

Source

type Output: Send

The type of worker which will be created

Required Methods§

Source

fn with_decoder(self) -> Self::Output

Give the worker a reference

Implementors§

Source§

impl<H, R> IntoDecodingWorker for AnyWorker<H, R>
where H: 'static + Debug + Send + Sync, R: 'static + Send + Debug + Request + Sync + SendRequestExt,

Source§

type Output = AnyWorker<DecHandle<H, R>, R>