Skip to content

Should {future,stream}.close-{readable,writable} take ownership of the error-context? #469

Open
@alexcrichton

Description

@alexcrichton

Currently in the canonical ABI these intrinsics only acces the error-context rather than consuming it, like a borrow<_> instead of own<_>. My (possibly naive) expectation though would be that in the majority of cases that an error context is passed in and then discarded, so should this perhaps both take an error-context and remove it from the component's table?

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