Skip to main content

method_descriptor

Function method_descriptor 

Source
pub fn method_descriptor<'a, 'r, A: Facet<'a>, R: Facet<'r>>(
    service_name: &'static str,
    method_name: &'static str,
    arg_names: &[&'static str],
    doc: Option<&'static str>,
) -> &'static MethodDescriptor
Expand description

Build and leak a MethodDescriptor with default volatile retry policy.