Skip to content

moving Pin API to a seperate module #53170

Closed
@nivkner

Description

@nivkner

@withoutboats proposed in #49150 to move the Pin API to its own module in order to have a place to provide a high level overview for it.
I am making this a separate issue to discuss this particular aspect of the stabilization process, to not overload the tracking issue.

I found a problem with trying to move the API:
both the Option type and Future trait in core depend on PinMut directly so it can't just be moved from core, and PinBox requires allocation so it can't be in core.

should those types just be re-exportd from core and alloc into a module for the sake of unified documentation then? or is there some other way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions