Add tracking issue for feature(unix_socket_peek)
This commit is contained in:
parent
8e9d5db839
commit
a60f97849b
1 changed files with 3 additions and 3 deletions
|
@ -667,7 +667,7 @@ impl UnixStream {
|
||||||
/// Ok(())
|
/// Ok(())
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
#[unstable(feature = "unix_socket_peek", issue = "none")]
|
#[unstable(feature = "unix_socket_peek", issue = "76923")]
|
||||||
pub fn peek(&self, buf: &mut [u8]) -> io::Result<usize> {
|
pub fn peek(&self, buf: &mut [u8]) -> io::Result<usize> {
|
||||||
self.0.peek(buf)
|
self.0.peek(buf)
|
||||||
}
|
}
|
||||||
|
@ -1708,7 +1708,7 @@ impl UnixDatagram {
|
||||||
/// Ok(())
|
/// Ok(())
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
#[unstable(feature = "unix_socket_peek", issue = "none")]
|
#[unstable(feature = "unix_socket_peek", issue = "76923")]
|
||||||
pub fn peek(&self, buf: &mut [u8]) -> io::Result<usize> {
|
pub fn peek(&self, buf: &mut [u8]) -> io::Result<usize> {
|
||||||
self.0.peek(buf)
|
self.0.peek(buf)
|
||||||
}
|
}
|
||||||
|
@ -1740,7 +1740,7 @@ impl UnixDatagram {
|
||||||
/// Ok(())
|
/// Ok(())
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
#[unstable(feature = "unix_socket_peek", issue = "none")]
|
#[unstable(feature = "unix_socket_peek", issue = "76923")]
|
||||||
pub fn peek_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> {
|
pub fn peek_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> {
|
||||||
self.recv_from_flags(buf, libc::MSG_PEEK)
|
self.recv_from_flags(buf, libc::MSG_PEEK)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue