-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Tracking Issue for BufWriter::into_parts #80690
Copy link
Copy link
Closed
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCLibs-TrackedLibs issues that are tracked on the team's project board.Libs issues that are tracked on the team's project board.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCLibs-TrackedLibs issues that are tracked on the team's project board.Libs issues that are tracked on the team's project board.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Feature gate:
#![feature(bufwriter_into_parts)]This is a tracking issue for
BufWriter::into_partsand its associated error type etc.This allows a
BufWriterto be disassembled, and the inner writer to be recovered - without attempting to write out any buffered data (instead it is returnedt to the caller), and therefore (unlikeinto_inner) succeeding even if the underlying writer is returning errors.Public API
Steps / History
Unresolved Questions
into_raw_partsbe calledinto_parts? Tracking Issue for BufWriter::into_parts #80690 (comment)