Skip to main content

ref_format_name

Function ref_format_name 

Source
pub fn ref_format_name(format: RefFormat) -> &'static str
Expand description

What: The wire spelling of a ref format. Why: Shared by encoding and its tests.

In TS you’d write (pseudocode):

refFormat