[−][src]Macro kompact::ignore_requests
A macro that provides an empty implementation of the provided handler for the given $port
on the given $component
Use this in components that do not require any treatment of requests on $port
, for example
where $port::Request
is the uninhabited Never
type.
Example
To ignore requests on a port TestPort
for a component TestComponent
, write:
ignore_requests!(TestPort, TestComponent);