-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-ioArea: `std::io`, `std::fs`, `std::net` and `std::path`Area: `std::io`, `std::fs`, `std::net` and `std::path`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.O-unixOperating system: Unix-likeOperating system: Unix-likeT-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.
Description
This is a tracking issue for methods peek
and peek_from
on UnixStream
and UnixDatagram
(#73761).
The feature gate for the issue is #![feature(unix_socket_peek)]
.
Public API
impl UnixStream {
pub fn peek(&self, buf: &mut [u8]) -> io::Result<usize>
}
impl UnixDatagram {
pub fn peek(&self, buf: &mut [u8]) -> io::Result<usize>
pub fn peek_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)>
}
Steps / History
- Add
peek
andpeek_from
toUnixStream
andUnixDatagram
#73761 - initial implementation - Final Commitment Period (FCP)
- Stabilization
Unresolved Questions
- None yet.
LinkTed, newAM, kirk-baird, daniel5151, kornelski and 1 more
Metadata
Metadata
Assignees
Labels
A-ioArea: `std::io`, `std::fs`, `std::net` and `std::path`Area: `std::io`, `std::fs`, `std::net` and `std::path`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.O-unixOperating system: Unix-likeOperating system: Unix-likeT-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.