Skip to main content

grpc__error__error_info__metadata__key

Function grpc__error__error_info__metadata__key 

Source
pub fn grpc__error__error_info__metadata__key<T: Display>(value: T) -> String
Expand description

Instantiates the <key> placeholder in the attribute GRPC__ERROR__ERROR_INFO__METADATA__KEY (grpc.error.error_info.metadata.<key>) with a concrete value.

ยงExample

use relay_conventions::interpolate::grpc__error__error_info__metadata__key;
assert_eq!(grpc__error__error_info__metadata__key("foobar"), "grpc.error.error_info.metadata.foobar");