Type Alias wasmcloud_runtime::capability::http::types::Trailers

source ·
pub type Trailers = HostFields;
Expand description

Trailers is an alias for Fields.

Aliased Type§

enum Trailers {
    Ref {
        parent: u32,
        get_fields: for<'a> fn(_: &'a mut (dyn Any + 'static)) -> &'a mut HeaderMap,
    },
    Owned {
        fields: HeaderMap,
    },
}

Variants§

§

Ref

A reference to the fields of a parent entry.

Fields

§parent: u32

The parent resource rep.

§get_fields: for<'a> fn(_: &'a mut (dyn Any + 'static)) -> &'a mut HeaderMap

The function to get the fields from the parent.

§

Owned

An owned version of the fields.

Fields

§fields: HeaderMap

The fields themselves.