Skip to content

rename TypeMap to Extensions #116

@yoshuawuyts

Description

@yoshuawuyts

And the methods to ext and ext_mut. Terminology around "local state" that returns a TypeMap indexed by TypeId has been hard to follow.

Instead talking about "here's a way to store more values in request and response" feels like a better fit. This is similar to Hyper's http crate, but with a different explainer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions