@@ -110,6 +110,10 @@ impl UnixListener {
110110 }
111111
112112 /// Returns a stream of incoming connections to this listener.
113+ ///
114+ /// ## Platform specific
115+ /// * io-uring: an old kernel may not support multishot operations, in which
116+ /// case this method will return an error in the first item of the stream.
113117 pub fn incoming ( & self ) -> UnixIncoming < ' _ > {
114118 UnixIncoming {
115119 inner : self . inner . incoming ( ) ,
@@ -340,12 +344,18 @@ impl AsyncReadManaged for &UnixStream {
340344 }
341345}
342346
347+ /// ## Platform specific
348+ /// * io-uring: an old kernel may not support multishot operations, in which
349+ /// case this method will return an error in the first item of the stream.
343350impl AsyncReadMulti for UnixStream {
344351 fn read_multi ( & mut self , len : usize ) -> impl Stream < Item = io:: Result < Self :: Buffer > > {
345352 self . inner . recv_multi ( len, 0 )
346353 }
347354}
348355
356+ /// ## Platform specific
357+ /// * io-uring: an old kernel may not support multishot operations, in which
358+ /// case this method will return an error in the first item of the stream.
349359impl AsyncReadMulti for & UnixStream {
350360 fn read_multi ( & mut self , len : usize ) -> impl Stream < Item = io:: Result < Self :: Buffer > > {
351361 self . inner . recv_multi ( len, 0 )
@@ -423,6 +433,9 @@ impl AsyncReadAncillaryManaged for &UnixStream {
423433 }
424434}
425435
436+ /// ## Platform specific
437+ /// * io-uring: an old kernel may not support multishot operations, in which
438+ /// case this method will return an error in the first item of the stream.
426439impl AsyncReadAncillaryMulti for UnixStream {
427440 type Return = RecvMsgMultiResult ;
428441
@@ -435,6 +448,9 @@ impl AsyncReadAncillaryMulti for UnixStream {
435448 }
436449}
437450
451+ /// ## Platform specific
452+ /// * io-uring: an old kernel may not support multishot operations, in which
453+ /// case this method will return an error in the first item of the stream.
438454impl AsyncReadAncillaryMulti for & UnixStream {
439455 type Return = RecvMsgMultiResult ;
440456
0 commit comments