Skip to main content

legacy_subgroup_glue

Macro legacy_subgroup_glue 

Source
macro_rules! legacy_subgroup_glue {
    (no_extensions $name:ident, $feat:literal, $draft:ident) => { ... };
    (count_extensions $name:ident, $feat:literal, $draft:ident) => { ... };
    (length_extensions $name:ident, $feat:literal, $draft:ident) => { ... };
    (gated_extensions $name:ident, $feat:literal, $draft:ident) => { ... };
}
Expand description

Generates the conversion glue between one draft’s standalone ObjectHeader and the draft-neutral object types.

The leading keyword selects the draft’s extension-block shape: absent (draft-07), count-prefixed (draft-08), byte-length-prefixed (drafts 09/10), or byte-length-prefixed and gated on the stream type (drafts 11-13).