Skip to main content

emit_service_interface

Function emit_service_interface 

Source
pub fn emit_service_interface(
    svc: &ServiceDef,
    pkg: &str,
    opts: &JavaGenOptions,
) -> Result<JavaFile, JavaGenError>
Expand description

Emits the synchronous service interface (<Service>.java).

§Errors

JavaGenError::InvalidName for a non-sanitizable service name.