1 2 3 4 5 6 7 8 9 10
use std::os::raw::c_void; use crate::msg::MessageT; pub trait ServiceT { type Request: MessageT; type Response: MessageT; fn type_support() -> *const c_void; }