Skip to content

aio_suspend should take Pinned references #2018

@asomers

Description

@asomers

Just like aio_write, aio_suspend should only work on Pinned references. Right now it doesn't require that. Probably the best way to do it would be to create a trait like AsAiocbPinned with a method that returns a Pin<&libc::aiocb>, and implement that trait for all aiocb types.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions