[]Trait amqp_worker::MessageEvent

pub trait MessageEvent {
    fn get_name(&self) -> String;
fn get_short_description(&self) -> String;
fn get_description(&self) -> String;
fn get_version(&self) -> Version;
fn get_parameters(&self) -> Vec<Parameter>; fn process(
        &self,
        _channel: Option<&Channel>,
        _job: &Job,
        _job_result: JobResult
    ) -> Result<JobResult, MessageError>
    where
        Self: Sized
, { ... } }

Required methods

fn get_name(&self) -> String

fn get_short_description(&self) -> String

fn get_description(&self) -> String

fn get_version(&self) -> Version

fn get_parameters(&self) -> Vec<Parameter>

Loading content...

Provided methods

fn process(
    &self,
    _channel: Option<&Channel>,
    _job: &Job,
    _job_result: JobResult
) -> Result<JobResult, MessageError> where
    Self: Sized

Loading content...

Implementors

Loading content...