Skip to content

AioCb should work with refcounted buffers #575

Closed
@asomers

Description

@asomers

The AioCb structure contains a reference (actually just a PhantomData) to a slice. This makes it impossible to use in situations where the borrow checker can't prove that the slice will outlive the AioCb, such as with Tokio. There should be a way to create AioCbs that use reference counted buffers instead.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions