Skip to main content

relay_pattern_to_string

Function relay_pattern_to_string 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn relay_pattern_to_string( pattern: *const RelayPattern, ) -> RelayStr
Expand description

Formats the pattern using its Display implementation.

The returned string is newly allocated and must be freed with relay_str_free.