Tracking Issue for feature(unix_socket_peek) (original) (raw)

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

Unresolved Questions