[−][src]Trait kompact::component::Require
A trait implementing handling of required events of P
This is equivalent to a Kompics Handler subscribed on a required port of type P
.
Required methods
fn handle(&mut self, event: P::Indication) -> Handled
Handle the port's event
Note
Remember that components usually run on a shared thread pool, so you shouldn't ever block in this method unless you know what you are doing.