oxedyne/fe2o3/fe2o3_net/src/conc.rs
200 bytes, 1 run
created by r1870400018:557, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | use std::{ |
| 2 | future::Future, |
| 3 | pin::Pin, |
| 4 | }; |
| 5 | |
| 6 | |
| 7 | pub trait AsyncReadIterator { |
| 8 | type Item: Send; |
| 9 | |
| 10 | fn next<'a>(&'a mut self) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + Send + 'a>>; |
| 11 | } |