pub fn documentation_value_length(
    descriptor: &impl AsDescriptor,
    method: &str
) -> Result<usize>
Expand description

Returns the length, in bytes, of the documentation for a method on a value.

The descriptor parameter identifies the value by its descriptor. The method parameter identifies the method by its name.

§Errors

  • NoSuchMethod is returned if the method does not exist on the value.