Trait vector::sinks::util::sink::ServiceLogic

source ·
pub trait ServiceLogic: Clone {
    type Response: Response;

    // Required method
    fn result_status(&self, result: &Result<Self::Response>) -> EventStatus;
}

Required Associated Types§

Required Methods§

source

fn result_status(&self, result: &Result<Self::Response>) -> EventStatus

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<R> ServiceLogic for StdServiceLogic<R>
where R: Response + Send,

§

type Response = R