Searched refs:peek_from (Results 1 – 3 of 3) sorted by relevance
259 pub fn peek_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in peek_from() method260 self.inner.do_io(|inner| inner.peek_from(buf)) in peek_from()
1156 pub async fn peek_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in peek_from() method1159 .async_io(Interest::READABLE, || self.io.peek_from(buf)) in peek_from()1200 self.io.peek_from(b) in poll_peek_from()
90 let (n, addr) = receiver.peek_from(&mut recv_buf).await?; in send_to_peek_from()96 let (n, addr) = receiver.peek_from(&mut recv_buf).await?; in send_to_peek_from()