mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-04 13:27:39 +03:00
Add types::Payload::recv() and types::Payload::poll_recv() methods
This commit is contained in:
parent
14a1cd0b12
commit
05f3231180
6 changed files with 34 additions and 11 deletions
|
@ -46,6 +46,7 @@ where
|
|||
}
|
||||
|
||||
#[doc(hidden)]
|
||||
#[deprecated(since = "0.1.4", note = "Use stream_recv() fn instead")]
|
||||
pub async fn next<S>(stream: &mut S) -> Option<S::Item>
|
||||
where
|
||||
S: Stream + Unpin,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue