bytedance/monoio

Tracking issue: impl `AsyncReadRent` and `AsyncWriteRent` for in-memory std buffer types

Open

#310 opened on Oct 21, 2024

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Rust (288 forks)github user discovery
F-feature-requestgood first issue

Repository metrics

Stars
 (5,000 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Is your feature request related to a problem? Please describe.

I want to have AsyncReadRent and AsyncWriteRent implemented for in-memory std buffer types, like Vec<u8>, Cursor for testing purposes.

Describe the solution you'd like

Similar to what Tokio does:

Describe alternatives you've considered

No

Additional context

AsyncReadRent has been implemented for &[u8]

Contributor guide