Skip to main content

emit_requester_class

Function emit_requester_class 

Source
pub fn emit_requester_class(svc: &ServiceDef) -> String
Expand description

Emits the typed requester class for a service.

Inherits from the generic dds::rpc::Requester<TIn, TOut> (spec §10.4) and provides Future<TOut> name_async(TIn) + TOut name(TIn) per method.

Oneway methods return void and no future (spec §10.7 “no reply for oneway operations”).