Tracking Issue for feature(unix_socket_peek) · Issue #76923 · rust-lang/rust (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
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 }
impl UnixDatagram { pub fn peek(&self, buf: &mut [u8]) -> io::Result pub fn peek_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> }
Steps / History
- Add peek and peek_from to UnixStream and UnixDatagram #73761 - initial implementation
- Final Commitment Period (FCP)
- Stabilization
Unresolved Questions
- None yet.