remote-trait-object
remote-trait-object copied to clipboard
Support local mock
Two things must be supported for the local mock
-
ServiceRef
now has third enum variantLocal
, which holds directly the smart pointer to service object -
ServiceRef::import()
to could be possible only by some another wrapper, that should be generated by proc-macro