pub trait IpcServerCommand:
Serialize
+ for<'a> Deserialize<'a>
+ Debug {
type Response: Serialize + for<'a> Deserialize<'a> + Debug;
type Context<'a>;
// Required method
fn process<'a, 'b>(
self,
context: &'b mut Self::Context<'a>,
) -> Self::Response;
}
Required Associated Types§
Required Methods§
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.