Open
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.