Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking Issue for bufwriter_raw_buffer #79916

Closed
3 tasks
tgnottingham opened this issue Dec 10, 2020 · 2 comments
Closed
3 tasks

Tracking Issue for bufwriter_raw_buffer #79916

tgnottingham opened this issue Dec 10, 2020 · 2 comments
Labels
C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. Libs-Tracked Libs issues that are tracked on the team's project board. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@tgnottingham
Copy link
Contributor

tgnottingham commented Dec 10, 2020

This feature adds methods to BufWriter that enable raw access and manipulation of the underlying buffer. In particular, it adds methods analogous to the following raw buffer methods available on Vec: as_ptr, as_mut_ptr, len, and set_len. The names of these methods on BufWriter may differ.

The feature gate for the issue is #![feature(bufwriter_raw_buffer)].

See #79921 for implementation and discussion.

About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

Steps

Implementation history

@tgnottingham tgnottingham added the C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. label Dec 10, 2020
@tgnottingham
Copy link
Contributor Author

tgnottingham commented Dec 10, 2020

@rustbot label T-libs F-bufwriter_raw_buffer

@rustbot rustbot added the T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. label Dec 10, 2020
@KodrAus KodrAus added the Libs-Tracked Libs issues that are tracked on the team's project board. label Dec 16, 2020
@tgnottingham
Copy link
Contributor Author

I've worked around my need for this API by essentially implementing my own BufWriter (see #80463). Closing this, as I don't have a strong enough desire to push for it, and I'm not certain it's worth the trade-off of adding to the API surface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. Libs-Tracked Libs issues that are tracked on the team's project board. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants