Module design_pattern_examples_rust::proxy::proxy_proxy
source · Expand description
Contains the ProxyEntity struct that locally represents a (possibly remote) real entity. In this example, the real entity being proxied is located in its own module.
Structs
- The proxy entity that implements the IWorkByProxy and forwards the calls on that trait to a real entity, which is instantiated when the do_work() method on the IWorkByProxy trait is first called.