Currently we are passing around Arc<Protocol> references everywhere which conflates the implementation of the runtime-host protocol with the interface towards the host. We should move the required functionality (namely making raw host requests) to the Host trait and start using it everywhere for cleaner abstractions.
Currently we are passing around
Arc<Protocol>
references everywhere which conflates the implementation of the runtime-host protocol with the interface towards the host. We should move the required functionality (namely making raw host requests) to theHost
trait and start using it everywhere for cleaner abstractions.