pub trait InterpretItem<Item, RootEvent, Path>: Sendwhere
Item: ActionItem,{
// Required method
fn interpret_item<'a>(
&'a mut self,
input: Item::Input<'a>,
received: &'a mut Option<Item::Reply>,
) -> impl Future<Output = ()> + Send + 'a
where Item: 'a;
}Expand description
Concrete interpreter ownership port for one exact typed action item.
Item, RootEvent, and Path select the capability statically. Distinct
delivery and runtime-request values remain distinct implementations without
an erased envelope, registry, or runtime lookup.
Required Methods§
fn interpret_item<'a>(
&'a mut self,
input: Item::Input<'a>,
received: &'a mut Option<Item::Reply>,
) -> impl Future<Output = ()> + Send + 'awhere
Item: 'a,
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.