pub trait ServiceLogic: Clone {
type Response: Response;
// Required method
fn result_status(&self, result: &Result<Self::Response>) -> EventStatus;
}
Required Associated Types§
Required Methods§
fn result_status(&self, result: &Result<Self::Response>) -> EventStatus
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.