File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,13 @@ pub trait StreamAfterHeaders: fmt::Debug + Unpin + Send + 'static {
30
30
cx : & mut Context < ' _ > ,
31
31
) -> Poll < Option < crate :: Result < DataOrTrailers > > > ;
32
32
33
- /// `Stream`-like operation .
33
+ /// Fetch next frame and auto-update in window .
34
34
fn poll_next ( & mut self , cx : & mut Context < ' _ > ) -> Poll < Option < crate :: Result < DataOrTrailers > > > ;
35
35
36
36
/// Poll `DATA` frame from the stream.
37
37
///
38
38
/// Note when this operation returns `None`, trailers can still be fetched
39
- /// with [`poll_trailers`].
39
+ /// with [`poll_trailers`](Self::poll_trailers) .
40
40
fn poll_data ( & mut self , cx : & mut Context < ' _ > ) -> Poll < Option < crate :: Result < Bytes > > > ;
41
41
42
42
/// Poll trailing `HEADERS` frame from the stream.
@@ -55,7 +55,7 @@ pub trait StreamAfterHeaders: fmt::Debug + Unpin + Send + 'static {
55
55
///
56
56
/// Note this operation might be expensive, because each invocation sends a `WINDOW_UPDATE`
57
57
/// frame. You probably might want to use default or update the default with
58
- /// [`set_auto_in_window_size`].
58
+ /// [`set_auto_in_window_size`](Self::set_auto_in_window_size) .
59
59
fn inc_in_window ( & mut self , delta : u32 ) -> crate :: Result < ( ) > ;
60
60
61
61
/// Window will be increased each time current window size drops below the half
You can’t perform that action at this time.
0 commit comments