[][src]Macro kompact::ignore_indications

macro_rules! ignore_indications {
    ($port:ty, $component:ty) => { ... };
}

A macro that provides an empty implementation of the required handler for the given $port on the given $component

Use this in components that do not require any treatment of indications on $port, for example where $port::Indication is the uninhabited Never type.

Example

To ignore indications on a port TestPort for a component TestComponent, write: ignore_indications!(TestPort, TestComponent);